From c25e36299d22eea88799abc1b1705ae1229548b9 Mon Sep 17 00:00:00 2001 From: manastanmay-eGov Date: Wed, 3 May 2023 16:51:41 +0530 Subject: [PATCH] Removed unwanted persister and indexer ymls --- egov-indexer/loiservices-indexer.yml | 129 --------------------------- egov-persister/loi-service.yml | 111 ----------------------- 2 files changed, 240 deletions(-) delete mode 100644 egov-indexer/loiservices-indexer.yml delete mode 100644 egov-persister/loi-service.yml diff --git a/egov-indexer/loiservices-indexer.yml b/egov-indexer/loiservices-indexer.yml deleted file mode 100644 index c63b3e5..0000000 --- a/egov-indexer/loiservices-indexer.yml +++ /dev/null @@ -1,129 +0,0 @@ -ServiceMaps: - serviceName: loi Service - rainmaker - version: 1.0.0 - mappings: - - topic: save-loi - configKey: INDEX - indexes: - - name: loi-service - type: general - id: $.id,$.tenantId - jsonPath: $.letterOfIndent - timeStampField: $.auditDetails.createdTime - customJsonMapping: - indexMapping: { "Data":{"tenantId":"","id":"","letterOfIndentNumber":"","workPackageNumber":"","workIdentificationNumber":"","fileNumber":"","fileDate":"","negotiatedPercentage":"","agreementDate":"","contractorId":"","securityDeposit":"","bankGuarantee":"","emdAmount":"","contractPeriod":"","defectLiabilityPeriod":"","oicId":"","letterStatus":""}} - fieldMapping: - - inJsonPath: $.applicationStatus.state - outJsonPath: $.Data.workflow.state - - inJsonPath: $.processInstance.action - outJsonPath: $.Data.workflow.action - - inJsonPath: $.processInstance.assignes.*.uuid - outJsonPath: $.Data.workflow.assignes - - inJsonPath: $.id - outJsonPath: $.Data.id - - inJsonPath: $.tenantId - outJsonPath: $.Data.tenantId - - inJsonPath: $.letterOfIndentNumber - outJsonPath: $.Data.letterOfIndentNumber - - inJsonPath: $.workPackageNumber - outJsonPath: $.Data.workPackageNumber - - inJsonPath: $.workIdentificationNumber - outJsonPath: $.Data.workIdentificationNumber - - inJsonPath: $.fileNumber - outJsonPath: $.Data.fileNumber - - inJsonPath: $.fileDate - outJsonPath: $.Data.fileDate - - inJsonPath: $.negotiatedPercentage - outJsonPath: $.Data.negotiatedPercentage - - inJsonPath: $.agreementDate - outJsonPath: $.Data.agreementDate - - inJsonPath: $.contractorId - outJsonPath: $.Data.contractorId - - inJsonPath: $.securityDeposit - outJsonPath: $.Data.securityDeposit - - inJsonPath: $.bankGuarantee - outJsonPath: $.Data.bankGuarantee - - inJsonPath: $.emdAmount - outJsonPath: $.Data.emdAmount - - inJsonPath: $.contractPeriod - outJsonPath: $.Data.contractPeriod - - inJsonPath: $.defectLiabilityPeriod - outJsonPath: $.Data.defectLiabilityPeriod - - inJsonPath: $.oicId - outJsonPath: $.Data.oicId - - inJsonPath: $.letterStatus - outJsonPath: $.Data.letterStatus - - - - - topic: update-loi - configKey: INDEX - indexes: - - name: loi-services - type: general - id: $.id,$.tenantId - jsonPath: $.Challan - timeStampField: $.auditDetails.createdTime - customJsonMapping: - indexMapping: {"Data":{"workflow": {"state": {}, "action": "", "assignes": []},"applicationNo":"","tenantId":"","street":"","locality":"","businessService":"","challanNo":"","referenceId":"","description":"","accountId":"","additionalDetail":{},"source":"","taxPeriodFrom":"","taxPeriodTo":"","amount":[],"filestoreid":"","additionalDetails":{},"applicationStatus":"","vendor":"","typeOfExpense":"","billDate":"","billIssuedDate":"","paidDate":"","isBillPaid":"","vendorName":"","totalAmount":"","@timestamp":"timestamp","history":{},"ward":"" }} - fieldMapping: - - inJsonPath: $.applicationStatus.state - outJsonPath: $.Data.workflow.state - - inJsonPath: $.processInstance.action - outJsonPath: $.Data.workflow.action - - inJsonPath: $.processInstance.assignes.*.uuid - outJsonPath: $.Data.workflow.assignes - - inJsonPath: $.id - outJsonPath: $.Data.id - - inJsonPath: $.tenantId - outJsonPath: $.Data.tenantId - - inJsonPath: $.address.street - outJsonPath: $.Data.street - - inJsonPath: $.address.locality.code - outJsonPath: $.Data.locality - - inJsonPath: $.businessService - outJsonPath: $.Data.businessService - - inJsonPath: $.challanNo - outJsonPath: $.Data.challanNo - - inJsonPath: $.referenceId - outJsonPath: $.Data.referenceId - - inJsonPath: $.description - outJsonPath: $.Data.description - - inJsonPath: $.accountId - outJsonPath: $.Data.accountId - - inJsonPath: $.additionalDetail - outJsonPath: $.Data.additionalDetail - - inJsonPath: $.source - outJsonPath: $.Data.source - - inJsonPath: $.taxPeriodFrom - outJsonPath: $.Data.taxPeriodFrom - - inJsonPath: $.taxPeriodTo - outJsonPath: $.Data.taxPeriodTo - - inJsonPath: $.amount - outJsonPath: $.Data.amount - - inJsonPath: $.filestoreid - outJsonPath: $.Data.filestoreid - - inJsonPath: $.additionalDetails - outJsonPath: $.Data.additionalDetails - - inJsonPath: $.applicationStatus - outJsonPath: $.Data.applicationStatus - - inJsonPath: $.vendor - outJsonPath: $.Data.vendor - - inJsonPath: $.typeOfExpense - outJsonPath: $.Data.typeOfExpense - - inJsonPath: $.billDate - outJsonPath: $.Data.billDate - - inJsonPath: $.billIssuedDate - outJsonPath: $.Data.billIssuedDate - - inJsonPath: $.paidDate - outJsonPath: $.Data.paidDate - - inJsonPath: $.isBillPaid - outJsonPath: $.Data.isBillPaid - - inJsonPath: $.vendorName - outJsonPath: $.Data.vendorName - - inJsonPath: $.totalAmount - outJsonPath: $.Data.totalAmount - - inJsonPath: $.@timestamp - outJsonPath: $.Data.@timestamp - - - \ No newline at end of file diff --git a/egov-persister/loi-service.yml b/egov-persister/loi-service.yml deleted file mode 100644 index 7a5fac2..0000000 --- a/egov-persister/loi-service.yml +++ /dev/null @@ -1,111 +0,0 @@ -serviceMaps: - serviceName: loi-service - mappings: - - version: 1.0 - description: Persists letterofindent details in eg_wms_loi table - fromTopic: save-loi - isTransaction: true - queryMaps: - - query: INSERT INTO eg_wms_loi(id, tenantId, loi_number, work_pkg_number, work_identification_number, file_number, file_date, negotiated_percentage, agreement_date, contractor_id, security_deposit, bank_guarantee, emd_amount, contract_period, defect_liability_period, oic_id, status, letter_status, additionaldetails, createdby, lastmodifiedby, createdtime, lastmodifiedtime) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); - basePath: letterOfIndent - jsonMaps: - - jsonPath: $.letterOfIndent.id - - - jsonPath: $.letterOfIndent.tenantId - - - jsonPath: $.letterOfIndent.letterOfIndentNumber - - - jsonPath: $.letterOfIndent.workPackageNumber - - - jsonPath: $.letterOfIndent.workIdentificationNumber - - - jsonPath: $.letterOfIndent.fileNumber - - - jsonPath: $.letterOfIndent.fileDate - - - jsonPath: $.letterOfIndent.negotiatedPercentage - - - jsonPath: $.letterOfIndent.agreementDate - - - jsonPath: $.letterOfIndent.contractorId - - - jsonPath: $.letterOfIndent.securityDeposit - - - jsonPath: $.letterOfIndent.bankGuarantee - - - jsonPath: $.letterOfIndent.emdAmount - - - jsonPath: $.letterOfIndent.contractPeriod - - - jsonPath: $.letterOfIndent.defectLiabilityPeriod - - - jsonPath: $.letterOfIndent.oicId - - - jsonPath: $.letterOfIndent.status - - - jsonPath: $.letterOfIndent.letterStatus - - - jsonPath: $.letterOfIndent.additionalDetails - type: JSON - dbType: JSONB - - - jsonPath: $.letterOfIndent.auditDetails.createdBy - - - jsonPath: $.letterOfIndent.auditDetails.lastModifiedBy - - - jsonPath: $.letterOfIndent.auditDetails.createdTime - - - jsonPath: $.letterOfIndent.auditDetails.lastModifiedTime - - - version: 1.0 - description: Updates letterofindent details in eg_wms_loi table - fromTopic: update-loi - isTransaction: true - queryMaps: - - query: UPDATE eg_wms_loi set loi_number=?, work_pkg_number=?, work_identification_number=?, file_number=?, file_date=?, negotiated_percentage=?, agreement_date=?, contractor_id=?,security_deposit=?, bank_guarantee=?, emd_amount=?, contract_period=?, defect_liability_period=?, oic_id=?, status=?, letter_status=?,additionaldetails=?, lastmodifiedby=?, lastmodifiedtime=? where id=?; - basePath: letterOfIndent - jsonMaps: - - - jsonPath: $.letterOfIndent.tenantId - - - jsonPath: $.letterOfIndent.letterOfIndentNumber - - - jsonPath: $.letterOfIndent.workPackageNumber - - - jsonPath: $.letterOfIndent.workIdentificationNumber - - - jsonPath: $.letterOfIndent.fileNumber - - - jsonPath: $.letterOfIndent.fileDate - - - jsonPath: $.letterOfIndent.negotiatedPercentage - - - jsonPath: $.letterOfIndent.agreementDate - - - jsonPath: $.letterOfIndent.contractorId - - - jsonPath: $.letterOfIndent.securityDeposit - - - jsonPath: $.letterOfIndent.bankGuarantee - - - jsonPath: $.letterOfIndent.emdAmount - - - jsonPath: $.letterOfIndent.contractPeriod - - - jsonPath: $.letterOfIndent.defectLiabilityPeriod - - - jsonPath: $.letterOfIndent.oicId - - - jsonPath: $.letterOfIndent.status - - - jsonPath: $.letterOfIndent.letterStatus - - - jsonPath: $.letterOfIndent.additionalDetails - type: JSON - dbType: JSONB - - - jsonPath: $.letterOfIndent.auditDetails.lastModifiedBy - - - jsonPath: $.letterOfIndent.auditDetails.lastModifiedTime - - - jsonPath: $.letterOfIndent.id