W&S - UI Technical Configuration

List of configurations need to be updated so that W&S UI can display the information / provide access to the logged in User.

  1. Types of Roles & Access Details

  2. MDMS configurations

  3. PDF Configurations

  4. WorkFlow Configurations

  5. Egov-Searcher Configurations

 

  1. Type of Roles & Access Details

Map all WS roles to respective API’s giving 403 status inhttps://github.com/egovernments/playground-mdms-data/blob/master/data/pg/ACCESSCONTROL-ACTIONS-TEST/actions-test.json and https://github.com/egovernments/playground-mdms-data/blob/master/data/pg/ACCESSCONTROL-ROLEACTIONS/roleactions.json

Below roles are access the different workflow actions like

  • Counter Employee can create and submit the application.

  • Document verifier can verify the documents and that application forward to field inspector.

  • Field inspector can verify the additional details provided by the Citizen after verify it move to the approve.

  • Approver can approve the connection and after counter employee can collect amount from citizen and application move to activate the connection.

  • clerk will activate the connection then connection number will generated.
    For Water:

  1. WS_CEMP

  2. WS_DOC_VERIFIER

  3. WS_FIELD_INSPECTOR

  4. WS_APPROVER

  5. WS_CLERK

For Sewerage:

  1. SW_CEMP

  2. SW_DOC_VERIFIER

  3. SW_FIELD_INSPECTOR

  4. SW_APPROVER

  5. SW_CLERK

To configure the module cards in the inbox use below Json.

Role-actions mapping is added in below file:

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/ACCESSCONTROL-ROLEACTIONS/roleactions.json

{

    "rolecode": "WS_CEMP",

    "actionid": 1899,

    "actioncode": "",

    "tenantId": "pb"

  }

For every action object added in actions-test.json , we have to add specific roles who can access those added items in roleactions.json, where id will become the mapping key.

rolecode will be the roles of Employee or citizen. 

2. MDMS Configuration

All BusinessService details and W&S specific mdms data.

https://github.com/egovernments/egov-mdms-data/tree/master/data/pb/ws-services-masters

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/ws-services-masters/Documents.json -Documents to be uploaded

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/ws-services-masters/billingPeriod.json

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/common-masters/uiCommonPay.json

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/ws-services-masters/waterSource.json - WaterSource and subsource to be uploaded.

For propertyType,propertyUsageType,propertySubUsageType we took mdms from propertytax module.

https://github.com/egovernments/egov-mdms-data/tree/master/data/pb/PropertyTax

3. PDF Configurations at UI

https://github.com/egovernments/configs/tree/master/pdf-service/data-config

https://github.com/egovernments/configs/tree/master/pdf-service/format-config

4. Workflow Configurations

5. Egov-Searcher Configurations

  • Search configs for bill - genie

https://github.com/egovernments/configs/blob/master/egov-searcher/bill-genie.yml

  • Searcher configuration for searching locality in workflow inbox

https://github.com/egovernments/configs/blob/master/egov-searcher/localitySearcher.yml

Front End Configurations :

  • Change the state level tenantId in /frontend/web/rainmaker/packages/employee/.env

REACT_APP_DEFAULT_TENANT_ID=pb

  • Point to specific environment you want to test on.

"proxy": "https://egov-micro-dev.egovernments.org/",

Â