Deployment of iFix Digit-UI

Steps for deployment

  1. Add mdms configuration -

    1. 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 } ] } ] }
    2. Add DSS mdms configuration like below

      { "tenantId": "pb", "moduleName": "tenant", "citymodule": [ { "module": "DSS", "code": "DSS", "active": true, "order": 6, "tenants": [ { "code": "pb" } ] } ] }
  2. Create environment configuration -

    1. 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.g

      var 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 }; }());
    2. Upload the configuration file in s3 bucket and get the public URL.

    3. 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.

  3. Build configuration - Add build configuration in build/build-config.yml

  4. Then build and deploy according to Build and deploy instructions.