custom service for joynr triggers and their callbacks.
parent
51d620df09
commit
0b5395bc2c
|
|
@ -1,10 +1,31 @@
|
|||
config:
|
||||
- customService1: template-1-1.json
|
||||
- joynrTrigger: joynrTrigger.json
|
||||
- joynrTriggerCallback: joynrTriggerCallback.json
|
||||
|
||||
customService1:
|
||||
- name: myJOYNRService
|
||||
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
|
||||
- methodName: exampleJoynrMethod
|
||||
- methodArgs: java.lang.Byte[],java.lang.String
|
||||
- returnType: void
|
||||
- skipDeployment: "true"
|
||||
joynrTrigger:
|
||||
- name: AndroidJoynrTriggers
|
||||
- className: com.bmw.cc.apinext.processingsvc.service.VehicleStateControlEsi
|
||||
- methodName1: requestStateUpdate
|
||||
- argType1: java.lang.String
|
||||
- returnType1: void
|
||||
- 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"
|
||||
|
|
@ -13,9 +13,14 @@
|
|||
"matcher": "EQUALS",
|
||||
"methodRules": [
|
||||
{
|
||||
"argumentTypes": ["{{.methodArgs}}"],
|
||||
"methodName": "{{.methodName}}",
|
||||
"returnType": "{{.returnType}}"
|
||||
"argumentTypes": ["{{.argType1}}"],
|
||||
"methodName": "{{.methodName1}}",
|
||||
"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}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue