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
6 changes: 4 additions & 2 deletions health/egov-persister/project-factory-persister.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
serviceMaps:
serviceMaps:
serviceName: API Resource Service
mappings:
- version: 1.0
Expand Down Expand Up @@ -85,7 +85,7 @@ serviceMaps:
fromTopic: create-generated-resource-details
isTransaction: true
queryMaps:
- query: INSERT INTO health.eg_cm_generated_resource_details (id,filestoreid, type,"status",count,tenantid,hierarchyType, createdby, createdtime, lastmodifiedby, lastmodifiedtime, additionaldetails,campaignid) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?);
- query: INSERT INTO health.eg_cm_generated_resource_details (id,filestoreid, type,"status",count,tenantid,hierarchyType, createdby, createdtime, lastmodifiedby, lastmodifiedtime, additionaldetails,campaignid,locale) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?);
basePath: generatedResource.*
jsonMaps:
- jsonPath: $.generatedResource.*.id
Expand All @@ -103,6 +103,8 @@ serviceMaps:
type: JSON
dbType: JSONB
- jsonPath: $.generatedResource.*.campaignId
- jsonPath: $.generatedResource.*.locale




Expand Down