From 5417ff280a25ae1dd0f3ec0087ee5d3750dc5e52 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Tue, 14 Jun 2022 10:38:31 +0200 Subject: [PATCH] added in tyredi (not out kinesis+lambda) --- .../custom-service-java.yaml | 18 ++++++++++++++---- .../custom-service-java/template-1-1.json | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/custom-service-java.yaml index 25f8a028..ffb4fc62 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/custom-service-java.yaml @@ -1,9 +1,19 @@ config: - customService1: template-1-1.json +- customService2: template-1-1.json customService1: -- name: myJOYNRService -- className: com.bmw.cc.conn.this.is.just.an.exampleClasss -- methodName: exampleJoynrMethod +- name: "ifs-003 (SQS) TyrediLambdaIn - IN" +- className: com.bmw.cc.tstyredi.api.lambda.v1.boundary.LambdaQueueListenerMDB +- methodName: listen +- methodArgs: java.lang.String,java.util.Map,org.springframework.cloud.aws.messaging.listener.Acknowledgment - returnType: void -- skipDeployment: "true" \ No newline at end of file +- skipDeployment: "false" + +customService2: +- name: "ifs-001 (Kinesis) TyreDiIncoming - IN" +- className: com.bmw.cc.tstyredi.api.vehicleshadow.v1.boundary.VehicleShadowRecordProcessorBF +- methodName: processRecords +- methodArgs: software.amazon.kinesis.lifecycle.events.ProcessRecordsInput +- returnType: void +- skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/template-1-1.json index b3003515..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_ts-tyredi/custom-service-java/template-1-1.json @@ -13,7 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [], + "argumentTypes": ["{{.methodArgs}}"], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" }