diff --git a/CODEOWNERS b/CODEOWNERS index 539985af9..8893a22fb 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @egovernments/services-pr-reviewer @talele08 @pradeepkumarcm-egov @kavi-egov @narendrabandhamneni-wt-egov @egov-arindam @naveen-egov +* @egovernments/services-pr-reviewer @talele08 @pradeepkumarcm-egov @kavi-egov @narendrabandhamneni-wt-egov @egov-arindam @naveen-egov @JithendarKumar-eGov diff --git a/data/default/ACCESSCONTROL-ACTIONS-TEST/actions-test.json b/data/default/ACCESSCONTROL-ACTIONS-TEST/actions-test.json index 278f16c25..d549bdcd6 100644 --- a/data/default/ACCESSCONTROL-ACTIONS-TEST/actions-test.json +++ b/data/default/ACCESSCONTROL-ACTIONS-TEST/actions-test.json @@ -12407,6 +12407,102 @@ "serviceCode": "project", "code": "null", "path": "" + }, + { + "id": 1652, + "name": "Error dump", + "url": "/project/data/errordump", + "parentModule": "project", + "displayName": "Error dump", + "orderNumber": 0, + "enabled": true, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1653, + "name": "Adverse Event Create", + "url": "/project/task/adverse_event/v1/_create", + "displayName": "Adverse Event Create", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1654, + "name": "Adverse Event Update", + "url": "/project/task/adverse_event/v1/_update", + "displayName": "Adverse Event Update", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1655, + "name": "Adverse Event Search", + "url": "/project/task/adverse_event/v1/_search", + "displayName": "Adverse Event Search", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1656, + "name": "Adverse Event Bulk Create", + "url": "/project/task/adverse_event/v1/bulk/_create", + "displayName": "Adverse Event Bulk Create", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1657, + "name": "Adverse Event Bulk Update", + "url": "/project/task/adverse_event/v1/bulk/_update", + "displayName": "Adverse Event Bulk Update", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1658, + "name": "Adverse Event Delete", + "url": "/project/task/adverse_event/v1/_delete", + "displayName": "Adverse Event Delete", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" + }, + { + "id": 1659, + "name": "Adverse Event Bulk Delete", + "url": "/project/task/adverse_event/v1/bulk/_delete", + "displayName": "Adverse Event Bulk Delete", + "orderNumber": 0, + "parentModule": "", + "enabled": false, + "serviceCode": "project", + "code": "null", + "path": "" } ] -} \ No newline at end of file +} diff --git a/data/default/ACCESSCONTROL-ROLEACTIONS/roleactions.json b/data/default/ACCESSCONTROL-ROLEACTIONS/roleactions.json index 6556e1c1d..7ff9d43b9 100644 --- a/data/default/ACCESSCONTROL-ROLEACTIONS/roleactions.json +++ b/data/default/ACCESSCONTROL-ROLEACTIONS/roleactions.json @@ -19,6 +19,12 @@ "actionid": 1651, "actioncode": "", "tenantId": "default" + }, + { + "rolecode": "REGISTRAR", + "actionid": 1652, + "actioncode": "", + "tenantId": "default" }, { "rolecode": "DISTRIBUTOR", @@ -26,6 +32,12 @@ "actioncode": "", "tenantId": "default" }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1652, + "actioncode": "", + "tenantId": "default" + }, { "rolecode": "DISTRIBUTOR", "actionid": 1633, @@ -8348,6 +8360,84 @@ "actioncode": "", "tenantid": "default" }, + { + "rolecode": "EMPLOYEE ADMIN", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "REGISTRAR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "STORE INCHARGE", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SYSTEM_ADMINISTRATOR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "NATIONAL_SUPERVISOR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "PROVINCIAL_SUPERVISOR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRICT_SUPERVISOR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "WAREHOUSE_MANAGER", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "FIELD_SUPERVISOR", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "HELPDESK_USER", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "L2_SUPPORT", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "HRMS_ADMIN", + "actionid": 701, + "actioncode": "", + "tenantid": "default" + }, { "rolecode": "EMPLOYEE ADMIN", "actionid": 863, @@ -14918,6 +15008,12 @@ "actioncode": "", "tenantId": "default" }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1588, + "actioncode": "", + "tenantId": "default" + }, { "rolecode": "WAREHOUSE_MANAGER", "actionid": 1589, @@ -14990,6 +15086,12 @@ "actioncode": "", "tenantId": "default" }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1591, + "actioncode": "", + "tenantId": "default" + }, { "rolecode": "DISTRIBUTOR", "actionid": 1596, @@ -15320,6 +15422,12 @@ "actioncode": "", "tenantId": "default" }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1621, + "actioncode": "", + "tenantId": "default" + }, { "rolecode": "SYSTEM_ADMINISTRATOR", "actionid": 1622, @@ -15404,6 +15512,12 @@ "actioncode": "", "tenantId": "default" }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1628, + "actioncode": "", + "tenantId": "default" + }, { "rolecode": "SYSTEM_ADMINISTRATOR", "actionid": 1629, @@ -15991,6 +16105,90 @@ "actionid": 1651, "actioncode": "", "tenantId": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1653, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1653, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1654, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1654, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1655, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1655, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1656, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1656, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1657, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1657, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1658, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1658, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "SUPERUSER", + "actionid": 1659, + "actioncode": "", + "tenantid": "default" + }, + { + "rolecode": "DISTRIBUTOR", + "actionid": 1659, + "actioncode": "", + "tenantid": "default" } ] -} \ No newline at end of file +} diff --git a/data/default/Workflow/AutoEscalation.json b/data/default/Workflow/AutoEscalation.json new file mode 100644 index 000000000..9b82b47da --- /dev/null +++ b/data/default/Workflow/AutoEscalation.json @@ -0,0 +1,26 @@ +{ + "tenantId": "default", + "moduleName": "Workflow", + "AutoEscalation": [ + { + "businessService": "NewTL", + "module": "tl-services", + "state": "PENDINGAPPROVAL", + "action": "APPROVE", + "active": "true", + "stateSLA": 2.0, + "businessSLA": null, + "topic" : "tl-auto-escalation" + }, + { + "businessService": "PGR", + "module": "pgr-services", + "state": "RESOLVED", + "action": "CLOSERESOLVEDCOMPLAIN", + "active": "true", + "stateSLA": 1.0, + "businessSLA": null, + "topic" : "pgr-auto-escalation" + } + ] +} diff --git a/data/default/Workflow/AutoEscalationStatesToIgnore.json b/data/default/Workflow/AutoEscalationStatesToIgnore.json new file mode 100644 index 000000000..be41306f7 --- /dev/null +++ b/data/default/Workflow/AutoEscalationStatesToIgnore.json @@ -0,0 +1,11 @@ +{ + "tenantId": "default", + "moduleName": "Workflow", + "AutoEscalationStatesToIgnore": [ + { + "businessService": "NewTL", + "module": "TL", + "state": ["INITIATED","PENDINGAPPROVAL"] + } + ] +} diff --git a/data/default/Workflow/BusinessService.json b/data/default/Workflow/BusinessService.json new file mode 100644 index 000000000..65fb3066d --- /dev/null +++ b/data/default/Workflow/BusinessService.json @@ -0,0 +1,172 @@ +{ + "tenantId": "default", + "moduleName": "Workflow", + "BusinessService": [ + { + "tenantId": "default", + "uuid": "d6536787-f590-4e00-85b2-434198902252", + "businessService": "PGR", + "business": "pgr-services", + "businessServiceSla": 432000000, + "states": [ + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "11beb7b7-9a13-47ec-afd2-bea9bd380b16", + "tenantId": "default", + "businessServiceId": "PGR", + "sla": null, + "state": null, + "applicationStatus": null, + "docUploadRequired": false, + "isStartState": true, + "isTerminateState": false, + "isStateUpdatable": true, + "actions": [ + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "b2e3e65c-d191-44d1-bfd4-73e9c7bfbe51", + "tenantId": "default", + "currentState": "11beb7b7-9a13-47ec-afd2-bea9bd380b16", + "action": "CREATE", + "nextState": "8db017dd-0acd-4544-a48d-d8bf33a2ebb9", + "roles": [ + "REGISTRAR", + "DISTRIBUTOR", + "WAREHOUSE_MANAGER", + "HELPDESK_USER", + "SYSTEM_ADMINISTRATOR" + ], + "active": true + } + ] + }, + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "8db017dd-0acd-4544-a48d-d8bf33a2ebb9", + "tenantId": "default", + "businessServiceId": "PGR", + "sla": null, + "state": "PENDING_ASSIGNMENT", + "applicationStatus": "PENDING_ASSIGNMENT", + "docUploadRequired": false, + "isStartState": false, + "isTerminateState": false, + "isStateUpdatable": false, + "actions": [ + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "ae1ab712-a663-485e-963b-e70b1576594a", + "tenantId": "default", + "currentState": "8db017dd-0acd-4544-a48d-d8bf33a2ebb9", + "action": "RESOLVE", + "nextState": "6f58ceed-a0de-46ec-af25-3616cbdb994f", + "roles": [ + "HELPDESK_USER", + "L2_SUPPORT", + "PROGRAMMATIC_SUPPORT", + "SYSTEM_ADMINISTRATOR" + ], + "active": true + }, + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "f3fabaed-f89f-4cd1-a949-a3a2dacff415", + "tenantId": "default", + "currentState": "8db017dd-0acd-4544-a48d-d8bf33a2ebb9", + "action": "PENDING_ASSIGNMENT", + "nextState": "8db017dd-0acd-4544-a48d-d8bf33a2ebb9", + "roles": [ + "HELPDESK_USER", + "L2_SUPPORT", + "PROGRAMMATIC_SUPPORT", + "SYSTEM_ADMINISTRATOR" + ], + "active": true + }, + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "a5ef9717-e3b0-4143-b6b9-aafbc904d610", + "tenantId": "default", + "currentState": "8db017dd-0acd-4544-a48d-d8bf33a2ebb9", + "action": "REJECT", + "nextState": "38e9938f-5990-4189-8c4a-acf9fa3f061b", + "roles": [ + "HELPDESK_USER", + "SYSTEM_ADMINISTRATOR" + ], + "active": true + } + ] + }, + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "6f58ceed-a0de-46ec-af25-3616cbdb994f", + "tenantId": "default", + "businessServiceId": "PGR", + "sla": null, + "state": "RESOLVED", + "applicationStatus": "RESOLVED", + "docUploadRequired": false, + "isStartState": false, + "isTerminateState": true, + "isStateUpdatable": false, + "actions": null + }, + { + "auditDetails": { + "createdBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "lastModifiedBy": "adf829ff-7a65-4e8b-b1a7-191ec298e79e", + "createdTime": 1680526024538, + "lastModifiedTime": 1680526024538 + }, + "uuid": "38e9938f-5990-4189-8c4a-acf9fa3f061b", + "tenantId": "default", + "businessServiceId": "PGR", + "sla": null, + "state": "REJECTED", + "applicationStatus": "REJECTED", + "docUploadRequired": false, + "isStartState": false, + "isTerminateState": true, + "isStateUpdatable": false, + "actions": null + } + ] + } + ] +} diff --git a/data/default/Workflow/BusinessServiceConfig.json b/data/default/Workflow/BusinessServiceConfig.json new file mode 100644 index 000000000..b14d2be96 --- /dev/null +++ b/data/default/Workflow/BusinessServiceConfig.json @@ -0,0 +1,10 @@ +{ + "tenantId": "default", + "moduleName": "Workflow", + "BusinessServiceConfig": [ + { + "code": "PGR", + "isStateLevel": true + } + ] +} diff --git a/data/default/Workflow/BusinessServiceMasterConfig.json b/data/default/Workflow/BusinessServiceMasterConfig.json new file mode 100644 index 000000000..fde433828 --- /dev/null +++ b/data/default/Workflow/BusinessServiceMasterConfig.json @@ -0,0 +1,21 @@ +{ + "tenantId": "default", + "moduleName": "Workflow", + "BusinessServiceMasterConfig": [ + { + "businessService": "NewTL", + "active": "true", + "isStatelevel": "true" + }, + { + "businessService": "PGR", + "active": "true", + "isStatelevel": "true" + }, + { + "businessService": "DisconnectSWConnection1", + "active": "true", + "isStatelevel": "false" + } + ] +} diff --git a/data/default/egov-module-version/module-version.json b/data/default/egov-module-version/module-version.json new file mode 100644 index 000000000..4f4ce7a9a --- /dev/null +++ b/data/default/egov-module-version/module-version.json @@ -0,0 +1,18 @@ +{ + "tenantId": "default", + "moduleName": "module-version", + "ROW_VERSIONS": [ + { + "module": "HCM-SERVICE-REGISTRY", + "version": "0.1" + }, + { + "module": "egov-location", + "version": "0.2" + }, + { + "module": "HCM-FIELD-APP-CONFIG", + "version": "0.1" + } + ] +} \ No newline at end of file diff --git a/data/default/health/field-app-configuration.json b/data/default/health/field-app-configuration.json index 175e776a5..44c31ec48 100644 --- a/data/default/health/field-app-configuration.json +++ b/data/default/health/field-app-configuration.json @@ -169,7 +169,7 @@ "localStoreTTL": 172800 } }, - { + { "type": "LOCALIZATION_MODULE", "name": "hcm-reports", "config": { @@ -443,4 +443,4 @@ } } ] -} +} \ No newline at end of file diff --git a/data/default/health/project-types.json b/data/default/health/project-types.json index fabfa9544..b39175305 100644 --- a/data/default/health/project-types.json +++ b/data/default/health/project-types.json @@ -84,6 +84,89 @@ "isBaseUnitVariant": true } ] + }, + { + "id": "40a528a0-4e0e-11ee-be56-0242ac120002", + "name": "configuration for Multi Round Campaigns", + "code": "MR-DN", + "group": "MALARIA", + "beneficiaryType": "HOUSEHOLD", + "eligibilityCriteria": [ + "All households having members under the age of 18 are eligible.", + "Prison inmates are eligible." + ], + "taskProcedure": [ + "1 bednet is to be distributed per 2 household members.", + "If there are 4 household members, 2 bednets should be distributed.", + "If there are 5 household members, 3 bednets should be distributed." + ], + "resources": [ + { + "productVariantId": "PVAR-2022-12-20-000036", + "isBaseUnitVariant": false + }, + { + "productVariantId": "PVAR-2022-12-20-000037", + "isBaseUnitVariant": true + } + ], + "observationStrategy": "DOT1", + "cycles": [ + { + "mandatoryWaitSinceLastCycleInDays": null, + "deliveries": [ + { + "mandatoryWaitSinceLastDeliveryInDays": null, + "ProductVariants": { + "SP500": "1", + "AQ500": "1" + }, + "deliveryStrategy": "DIRECT" + }, + { + "mandatoryWaitSinceLastDeliveryInDays": "10", + "ProductVariants": { + "sp500": "1" + }, + "deliveryStrategy": "INDIRECT" + }, + { + "mandatoryWaitSinceLastDeliveryInDays": "20", + "ProductVariants": { + "pvid2": "2" + }, + "deliveryStrategy": "INDIRECT" + } + ] + }, + { + "mandatoryWaitSinceLastCycleInDays": "30", + "deliveries": [ + { + "mandatoryWaitSinceLastDeliveryInDays": "15", + "ProductVariants": { + "SP500": "1", + "AQ500": "1" + }, + "deliveryStrategy": "DIRECT" + }, + { + "mandatoryWaitSinceLastDeliveryInDays": "10", + "ProductVariants": { + "AQ500": "1" + }, + "deliveryStrategy": "INDIRECT" + }, + { + "mandatoryWaitSinceLastDeliveryInDays": "20", + "ProductVariants": { + "SP500": "1" + }, + "deliveryStrategy": "INDIRECT" + } + ] + } + ] } ] } diff --git a/data/default/health/service-registry.json b/data/default/health/service-registry.json index 85ec2ff61..c1c0ea3c3 100644 --- a/data/default/health/service-registry.json +++ b/data/default/health/service-registry.json @@ -421,6 +421,46 @@ "path": "/project/check/bandwidth" } ] + }, + { + "service": "ADVERSE-EVENT", + "actions": [ + { + "action": "create", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/_create" + }, + { + "action": "update", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/_update" + }, + { + "action": "search", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/_search" + }, + { + "action": "delete", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/_delete" + }, + { + "action": "bulk_create", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/bulk/_create" + }, + { + "action": "bulk_update", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/bulk/_update" + }, + { + "action": "bulk_delete", + "entityName": "AdverseEvent", + "path": "/project/task/adverse_event/v1/bulk/_delete" + } + ] } ] } diff --git a/data/default/health/symptoms_types.json b/data/default/health/symptoms_types.json new file mode 100644 index 000000000..19395a288 --- /dev/null +++ b/data/default/health/symptoms_types.json @@ -0,0 +1,21 @@ +{ + "tenantId": "default", + "moduleName": "HCM-SYMPTOMS-TYPES", + "symptomsTypes": [ + { + "code": "VOMITTING", + "name": "Vomitting", + "active": true + }, + { + "code": "FEVER", + "name": "Fever", + "active": true + }, + { + "code": "DIARRHOEA", + "name": "Diarrhoea", + "active": true + } + ] +} \ No newline at end of file