NOC Promotion Document

NOC Service Deployment/Promotion Document

Description:

For every service applied there is a need to get the No objection certificate from concerned departments. Based on the  configuration we have for the NOCs , for every application there will be a set of NOCs required. There should be a provision to allow the NOC department user to login to our system and upload the required NOC. We are providing a user to one NOC department. Based on the workflow mode(online/offline) of each noc type, the NOC department user can perform action. 

Online mode – NOC department user can login to system and approve/reject the application.

Offline mode – NOC application will be auto approved.

 

Actors: 

     CITIZEN,  ARCHITECT,  FIRE_NOC_APPROVER,  AIRPORT_AUTHORITY_APPROVER, 

            BPA_NOC_VERIFIER, "BPA_VERIFIER",  "BPA_FIELD_INSPECTOR".

                                 

 

NOTE:

        Search Noc api considers only active status records.

     

Promotion Steps:

Update Role Actions to NOC Users for Workflow and Locality Search

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

Update Role Actions for NOC Users

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

Updated Navigation Url Change for NOC

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

29/07/2020

Changeed NOC path

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

 

27/07/2020

Updated locality searcher for NOC services

https://github.com/egovernments/configs/pull/402/files



23/07/2020

Updated NOC workflow codes

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



20/07/2020

Created NocTypeMapping.json

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



Added quick action and locality searcher

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

 

Update roleactions.json for fire and Airport roles

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

 

  • Promote the following MDMS folders (all files within the folder)

https://github.com/egovernments/egov-mdms-data/tree/master/data/pb/NOC

 

{                  "id": 2000,                  "name": "NOC Create",                  "url": "/noc-services/v1/noc/_create",                  "displayName": "Create",                  "orderNumber": 0,                  "enabled": false,                  "serviceCode": "NOC",                  "code": "null",                   "path": ""              },              {                   "id": 2001,                   "name": "NOC Search",                   "url": "/noc-services/v1/noc/_search",                   "displayName": "Search",                   "orderNumber": 0,                   "enabled": false,                   "serviceCode": "NOC",                   "code": "null",                    "path": ""               },              {                   "id": 2002,                   "name": "NOC Update",                    "url": "/noc-services/v1/noc/_update",                    "displayName": "Update",                    "orderNumber": 0,                    "enabled": false,                    "serviceCode": "NOC",                     "code": "null",                     "path": ""               },{       "id": 2004,       "name": "search NOC application",       "url": "quickAction",       "displayName": "Search NOC Application",       "orderNumber": 1,       "queryParams": "",       "parentModule": "",       "enabled": true,       "serviceCode": "",       "tenantId": "pb",       "createdDate": null,       "createdBy": null,       "lastModifiedDate": null,       "lastModifiedBy": null,       "path": "Noc.Search NOC Application",       "navigationURL": "egov-bpa/noc-search",       "quickAction": true,       "leftIcon": "communication:business",       "rightIcon": ""     },     {       "id": 2005,       "name": "Locality searcher endpoint for Noc Servcies",       "url": "/egov-searcher/locality/noc-services/_get",       "displayName": "Noc locality searcher",       "orderNumber": 0,       "enabled": false,       "serviceCode": "egov-searcher",       "code": "null",       "path": ""     }

      

 



           

   {       "rolecode": "BPA_ARCHITECT",       "actionid": 2000,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "CITIZEN",       "actionid": 2000,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "EMPLOYEE",       "actionid": 2000,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "CITIZEN",       "actionid": 2001,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "EMPLOYEE",       "actionid": 2001,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "BPA_ARCHITECT",       "actionid": 2002,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "CITIZEN",       "actionid": 2002,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "EMPLOYEE",       "actionid": 2002,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 1766,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 1766,       "actioncode": "",       "tenantId": "pb"     }, {       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 2004,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 2004,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 2005,       "actioncode": "",       "tenantId": "pb"     },     {       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 2005,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 1729,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 1730,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 1741,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 1742,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 1743,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 1729,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 1730,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 1741,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 1742,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 1743,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 2001,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "FIRE_NOC_APPROVER",       "actionid": 2002,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 2001,       "actioncode": "",       "tenantId": "pb"     },{       "rolecode": "AIRPORT_AUTHORITY_APPROVER",       "actionid": 2002,       "actioncode": "",       "tenantId": "pb"     }

 

 

 

 

 

 



 

                       {                   "code": "FIRE_NOC_APPROVER",                    "name": "Fire Noc Department Approver",                    "description": "Fire Noc application approver"              },              {                    "code": "AIRPORT_AUTHORITY_APPROVER",                    "name": "Airport authority Approver",                    "description": "Airport authority application approver"               }





 

Endpoints

  • /noc-services/v1/noc /_create

  • /noc-services/v1/noc /_update

  • /noc-services/v1/noc /_search

 

Workflow config 

We need to create the WF config in BusinessService for online and offline noc types. To do that call the “_create” API in BusinessService and add the below JSON content in the request body.

Businees Service Request URI -

 https://egov-micro-dev.egovernments.org/egov-workflow-v2/egov-wf/businessservice/_create

 

 FIRE_NOC_OFFLINE

 

AIRPORT_NOC_OFFLINE

 

FIRE_NOC_SRV

 

AIRPORT_NOC_SRV

 

 

Persister Config

 

Indexer Config



Report Config



Locality Searcher Config

noc-services locality to query to be updated in 

https://github.com/egovernments/configs/blob/master/egov-searcher/localitySearcher.yml



 

 

Updated egov-noc-services.yml

https://github.com/egovernments/configs/pull/373/files



Updated noc-persister.yml

https://github.com/egovernments/configs/pull/373/files



Id format for noc

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

 

API Contract

Postman Collection

https://www.getpostman.com/collections/a13920f8bb971c065e13

 

Localization keys

 

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

 

 

NOC test cases

https://docs.google.com/spreadsheets/d/1Scr2dpi5LURZVNIuTA1g8n4wFQSeQ8pJyGgnibsE2cI/edit?ts=5ef65923&pli=1#gid=0