Added rules for SmartExecutor refs #18074

This commit is contained in:
Luca Frosini 2019-11-25 17:34:32 +01:00
parent aac55d6a34
commit b3f0754615
12 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,2 @@
VREManagement,SmartExecutor,UNKNOWN
VREManagement,smart-executor,UNKNOWN
1 VREManagement SmartExecutor UNKNOWN
2 VREManagement smart-executor UNKNOWN

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "VREManagement",
"serviceNameRegex": "(SmartExecutor)|(smart-executor)",
"calledMethodRegex": ".*UNKNOWN.*"
},
"replace": {
"serviceClass": "VREManagement",
"serviceName": "smart-executor",
"calledMethod": "UNKNOWN"
}
}

View File

@ -0,0 +1,6 @@
VREManagement,SmartExecutor,launch
VREManagement,SmartExecutor,execute
VREManagement,SmartExecutor,POST /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
VREManagement,smart-executor,launch
VREManagement,smart-executor,execute
VREManagement,smart-executor,POST /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
1 VREManagement SmartExecutor launch
2 VREManagement SmartExecutor execute
3 VREManagement SmartExecutor POST /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
4 VREManagement smart-executor launch
5 VREManagement smart-executor execute
6 VREManagement smart-executor POST /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "VREManagement",
"serviceNameRegex": "(SmartExecutor)|(smart-executor)",
"calledMethodRegex": ".*((launch)|(execute)|(POST .*executions)).*"
},
"replace": {
"serviceClass": "VREManagement",
"serviceName": "smart-executor",
"calledMethod": "execute"
}
}

View File

@ -0,0 +1,6 @@
VREManagement,SmartExecutor,getAvailablePlugins
VREManagement,SmartExecutor,GET /plugins
VREManagement,SmartExecutor,GET /plugins/
VREManagement,smart-executor,getAvailablePlugins
VREManagement,smart-executor,GET /plugins
VREManagement,smart-executor,GET /plugins/
1 VREManagement SmartExecutor getAvailablePlugins
2 VREManagement SmartExecutor GET /plugins
3 VREManagement SmartExecutor GET /plugins/
4 VREManagement smart-executor getAvailablePlugins
5 VREManagement smart-executor GET /plugins
6 VREManagement smart-executor GET /plugins/

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "VREManagement",
"serviceNameRegex": "(SmartExecutor)|(smart-executor)",
"calledMethodRegex": ".*((getAvailablePlugins.*)|(GET \/plugins(\/){0,1}$))"
},
"replace": {
"serviceClass": "VREManagement",
"serviceName": "smart-executor",
"calledMethod": "getAvailablePlugins"
}
}

View File

@ -0,0 +1,6 @@
VREManagement,SmartExecutor,getScheduledExecution
VREManagement,SmartExecutor,GET /plugins/accounting-dashboard-harvester-se-plugin/executions
VREManagement,SmartExecutor,GET /plugins/accounting-dashboard-harvester-se-plugin/executions/
VREManagement,smart-executor,getScheduledExecution
VREManagement,smart-executor,GET /plugins/accounting-dashboard-harvester-se-plugin/executions
VREManagement,smart-executor,GET /plugins/accounting-dashboard-harvester-se-plugin/executions/
1 VREManagement SmartExecutor getScheduledExecution
2 VREManagement SmartExecutor GET /plugins/accounting-dashboard-harvester-se-plugin/executions
3 VREManagement SmartExecutor GET /plugins/accounting-dashboard-harvester-se-plugin/executions/
4 VREManagement smart-executor getScheduledExecution
5 VREManagement smart-executor GET /plugins/accounting-dashboard-harvester-se-plugin/executions
6 VREManagement smart-executor GET /plugins/accounting-dashboard-harvester-se-plugin/executions/

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "VREManagement",
"serviceNameRegex": "(SmartExecutor)|(smart-executor)",
"calledMethodRegex": ".*((getScheduledExecution.*)|(GET .*executions(\/){0,1}$))"
},
"replace": {
"serviceClass": "VREManagement",
"serviceName": "smart-executor",
"calledMethod": "getScheduledExecution"
}
}

View File

@ -0,0 +1,5 @@
VREManagement,SmartExecutor,getStateEvolution
VREManagement,SmartExecutor,getState
VREManagement,SmartExecutor,GET /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
VREManagement,smart-executor,getStateEvolution
VREManagement,smart-executor,GET /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
1 VREManagement SmartExecutor getStateEvolution
2 VREManagement SmartExecutor getState
3 VREManagement SmartExecutor GET /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
4 VREManagement smart-executor getStateEvolution
5 VREManagement smart-executor GET /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "VREManagement",
"serviceNameRegex": "(SmartExecutor)|(smart-executor)",
"calledMethodRegex": ".*((getStateEvolution)|(getState)|(GET .*executions\/.{1,})).*"
},
"replace": {
"serviceClass": "VREManagement",
"serviceName": "smart-executor",
"calledMethod": "getState"
}
}

View File

@ -0,0 +1,8 @@
VREManagement,SmartExecutor,stop
VREManagement,SmartExecutor,unSchedule
VREManagement,SmartExecutor,DELETE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
VREManagement,SmartExecutor,PURGE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
VREManagement,smart-executor,stop
VREManagement,smart-executor,unSchedule
VREManagement,smart-executor,DELETE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
VREManagement,smart-executor,PURGE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
1 VREManagement SmartExecutor stop
2 VREManagement SmartExecutor unSchedule
3 VREManagement SmartExecutor DELETE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
4 VREManagement SmartExecutor PURGE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
5 VREManagement smart-executor stop
6 VREManagement smart-executor unSchedule
7 VREManagement smart-executor DELETE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa
8 VREManagement smart-executor PURGE /plugins/accounting-dashboard-harvester-se-plugin/executions/e88025a0-aa16-4925-b805-15c2c802dffa

View File

@ -0,0 +1,12 @@
{
"match": {
"serviceClassRegex": "VREManagement",
"serviceNameRegex": "(SmartExecutor)|(smart-executor)",
"calledMethodRegex": ".*((stop)|(unSchedule)|(DELETE)|(PURGE)).*"
},
"replace": {
"serviceClass": "VREManagement",
"serviceName": "smart-executor",
"calledMethod": "stop"
}
}