DIGIT Urban
PlatformDomainsAcademyDesign SystemFeedback
v2.3
v2.3
  • DIGIT
  • Training Event
  • Architecture
  • Roadmap
  • Release Notes
    • MDMS Configuration & Service Build Updates
    • FSM Release Notes
    • HRMS Release Notes
    • EDCR Release Notes
    • Bill Amendment Release Notes
  • Products & Modules
    • mCollect (MCS)
      • mCollect Master Data Templates
        • Service Category
        • Service Sub Category
        • Service Sub Category GL Code Mapping
      • mCollect Roadmap
      • mCollect User Manual
        • MCS Citizen User Manual
        • MCS Employee User Manual
    • Trade License (TL)
      • TL Brochure
      • TL Roadmap
      • TL Module Functional Specifications
      • TL Workflows
      • TL Implementation Guide
      • TL Master Data Templates
        • Trade Type
        • Trade Sub Type
        • Trade Category
        • Trade License Fee
        • Structure Sub Type
        • Structure Type
        • Trade License Document Attachment
      • TL Service Configuration
      • TL User Manual
        • Citizen User Manual
        • Employee User Manual
      • TL Demo Script
    • Public Grievances & Redressal (PGR)
      • PGR Brochure
      • PGR Roadmap
      • PGR Module Functional Specifications
      • PGR Workflows
      • PGR Master Data Templates
        • Grievance Type
        • Grievance Sub Type
      • PGR Service Configuration
        • PGR Migration
      • PGR Implementation Guide
      • PGR User Manual
        • Complaint Types List
        • Employee User Manual
        • Citizen User Manual
      • PGR Demo Script
    • Property Tax
      • PT Brochure
      • PT Roadmap
      • PT Module Functional Specifications
      • PT Workflows
      • PT Implementation Guide
      • PT Master Data Templates
        • Mutation Fee
        • Rebate Rates
        • Penalty Rates
        • Interest Rates
        • Tax Rates
        • Unit Rates
        • Special Category Documents
        • Owner Special Category
        • Ownership Sub Category
        • Ownership Category
        • Usage Category Detail
        • Road Type
        • Construction Type
        • Property Type
        • Property Sub Type
        • Usage Category Major
        • Usage Category Minor
        • Usage Category Sub Minor
      • PT Data Migration
      • PT User Manual
        • Citizen User Manual
        • Employee User Manual
    • Water & Sewerage (W&S)
      • W&S Module Functional Specifications
      • Sewerage Charges Master Data Templates
        • Sewerage Rates
        • Sewerage Penalty Rates
        • Sewerage Interest Rates
      • Water Charges Master Data Templates
        • Water Rates (Metered)
        • Pipe Size Types
        • Water Source Types
        • Water Rates (Non-Metered)
        • Water Penalty Rates
        • Water Interest Rates
      • W&S User Manual
        • W&S Citizen User Manual
        • W&S Employee User Manual
    • Online Building Plan Approval System (OBPAS)
      • OBPAS Module Functional Specifications
      • OBPAS Master Data Templates
        • Fee Structure
        • NOC Departments
        • Stakeholders Type
        • List Of Services
        • Service-Wise Documents
        • Building Occupancy
        • Building Sub Occupancy
        • Building Usage
        • Inspection Checklist
        • Town Planning Schemes
      • OBPAS Brochure
      • OBPAS User Manual
        • OBPAS Citizen User Manual
        • OBPAS Employee User Manual
    • Faecal Sludge Management (FSM)
      • FSM Service Configuration
      • FSM Calculator v1.0
      • FSM Vendor Registry v1.0
      • FSM Vehicle Registry v1.0
      • FSM User Manual
        • Citizen User Manual
        • Employee User Manual
        • DSO User Manual
        • Septage Treatment Plant Operator User Manual
    • Finance
      • Finance Implementation Guide
      • Finance User Manual
        • Employee User Manual
        • Admin User Manual
        • Finance Reports Manual
      • Finance Module Functional Specifications
      • Finance Master Data Templates
        • Bank Account
        • Chart Of Accounts
        • Funds
        • Function
        • Contractors
        • Suppliers
        • Schemes
        • Sub Schemes
        • Banks
        • Bank Branch
        • Deduction
        • Opening Balances
        • Sub Ledger Category
        • Sub Ledger Master
    • Fire NOC
      • Fire NOC Master Data Templates
        • Building Usage Type
        • Building Sub Usage Type
        • Fire Station Master
        • Areas Served Master
        • Fire Station Mapping
        • Fire NOC Fee
      • Fire NOC User Manual
        • Fire NOC Citizen User Manual
        • Fire NOC Employee User Manual
    • DIGIT Service Configuration
      • Core Services
        • Workflow Services
        • Location Services
        • User Services
        • Access Control Services
        • PDF Generation Service
        • MDMS (Master Data Management Service)
        • Payment Gateway Service
        • User Session Management In DIGIT
        • Indexer Service
        • URL Shortening Service
      • Business Service
        • Bill Amendment
      • Municipal Service
        • PGR Services 2.0
          • PGR Migration
        • Trade-License Service
        • BPA Service
          • BPA Service Setup and Configuration
          • BPA Calculator Service
          • Land Services
          • Noc Services
      • Utilities
    • Product FAQs
  • Configuration Guide
    • Git Repos
    • Setting up DIGIT
      • Configuring InfraOps
      • Setting up DIGIT Environment
      • Email And SMS Setup
      • FileStore Setup
      • Setting Up SSL Certificate
      • Periodic Log Cleanup
    • Setting up Master Data
      • MDMS Overview
      • Configuring Tenants
      • Configuring Master Data
      • Adding New Master
      • State Level Vs City Level Master
    • Master Data Collection Templates
      • Environment Setup
        • State Level Setup
          • Tenants Information
          • SMS Account Configuration
          • Email Account Configuration
          • Google Play Store Account
          • Payment Gateway Configuration
          • POS Integration Configuration
          • Domain Name Configuration
          • SSL Configuration
          • ULB Departments
          • ULB Designations
          • Localization
          • Google Map Configuration
        • ULB Level Setup
          • Boundary Hierarchies
          • Boundary Data
          • Cross Hierarchy Mapping
          • ULB Bank Accounts
      • Module Setup
        • Web Portals Templates
          • State Portal
          • ULB Portal
        • HRMS Data Templates
          • User Roles
          • System Users
        • Billing And Payments Data Templates
          • Tax Heads
          • Receipt Format
          • Demand Bill Format
        • DSS Data Templates
          • KPI Acceptance
        • Workflow Data Templates
          • Workflow Actions
          • Workflow Levels
          • Workflow Process
          • Workflow Notifications
        • Common Configuration Details
          • Standard Document List
          • Service Document Mapping
          • Checklist
          • Configuring Data FAQs
    • Configuring Workflows
      • Setting Up Workflows
      • Configuring Workflows For An Entity
    • Configuring Services
      • API Dos and Don'ts
      • Setting Up Service Locally
      • Configuring New Reports
        • Types Of Reports Used In Report Service
        • Impact Of Heavy Reports On Platform
      • Customizing PDF Notices And Certificates
        • Integration Of PDF In UI For Download And Print PDF
        • Customizing PDF Receipts & Certificates
    • Persister Configuration
    • Indexer Configuration
    • Setting up a Language
      • Adding New Language
      • Setting Up Default Language For SMS & Emails
    • Configuring Localization
      • Setup Base Product Localization
      • Configure SMS and Email
    • Setting Up SMS Gateway
      • Using The Generic GET & POST SMS Gateway Interface
    • Configuration FAQs
    • Setting Up eDCR Service
    • Adding Roles To System
    • Mapping Roles With APIs
    • DSS Configuration And Setup
      • Building New Dashboards
    • Setting Up Finance Service
    • Adding New APIs For Access
    • Deployment Of App on Play Store
  • Customization Guide
    • Frontend/UI
    • DIGIT Customization
      • API Do's & Don'ts
      • Writing A New Customer
      • Enhancing Existing Service
  • Deployment Guide
    • Setup Requirements
      • Tech Enablement Training - Essential Skills and Pre-requisites
      • DIGIT Rollout Program Governance
      • DevOps Skills Requirements
      • Infra Requirements
      • Team Composition for DIGIT Implementation
      • Infra Best Practices
      • Operational Best practices
      • Why Kubernetes for DIGIT
    • Supported Clouds
      • Google Cloud
      • Azure
      • AWS
      • VSphere
      • SDC
      • NIC
    • Deployment - Key Concepts
      • Security Practices
      • CI/CD
      • Readiness & Liveness
      • Resource Requests & Limits
    • Understanding ERP Stack
      • ERP Monolithic Architecture
      • ERP Hybrid Architecture
      • ERP Coexistence Architecture
      • APMDP-HYBRID-INFRA-ARCHITECTURE
      • eGov SmartCity eGovernance Suite
      • ERP Deployment Process
      • ERP Release Process
      • ERP User Guide
    • Deploying DIGIT Services
      • Deployment Architecture
      • Routing Traffic
      • Backbone Deployment
    • Troubleshooting
      • Distributed Tracing
      • Logging
      • Monitoring & Alerts
  • Training Resources
    • Training Videos
  • Partner Support
    • eGov Enablement Support for DIGIT
    • Troubleshooting Guide
Powered by GitBook

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

On this page
  • Software to install
  • All Dependent Services

Was this helpful?

Edit on Git
Export as PDF
  1. Products & Modules
  2. DIGIT Service Configuration
  3. Municipal Service
  4. BPA Service

BPA Service Setup and Configuration

PreviousBPA ServiceNextBPA Calculator Service

Last updated 4 years ago

Was this helpful?

Software to install

  • Java 1.8

  • Eclipse

  • Postgres

  • PhpPgAdmin

  • Postman (Application)

  • Respective Git MiddleWare

  • Kubectl

  • Kafka

Take the code pull from the git:

Need to consider 2 repositories for code to run locally

  1. Municipal services - where our BPA code exists and some dependency services also available here

  2. Core Services - Where dependency services exist to run our code locally

Import the required projects to eclipse

From municipal-services import bpa-services, bpa-calculator and land-services. From core-services import user service, idgen service, mdms service, location service, localization service, workflow service, egov-persister.

Before running the application make sure the following setups are complete to ensure the application runs smoothly.

Run the below commands based on your system types

For linux: in kafka folder path

Example: D:\kafka_2.13-2.4.0

> bin/zookeeper-server-start.sh config/zookeeper.properties > bin/kafka-server-start.sh config/server.properties

For Windows: in windows path

Example: D:\kafka_2.13-2.4.0\bin\windows start zookeeper-server-start.bat ....\config\zookeeper.properties start kafka-server-start.bat ....\config\server.properties

  • Kubectl setup based on the requirement To get the pods: kubectl get pods To port forward: kubectl port-forward <<pod name>> <<port number>>:8080 To get the logs: kubectl get logs

After all the setups are done successfully, try to run the application locally.

BPA-Services How to run the application in local:

Check the services which are connected to local and which are connected to dev

  • Which are connected to dev no need to change anything.

  • If it is connected to local check the services are in below list IDGEN – can run locally or can point to dev from cmd prompt PERSISTER – can run locally MDMS – can directly point to dev or can run in local LOCATION – can directly point to dev WORKFLOW – can point to dev or can run locally LOCALIZATIONS – we can directly point this to dev USER-SERVICE – need to point to dev from cmd prompt LAND-SERVICE – need to run locally BPA-CALCULATOR – can run locally or can point to dev.

  • If the changes are from these services follow the below process to run those respective services.

For core services:

IDGEN:

Approach 1: Directly point this to dev from the application.properties in bpa-services Approach 2: Point this to local and give the port forward to dev by using kubctl.

Note: We are not running this service locally.

PERSISTER:

U need to run it in local and need to add respective yaml files in persister resource folder which are bpa-persister.yml and egov-workflow-v2-persister.yml and also land-persister.yml

And need to add these in persister application.properties repo path

Note: Please check whether data is is saving or not in local data base(DB).

MDMS:

to run local: For running this in local need to change in 2 file that is application.properties and MDMSApplicationRunnerImpl

In application.properties need to change the paths for the master-config url as path of master-config.json and for config path as upto pb/bh

In MDMS ApplicationRunnerImpl need to change the data in a function from the path to file.

to point to dev: Approach 1: Directly point this to dev from the application.properties in bpa-services

Approach 2: Give it as local connection in BPA application.properties and port forward to dev by using kubectl.

LOCATION

Approach 1: Give it a local connection in BPA application.properties and port forward to dev by using kubectl.

Approach 2: Directly point this to dev from the application.properties in bpa-services

Note: Not tried it in local / may got errors so pointing to dev.

WORKFLOW

to point to dev: Approach 1: Directly point this to dev from the application.properties in bpa-services

Approach 2: Give it as local connection in BPA application.properties and port forward to dev by using kubectl.

to run local:

can run locally by pointing to the local database, but for this need to create the workflow locally using the workflow create API.

USER-SERVICE Approach 1: Give it as local connection in BPA application.properties and port forward to dev by using kubectl.

Approach 2: Directly point this to dev from the application.properties in bpa-services

Note: In local not able to run the application successfully, so the following dev.

LOCALIZATIONS

Approach 1: Directly point this to dev from the application.properties in bpa-services

Approach 2: Give it as local connection in BPA application.properties and port forward to dev by using kubectl.

Changes from Municipal services

BPA-Calculator:

to run local:

can run locally by pointing to the local database.

to point to dev: Approach 1: Directly point this to dev from the application.properties in bpa-services

Approach 2: Give it as local connection in BPA application.properties and port forward to dev by using kubectl.

Land-Service:

to run local:

can run locally by pointing to the local database.

to point to dev: Approach 1: Directly point this to dev from the application.properties in bpa-services

Approach 2: Give it as local connection in BPA application.properties and port forward to dev by using kubectl.

Other than these services can directly by pointing to dev url.

Note: After running the application successfully please check if the data is saving in db or not.

All Dependent Services

  • egov-user - (Manage user)

  • tl-services - Stakeholder Registration (Registration process of Stakeholder is handled by this service)

  • egov-user-event (What’s New and Events)

  • egov-filestore (To store the documents uploaded by the user)

  • egov-idgen (To generate the application No, Permit No)

  • egov-indexer (To index the BPA data)

  • egov-localization (To use the localized messages)

  • egov-location (To store the address locality)

  • egov-mdms (Configurations/master data used in the application is served by MDMS)

  • egov-notification-sms (Service to send SMS to the users involved in the application)

  • egov-persister (Helps to persist the data)

  • egov-searcher (Search query used to simplify the search)

  • egov-workflow-v2 (Workflow configuration for different BPA application is configured)

  • pdf-service (Receipt’s, permitorder etc.. and prepared)

  • billing-service (Create demands and bills for the fees to be collected)

  • collection-services (Create a receipt for the payment received for the bills)

  • bpa-calculator (Calculates the fees to be collected at different stages)

  • land-services (land information related to BPA application is stored)

  • dcr-services (get and validate EDCR data)

kafka set up in your system which is running fine. Download the latest version of kafka from here.

Ref:

And lombok setup for eclipse For ref:

Postman Collection

Postman collection

Postman collection

Postman Collection:

Postman Collection

All content on this page by is licensed under a .

https://kafka.apache.org/downloads
https://kafka.apache.org/quickstart
https://www.journaldev.com/18124/java-project-lombok
https://www.getpostman.com/collections/c59b5c6190719ecd306a
https://www.getpostman.com/collections/4f6a25a4fb32572af5ff
https://www.getpostman.com/collections/aa30be8a8b9de4c13aa8
https://www.getpostman.com/collections/60bbd6aed27605dcc270
https://www.getpostman.com/collections/12cc4c3855be9699c278
https://github.com/egovernments/municipal-services.git - Connect to preview
https://github.com/egovernments/core-services.git - Connect to preview
eGov Foundation
Creative Commons Attribution 4.0 International License
Creative Commons License