Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to set up a client implementation repository

  1. Branch out and create a client edcr implementation repository from https://github.com/egovernments/eGov-dcr-service master repository. For example, you can refer Refer https://github.com/egovernments/egov-dcr-client how for the client implementation setup has been done.

  2. After creating a client implementation repository, If you want to override rules processing for features, then create a project under egov directory like egov-client-impl.

How to override rule processing across the state, citydistrict, ULB, and grade wise for a feature

ReferDevelopment Control Rules (Digit-DCR) The client-specific rules are configurable in the individual client implementation module. Here the rules are fetched by state wise, district wise, ULB wise, or grade-wise. The EG_CITY table, master data used to decide these values. Eg: https://github.com/egovernments/egov-dcr-client/blob/master/egov/egov-client-impl/src/main/java/org/egov/client/edcr/Far_Client.java Here filename to be add as Far_Assam.java for assam state rules.

How to Setup New State and ULB’s

...

  1. For the above APIs one must use state domain URL and in the contract tenantId of concern city have to be passed to scrutinize multiple cities.

  2. One should not use city domain URL to scrutinize or fetch plan if used that way, the response will be empty.

  3. The tenantId used should follow {state_name.city_name} naming convention, then the state_name passed in the request and city code in the state schema must be the same.

ReferDevelopment Control Rules (Digit-DCR)