diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-1-1.json index b3003515..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/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_ts-bcallhandler/custom-service-java/template-2-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-2-1.json new file mode 100644 index 00000000..f0077b0c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/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