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
18 changes: 17 additions & 1 deletion egov-persister/tenant-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ serviceMaps:
fromTopic: update-tenant-config
isTransaction: true
queryMaps:
- query: UPDATE tenant_config SET isActive = ? , lastModifiedBy = ? , lastModifiedTime = ?, fileStoreId = ? WHERE code = ?;
- query: UPDATE tenant_config SET isActive = ? , lastModifiedBy = ? , lastModifiedTime = ? WHERE code = ?;
basePath: $.tenantConfig
jsonMaps:
- jsonPath: $.tenantConfig.isActive
Expand All @@ -165,3 +165,19 @@ serviceMaps:
- jsonPath: $.tenantConfig.code

- jsonPath: $.tenantConfig.documents.*.fileStoreId

- version: 1.0
description: Update the tenant config
fromTopic: update-tenant-config
isTransaction: true
queryMaps:
- query: UPDATE tenant_documents SET fileStoreId = ? , lastModifiedBy = ? , lastModifiedTime = ? WHERE tenantConfigId = ?;
basePath: $.tenantConfig
jsonMaps:
- jsonPath: $.tenantConfig.documents.*.fileStoreId

- jsonPath: $.tenantConfig.auditDetails.lastModifiedBy

- jsonPath: $.tenantConfig.auditDetails.lastModifiedTime

- jsonPath: $.tenantConfig.id