Pull request #234: [TR]CD VDLM rtchandler

Merge in OPAPM/cd_e2e_monitoring_config from CD_VDLM_rtchandler to master

* commit 'c4cb8c395fbf07268cccc6052228ef0fcf9e7e08':
  Removed space.
  Added additional template json without argumentTypes for template-2-2
  added template-1-1-without-methodargs
  [TR] new Custom Service Template with methodArgs // challenge with empty methodArgs
  remove custom-service 6
  removed customService6 (REST)
  [TR] service-detection-full-web-service for rtchandler
  Changes for management zone vdlm-ts-rtchandler
alarm-integration
Bernd Brandl (DE-722) 2022-06-08 12:08:56 +02:00 committed by Arnel Arnautovic (ext.)
commit 98f23ac57c
9 changed files with 83 additions and 89 deletions

View File

@ -1,55 +1,52 @@
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-without-methodargs.json
- customService5: template-1-1c.json - customService5: template-1-1-without-methodargs.json
- customService6: template-1-1d.json
customService1: customService1:
- name: "VDLM_rtchandler - 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"
customService2: customService2:
- name: "VDLM_rtchandler - 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"
customService3: customService3:
- name: "VDLM_rtchandler - 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"
customService4: customService4:
- name: "VDLM_rtchandler - (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
- returnType: void - returnType: void
- skipDeployment: "false" - skipDeployment: "false"
customService5: customService5:
- name: "VDLM_rtchandler - (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
- returnType: void - returnType: void
- skipDeployment: "false" - skipDeployment: "false"
customService6:
- name: "VDLM_rtchandler - ifs-007 (REST) /rtchandler/rest/diag/v2 (/trigger)"
- className: com.bmw.cc.ts.rtchandler.api.diag.v2.boundary.DiagRequestResponseV2
- methodName: trigger
- returnType: void
- skipDeployment: "false"

View File

@ -13,7 +13,7 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [ ], "argumentTypes": ["{{.methodArgs}}"],
"methodName": "{{.methodName}}", "methodName": "{{.methodName}}",
"returnType": "{{.returnType}}" "returnType": "{{.returnType}}"
} }

View File

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

View File

@ -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.api.diag.v2.entity.RTCTriggerRequest"
],
"methodName": "{{.methodName}}",
"returnType": "{{.returnType}}"
}
]
}
]
}

View File

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

View File

@ -13,11 +13,7 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [ "argumentTypes": [],
"java.lang.String",
"java.util.Map",
"com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext"
],
"methodName": "{{.methodName1}}", "methodName": "{{.methodName1}}",
"returnType": "{{.returnType1}}" "returnType": "{{.returnType1}}"
}] }]
@ -30,11 +26,7 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [ "argumentTypes": [],
"java.lang.String",
"java.util.Map",
"com.bmw.cc.ts.rtchandler.bm.common.util.RequestContext"
],
"methodName": "{{.methodName2}}", "methodName": "{{.methodName2}}",
"returnType": "{{.returnType2}}" "returnType": "{{.returnType2}}"
} }

View File

@ -0,0 +1,36 @@
{
"type": "FULL_WEB_SERVICE",
"metadata": {
"configurationVersions": [
0
],
"clusterVersion": "1.241.180.20220520-165831"
},
"managementZones": ["{{.managementZone}}"],
"name": "{{.name}}",
"description": "{{.description}}",
"enabled": true,
"conditions": [
{
"attributeType": "WEBSERVICE_NAME",
"compareOperations": [
{
"type": "EQUALS",
"negate": false,
"ignoreCase": false,
"values": [
"{{.originalName}}"
]
}
]
}
],
"detectAsWebRequestService": false,
"webServiceName": {
"transformations": [],
"valueOverride": "{{.valueOverride}}"
},
"applicationId": null,
"contextRoot": null,
"serverName": null
}

View File

@ -0,0 +1,26 @@
config:
- webService1: default.json
- webService2: default.json
- webService3: default.json
webService1:
- name: "DiagRequestResponseV2 rule"
- description: "Renaming Service DiagRequestResponseV2"
- managementZone: "CD_VDLM_rtchandler"
- originalName: "DiagRequestResponseV2"
- valueOverride: "ifs-007 (REST) /rtchandler/rest/diag/v2 (/trigger)"
webService2:
- name: "DiagRequestApiV2 rule"
- description: "Renaming Service DiagRequestApiV2"
- managementZone: "CD_VDLM_rtchandler"
- originalName: "DiagRequestApiV2"
- valueOverride: "ifs-002 (REST) /rtchandler/rest/diagrequests/v2"
webService3:
- name: "WhitelistApiV1 rule"
- description: "Renaming Service WhitelistApiV1"
- managementZone: "CD_VDLM_rtchandler"
- originalName: "WhitelistApiV1"
- valueOverride: "ifs-003 (REST) /rtchandler/rest/whitelist/v1"