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.

Master Data Types

The following masters need to be created as part of this module:

  • Plant

  • PlantConfig

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

Note: For the test not submitted notification, the notification will only be sent when the frequency of a test standard is greater than the manualTestPendingEscalationDays from Plant Config Master

Localisation

Alert notification format needs to add in localisation.

[
  {
    "code": "NOTIF_TEST_RESULT_NOT_SUBMITTED",
    "message": "Lab results for plant {Plant Name} for {Output} of {Stage} stage scheduled on {Test Scheduled Date} has not yet been submitted.",
    "module": "rainmaker-tqm",
    "locale": "en_IN"
  },
  {
    "code": "NOTIF_TEST_RESULT_NOT_AS_PER_BENCHMARK",
    "message": "Lab results submitted for plant {Plant Name} for {Output} of {Stage} stage submitted on {Test Submitted Date} is not as per benchmark values.",
    "module": "rainmaker-tqm",
    "locale": "en_IN"
  }
]

Postman Collection

Link to collection

API Specification

PQM Anomaly Swagger Link

Kafka Topic Details

ER Diagram

Sequence Diagram

Find Anomaly

Reference Docs

API List

Last updated

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