From 6796b195246665d48205b01ea47990effd14e834 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Wed, 15 Jun 2022 10:46:52 +0200 Subject: [PATCH] added SQS/MQS rtcad --- .../custom-service-java.yaml | 22 +++++++++--- .../custom-service-java/template-1-1.json | 2 +- .../custom-service-java/template-2-1.json | 36 +++++++++++++++++++ 3 files changed, 55 insertions(+), 5 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-2-1.json diff --git a/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/custom-service-java.yaml index 25f8a028..9de4edb0 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/custom-service-java.yaml @@ -1,9 +1,23 @@ config: - customService1: template-1-1.json +- customService1: template-2-1.json customService1: -- name: myJOYNRService -- className: com.bmw.cc.conn.this.is.just.an.exampleClasss -- methodName: exampleJoynrMethod +- name: "ifs-010 (SQS) RtcadCallTopic - IN" +- className: com.bmw.cc.ts.rtcad.integration.aws.CallTopicSqsListener +- methodName: processMessage +- methodArgs: com.bmw.cd.logging.CdllLoggingContext,software.amazon.awssdk.services.sqs.model.Message - returnType: void -- skipDeployment: "true" \ No newline at end of file +- skipDeployment: "false" + +customService2: +- name: "ifs-006 (MQS) RTCTransformationRequest/Response - IN/OUT" +- className1: com.bmw.cc.ts.rtcad.bm.boundary.IstaPdmTransformationMF +- methodName1: onMessage +- returnType1: void +- methodArgs1: javax.jms.Message +- className2: package com.bmw.cc.ts.rtcad.bm.control.RTCPDMServiceBA +- methodName2: pdmResultProcessed +- returnType2: void +- methodArgs2: java.lang.String,java.lang.String,com.bmw.cc.ts.rtcad.bm.dto.RTCKeyData,java.lang.String,java.lang.String +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-1-1.json index b3003515..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-1-1.json @@ -13,7 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [], + "argumentTypes": ["{{.methodArgs}}"], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" } diff --git a/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-2-1.json b/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-2-1.json new file mode 100644 index 00000000..f0077b0c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_rtcad/custom-service-java/template-2-1.json @@ -0,0 +1,36 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file