Skip to content
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.*.

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