From 95a79185f1d41ab6d85d60090f3c20d581450180 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Fri, 29 Apr 2022 11:26:48 +0200 Subject: [PATCH] added SQS/MQS custom services --- .../custom-service-java.yaml | 32 ++++++++++++----- .../custom-service-java/template-1-2.json | 35 +++++++++++++++++++ .../custom-service-java/template-2-1.json | 35 +++++++++++++++++++ 3 files changed, 93 insertions(+), 9 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-2.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1.json diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/custom-service-java.yaml index c80ce54d..41bc7dec 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/custom-service-java.yaml @@ -1,17 +1,31 @@ config: -- customService1: template-1-1.json -- customService2: template-1-1.json +- customService1: template-2-1.json +- customService2: template-2-1.json +- customService3: template-1-1.json customService1: -- name: vdlm-rtchandler-SQSRtcTeleXIn -- className: com.bmw.cc.ts.rtchandler.bm.message -- methodName: handleMessage -- returnType: void +- name: "VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT" +- className1: com.bmw.cc.ts.rtchandler.bm.message.MessageServiceRTCBF +- methodName1: processMessage +- returnType1: void +- className2: com.bmw.cc.ts.rtchandler.integration.tsmb.boundary.TeleXSqsESI +- methodName2: sendMessage +- returnType2: void - skipDeployment: "false" customService2: -- name: vdlm-rtchandler-SQSNgtpRtcHandlerIn -- className: com.bmw.cc.ts.rtchandler.integration.ngtp.v1.boundary -- methodName: sendMessage +- name: "VDLM_rtchandler - ifs-008 (SQS) NgtpRtcHandlerIn/Out - IN/OUT" +- className1: com.bmw.cc.ts.rtchandler.api.ngtp.v1.boundary.NgtpSqsListener +- methodName1: processMessage +- returnType1: void +- className2: com.bmw.cc.ts.rtchandler.integration.ngtp.v1.boundary.NgtpSqsESI +- methodName2: sendMessage +- returnType2: void +- skipDeployment: "false" + +customService3: +- name: "VDLM_rtchandler - ifs-009 (MQS) RtcHandlerIstaOut - OUT" +- className: com.bmw.cc.ts.rtchandler.bm.common.control.classificationrequest.ClassificationRequestQueueSender +- methodName: sendClassificationRequestMessage - returnType: void - skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-2.json new file mode 100644 index 00000000..5ac80247 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-2.json @@ -0,0 +1,35 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }, + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1.json b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1.json new file mode 100644 index 00000000..82141811 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1.json @@ -0,0 +1,35 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file