Versions Compared

Key

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

...

  • connectionNumber,mobileNumber, ids (connection key).

Water Calculator Service

This is the Egov application, which is used for creating meter reading, searching meter reading, updating existing meter reading, calculation of water charge, demand generation, SMS & email notification to ULB officials on-demand generation.

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 Calculator Service provides multiple functionalities like creating meter reading, updating meter reading, searching meter readings on given criteria. The different functionalities provided by water calculator service as follows -

  1. Creating meter readings(For metered connection).

  2. Updating meter readings.

  3. Searching for meter readings.

  4. Water charge calculation.

  5. demand generation(For metered connection, demand will be generated after meter reading capture. For non-metered connection demand will be generated based on time period.).

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 calculation services for YAML.

Application.properties File Information:

kafka topics persister configs for eGov persister

  • kafka.topics.notification.sms=notification.sms

  • notification.sms.enabled=false

  • notification.email.enabled=false

  • kafka.topics.notification.mail.name=egov.core.notification.email

URLs for the external API references:

Meter Reading Search Parameter Criteria:

  • connectionNos

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.

...

  • connectionNumber,mobileNumber, ids (connection key)

Sewerage calculator services:

This is one of the major business logic services which is used for calculation of sewerage charge, generating demand, update existing demand , SMS & email notification to the ULB officials on demand generation and also triggering demands(job scheduler) at some intervals.

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:

Sewerage calculator services present in municipal services provides multiple functionalities like calculating sewerage charges, generating demands for a particular sewerage connection , updating demands. The different functionalities provided by sewerage calculator services are:

  1. Sewerage charge calculation

  2. Demand generation(here as its always non-metered demand will be generated based on time period)

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(for notification)

  • kafka.topics.notification.sms=notification.sms

  • notification.sms.enabled=true

  • kafka.topics.notification.mail=notification.mail

  • notification.mail.enabled=true

URLs for the external API references: