Pull request #180: added SQS/MQS custom services

Merge in OPAPM/cd_e2e_monitoring_config from VDLM/rtchandler-poc to master

* commit '72cb341a77fc1ff7007a3b1feec25560fea87427':
  Fixed templates and deployed.
  fix template json
  added conditional-naming-service
  added SQS/MQS custom services
CD_vs-cmdb
Bernd Brandl (DE-722) 2022-05-02 13:50:51 +02:00 committed by Arnel Arnautovic (ext.)
commit e923dfd95d
3 changed files with 61 additions and 10 deletions

View File

@ -3,5 +3,6 @@ config:
CDnewComponentTag:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- nameFormat: "{ProcessGroup:Kubernetes:app-name} - {Service:DetectedName} - {ProcessGroup:KubernetesNamespace}"
- skipDeployment: "true"
- tag: "vdlm"

View File

@ -1,17 +1,31 @@
config:
- customService1: template-1-1.json
- customService2: template-1-1.json
- customService1: template-2-1.json
- customService2: template-2-1.json
- customService3: template-1-1.json
customService1:
- name: vdlm-rtchandler-SQSRtcTeleXIn
- className: com.bmw.cc.ts.rtchandler.bm.message
- methodName: handleMessage
- returnType: void
- name: "VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT"
- className1: com.bmw.cc.ts.rtchandler.bm.message.MessageServiceRTCBF
- methodName1: processMessage
- returnType1: void
- className2: com.bmw.cc.ts.rtchandler.integration.tsmb.boundary.TeleXSqsESI
- methodName2: sendMessage
- returnType2: void
- skipDeployment: "false"
customService2:
- name: vdlm-rtchandler-SQSNgtpRtcHandlerIn
- className: com.bmw.cc.ts.rtchandler.integration.ngtp.v1.boundary
- methodName: sendMessage
- name: "VDLM_rtchandler - ifs-008 (SQS) NgtpRtcHandlerIn/Out - IN/OUT"
- className1: com.bmw.cc.ts.rtchandler.api.ngtp.v1.boundary.NgtpSqsListener
- methodName1: processMessage
- returnType1: void
- className2: com.bmw.cc.ts.rtchandler.integration.ngtp.v1.boundary.NgtpSqsESI
- methodName2: sendMessage
- returnType2: void
- skipDeployment: "false"
customService3:
- name: "VDLM_rtchandler - ifs-009 (MQS) RtcHandlerIstaOut - OUT"
- className: com.bmw.cc.ts.rtchandler.bm.common.control.classificationrequest.ClassificationRequestQueueSender
- methodName: sendClassificationRequestMessage
- returnType: void
- skipDeployment: "false"

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": [],
"methodName": "{{.methodName1}}",
"returnType": "{{.returnType1}}"
}]
},
{
"annotations": [],
"className": "{{.className2}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName2}}",
"returnType": "{{.returnType2}}"
}
]
}
]
}