From e0ec446864e65e47f2a1bce34fa93530b5212902 Mon Sep 17 00:00:00 2001 From: "Holomek Christopher; BMW Group" Date: Fri, 9 Dec 2022 09:03:29 +0100 Subject: [PATCH] add vs-cmdb auth as well. --- .../custom-service-java.yaml | 11 +++++++- .../{vs-cmdb.json => vsCmdb.json} | 0 .../custom-service-java/vsCmdbAuth.json | 28 +++++++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) rename BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/{vs-cmdb.json => vsCmdb.json} (100%) create mode 100644 BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdbAuth.json diff --git a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/custom-service-java.yaml index 62986ba9..67e6ebe4 100644 --- a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/custom-service-java.yaml @@ -1,7 +1,8 @@ config: - joynrTrigger: joynrTrigger.json - joynrTriggerCallback: joynrTriggerCallback.json -- vsCmdbCallback: vs-cmdb.json +- vsCmdbCallback: vsCmdb.json +- vsCmdbAuth: vsCmdbAuth.json joynrTrigger: - name: AndroidJoynrTriggers @@ -40,4 +41,12 @@ vsCmdbCallback: - methodName2: onFailure - argType2: java.lang.Throwable - returnType2: void +- skipDeployment: "false" + +vsCmdbAuth: +- name: AndroidVsCmdbAuth +- className: com.bmw.cc.apinext.processingsvc.integration.vscmdb.kafka.AwsWebIdentityClientCallbackHandler +- methodName1: onFailure +- argType1: java.lang.Exception +- returnType1: void - skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vs-cmdb.json b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdb.json similarity index 100% rename from BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vs-cmdb.json rename to BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdb.json diff --git a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdbAuth.json b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdbAuth.json new file mode 100644 index 00000000..05b56d8f --- /dev/null +++ b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdbAuth.json @@ -0,0 +1,28 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.argType1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }, + { + "argumentTypes": ["{{.argType2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file