Configuration details
Feature | Service name | Changes | Description |
---|---|---|---|
For MDMS-V2 changes, refer to the file below for MDMS schema and data that needs to be added for health - HCM CONSOLE service:
1.1) Add HCM-ADMIN-CONSOLE.dateWithBoundary schema
{
"type": "object",
"title": "Generated schema for Root",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dateWithBoundary"
],
"x-unique": [
"dateWithBoundary"
],
"properties": {
"dateWithBoundary": {
"type": "boolean"
}
}
},
1.2) Add commonUiConfig.LoginConfig schema
{
"type": "object",
"title": "Generated schema for Root",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"title"
],
"x-unique": [
"title"
],
"properties": {
"texts": {
"type": "object",
"required": [
"header",
"submitButtonLabel",
"secondaryButtonLabel"
],
"properties": {
"header": {
"type": "string"
},
"submitButtonLabel": {
"type": "string"
},
"secondaryButtonLabel": {
"type": "string"
}
}
},
"title": {
"type": "string"
},
"inputs": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"key",
"isMandatory",
"populators"
],
"properties": {
"key": {
"type": "string"
},
"type": {
"type": "string"
},
"label": {
"type": "string"
},
"disable": {
"type": "boolean"
},
"component": {
"type": "string"
},
"populators": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"error": {
"type": "string"
},
"mdmsConfig": {
"type": "object",
"required": [
"masterName",
"moduleName",
"localePrefix",
"select"
],
"properties": {
"select": {
"type": "string"
},
"masterName": {
"type": "string"
},
"moduleName": {
"type": "string"
},
"localePrefix": {
"type": "string"
}
}
},
"optionsKey": {
"type": "string"
},
"validation": {
"type": "object",
"required": [
"required"
],
"properties": {
"required": {
"type": "boolean"
}
}
}
}
},
"customProps": {
"type": "object",
"required": [
"module"
],
"properties": {
"module": {
"type": "string"
}
}
},
"isMandatory": {
"type": "boolean"
},
"withoutLabel": {
"type": "boolean"
}
}
}
}
}
},
1.3) Update Schema of commonUiConfig.PrivacyPolicy
{
"type": "object",
"title": "Generated schema for Root",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"header",
"module"
],
"x-unique": [
"module"
],
"properties": {
"header": {
"type": "string"
},
"module": {
"type": "string"
},
"contents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"header": {
"type": "string"
},
"descriptions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"type": {
"type": "string"
},
"isBold": {
"type": "boolean"
},
"subDescriptions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"type": {
"type": "string"
},
"isBold": {
"type": "boolean"
},
"isSpaceRequired": {
"type": "boolean"
}
}
}
}
}
}
}
}
}
}
}
}
1.4) Update Schema of HCM-ADMIN-CONSOLE.baseTimeout
{
"type": "object",
"title": "Generated schema for Root",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"baseTimeOut",
"maxTime",
"timelineRefetch"
],
"x-unique": [
"baseTimeOut",
"maxTime",
"timelineRefetch"
],
"properties": {
"maxTime": {
"type": "number"
},
"baseTimeOut": {
"type": "number"
},
"timelineRefetch": {
"type": "number"
}
}
},
2.1) Add data for HCM-ADMIN-CONSOLE.dateWithBoundary data
{
"dateWithBoundary": true
}
2.2) Add data for commonUiConfig.LoginConfig
{
"texts": {
"header": "CORE_COMMON_LOGIN",
"submitButtonLabel": "CORE_COMMON_CONTINUE",
"secondaryButtonLabel": "CORE_COMMON_FORGOT_PASSWORD"
},
"title": "login",
"inputs": [
{
"key": "username",
"type": "text",
"label": "CORE_LOGIN_USERNAME",
"populators": {
"name": "username",
"error": "ERR_USERNAME_REQUIRED",
"validation": {
"required": true
}
},
"isMandatory": true
},
{
"key": "password",
"type": "password",
"label": "CORE_LOGIN_PASSWORD",
"populators": {
"name": "password",
"error": "ERR_PASSWORD_REQUIRED",
"validation": {
"required": true
}
},
"isMandatory": true
},
{
"key": "city",
"type": "dropdown",
"label": "CORE_COMMON_CITY",
"disable": false,
"populators": {
"name": "city",
"error": "ERR_HRMS_INVALID_CITY",
"mdmsConfig": {
"select": "(data)=>{ return Array.isArray(data['tenant'].tenants) && Digit.Utils.getUnique(data['tenant'].tenants).map(ele=>({code:ele.code,name:Digit.Utils.locale.getTransformedLocale('TENANT_TENANTS_'+ele.code)}))}",
"masterName": "tenants",
"moduleName": "tenant",
"localePrefix": "TENANT_TENANTS"
},
"optionsKey": "name"
},
"isMandatory": true
},
{
"key": "check",
"type": "component",
"disable": false,
"component": "PrivacyComponent",
"populators": {
"name": "check"
},
"customProps": {
"module": "HCM"
},
"isMandatory": false,
"withoutLabel": true
}
]
},
2.3) Add data for commonUiConfig.PrivacyPolicy
{
"header": "PRIVACY_HEADER",
"module": "HCM",
"contents": [
{
"header": "PRIVACY_HEADER_1_SUB_1",
"descriptions": [
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_2",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_3",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_4",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_5",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_6",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_1_SUB_1_DESC_7",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_2_SUB_2",
"descriptions": [
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_2",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_3",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_4",
"type": "null",
"isBold": false,
"subDescriptions": [
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_3_SUBDESC_1",
"type": "null",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_3_SUBDESC_2",
"type": "null",
"isBold": false,
"isSpaceRequired": true
}
]
},
{
"text": "PRIVACY_HEADER_2_SUB_2_DESC_5",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_3_SUB_3",
"descriptions": [
{
"text": "PRIVACY_HEADER_3_SUB_3_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_3_SUB_3_DESC_2",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_4_SUB_4",
"descriptions": [
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1",
"type": "null",
"isBold": false,
"subDescriptions": [
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_1",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_2",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_3",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_4",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_5",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_6",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_1_SUBDESC_7",
"type": "points",
"isBold": false,
"isSpaceRequired": true
}
]
},
{
"text": "PRIVACY_HEADER_4_SUB_4_DESC_2",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_5_SUB_5",
"descriptions": [
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1",
"type": "null",
"isBold": false,
"subDescriptions": [
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1_SUBDESC_1",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1_SUBDESC_2",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1_SUBDESC_3",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1_SUBDESC_4",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1_SUBDESC_5",
"type": "points",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_5_SUB_5_DESC_1_SUBDESC_6",
"type": "points",
"isBold": false,
"isSpaceRequired": true
}
]
}
]
},
{
"header": "PRIVACY_HEADER_6_SUB_1",
"descriptions": [
{
"text": "PRIVACY_HEADER_6_SUB_6_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_6_SUB_6_DESC_2",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_6_SUB_6_DESC_3",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_6_SUB_6_DESC_4",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_7_SUB_1",
"descriptions": [
{
"text": "PRIVACY_HEADER_7_SUB_7_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_7_SUB_7_DESC_2",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_7_SUB_7_DESC_3",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_7_SUB_7_DESC_4",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_8_SUB_1",
"descriptions": [
{
"text": "PRIVACY_HEADER_8_SUB_8_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_8_SUB_8_DESC_2",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_8_SUB_8_DESC_3",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_8_SUB_8_DESC_4",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_9_SUB_9",
"descriptions": [
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_2",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_3",
"type": "null",
"isBold": false,
"subDescriptions": [
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_3_SUBDESC_1",
"type": "null",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_3_SUBDESC_2",
"type": "null",
"isBold": false,
"isSpaceRequired": true
}
]
},
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_4",
"type": "null",
"isBold": false,
"subDescriptions": [
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_4_SUBDESC_1",
"type": "null",
"isBold": false,
"isSpaceRequired": true
}
]
},
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_5",
"type": "null",
"isBold": false,
"subDescriptions": [
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_5_SUBDESC_1",
"type": "null",
"isBold": false,
"isSpaceRequired": true
},
{
"text": "PRIVACY_HEADER_9_SUB_9_DESC_5_SUBDESC_2",
"type": "null",
"isBold": false,
"isSpaceRequired": true
}
]
}
]
},
{
"header": "PRIVACY_HEADER_10_SUB_10",
"descriptions": [
{
"text": "PRIVACY_HEADER_10_SUB_10_DESC_1",
"type": "null",
"isBold": false
},
{
"text": "PRIVACY_HEADER_10_SUB_10_DESC_2",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_11_SUB_11",
"descriptions": [
{
"text": "PRIVACY_HEADER_11_SUB_11_DESC_1",
"type": "null",
"isBold": false
}
]
},
{
"header": "PRIVACY_HEADER_12_SUB_12",
"descriptions": [
{
"text": "PRIVACY_HEADER_12_SUB_12_DESC_1",
"type": "step",
"isBold": false
},
{
"text": "PRIVACY_HEADER_12_SUB_12_DESC_2",
"type": "step",
"isBold": false
}
]
}
]
},
2.4) Add data for HCM-ADMIN-CONSOLE.basetimeout
{
"baseTimeOut": 50,
"maxTime": 5000,
"timelineRefetch" : 3000
}
2.5) Update data for HCM-ADMIN-CONSOLE.ReadMeConfig
{
"type": "facilityWithBoundary",
"texts": [
{
"header": "FACILITYWITHBOUNDARY_README_HEADER_1",
"isHeaderBold": true,
"inSheet": false,
"inUiInfo": true,
"descriptions": [
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_1_DESC_1",
"isStepRequired": true
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_1_DESC_2",
"isStepRequired": true
}
]
},
{
"header": "FACILITYWITHBOUNDARY_README_HEADER_2",
"isHeaderBold": true,
"inSheet": true,
"inUiInfo": true,
"descriptions": [
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_1",
"isStepRequired": true
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_2",
"isStepRequired": true
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_3",
"isStepRequired": true
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_4",
"isStepRequired": true
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_5",
"isStepRequired": false
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_6",
"isStepRequired": false
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_2_DESC_7",
"isStepRequired": false
}
]
},
{
"header": "FACILITYWITHBOUNDARY_README_HEADER_3",
"isHeaderBold": true,
"inSheet": true,
"inUiInfo": true,
"descriptions": [
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_3_DESC_1",
"isStepRequired": false
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_3_DESC_2",
"isStepRequired": false
},
{
"text": "FACILITYWITHBOUNDARY_README_HEADER_3_DESC_3",
"isStepRequired": false
}
]
}
]
},
{
"type": "userWithBoundary",
"texts": [
{
"header": "USERWITHBOUNDARY_README_HEADER_1",
"isHeaderBold": true,
"inSheet": false,
"inUiInfo": true,
"descriptions": [
{
"text": "USERWITHBOUNDARY_README_HEADER_1_DESC_1",
"isStepRequired": true
},
{
"text": "USERWITHBOUNDARY_README_HEADER_1_DESC_2",
"isStepRequired": true
}
]
},
{
"header": "USERWITHBOUNDARY_README_HEADER_2",
"isHeaderBold": true,
"inSheet": true,
"inUiInfo": true,
"descriptions": [
{
"text": "USERWITHBOUNDARY_README_HEADER_2_DESC_1",
"isStepRequired": true
},
{
"text": "USERWITHBOUNDARY_README_HEADER_2_DESC_2",
"isStepRequired": true
},
{
"text": "USERWITHBOUNDARY_README_HEADER_2_DESC_3",
"isStepRequired": true
},
{
"text": "USERWITHBOUNDARY_README_HEADER_2_DESC_4",
"isStepRequired": true
}
]
},
{
"header": "USERWITHBOUNDARY_README_HEADER_3",
"isHeaderBold": true,
"inSheet": true,
"inUiInfo": true,
"descriptions": [
{
"text": "USERWITHBOUNDARY_README_HEADER_3_DESC_1",
"isStepRequired": false
},
{
"text": "USERWITHBOUNDARY_README_HEADER_3_DESC_2",
"isStepRequired": false
}
]
}
]
},
{
"type": "boundary",
"texts": [
{
"header": "BOUNDARY_README_HEADER_1",
"isHeaderBold": true,
"inSheet": false,
"inUiInfo": true,
"descriptions": [
{
"text": "BOUNDARY_README_HEADER_1_DESC_1",
"isStepRequired": true
},
{
"text": "BOUNDARY_README_HEADER_1_DESC_2",
"isStepRequired": true
}
]
},
{
"header": "BOUNDARY_README_HEADER_2",
"isHeaderBold": true,
"inSheet": true,
"inUiInfo": true,
"descriptions": [
{
"text": "BOUNDARY_README_HEADER_2_DESC_1",
"isStepRequired": true
},
{
"text": "BOUNDARY_README_HEADER_2_DESC_2",
"isStepRequired": true
},
{
"text": "BOUNDARY_README_HEADER_2_DESC_3",
"isStepRequired": true
},
{
"text": "BOUNDARY_README_HEADER_2_DESC_4",
"isStepRequired": true
}
]
},
{
"header": "BOUNDARY_README_HEADER_3",
"isHeaderBold": true,
"inSheet": true,
"inUiInfo": true,
"descriptions": [
{
"text": "BOUNDARY_README_HEADER_3_DESC_1",
"isStepRequired": false
},
{
"text": "BOUNDARY_README_HEADER_3_DESC_2",
"isStepRequired": false
},
{
"text": "BOUNDARY_README_HEADER_3_DESC_3",
"isStepRequired": false
}
]
}
]
}
2.4) Update data for HCM-ADMIN-CONSOLE.hierarchyConfig
{
"hierarchy": "ADMIN",
"lowestHierarchy": "Post Administrative",
"splitBoundariesOn" : "District",
"isActive": true
},
{
"hierarchy": "Workbench",
"lowestHierarchy": "Post Administrative",
"splitBoundariesOn" : "District",
"isActive": false
}
[{
"id": 2030,
"url": "/project-factory/v1/project-type/getProcessTrack",
"name": "Project Type progress track",
"enabled": true,
"leftIcon": "dynamic:ContractIcon",
"displayName": "Project Type progress track",
"orderNumber": -1,
"serviceCode": "project-factory"
},
{
"id": 2031,
"url": "/health-project/v1/_search",
"name": "HEALTH PROJECT SEARCH",
"enabled": true,
"leftIcon": "dynamic:ContractIcon",
"displayName": "HEALTH PROJECT SEARCH",
"orderNumber": 0,
"serviceCode": "project"
},
{
"id": 2032,
"url": "/health-project/v1/_update",
"name": "Health Project Update",
"enabled": true,
"leftIcon": "dynamic:ContractIcon",
"displayName": "Health Project Update",
"orderNumber": 0,
"serviceCode": "project"
}
]
Localisations
Changes are being tracked in the given Excel sheet:
project-factory persister
project-factory persister