Pull request #316: custom service for joynr triggers and their callbacks.
Merge in OPAPM/cd_e2e_monitoring_config from feature/android-app-distribution to master * commit 'efae617416a33075e7507ff10e059c1cd4182b46': remove not used method rule. add vs-cmdb auth as well. add vs-cmdb callbacks so that we can directly see if something is wrong here. custom service for joynr triggers and their callbacks.CD_ASBC-HAL-CL
commit
9a09efb91e
|
|
@ -1,10 +1,52 @@
|
||||||
config:
|
config:
|
||||||
- customService1: template-1-1.json
|
- joynrTrigger: joynrTrigger.json
|
||||||
|
- joynrTriggerCallback: joynrTriggerCallback.json
|
||||||
|
- vsCmdbCallback: vsCmdb.json
|
||||||
|
- vsCmdbAuth: vsCmdbAuth.json
|
||||||
|
|
||||||
customService1:
|
joynrTrigger:
|
||||||
- name: myJOYNRService
|
- name: AndroidJoynrTriggers
|
||||||
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
|
- className: com.bmw.cc.apinext.processingsvc.service.VehicleStateControlEsi
|
||||||
- methodName: exampleJoynrMethod
|
- methodName1: requestStateUpdate
|
||||||
- methodArgs: java.lang.Byte[],java.lang.String
|
- argType1: java.lang.String
|
||||||
- returnType: void
|
- returnType1: void
|
||||||
- skipDeployment: "true"
|
- 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"
|
||||||
|
|
@ -13,9 +13,14 @@
|
||||||
"matcher": "EQUALS",
|
"matcher": "EQUALS",
|
||||||
"methodRules": [
|
"methodRules": [
|
||||||
{
|
{
|
||||||
"argumentTypes": ["{{.methodArgs}}"],
|
"argumentTypes": ["{{.argType1}}"],
|
||||||
"methodName": "{{.methodName}}",
|
"methodName": "{{.methodName1}}",
|
||||||
"returnType": "{{.returnType}}"
|
"returnType": "{{.returnType1}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"argumentTypes": ["{{.argType2}}"],
|
||||||
|
"methodName": "{{.methodName2}}",
|
||||||
|
"returnType": "{{.returnType2}}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -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}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -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}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -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}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue