[TR] new Custom Service Template with methodArgs // challenge with empty methodArgs
parent
ba88c0c54d
commit
dd7ef0c7a5
|
|
@ -1,17 +1,19 @@
|
||||||
config:
|
config:
|
||||||
- customService1: template-2-1a.json
|
- customService1: template-2-1.json
|
||||||
- customService2: template-2-1b.json
|
- customService2: template-2-1.json
|
||||||
- customService3: template-1-1a.json
|
- customService3: template-1-1.json
|
||||||
- customService4: template-1-1b.json
|
- customService4: template-1-1.json
|
||||||
- customService5: template-1-1c.json
|
- customService5: template-1-1.json
|
||||||
|
|
||||||
customService1:
|
customService1:
|
||||||
- name: "ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT"
|
- name: "ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT"
|
||||||
- className1: com.bmw.cc.ts.rtchandler.bm.message.MessageServiceRTCBF
|
- className1: com.bmw.cc.ts.rtchandler.bm.message.MessageServiceRTCBF
|
||||||
- methodName1: processMessage
|
- methodName1: processMessage
|
||||||
|
- methodArgs1: java.lang.String,java.util.Map,com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext
|
||||||
- returnType1: void
|
- returnType1: void
|
||||||
- className2: com.bmw.cc.ts.rtchandler.integration.tsmb.boundary.TeleXSqsESI
|
- className2: com.bmw.cc.ts.rtchandler.integration.tsmb.boundary.TeleXSqsESI
|
||||||
- methodName2: sendMessage
|
- methodName2: sendMessage
|
||||||
|
- methodArgs2: java.lang.String,java.util.Map,com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext
|
||||||
- returnType2: void
|
- returnType2: void
|
||||||
- skipDeployment: "false"
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
|
@ -19,9 +21,11 @@ customService2:
|
||||||
- name: "ifs-008 (SQS) NgtpRtcHandlerIn/Out - IN/OUT"
|
- name: "ifs-008 (SQS) NgtpRtcHandlerIn/Out - IN/OUT"
|
||||||
- className1: com.bmw.cc.ts.rtchandler.api.ngtp.v1.boundary.NgtpSqsListener
|
- className1: com.bmw.cc.ts.rtchandler.api.ngtp.v1.boundary.NgtpSqsListener
|
||||||
- methodName1: processMessage
|
- methodName1: processMessage
|
||||||
|
- methodArgs1: com.bmw.cd.logging.CdllLoggingContext, software.amazon.awssdk.services.sqs.model.Message
|
||||||
- returnType1: void
|
- returnType1: void
|
||||||
- className2: com.bmw.cc.ts.rtchandler.integration.ngtp.v1.boundary.NgtpSqsESI
|
- className2: com.bmw.cc.ts.rtchandler.integration.ngtp.v1.boundary.NgtpSqsESI
|
||||||
- methodName2: sendMessage
|
- methodName2: sendMessage
|
||||||
|
- methodArgs2: java.lang.String,java.lang.String,com.bmw.cc.ts.rtchandler.bm.diag.entity.RTCTriggerType
|
||||||
- returnType2: void
|
- returnType2: void
|
||||||
- skipDeployment: "false"
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
|
@ -29,6 +33,7 @@ customService3:
|
||||||
- name: "ifs-009 (MQS) RtcHandlerIstaOut - OUT"
|
- name: "ifs-009 (MQS) RtcHandlerIstaOut - OUT"
|
||||||
- className: com.bmw.cc.ts.rtchandler.bm.common.control.classificationrequest.ClassificationRequestQueueSender
|
- className: com.bmw.cc.ts.rtchandler.bm.common.control.classificationrequest.ClassificationRequestQueueSender
|
||||||
- methodName: sendClassificationRequestMessage
|
- methodName: sendClassificationRequestMessage
|
||||||
|
- methodArgs: com.bmw.cc.ts.rtchandler.bm.common.model.classificationrequest.ClassificationRequest
|
||||||
- returnType: void
|
- returnType: void
|
||||||
- skipDeployment: "false"
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
|
@ -36,6 +41,7 @@ customService4:
|
||||||
- name: "(Timer) timeout"
|
- name: "(Timer) timeout"
|
||||||
- className: com.bmw.cc.ts.rtchandler.bm.common.timer.CallTimeoutTimerService
|
- className: com.bmw.cc.ts.rtchandler.bm.common.timer.CallTimeoutTimerService
|
||||||
- methodName: handleTimer
|
- methodName: handleTimer
|
||||||
|
- methodArgs:
|
||||||
- returnType: void
|
- returnType: void
|
||||||
- skipDeployment: "false"
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
|
@ -43,5 +49,6 @@ customService5:
|
||||||
- name: "(Timer) deletion"
|
- name: "(Timer) deletion"
|
||||||
- className: com.bmw.cc.ts.rtchandler.bm.common.control.cleanup.DbCleanUpBA
|
- className: com.bmw.cc.ts.rtchandler.bm.common.control.cleanup.DbCleanUpBA
|
||||||
- methodName: cleanUp
|
- methodName: cleanUp
|
||||||
|
- methodArgs:
|
||||||
- returnType: void
|
- returnType: void
|
||||||
- skipDeployment: "false"
|
- skipDeployment: "false"
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
"matcher": "EQUALS",
|
"matcher": "EQUALS",
|
||||||
"methodRules": [
|
"methodRules": [
|
||||||
{
|
{
|
||||||
"argumentTypes": [ ],
|
"argumentTypes": ["{{.methodArgs}}"],
|
||||||
"methodName": "{{.methodName}}",
|
"methodName": "{{.methodName}}",
|
||||||
"returnType": "{{.returnType}}"
|
"returnType": "{{.returnType}}"
|
||||||
}
|
}
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"name": "{{.name}}",
|
|
||||||
"processGroups": [],
|
|
||||||
"queueEntryPoint": false,
|
|
||||||
"queueEntryPointType": null,
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"annotations": [],
|
|
||||||
"className": "{{.className}}",
|
|
||||||
"enabled": true,
|
|
||||||
"fileName": "",
|
|
||||||
"matcher": "EQUALS",
|
|
||||||
"methodRules": [
|
|
||||||
{
|
|
||||||
"argumentTypes": [
|
|
||||||
"com.bmw.cc.ts.rtchandler.bm.common.model.classificationrequest.ClassificationRequest"
|
|
||||||
],
|
|
||||||
"methodName": "{{.methodName}}",
|
|
||||||
"returnType": "{{.returnType}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"name": "{{.name}}",
|
|
||||||
"processGroups": [],
|
|
||||||
"queueEntryPoint": false,
|
|
||||||
"queueEntryPointType": null,
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"annotations": [],
|
|
||||||
"className": "{{.className}}",
|
|
||||||
"enabled": true,
|
|
||||||
"fileName": "",
|
|
||||||
"matcher": "EQUALS",
|
|
||||||
"methodRules": [
|
|
||||||
{
|
|
||||||
"argumentTypes": [ ],
|
|
||||||
"methodName": "{{.methodName}}",
|
|
||||||
"returnType": "{{.returnType}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -13,10 +13,7 @@
|
||||||
"matcher": "EQUALS",
|
"matcher": "EQUALS",
|
||||||
"methodRules": [
|
"methodRules": [
|
||||||
{
|
{
|
||||||
"argumentTypes": [
|
"argumentTypes": ["{{.methodArgs1}}"],
|
||||||
"com.bmw.cd.logging.CdllLoggingContext",
|
|
||||||
"software.amazon.awssdk.services.sqs.model.Message"
|
|
||||||
],
|
|
||||||
"methodName": "{{.methodName1}}",
|
"methodName": "{{.methodName1}}",
|
||||||
"returnType": "{{.returnType1}}"
|
"returnType": "{{.returnType1}}"
|
||||||
}]
|
}]
|
||||||
|
|
@ -29,11 +26,7 @@
|
||||||
"matcher": "EQUALS",
|
"matcher": "EQUALS",
|
||||||
"methodRules": [
|
"methodRules": [
|
||||||
{
|
{
|
||||||
"argumentTypes": [
|
"argumentTypes": ["{{.methodArgs2}}"],
|
||||||
"java.lang.String",
|
|
||||||
"java.lang.String",
|
|
||||||
"com.bmw.cc.ts.rtchandler.bm.diag.entity.RTCTriggerType"
|
|
||||||
],
|
|
||||||
"methodName": "{{.methodName2}}",
|
"methodName": "{{.methodName2}}",
|
||||||
"returnType": "{{.returnType2}}"
|
"returnType": "{{.returnType2}}"
|
||||||
}
|
}
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
"enabled": true,
|
|
||||||
"name": "{{.name}}",
|
|
||||||
"processGroups": [],
|
|
||||||
"queueEntryPoint": false,
|
|
||||||
"queueEntryPointType": null,
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"annotations": [],
|
|
||||||
"className": "{{.className1}}",
|
|
||||||
"enabled": true,
|
|
||||||
"fileName": "",
|
|
||||||
"matcher": "EQUALS",
|
|
||||||
"methodRules": [
|
|
||||||
{
|
|
||||||
"argumentTypes": [
|
|
||||||
"java.lang.String",
|
|
||||||
"java.util.Map",
|
|
||||||
"com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext"
|
|
||||||
],
|
|
||||||
"methodName": "{{.methodName1}}",
|
|
||||||
"returnType": "{{.returnType1}}"
|
|
||||||
}]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"annotations": [],
|
|
||||||
"className": "{{.className2}}",
|
|
||||||
"enabled": true,
|
|
||||||
"fileName": "",
|
|
||||||
"matcher": "EQUALS",
|
|
||||||
"methodRules": [
|
|
||||||
{
|
|
||||||
"argumentTypes": [
|
|
||||||
"java.lang.String",
|
|
||||||
"java.util.Map",
|
|
||||||
"com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext"
|
|
||||||
],
|
|
||||||
"methodName": "{{.methodName2}}",
|
|
||||||
"returnType": "{{.returnType2}}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue