Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Water Services

This is the egov application, which helps and gives flexibility to municipal and citizen to handle the water service like create water connection, search water connection, update water connection and creating property if not exists.

The setup of the Application is as follows

Requirements:

  • Knowledge of Java/J2EE(preferably Java 8 version)

  • Knowledge of Spring Boot and spring-boot microservices.

  • Knowledge of Git or any version control system.

  • Knowledge of RESTful Web services.

  • Knowledge of the Lombok library will helpful.

  • knowledge of eGov-mdms service, eGov-persister, eGov-idgen, eGov-sms, eGov-email,eGov-user, eGov-localization will be helpful.

 

Functionality:

Water Service provides multiple functionalities like creating water connection, updating water connection, search water connection on given criteria, creating property if not exists. The different functionalities provided by water services as follows -

  1. Creating water connections.

  1. Searching for water connections.

  1. Updating water connections.

  1. Creating a property registry for a water connection (If not exists).

Setup and usage:

The Application is present among the municipal services group of applications available in the eGov-services git repository.  The spring boot application needs the Lombok* extension added in your IDE to load it. Once the application is up and running API requests can be posted to the URL and ids can be generated. 

  • in case of IntelliJ, the plugin can be installed directly, for eclipse the Lombok jar location has to be added in eclipse.ini file in this format  javaagent:lombok.jar

API Information :

  • please refer to the swagger YAML, GOTO: https://editor.swagger.io/  and click on file -> import URL Then add the raw URL of the API doc in the popup.  please go to the docs folder in water services for YAML.

Application.properties File Information:

kafka topics persister configs for eGov persister

  • egov.waterservice.createwaterconnection = save-ws-connection

  • egov.waterservice.updatewaterconnection=update-ws-connection

URLs for the external API references:

Water Search Parameter Criteria:

  • connectionNumber, mobileNumber, ids (connection key).

Sewerage services

This is one of the major application of the egov stack which helps municipal and citizens to handle sewerage services like creating sewerage connection , searching sewerage connection, sewerage connection and also creating property if it doesnt exist.

 

The setup of the Application is as follows

Requirements:

  1. Prior Knowledge of Java/J2EE(Java 8 version preferrable).

  1. Prior Knowledge of Spring Boot.

  1. Prior Knowledge of REST APIs and related concepts like path parameters, headers, JSON etc.

  1. Prior knowledge of Git.

  1. Prior knowledge of eGov-mdms service, eGov-persister, eGov-user, eGov-location, eGov-localization, eGov-idgen.

 

FUNCTIONALITY:

The sewerage service provides multiple functionality starting from serving as a central repository where one can create sewerage connection, update sewerage connection, search for a particular sewerage connection based on different criterias like mobile number, sewerage connection nos etc. and also creating property if it doesnt exist.The different services provided by the sewerage services are

  1. Creating sewerage connection

  2. Updating sewerage connection

  3. Searching sewerage connection based on few criterias mentioned in swagger documentation later

  4. Creating property if it doesnt exist

 

SETUP AND USAGE:

The Application is present among the municpal group of applications available in the eGov-services git repository. The spring boot application needs lombok* extension added in your IDE to load it. Once the application is up and running API requests can be posted to the url and ids can be generated.

  • in case of intellij the plugin can be installed directly, for eclipse the lombok jar location has to be added in eclipse.ini file in this format  javaagent:lombok.jar

For the API information please refer the swagger yaml, GOTO : https://editor.swagger.io/  and click on file -> import url Then add the raw url of the API doc in the pop up. 

The variables in the Application.properties to be updated are as follows

kafka topics persister configs for eGov persister

egov.sewarageservice.createconnection=save-sw-connection
egov.sewarageservice.updateconnection=update-sw-connection

 

URLs for the external API references

egov.idgen.scid.name=sewerageservice.connection.id
egov.idgen.scid.format=SW/[CITY.CODE]/[fy:yyyy-yy]/[SEQ_EGOV_COMMON]

 

Sewerage Search Parameters config (filter for search based on fields by user Type)

  • connectionNumber, mobileNumber, ids (connection key)

  • No labels