diff --git a/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/README.md b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/README.md @@ -0,0 +1,4 @@ + +### How to configure custom services? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..f237e071 --- /dev/null +++ b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/custom-service-java.yaml @@ -0,0 +1,13 @@ +config: +- customService1: template-1-3.json + +customService1: +- name: VpsJoynrApi +- className: com.bmw.cc.conn.vps.joynr.provider.control.ProvisioningVehicleProvider +- methodName: sendVehicleDataForProvisioningComUnit +- returnType: void +- methodName2: sendVehicleDataForProvisioningHeadUnit +- returnType2: void +- methodName3: sendVehicleProvisioningResult +- returnType3: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/template-1-1.json new file mode 100644 index 00000000..b3003515 --- /dev/null +++ b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/template-1-1.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_vps-prov/custom-service-java/template-1-3.json b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/template-1-3.json new file mode 100644 index 00000000..ad7c1a15 --- /dev/null +++ b/BMW-Dynatrace-config/CD_vps-prov/custom-service-java/template-1-3.json @@ -0,0 +1,33 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + }, + { + "argumentTypes": [], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + }, + { + "argumentTypes": [], + "methodName": "{{.methodName3}}", + "returnType": "{{.returnType3}}" + } + ] + } + ] +} \ No newline at end of file