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 a58fde35..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,10 +1,52 @@ config: -- customService1: template-1-1.json +- joynrTrigger: joynrTrigger.json +- joynrTriggerCallback: joynrTriggerCallback.json +- vsCmdbCallback: vsCmdb.json +- vsCmdbAuth: vsCmdbAuth.json -customService1: -- name: myJOYNRService -- className: com.bmw.cc.conn.this.is.just.an.exampleClasss -- methodName: exampleJoynrMethod -- methodArgs: java.lang.Byte[],java.lang.String -- returnType: void -- skipDeployment: "true" \ No newline at end of file +joynrTrigger: +- name: AndroidJoynrTriggers +- className: com.bmw.cc.apinext.processingsvc.service.VehicleStateControlEsi +- methodName1: requestStateUpdate +- argType1: java.lang.String +- returnType1: void +- methodName2: desiredStateUpdated +- argType2: java.lang.String,java.lang.String +- returnType2: void +- skipDeployment: "false" + +joynrTriggerCallback: +- name: AndroidJoynrTriggerCallbacks +- className: com.bmw.cc.apinext.processingsvc.integration.joynr.stateless.callback.VehicleStateControlStatelessCallback +- methodName1: requestStateUpdateSuccess +- argType1: io.joynr.proxy.ReplyContext +- returnType1: void +- methodName2: requestStateUpdateFailed +- argType2: io.joynr.exceptions.JoynrRuntimeException,io.joynr.proxy.ReplyContext +- returnType2: void +- methodName3: desiredStateUpdatedSuccess +- argType3: io.joynr.proxy.ReplyContext +- returnType3: void +- methodName4: desiredStateUpdatedFailed +- argType4: io.joynr.exceptions.JoynrRuntimeException,io.joynr.proxy.ReplyContext +- returnType4: void +- skipDeployment: "false" + +vsCmdbCallback: +- name: AndroidVsCmdbCallbacks +- className: com.bmw.cc.apinext.processingsvc.integration.vscmdb.VsCmdbCallback +- methodName1: onSuccess +- argType1: org.springframework.kafka.support.SendResult +- returnType1: void +- 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/template-1-1.json b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/joynrTrigger.json similarity index 54% rename from BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/template-1-1.json rename to BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/joynrTrigger.json index ebe95097..3391b9f2 100644 --- a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/joynrTrigger.json @@ -13,9 +13,14 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": ["{{.methodArgs}}"], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "argumentTypes": ["{{.argType1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }, + { + "argumentTypes": ["{{.argType2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" } ] } diff --git a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/joynrTriggerCallback.json b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/joynrTriggerCallback.json new file mode 100644 index 00000000..852c5fab --- /dev/null +++ b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/joynrTriggerCallback.json @@ -0,0 +1,38 @@ +{ + "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}}" + }, + { + "argumentTypes": ["{{.argType3}}"], + "methodName": "{{.methodName3}}", + "returnType": "{{.returnType3}}" + }, + { + "argumentTypes": ["{{.argType4}}"], + "methodName": "{{.methodName4}}", + "returnType": "{{.returnType4}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdb.json b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdb.json new file mode 100644 index 00000000..05b56d8f --- /dev/null +++ b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdb.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 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..f6572e52 --- /dev/null +++ b/BMW-Dynatrace-config/CD_AppD_Android/custom-service-java/vsCmdbAuth.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": ["{{.argType1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + } + ] + } + ] +} \ No newline at end of file