Skip to content

Commit

Permalink
Merge pull request #2917 from egovernments/SM-3677
Browse files Browse the repository at this point in the history
SM-3677 changes for pqm download pdf
  • Loading branch information
sivajiganesh-egov authored Jan 2, 2024
2 parents 404c372 + c11c484 commit 891c4f8
Show file tree
Hide file tree
Showing 2 changed files with 432 additions and 0 deletions.
154 changes: 154 additions & 0 deletions pdf-service/data-config/pqm-adhoctest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{
"key": "pqm-adhoctest",
"DataConfigs": {
"serviceName": "rainmaker-common",
"version": "1.0.0",
"baseKeyPath": "$.tests.*",
"entityIdPath":"$.testId",
"isCommonTableBorderRequired": false,
"mappings": [
{
"mappings": [
{
"direct": [
{
"variable": "testId",
"value": {
"path": "$.testId"
}
},
{
"variable": "plantCode",
"value": {
"path": "$.plantCode"
},
"localisation":{
"required":true,
"prefix": "PQM_PLANT",
"module": "rainmaker-tqm"
}
},
{
"variable": "processCode",
"value": {
"path": "$.processCode"
},
"localisation":{
"required":true,
"prefix": "PQM_PROCESS",
"module": "rainmaker-tqm"
}
},
{
"variable": "stageCode",
"value": {
"path": "$.stageCode"
},
"localisation":{
"required":true,
"prefix": "PQM_STAGE",
"module": "rainmaker-tqm"
}
},
{
"variable": "materialCode",
"value": {
"path": "$.materialCode"
},
"localisation":{
"required":true,
"prefix": "PQM_MATERIAL",
"module": "rainmaker-tqm"
}
},
{
"variable": "testType",
"value": {
"path": "$.testType"
},
"localisation":{
"required":true,
"prefix": "PQM_SOURCETYPE",
"module": "rainmaker-tqm"
}
},
{
"variable": "scheduleDate",
"value": {
"path": "$.scheduledDate"
},
"type": "date"
},
{
"variable": "status",
"value": {
"path": "$.status"
}
},
{
"variable": "labName",
"value": {
"path": "$.labAssignedTo"
}
},

{
"variable": "variable14",
"value":{
"path":"$.tradeLicenseDetail.accessories.*"
},
"type":"array",
"format":{
"type":"string",
"scema":[
{
"variable": "accesoryType",
"value": "accessoryCategory",
"localisation":{
"required":true,
"prefix": "TRADELICENSE_ACCESSORIESCATEGORY",
"module": "rainmaker-tl"
}
},
{
"variable": "accessoryUomValue",
"value": "uomValue"
},

{
"variable": "uom",
"value": "uom"
},
{
"variable": "accessoryCount",
"value": "count"
}

]
}
}



]
},
{
"externalAPI": [
{
"path": "http://egov-user:8080/user/_search",
"queryParam": "tenantId=$.tenantId",
"apiRequest": null,
"responseMapping":[
{
"variable":"testSubmittedBy",
"value":"$.user.*.name"
}
]
}
]
}
]
}
]
}
}
Loading

0 comments on commit 891c4f8

Please sign in to comment.