From 4f2eb57c10ccd72f49d38f3e9b1341d701b1c04c Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 9 May 2022 10:14:42 +0200 Subject: [PATCH] added rtchandler argumenttypes --- .../custom-service-java.yaml | 12 ++++----- .../custom-service-java/template-1-1a.json | 25 +++++++++++++++++++ .../custom-service-java/template-1-1b.json | 23 +++++++++++++++++ .../custom-service-java/template-1-1c.json | 23 +++++++++++++++++ .../{template-1-1.json => template-1-1d.json} | 3 +-- .../{template-1-2.json => template-2-1a.json} | 10 +++++--- .../{template-2-1.json => template-2-1b.json} | 7 +++--- 7 files changed, 88 insertions(+), 15 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1a.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1b.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1c.json rename BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/{template-1-1.json => template-1-1d.json} (85%) rename BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/{template-1-2.json => template-2-1a.json} (74%) rename BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/{template-2-1.json => template-2-1b.json} (82%) 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 7416139d..57576014 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,10 +1,10 @@ config: -- customService1: template-2-1.json -- customService2: template-2-1.json -- customService3: template-1-1.json -- customService4: template-1-1.json -- customService5: template-1-1.json -- customService6: template-1-1.json +- customService1: template-2-1a.json +- customService2: template-2-1b.json +- customService3: template-1-1a.json +- customService4: template-1-1b.json +- customService5: template-1-1c.json +- customService6: template-1-1d.json customService1: - name: "VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT" diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1a.json b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1a.json new file mode 100644 index 00000000..fb870862 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1a.json @@ -0,0 +1,25 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "com.bmw.cc.ts.rtchandler.bm.common.model.classificationrequest.ClassificationRequest" + ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1b.json b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1b.json new file mode 100644 index 00000000..1fd760ba --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1b.json @@ -0,0 +1,23 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1c.json b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1c.json new file mode 100644 index 00000000..1fd760ba --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1c.json @@ -0,0 +1,23 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1d.json similarity index 85% rename from BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1.json rename to BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1d.json index 055ec8eb..c817d637 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-1d.json @@ -14,8 +14,7 @@ "methodRules": [ { "argumentTypes": [ - "java.lang.String", - "java.util.Map" + "com.bmw.cc.ts.rtchandler.api.diag.v2.entity.RTCTriggerRequest" ], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" 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-2-1a.json similarity index 74% rename from BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-1-2.json rename to BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1a.json index 3e2277c3..62c8d7a4 100644 --- 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-2-1a.json @@ -7,7 +7,7 @@ "rules": [ { "annotations": [], - "className": "{{.className}}", + "className": "{{.className1}}", "enabled": true, "fileName": "", "matcher": "EQUALS", @@ -15,7 +15,8 @@ { "argumentTypes": [ "java.lang.String", - "java.util.Map" + "java.util.Map", + "com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext" ], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" @@ -23,7 +24,7 @@ }, { "annotations": [], - "className": "{{.className}}", + "className": "{{.className2}}", "enabled": true, "fileName": "", "matcher": "EQUALS", @@ -31,7 +32,8 @@ { "argumentTypes": [ "java.lang.String", - "java.util.Map" + "java.util.Map", + "com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext" ], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}" 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-1b.json similarity index 82% rename from BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1.json rename to BMW-Dynatrace-config/CD_VDLM_rtchandler/custom-service-java/template-2-1b.json index 8adf3cee..f6873db3 100644 --- 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-1b.json @@ -14,8 +14,8 @@ "methodRules": [ { "argumentTypes": [ - "java.lang.String", - "java.util.Map" + "com.bmw.cd.logging.CdllLoggingContext", + "software.amazon.awssdk.services.sqs.model.Message" ], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" @@ -31,7 +31,8 @@ { "argumentTypes": [ "java.lang.String", - "java.util.Map" + "java.lang.String", + "com.bmw.cc.ts.rtchandler.bm.diag.entity.RTCTriggerType" ], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}"