Master Data Management Service (MDMS) & Configuration Updates

Feature
Service name
Changes
Description

boundary persister

boundary persister

project-factory persister

project-factory persister

For MDMS-V2 changes, refer to the file below for MDMS schema and data that needs to be added for health - HCM-ADMIN-CONSOLE service: Refer here to get all the MDMSv2 schemas and data.

https://api.postman.com/collections/29681440-f3d1e10d-18ac-493c-b135-2d90b2c99804?access_key=PMAT-01J0R7QH8J233MMZ1N9QN94MV4

  1. Data for schema HCM-ADMIN-CONSOLE.attributeConfig

[
      {
        "key": 1,
        "code": "Age",
        "i18nKey": "CAMPAIGN_ATTRIBUTE_AGE"
      },
      {
        "key": 2,
        "code": "Height",
        "i18nKey": "CAMPAIGN_ATTRIBUTE_HEIGHT"
      },
      {
        "key": 3,
        "code": "Weight",
        "i18nKey": "CAMPAIGN_ATTRIBUTE_WEIGHT"
      },
      {
        "key": 4,
        "code": "Gender",
        "i18nKey": "CAMPAIGN_ATTRIBUTE_GENDER"
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.deliveryTypeConfig

{
  "tenantId": "mz",
  "moduleName": "HCM-ADMIN-CONSOLE",
  "deliveryTypeConfig": [
    {
      "key": 1,
      "code": "DIRECT"
    },
    {
      "key": 2,
      "code": "INDIRECT"
    }
  ]
}
  1. Data for schema HCM-ADMIN-CONSOLE.deliveryConfig

 [
        {
            "id": "420b3aa2-9374-46db-8cb1-d556b91bfe5c",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.deliveryConfig",
            "uniqueIdentifier": "LLIN-mz",
            "data": {
                "cycleConfig": {
                    "cycle": 1,
                    "deliveries": 1
                },
                "projectType": "LLIN-mz",
                "attrAddDisable": true,
                "deliveryConfig": [
                    {
                        "productConfig": [
                            {
                                "key": 1,
                                "name": "LLIN Bednet - Large",
                                "count": 1,
                                "value": "PVAR-2024-05-29-000073"
                            }
                        ],
                        "attributeConfig": [
                            {
                                "key": 1,
                                "label": "Custom",
                                "value": 1.8,
                                "attrType": "text",
                                "attrValue": "CAMPAIGN_BEDNET_INDIVIDUAL_LABEL",
                                "operatorValue": "EQUAL_TO"
                            },
                            {
                                "key": 2,
                                "label": "Custom",
                                "value": 3,
                                "attrType": "text",
                                "attrValue": "CAMPAIGN_BEDNET_HOUSEHOLD_LABEL",
                                "operatorValue": "LESS_THAN_EQUAL_TO"
                            }
                        ]
                    }
                ],
                "customAttribute": true,
                "deliveryAddDisable": true
            },
            "isActive": true,
            "auditDetails": {
                "createdBy": "8b110055-330f-4e7b-b4c0-f618f29b9d47",
                "lastModifiedBy": "8b110055-330f-4e7b-b4c0-f618f29b9d47",
                "createdTime": 1718790384341,
                "lastModifiedTime": 1718790384341
            }
        },
        {
            "id": "ea8ecfc2-acc6-4292-a618-e9eabba488bb",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.deliveryConfig",
            "uniqueIdentifier": "MR-DN",
            "data": {
                "cycleConfig": {
                    "cycle": 4,
                    "deliveries": 3
                },
                "projectType": "MR-DN",
                "attrAddDisable": false,
                "deliveryConfig": [
                    {
                        "delivery": 1,
                        "conditionConfig": [
                            {
                                "deliveryType": "DIRECT",
                                "productConfig": [
                                    {
                                        "key": 1,
                                        "name": "SP  - 250mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000068"
                                    },
                                    {
                                        "key": 1,
                                        "name": "AQ  - 75mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000067"
                                    }
                                ],
                                "attributeConfig": [
                                    {
                                        "key": 1,
                                        "label": "Custom",
                                        "toValue": 11,
                                        "attrType": "dropdown",
                                        "attrValue": "Age",
                                        "fromValue": 3,
                                        "operatorValue": "IN_BETWEEN"
                                    }
                                ],
                                "disableDeliveryType": true
                            },
                            {
                                "deliveryType": "DIRECT",
                                "productConfig": [
                                    {
                                        "key": 1,
                                        "name": "A.Q - 150mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000069"
                                    },
                                    {
                                        "key": 1,
                                        "name": "S.P - 500mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000070"
                                    }
                                ],
                                "attributeConfig": [
                                    {
                                        "key": 1,
                                        "label": "Custom",
                                        "toValue": 59,
                                        "attrType": "dropdown",
                                        "attrValue": "Age",
                                        "fromValue": 12,
                                        "operatorValue": "IN_BETWEEN"
                                    }
                                ],
                                "disableDeliveryType": true
                            }
                        ]
                    },
                    {
                        "delivery": 2,
                        "conditionConfig": [
                            {
                                "deliveryType": "INDIRECT",
                                "productConfig": [
                                    {
                                        "key": 1,
                                        "name": "AQ  - 75mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000067"
                                    }
                                ],
                                "attributeConfig": [
                                    {
                                        "key": 1,
                                        "label": "Custom",
                                        "toValue": 11,
                                        "attrType": "dropdown",
                                        "attrValue": "Age",
                                        "fromValue": 3,
                                        "operatorValue": "IN_BETWEEN"
                                    }
                                ]
                            },
                            {
                                "deliveryType": "INDIRECT",
                                "productConfig": [
                                    {
                                        "key": 1,
                                        "name": "A.Q - 150mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000069"
                                    }
                                ],
                                "attributeConfig": [
                                    {
                                        "key": 1,
                                        "label": "Custom",
                                        "toValue": 59,
                                        "attrType": "dropdown",
                                        "attrValue": "Age",
                                        "fromValue": 12,
                                        "operatorValue": "IN_BETWEEN"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "delivery": 3,
                        "conditionConfig": [
                            {
                                "deliveryType": "INDIRECT",
                                "productConfig": [
                                    {
                                        "key": 1,
                                        "name": "AQ  - 75mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000067"
                                    }
                                ],
                                "attributeConfig": [
                                    {
                                        "key": 1,
                                        "label": "Custom",
                                        "toValue": 11,
                                        "attrType": "dropdown",
                                        "attrValue": "Age",
                                        "fromValue": 3,
                                        "operatorValue": "IN_BETWEEN"
                                    }
                                ]
                            },
                            {
                                "deliveryType": "INDIRECT",
                                "productConfig": [
                                    {
                                        "key": 1,
                                        "name": "A.Q - 150mg",
                                        "count": 1,
                                        "value": "PVAR-2024-05-29-000069"
                                    }
                                ],
                                "attributeConfig": [
                                    {
                                        "key": 1,
                                        "label": "Custom",
                                        "toValue": 59,
                                        "attrType": "dropdown",
                                        "attrValue": "Age",
                                        "fromValue": 12,
                                        "operatorValue": "IN_BETWEEN"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "customAttribute": true,
                "deliveryAddDisable": false
            },
            "isActive": true,
            "auditDetails": {
                "createdBy": "8b110055-330f-4e7b-b4c0-f618f29b9d47",
                "lastModifiedBy": "8b110055-330f-4e7b-b4c0-f618f29b9d47",
                "createdTime": 1718790371242,
                "lastModifiedTime": 1718790371242
            }
        }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.facilityschema

 {
    "tenantId": "mz",
    "moduleName": "HCM-ADMIN-CONSOLE",
    "facilitySchema": [
        {
            "$schema": "http://json-schema.org/draft-07/schema#",
            "title": "FacilityTemplateSchema",
            "type": "object",
            "properties": {
                "HCM_ADMIN_CONSOLE_FACILITY_NAME": {
                    "type": "string",
                    "maxLength": 2000,
                    "minLength": 1
                },
                "HCM_ADMIN_CONSOLE_FACILITY_TYPE": {
                    "enum": [
                        "Warehouse",
                        "Health Facility"
                    ]
                },
                "HCM_ADMIN_CONSOLE_FACILITY_STATUS": {
                    "enum": [
                        "Temporary",
                        "Permanent"
                    ]
                },
                "HCM_ADMIN_CONSOLE_FACILITY_CAPACITY": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 100000000
                },
                "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY": {
                    "type": "string"
                }
            },
            "required": [
                "HCM_ADMIN_CONSOLE_FACILITY_NAME",
                "HCM_ADMIN_CONSOLE_FACILITY_TYPE",
                "HCM_ADMIN_CONSOLE_FACILITY_STATUS",
                "HCM_ADMIN_CONSOLE_FACILITY_CAPACITY",
                "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY"
            ],
            "unique": [
                "HCM_ADMIN_CONSOLE_FACILITY_NAME"
            ]
        }
    ]
}
  1. Data for schema HCM-ADMIN-CONSOLE.adminSchema

  [
        {
            "title": "user",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
                "enumProperties": [
                    {
                        "enum": [
                            "Registrar",
                            "Distributor",
                            "Supervisor",
                            "Help Desk",
                            "Monitor Local",
                            "Logistical officer"
                        ],
                        "name": "HCM_ADMIN_CONSOLE_USER_ROLE",
                        "isRequired": true,
                        "description": "User Role",
                        "orderNumber": 3
                    },
                    {
                        "enum": [
                            "Temporary",
                            "Permanent"
                        ],
                        "name": "HCM_ADMIN_CONSOLE_USER_EMPLOYMENT_TYPE",
                        "isRequired": true,
                        "description": "Employement Type",
                        "orderNumber": 4
                    }
                ],
                "numberProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_USER_PHONE_NUMBER",
                        "type": "number",
                        "isUnique": true,
                        "isRequired": true,
                        "description": "Phone Number",
                        "orderNumber": 2
                    }
                ],
                "stringProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_USER_NAME",
                        "type": "string",
                        "maxLength": 128,
                        "minLength": 2,
                        "isRequired": true,
                        "description": "User Name",
                        "orderNumber": 1
                    },
                    {
                        "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY",
                        "type": "string",
                        "isRequired": true,
                        "description": "Boundary Code (Mandatory)",
                        "orderNumber": 5
                    }
                ]
            },
            "campaignType": "all"
        },
        {
            "title": "facility",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
                "enumProperties": [
                    {
                        "enum": [
                            "Warehouse",
                            "Health Facility",
                            "Storing Resource"
                        ],
                        "name": "HCM_ADMIN_CONSOLE_FACILITY_TYPE",
                        "isRequired": true,
                        "description": "Facility type",
                        "orderNumber": 2
                    },
                    {
                        "enum": [
                            "Temporary",
                            "Permanent"
                        ],
                        "name": "HCM_ADMIN_CONSOLE_FACILITY_STATUS",
                        "isRequired": true,
                        "description": "Facility status",
                        "orderNumber": 3
                    },
                    {
                        "enum": [
                            "Active",
                            "Inactive"
                        ],
                        "name": "HCM_ADMIN_CONSOLE_FACILITY_USAGE",
                        "isRequired": true,
                        "description": "Facility usage",
                        "orderNumber": 6
                    }
                ],
                "numberProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_FACILITY_CAPACITY",
                        "type": "number",
                        "maximum": 100000000,
                        "minimum": 1,
                        "isRequired": true,
                        "description": "Camapcity",
                        "orderNumber": 4
                    }
                ],
                "stringProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_FACILITY_NAME",
                        "type": "string",
                        "isUnique": true,
                        "maxLength": 2000,
                        "minLength": 1,
                        "isRequired": true,
                        "description": "Facility Name",
                        "orderNumber": 1
                    },
                    {
                        "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY",
                        "type": "string",
                        "isRequired": true,
                        "description": "Boundary Code",
                        "orderNumber": 5
                    }
                ]
            },
            "campaignType": "all"
        },
        {
            "title": "boundary",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
                "numberProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_TARGET_SMC_AGE_3_TO_11",
                        "type": "number",
                        "isRequired": true,
                        "description": "Target at village level - Age 3 to 11 Months (Mandatory and to be entered by the user)",
                        "orderNumber": 2
                    },
                    {
                        "name": "HCM_ADMIN_CONSOLE_TARGET_SMC_AGE_12_TO_59",
                        "type": "number",
                        "isRequired": true,
                        "description": "Target at village level - Age 12 to 59 Months (Mandatory and to be entered by the user)",
                        "orderNumber": 3
                    }
                ],
                "stringProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
                        "type": "string",
                        "isRequired": true,
                        "description": "Boundary Code",
                        "orderNumber": 1,
                        "freezeColumn": true
                    }
                ]
            },
            "campaignType": "MR-DN"
        },
        {
            "title": "boundary",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
                "numberProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_TARGET",
                        "type": "number",
                        "isRequired": true,
                        "description": "Target at the Selected Boundary Level",
                        "orderNumber": 2
                    }
                ],
                "stringProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
                        "type": "string",
                        "isRequired": true,
                        "description": "Boundary Code",
                        "orderNumber": 1,
                        "freezeColumn": true
                    }
                ]
            },
            "campaignType": "LLIN-mz"
        },
        {
            "title": "boundaryWithTarget",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
                "numberProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_TARGET",
                        "type": "number",
                        "maximum": 100000000,
                        "minimum": 1,
                        "isRequired": true,
                        "description": "Target at the Selected Boundary Level",
                        "orderNumber": 1
                    }
                ],
                "stringProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
                        "type": "string",
                        "isRequired": true,
                        "description": "Boundary Code",
                        "orderNumber": 1,
                        "freezeColumn": true
                    }
                ]
            },
            "campaignType": "LLIN-mz"
        },
        {
            "title": "boundaryWithTarget",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
                "numberProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_TARGET_SMC_AGE_3_TO_11",
                        "type": "number",
                        "maximum": 100000000,
                        "minimum": 1,
                        "isRequired": true,
                        "description": "Target at village level - Age 3 to 11 Months (Mandatory and to be entered by the user)",
                        "orderNumber": 2
                    },
                    {
                        "name": "HCM_ADMIN_CONSOLE_TARGET_SMC_AGE_12_TO_59",
                        "type": "number",
                        "maximum": 100000000,
                        "minimum": 1,
                        "isRequired": true,
                        "description": "Target at village level - Age 12 to 59 Months (Mandatory and to be entered by the user)",
                        "orderNumber": 3
                    }
                ],
                "stringProperties": [
                    {
                        "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
                        "type": "string",
                        "isRequired": true,
                        "description": "Boundary Code",
                        "orderNumber": 1,
                        "freezeColumn": true
                    }
                ]
            },
            "campaignType": "MR-DN"
        }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.baseTimeout

     [
      {
        "baseTimeOut": 50,
        "maxTime": 2500
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.mailConfig

 [
      {
        "mailId": "L1team@email.com"
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.operatorConfig

[
      {
        "key": 1,
        "code": "LESS_THAN"
      },
      {
        "key": 2,
        "code": "GREATER_THAN"
      },
      {
        "key": 3,
        "code": "IN_BETWEEN"
      },
      {
        "key": 4,
        "code": "EQUAL_TO"
      },
      {
        "key": 5,
        "code": "GREATER_THAN_EQUAL_TO"
      },
      {
        "key": 6,
        "code": "LESS_THAN_EQUAL_TO"
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.productType

[
      {
        "key": 1,
        "code": "BEDNET"
      },
      {
        "key": 2,
        "code": "TONIC"
      },
      {
        "key": 3,
        "code": "DRUG"
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.readMeConfig

 [
    {
      "type": "facilityWithBoundary",
      "texts": [
        {
          "header": "FACILITYWITHBOUNDARY_README_HEADER_1",
          "isHeaderBold": true,
          "inSheet": true,
          "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": true,
          "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": true,
          "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
            }
          ]
        }
      ]
    }
  ]
  1. Data for schema HCM-ADMIN-CONSOLE.Boundary

[
      {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "title": "BoundaryTemplateSchema",
        "type": "object",
        "properties": {
          "HCM_ADMIN_CONSOLE_BOUNDARY_CODE": {
            "type": "string",
            "minLength": 1
          },
          "HCM_ADMIN_CONSOLE_TARGET_AT_THE_SELECTED_BOUNDARY_LEVEL": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100000000
          }
        },
        "required": ["HCM_ADMIN_CONSOLE_BOUNDARY_CODE"]
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.hierarchyConfig

 [
      {
        "hierarchy": "ADMIN",
        "lowestHierarchy": "Posto Administrativo"
      }
    ]
  1. Data for schema HCM-ADMIN-CONSOLE.userSchema

[
        {
            "$schema": "http://json-schema.org/draft-07/schema#",
            "title": "UserTemplateSchema",
            "type": "object",
            "properties": {
                "HCM_ADMIN_CONSOLE_USER_NAME": {
                    "type": "string",
                    "maxLength": 128,
                    "minLength": 2
                },
                "HCM_ADMIN_CONSOLE_USER_PHONE_NUMBER": {
                    "type": "integer"
                },
                "HCM_ADMIN_CONSOLE_USER_ROLE": {
                    "type": "string",
                    "enum": ["Registrar", "Distributor", "Supervisor", "Help Desk", "Monitor Local", "Logistical officer"]
                },
                "HCM_ADMIN_CONSOLE_USER_EMPLOYMENT_TYPE": {
                    "enum": [
                        "Temporary",
                        "Permanent"
                    ]
                },
                "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY": {
                    "type": "string"
                }
            },
            "required": [
                "HCM_ADMIN_CONSOLE_USER_NAME",
                "HCM_ADMIN_CONSOLE_USER_PHONE_NUMBER",
                "HCM_ADMIN_CONSOLE_USER_ROLE",
                "HCM_ADMIN_CONSOLE_USER_EMPLOYMENT_TYPE",
                "HCM_ADMIN_CONSOLE_BOUNDARY_CODE_MANDATORY"
            ],
            "unique": [
                "HCM_ADMIN_CONSOLE_USER_PHONE_NUMBER"
            ]
        }
    ]

Role-Action Mapping

data/pg/ACCESSCONTROL-ACTIONS-TEST/actions-test.json

    [{
      "id": 1951,
      "name": "v1 project type update",
      "url": "/project-factory/v1/project-type/update",
      "displayName": "v1 project type update",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1952,
      "name": "Upload File by FileStoreId",
      "url": "/filestore/v1/files",
      "displayName": "Upload File by FileStoreId",
      "orderNumber": 0,
      "queryParams": "fileStoreId",
      "parentModule": "PGR",
      "enabled": false,
      "serviceCode": "PGR",
      "code": "null",
      "path": "PGR.Get File by FileStoreId"
    },
     {
      "id": 1953,
      "name": "Boundary service create",
      "url": "/boundary-service/boundary/_create",
      "displayName": "Boundary service create",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1954,
      "name": "Boundary service update",
      "url": "/boundary-service/boundary/_update",
      "displayName": "Boundary service update",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1955,
      "name": "Boundary service search",
      "url": "/boundary-service/boundary/_search",
      "displayName": "Boundary service search",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1956,
      "name": "Boundary relationship create",
      "url": "/boundary-service/boundary-relationships/_create",
      "displayName": "Boundary relationship create",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1957,
      "name": "Boundary relationship update",
      "url": "/boundary-service/boundary-relationships/_update",
      "displayName": "Boundary relationship update",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1958,
      "name": "Boundary relationship search",
      "url": "/boundary-service/boundary-relationships/_search",
      "displayName": "Boundary relationship search",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
        {
      "id": 1959,
      "name": "v1 project type create",
      "url": "/project-factory/v1/project-type/create",
      "displayName": "v1 project type create",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1960,
      "name": "project factory data search",
      "url": "/project-factory/v1/data/_search",
      "displayName": "project factory data search",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
     {
      "id": 1961,
      "name": "boundary bulk upload",
      "url": "/project-factory/v1/data/_autoGenerateBoundaryCode",
      "displayName": "boundary bulk upload",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
     {
      "id": 1962,
      "name": "boundary hierarchy definition create",
      "url": "/boundary-service/boundary-hierarchy-definition/_create",
      "displayName": "boundary hierarchy definition create",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    },
    {
      "id": 1963,
      "name": "boundary hierarchy definition search",
      "url": "/boundary-service/boundary-hierarchy-definition/_search",
      "displayName": "boundary hierarchy definition search",
      "orderNumber": 0,
      "enabled": true,
      "serviceCode": "mdms",
      "code": "null",
      "path": ""
    }]

data/pg/ACCESSCONTROL-ROLES/roles.json:

 {
        "code": "CAMPAIGN_MANAGER",
        "name": "Campaign Manager",
        "description": "Campaign Manager"
    }

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.