fix template-1-1.json tsbgservice and added Kinesis

rtchandler_fix
Bernd Brandl 2022-06-17 13:41:33 +02:00
parent eb9e096acf
commit 8723c5a0d4
3 changed files with 74 additions and 33 deletions

View File

@ -1,5 +1,7 @@
config:
- customService1: template-1-1.json
- customService1: template-2-1.json
- customService2: template-1-1.json
- customService3: template-1-1.json
customService1:
- name: "ifs-005 (JOYNR) notify/confirmBatteryStatus - IN/OUT"
@ -11,4 +13,20 @@ customService1:
- methodName2: confirmBatteryStatus
- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode,long,java.lang.String
- returnType2: void
- skipDeployment: "false"
customService2:
- name: "ifs-007 (Kinesis) TsbgKinesisStream - IN"
- className: com.bmw.cc.ts.tsbgservice.api.vehicleshadow.v1.boundary.VehicleShadowRecordProcessorBF
- methodName: processRecords
- methodArgs: software.amazon.kinesis.lifecycle.events.ProcessRecordsInput
- returnType: void
- skipDeployment: "false"
customService3:
- name: "ifs (Kinesis) BatteryKinesisStream - OUT"
- className: com.bmw.cc.ts.tsbgservice.integration.vehicleshadow.boundary.VehicleShadowKinesisESI
- methodName: sendUpdateToVehicleShadow
- methodArgs: com.bmw.cc.ts.tsbgservice.integration.vehicleshadow.entity.vhs.VehicleShadowUpdateMessage
- returnType: void
- skipDeployment: "false"

View File

@ -1,36 +1,23 @@
{
"enabled": true,
"name": "{{.name}}",
"processGroups": [],
"queueEntryPoint": false,
"queueEntryPointType": null,
"rules": [
"enabled": true,
"name": "{{.name}}",
"processGroups": [],
"queueEntryPoint": false,
"queueEntryPointType": null,
"rules": [
{
"annotations": [],
"className": "{{.className}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"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}}"
}
]
"argumentTypes": ["{{.methodArgs}}"],
"methodName": "{{.methodName}}",
"returnType": "{{.returnType}}"
}
]
]
}
]
}

View File

@ -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}}"
}
]
}
]
}