Skip to content

Commit

Permalink
Merge pull request #2937 from egovernments/JithendarKumar-eGov-patch-2
Browse files Browse the repository at this point in the history
update with uat config
  • Loading branch information
sivajiganesh-egov authored Jan 10, 2024
2 parents d0a9da6 + e055206 commit e5ad9df
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions sanitation/egov-indexer/pqm-service-indexer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ServiceMaps:
type: _doc
jsonPath: $.tests.*
id: $.id
isBulk: false
isBulk: true
timeStampField: $.auditDetails.createdTime
customJsonMapping:
indexMapping: {"Data":{"tests":{}}}
Expand All @@ -68,4 +68,37 @@ ServiceMaps:
valueJsonpath: $.tenantId
uriResponseMapping:
- inJsonPath: $.MdmsRes.tenant.tenants
outJsonPath: $.Data.tenantData
outJsonPath: $.Data.tenantData

- topic: pqm-service-legacyindex
configKey: LEGACYINDEX
indexes:
- name: pqm-service-index
type: _doc
jsonPath: $.tests.*
id: $.id
isBulk: true
timeStampField: $.auditDetails.createdTime
customJsonMapping:
indexMapping: {"Data":{"tests":{}}}
fieldMapping:
- inJsonPath: $
outJsonPath: $.Data.tests
externalUriMapping:
- path: http://egov-workflow-v2.egov:8080/egov-workflow-v2/egov-wf/process/_search
queryParam: businessIds=$.testId,history=true,tenantId=$.tenantId
apiRequest: { "RequestInfo": { "apiId": "org.egov.pt","ver": "1.0","ts": 1502890899493,"action": "asd","did": "4354648646","key": "xyz","msgId": "654654","requesterId": "61","authToken": "d9994555-7656-4a67-ab3a-a952a0d4dfc8","userInfo": { "id": 1,"uuid": "1fec8102-0e02-4d0a-b283-cd80d5dab067","type": "EMPLOYEE","tenantId": "pg.citya","roles": [ { "name": "Employee","code": "EMPLOYEE","tenantId": "pg.citya" } ] } } }
uriResponseMapping:
- inJsonPath: $.ProcessInstances
outJsonPath: $.Data.history
- path: http://egov-mdms-service.egov:8080/egov-mdms-service/v1/_search
moduleName: tenant
masterName: tenants
tenantId: pg
filter: "[?(@.code == $tenant)]"
filterMapping:
- variable: $tenant
valueJsonpath: $.tenantId
uriResponseMapping:
- inJsonPath: $.MdmsRes.tenant.tenants
outJsonPath: $.Data.tenantData

0 comments on commit e5ad9df

Please sign in to comment.