BPA Promotion Document

Description:

Building Plan Approval is for taking the permission from the government to construct any building in the living city, by submitting their proof citizen and also with the address proofs with the help of Architect who are registered in the state.


Notes: 

  • After creating the application citizen can go through the details of his application or can update them.

  • After Application Fee payment citizen can’t do the modification as of now.

  • Citizen/Employee can search the application based on application number or fromdate and todate or empty search as of now search with the tenant id level is applicable only with empty params.


Actors: Citizen, BPA_ARCHITECT, BPA_ENGINEER, BPA_STRUCTURALENGINEER, BPA_TOWNPLANNER, BPA_SUPERVISOR, BPA_BUILDER, BPA_VERIFIER, BPA_NOC_VERIFIER, BPA_FIELD_INSPECTOR, BPA_APPROVER.

 

NOTE:  Check each folder/file for changes Because i removed the previous changes, and added the new changes only if anyone change is missing flow won’t work as expected.

Promotion Steps:

Backend :

  • MDMS:

    Latest updates are as follows:  Please add the changes in below files in MDMS

  •  

https://github.com/egovernments/egov-mdms-data/pull/1198

https://github.com/egovernments/egov-mdms-data/pull/1061   -- change related to  land urls in action test.json

https://github.com/egovernments/egov-mdms-data/pull/1059   -- removed localbody and building diagram from documentType mapping OAP-514

https://github.com/egovernments/egov-mdms-data/pull/1045   -- added order to the doctype mapping

https://github.com/egovernments/egov-mdms-data/pull/1009   -- Earlier disclaimer data is added only for amritsar, now added the same data for jalandhar also 

https://github.com/egovernments/egov-mdms-data/pull/1026   -- Added OC disclaimer data

Note: These are the old changes please confirm once all these changes are available in QA

https://github.com/egovernments/egov-mdms-data/pull/1035   

https://github.com/egovernments/egov-mdms-data/pull/985

https://github.com/egovernments/egov-mdms-data/pull/975

https://github.com/egovernments/egov-mdms-data/pull/960

https://github.com/egovernments/egov-mdms-data/pull/958

https://github.com/egovernments/egov-mdms-data/pull/957

 

BPA:  Added bpa folder with
ApplicationType -  https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/ApplicationType.json

Changes available in Application Type.json please check in this link

CalculationType - https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/CalculationType.json
RiskType - https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/RiskTypeComputation.json
ServiceType - https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/ServiceType.json
DocTypeMapping -  please follw the change here to remove the FI data https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/DocTypeMapping.json

OccupancyType -

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/OccupancyType.json

SubOccupancyType -

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/SubOccupancyType.json

Usages -
https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/Usages.json

Checklist -

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BPA/CheckList.json

 

OC related MDMS changes

https://docs.google.com/document/d/1LfMp-nScIaAnW3HjaKvlwcWQ2cG0vtftIgrCxPYvqpk/edit#

BusinessService:

  • {     "businessService": "BPA.NEWCONSTRUCTION_APP_FEE",     "code": "BPA.NC_APP_FEE",     "collectionModesNotAllowed": [       "DD"     ],     "partPaymentAllowed": false,     "isAdvanceAllowed": false,     "isVoucherCreationEnabled": true,     "isActive": true   },   {     "businessService": "BPA.NEWCONSTRUCTION_SANC_FEE",     "code": "BPA.NC_SAN_FEE",     "collectionModesNotAllowed": [       "DD"     ],     "partPaymentAllowed": false,     "isAdvanceAllowed": false,     "isVoucherCreationEnabled": true,     "isActive": true   },   {     "businessService": "BPA.NEWCONSTRUCTION_LOW_RISK_PERMIT_FEE",     "code": "BPA.LOW_RISK_PERMIT_FEE",     "collectionModesNotAllowed": [       "DD"     ],     "partPaymentAllowed": false,     "isAdvanceAllowed": false,     "isVoucherCreationEnabled": true,     "isActive": true   },



  • Taxhead master

    • Added bpa json for taxes

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BillingService/TaxHeadMaster.json

{     "category": "FEE",     "service": "BPA.NC_APP_FEE",     "name": "BPA Application fees",     "code": "BPA_APPL_FEES",     "isDebit": false,     "isActualDemand": true,     "order": "1",     "isRequired": false   },   {     "category": "FEE",     "service": "BPA.NC_SAN_FEE",     "name": "BPA Sanction fees",     "code": "BPA_SANC_FEES",     "isDebit": false,     "isActualDemand": true,     "order": "2",     "isRequired": false   },   {     "category": "FEE",     "service": "BPA.LOW_RISK_PERMIT_FEE",     "name": "BPA Low Risk Appllication Fees",     "code": "BPA_LOW_APPL_FEES",     "isDebit": false,     "isActualDemand": true,     "order": "1",     "isRequired": false   },   {     "category": "FEE",     "service": "BPA.LOW_RISK_PERMIT_FEE",     "name": "BPA Low Risk Permit Fees",     "code": "BPA_LOW_SANC_FEES",     "isDebit": false,     "isActualDemand": true,     "order": "1",     "isRequired": false   },
  • Tax Period

Added bpa related changes for tax period

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/BillingService/TaxPeriod.json

{     "fromDate": 1522540801000,     "toDate": 1838159999000,     "periodCycle": "FORTENYEARS",     "service": "BPA.NC_APP_FEE",     "code": "BPA10YRS2018",     "financialYear": "2018-28"   },   {     "fromDate": 1522540801000,     "toDate": 1838159999000,     "periodCycle": "FORTENYEARS",     "service": "BPA.NC_SAN_FEE",     "code": "BPA10YRS2018",     "financialYear": "2018-28"   },   {     "fromDate": 1522540801000,     "toDate": 1838159999000,     "periodCycle": "FORTENYEARS",     "service": "BPA.LOW_RISK_PERMIT_FEE",     "code": "BPA10YRS2018",     "financialYear": "2018-28"   },

 



ACCESSCONTROL-ACTIONTEST

 

 

 

  • Added validity period property in TradeType.json

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/TradeLicense/TradeType.json

 

Footer configs

BusinessService

Changes in Endpoints:

  • Create - /bpa-services/v1/bpa/_create -- citizen

  • Update - /bpa-services/v1/bpa/_update -- citizen,employee

  • Search - /bpa-services/v1/bpa/_search -- citizen,employee

 

Workflow config:

Bpa queries to delete workflow from DB:

https://docs.google.com/document/d/1bmOPDNM9er50__4lH64uO6RktnFe1TjhIhZTSe2Ortc/edit?usp=sharing

BPA_OC Workflow flow:

https://github.com/egovernments/municipal-services/blob/master/bpa-services/src/main/resources/OC_WorkflowConfig.json


Bpa_low risk workflow (Newly added for low risk type): 

https://github.com/egovernments/municipal-services/blob/master/bpa-services/src/main/resources/Lowrisk_Workflow.json

BPA workflow

https://github.com/egovernments/municipal-services/blob/master/bpa-services/src/main/resources/workflow-config.json


IdFormat.json

 

Service Builds: new builds

  • Backend: 

bpa-calculator:7-oc-bpa-services-c0da8fc3

bpa-services-db:49-oc-bpa-services-a00fe8c0

  • FrontEnd: 

       citizen:115-RELEASE-2020-v3-01-0ea151075

employee:119-RELEASE-2020-v3-01-0ea151075

 

Postman Collection:

https://drive.google.com/open?id=1O7ybVCLwwpF0cHlNFJqh6PNwLw13QFJg

 

Footer Changes

https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/tenant/footer.json

 

Persister Config:

  • Created a file with name as buildplan.yml committing it in the current project path - 

https://github.com/egovernments/municipal-services/blob/bpa-services/bpa-services/src/main/resources/bpa-persister.yml

  • Created new persister for land-services  and added it in land-services project path

https://github.com/egovernments/municipal-services/blob/oc-bpa-services/land-services/src/main/resources/land-persister.yml

 

BPALocalitySearcher:

For locality in employee inbox:
https://github.com/egovernments/configs/edit/master/egov-searcher/localitySearcher.yml

 

  • name: bpa-services

    query:

      baseQuery: |

       

 

  Output:

 

StakeholderRegistartion -- changes are there please follow this link for recent change

TradeTypetoRoleMapping.json:

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/StakeholderRegistraition/TradeTypetoRoleMapping.json

 

Features Covered as part of Release

  • CITIZEN

  • BPA_ARCHITECT

  • BPA_ENGINEER

  • BPA_BUILDER

  • BPA_STRUCTURALENGINEER

  • BPA_TOWNPLANNER

  • BPA_SUPERVISOR

  • BPA_VERIFIER

  • BPA_FIELD_INSPECTOR

  • BPA_NOC_VERIFIER

  • BPA_APPROVER.

 

 

Bpa-service URL change :

  • Modified the bpa service endpoint url in the following MDMS file

https://github.com/egovernments/egov-mdms-data/blob/a3f0ce911c10d0e897737908cbbe89fd7b2ca7dd/data/pb/ACCESSCONTROL-ACTIONS-TEST/actions-test.json   



BPA-CommonPayUi.json changes :

https://github.com/egovernments/egov-mdms-data/blob/master/data/pb/common-masters/uiCommonPay.json

 

BPA localisation Codes

https://docs.google.com/spreadsheets/d/1-W-ow88Gkz1puTX8pNqCGNNWGX2QO4ZEiYspgNGNQeE/edit#gid=1603315189

 

Infra ops changes related to land info:

https://github.com/egovernments/eGov-infraOps/pull/720

https://github.com/egovernments/eGov-infraOps/pull/719

https://github.com/egovernments/eGov-infraOps/pull/717

https://github.com/egovernments/eGov-infraOps/pull/723

 

Note: Persister needs to restart.

 

NOC Integration Changes

MDMS Changes

NocTypeMapping

https://github.com/egovernments/egov-mdms-data/blob/develop/data/pb/BPA/NocTypeMapping.json