PQM Service
Overview
The Process Quality Management (PQM) service will help users to create, update, and search for process quality monitoring tests. The service will evaluate the uploaded test values against benchmarks and produce result (FAIL/PASS) status. Test results will be further processed for anomaly analysis. The service can perform two types of test: Manual Test (Lab), and Automatic Test (IoT-based). Low-level design
Functional Specification
Configuration
Make changes in config accordingly and restart the egov-persister-service and egov-indexer-service.
egov-persister/pqm-persister.yaml - file link
egov-indexer/pqm-service-indexer.yml - file link
Add path of indexer in the devOps (pqm-service-indexer.yml) - file link
Add path of persister in the devOps (pqm-persister.yaml) - file link
Idgen config - file link
MDMS Configuration
Role-Action Mapping
Path: data/pg/ACCESSCONTROL-ACTIONS-TEST/actions-test.json
Path :- data/pg/ACCESSCONTROL-ROLEACTIONS/roleactions.json
Role.json
Inbox V2 Integration
Add the MDMS changes in the given path and restart the MDMS service.
Path: data/pg/inbox-v2/InboxConfiguration.json
File: Mdms file
Add the indexer file in the given path and restart the services .
Path: egov-indexer/egov-pqm-service.yml
File: file which need to add click here
Steps to legacy-index PQM
For re-indexing, refer to this link.
Postman Collection
For re-indexing, refer to this link.
Deployment Details
Deploy the latest version of PQM.
Add pqm-persister.yml file in the config folder in git and add that path in persister (the file path is to be added in environment yaml file in param called persist-yml-path), and restart the egov-persister service.
If index are to be created, add the indexer config path in the indexer service (the file path is to be added in environment yaml file in param called egov-indexer-yaml-repo-path), and restart egov-indexer service.
Devops setups for new environment
Path: deploy-as-code/helm/charts/sanitation/pqm-service
Path: build/build-config.yml
https://github.com/egovernments/SANITATION/commit/6e4db6ca9d4a52df1df5d4cb67a2df84a0bed420
Path: deploy-as-code/helm/charts/sanitation/pqm-anomaly-finder
https://github.com/egovernments/DIGIT-DevOps/tree/unified-env/deploy-as-code/helm/charts/sanitation/pqm-anomaly-finder
Path: build/build-config.yml
https://github.com/egovernments/SANITATION/commit/576b1bb9531a2080e039d17af9d3c6a6c63d76e7
Business Service/Workflow Configuration
Create businessService (workflow configuration) using the /businessservice/_create. Following is the product configuration for PQM:
PQM Landing Page Charts
File Path- https://github.com/egovernments/configs/blob/UNIFIED-QA/egov-dss-dashboards/dashboard-analytics/ChartApiConfig.json After adding the below changes, please restart dashboard-analytics.
Was this helpful?