Steps to Configure Garima

Overview

  • Provision of urban local bodies (ULBs)/DSO to assign one or more sanitation workers to each request:

    1. Sanitation workers will be made available via integration with the Garima database through API in the workflow.

    2. Since the Garima ID may not be well known to the ULB/DSO, a search functionality is to be made available by entering a phone number.

    3. Preview details of the selected sanitation worker for confirmation.

  • Capture sanitation worker details if a sanitation worker is not available in the Garima database.

  • Provide aggregated data around how many requests are served by date via unique Garima IDs by API to UMC.

  • No linking will be done between the Garima worker and the vendor in Sujog FSM.

  • Provide enumeration and benefits to sanitation workers.

  • Identify the percentage of services with evidence of safe practices.

MDMS Changes

Feature

Service Name

PR

Added new component for URC

data/pg/FSM/CommonFieldsConfig.JSON

Create UrcConfig.json to enable URC feature

data/pg/angul/FSM/UrcConfig.json

Enabling overRide for tripAmount

data/pg/FSM/Config.json

Added GP data for specific ulb

data/pg/ulb-name/egov-location/boundary-data.json

Create UrcConfig.json and add GP data for all the ULBs for which the URC feature needs to be enabled.

Backend Changes

Created two adaptors for Garima:

1. Create API

- The adapter calls the UMC API to create records and generate the unique garima ID.

2. Search API

- Get a response from the UMC API based on the search criteria.

Changes made in the FSM Update API

When we update the FSM application, we create a record of Garima in the DIGIT system simultaneously which uses the individual service to create an individual record in the DIGIT database.

Accordingly, one needs to set up the individual service for Garima.

Devops Changes

https://github.com/egovernments/DIGIT-DevOps/commit/0af62303dd48d944c988a2b1fb2e772c5df61b3d

https://github.com/egovernments/DIGIT-DevOps/tree/unified-env/deploy-as-code/helm/charts/common-services/individual

Builds

ServicesBuilds

FSM

egovio/fsm:FSM1.3Impl-sujog-Odisha-handover-pqm-4f16b9e968-176

egovio/fsm-db:FSM1.3Impl-sujog-Odisha-handover-pqm-4f16b9e968-176

Individual

egovio/individual-db:sujog-individual-d13a5d35fb-199

egovio/individual:sujog-individual-d13a5d35fb-199

Digit-ui

egovio/digit-ui:FSM-Sujog-40157ab-325

Collection

UI Changes

Step 1:

Create a Garima folder in web\micro-ui-internals\packages\modules\fsm\src\pages\employee

Add the following code.

https://github.com/egovernments/digit-ui/blob/900f784b813f0e733ee0b9eae162759345248d42/web/micro-ui-internals/packages/modules/fsm/src/pages/employee/GarimaDetails/index.js#L1C1-L200C30

Step 2:

Add the required Garima custom components and register them.

Register the above custom page components:

Step 3:

Add the redirection URL for the "Add vehicle" action option:

https://github.com/egovernments/digit-ui/commit/900f784b813f0e733ee0b9eae162759345248d42

Step 4:

Add the necessary Garima hooks call:

Localisation Changes

The following localisations need to be added:

[
  {
    "code": "ADD_DRIVER_MOBILE_NUMBER",
    "message": "Add driver's mobile number",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ADD_HELPER",
    "message": "Add Helper",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ADD_HELPER_MOBILE_NUMBER",
    "message": "Add helper's mobile number",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ASSIGN_DRIVER",
    "message": "Assign driver",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ASSIGN_HELPER",
    "message": "Assign helper",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ASSIGN_SANIATION_WORKER",
    "message": "Assign sanitation worker",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ES_FSM_ADD_DRIVER_SUCCESS",
    "message": "Driver Added Successfully",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "ES_TITLE_DRIVER_DETAILS",
    "message": "Driver Details",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "GARIMA_DRIVER",
    "message": "Driver",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "FSM_HELPER_LABEL",
    "message": "Helper",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  },
  {
    "code": "GARIMA_HELPER",
    "message": "Helper",
    "module": "rainmaker-fsm",
    "locale": "en_IN"
  }
]

Last updated

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