From 0c943dcfb03d56e8b0db567dcc657d603bd3c499 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Tue, 10 May 2022 11:28:50 +0200 Subject: [PATCH 1/2] [TR] seam custom services SQS+Kinesis --- .../custom-service-java.yaml | 44 ++++++++++++++++--- .../custom-service-java/template-1-1a.json | 27 ++++++++++++ .../custom-service-java/template-1-1b.json | 26 +++++++++++ .../custom-service-java/template-1-1c.json | 27 ++++++++++++ .../custom-service-java/template-1-1d.json | 26 +++++++++++ .../custom-service-java/template-1-2e.json | 41 +++++++++++++++++ 6 files changed, 186 insertions(+), 5 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml index 25f8a028..02194cf1 100644 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml @@ -1,9 +1,43 @@ config: -- customService1: template-1-1.json +- customService1: template-1-1a.json +- customService2: template-1-1b.json +- customService3: template-1-1c.json +- customService4: template-1-1d.json +- customService5: template-1-2e.json customService1: -- name: myJOYNRService -- className: com.bmw.cc.conn.this.is.just.an.exampleClasss -- methodName: exampleJoynrMethod +- name: "VDLM_seam - ifs-004 (SQS) ServiceDemand - IN" +- className: com.bmw.cc.seam.api.servicedemandevent.v1.boundary.ServiceDemandEventMDB +- methodName: listen - returnType: void -- skipDeployment: "true" \ No newline at end of file +- skipDeployment: "false" + +customService2: + - name: "VDLM_seam - ifs-005 (SQS) ServiceAppointment - IN" + - className: com.bmw.cc.seam.api.appointment.v1.boundary.AppointmentListenerMDB + - methodName: listen + - returnType: void + - skipDeployment: "false" + +customService3: + - name: "VDLM_seam - ifs-003 (SQS) ServiceNotificationFeedback - IN" + - className: com.bmw.cc.seam.api.notificationfeedback.v1.boundary.ServiceNotificationFeedbackListenerMDB + - methodName: listen + - returnType: void + - skipDeployment: "false" + +customService4: + - name: "VDLM_seam - ifs (SQS) ServiceNotification - OUT" + - className: com.bmw.cc.seam.integration.notificationservice.boundary.ServiceNotificationESI + - methodName: send + - returnType: void + - skipDeployment: "false" + +customService5: + - name: "VDLM_seam - cdh: ifs-001 (Kinesis) Reporting - OUT" + - className: com.bmw.cc.seam.integration.notificationservice.boundary.ServiceNotificationESI + - methodName1: sendAsync + - returnType1: void + - methodName2: sendSync + - returnType2: void + - skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json new file mode 100644 index 00000000..61022ee8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json @@ -0,0 +1,27 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "java.lang.String", + "java.util.Map", + "org.springframework.cloud.aws.messaging.listener.Acknowledgment" + ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json new file mode 100644 index 00000000..a8434d5d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json @@ -0,0 +1,26 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "java.lang.String", + "java.util.Map" + ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json new file mode 100644 index 00000000..61022ee8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json @@ -0,0 +1,27 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "java.lang.String", + "java.util.Map", + "org.springframework.cloud.aws.messaging.listener.Acknowledgment" + ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json new file mode 100644 index 00000000..6f3d0988 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json @@ -0,0 +1,26 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "com.bmw.cc.seam.integration.notificationservice.entity.ServiceNotification", + "java.lang.String" + ], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json new file mode 100644 index 00000000..5d450258 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json @@ -0,0 +1,41 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "java.lang.String", + "java.lang.String" + ], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [ + "java.lang.String" + ], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file From 5c25168c00e62fd81b02f092d09b3d693c345bf4 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Tue, 10 May 2022 11:42:55 +0200 Subject: [PATCH 2/2] fixed classname --- .../CD_VDLM_seam/custom-service-java/custom-service-java.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml index 02194cf1..91a21533 100644 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml @@ -35,7 +35,7 @@ customService4: customService5: - name: "VDLM_seam - cdh: ifs-001 (Kinesis) Reporting - OUT" - - className: com.bmw.cc.seam.integration.notificationservice.boundary.ServiceNotificationESI + - className: com.bmw.cc.seam.integration.datalake.boundary.DataLakeESI - methodName1: sendAsync - returnType1: void - methodName2: sendSync