Deployment of iFix Digit-UI
Steps for deployment
Add mdms configuration -
Add DIGIT-UI mdms configuration like below, e.g.
{ "tenantId": "pb", "moduleName": "DIGIT-UI", "ApiCachingSettings": [ { "serviceName": "localization", "cacheTimeInSecs": 86400 }, { "serviceName": "egov-mdms-service", "cacheTimeInSecs": 3600, "debounceTimeInMS": 100, "moduleSettings": [ { "moduleName": "FSM", "cacheTimeInSecs": 7200 } ] } ] }
Add DSS mdms configuration like below
{ "tenantId": "pb", "moduleName": "tenant", "citymodule": [ { "module": "DSS", "code": "DSS", "active": true, "order": 6, "tenants": [ { "code": "pb" } ] } ] }
Create environment configuration -
Create a new globalConfig.js file, if you have externally hosted hierarchy APIs, then
hierarchyApiBaseUrl
holds the domain information where api’s are exposed. e.gvar globalConfigs = (function () { var stateTenantId = 'pb' .... var hierarchyApiBaseUrl = 'https://mgramseva-qa.egov.org.in'; var getConfig = function (key) { ..... else if (key === 'HIERARCHY_API_BASE_URL') { return hierarchyApiBaseUrl; } }; return { getConfig }; }());
Upload the configuration file in s3 bucket and get the public URL.
Add the URL in the dependent environment configuration, e.g
deploy-as-code/helm/environments/ifix-qa.yaml
, here script src URL is the generated public URL.
Build configuration - Add build configuration in
build/build-config.yml
Then build and deploy according to Build and deploy instructions.