PQM Anomaly Finder
Overview
The Process Quality Management (PQM) anomaly finder service helps in monitoring anomalies in process quality and notifies the concerned user groups.
Dependencies
List of services that PQM service depends on:
User-Event Service
User-event service api will get the notification for the anomaly .
Deploy the latest build if the service is not there in the environment “egov-user-event-db:v1.2.0-32caf0d992-25” .
Add the changes which are required . For this kindly refer the below pr.
Path :- deploy-as-code/helm/charts/core-services/egov-user-event/Chart.yaml
File :- Refer the pr for the changes
Mdms changes for user-event in mdms and then restart mdms-service.
Path: data/pg/ACCESSCONTROL-ACTIONS-TEST/actions-test.json
https://github.com/egovernments/egov-mdms-data/commit/a1a9dc388b490b210998783578707f6f17dd7c43
Path: data/pg/ACCESSCONTROL-ROLEACTIONS/roleactions.json
https://github.com/egovernments/egov-mdms-data/commit/119f037c96cf13e99937593fc28f252b7f56bdf9
Localization
Alert notification format needs to add in localization.
Persister
Add below file in the given path and then restart persister service in the respective environment.
Path :- egov-persister/pqm-anomaly-finder-persister.yaml
Indexer
Add below file in the given path and then restart indexer service in the respective environment.
Path :- egov-indexer/pqm-anomaly-finder-indexer.yml
Master Data Types
The following masters need to be created as part of this module:
Plant
PlantConfig
API Specifications
API Specification
Devops setups for new environment
Add the file which is given below pr in the given path and then start deployment
Path :- deploy-as-code/helm/charts/sanitation/pqm-anomaly-finder
Path :- build/build-config.yml
https://github.com/egovernments/SANITATION/commit/576b1bb9531a2080e039d17af9d3c6a6c63d76e7
Pqm-Anomaly-Reindexing
For re-indexing refer this link
Kafka Topic Details
Event (In-App) Notification | persist-user-events-async |
Anomaly topic for when a test fails | save-pqm-test-anomaly-details |
Anomaly topic for when test result not submitted | testResultNotSubmitted-anomaly-topic |
Save anomaly topic | create-pqm-anomaly-finder |
ER Diagram
Sequence Diagram
Find Anomaly
Last updated