Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persister change #2928

Open
wants to merge 1 commit into
base: UNIFIED-UAT
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions sanitation/egov-persister/pqm-anomaly-finder-persister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ serviceMaps:
fromTopic: save-pqm-test-anomaly-details
isTransaction: true
queryMaps:
- query: INSERT INTO eg_pqm_anomaly_details(id, tenantId, testId, anomalyType, description, referenceId, resolutionStatus, additionalDetails, isActive, createdBy, lastModifiedBy, createdTime, lastModifiedTime) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
- query: INSERT INTO eg_pqm_anomaly_details(id, tenantId, testId, plantCode, anomalyType, description, referenceId, resolutionStatus, additionalDetails, isActive, createdBy, lastModifiedBy, createdTime, lastModifiedTime) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
basePath: $.pqmAnomalys.*
jsonMaps:
- jsonPath: $.pqmAnomalys.*.id
- jsonPath: $.pqmAnomalys.*.tenantId
- jsonPath: $.pqmAnomalys.*.testId
- jsonPath: $.pqmAnomalys.*.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

- jsonPath: $.pqmAnomalys.*.plantCode
- jsonPath: $.pqmAnomalys.*.anomalyType
- jsonPath: $.pqmAnomalys.*.description
- jsonPath: $.pqmAnomalys.*.referenceId
Expand All @@ -25,12 +26,13 @@ serviceMaps:
- jsonPath: $.pqmAnomalys.*.auditDetails.createdTime
- jsonPath: $.pqmAnomalys.*.auditDetails.lastModifiedTime

- query: INSERT INTO eg_pqm_anomaly_details_auditlog(id, tenantId, testId, anomalyType, description, referenceId, resolutionStatus, additionalDetails, isActive, createdBy, lastModifiedBy, createdTime, lastModifiedTime) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
- query: INSERT INTO eg_pqm_anomaly_details_auditlog(id, tenantId, testId, plantCode, anomalyType, description, referenceId, resolutionStatus, additionalDetails, isActive, createdBy, lastModifiedBy, createdTime, lastModifiedTime) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
basePath: $.pqmAnomalys.*
jsonMaps:
- jsonPath: $.pqmAnomalys.*.id
- jsonPath: $.pqmAnomalys.*.tenantId
- jsonPath: $.pqmAnomalys.*.testId
- jsonPath: $.pqmAnomalys.*.plantCode
- jsonPath: $.pqmAnomalys.*.anomalyType
- jsonPath: $.pqmAnomalys.*.description
- jsonPath: $.pqmAnomalys.*.referenceId
Expand Down