diff --git a/src/test/resources/rules/SmartExecutor-UNKNOWN.csv b/src/test/resources/rules/SmartExecutor-UNKNOWN.csv new file mode 100644 index 0000000..58335fc --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-UNKNOWN.csv @@ -0,0 +1,2 @@ +VREManagement,SmartExecutor,UNKNOWN +VREManagement,smart-executor,UNKNOWN \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-UNKNOWN.json b/src/test/resources/rules/SmartExecutor-UNKNOWN.json new file mode 100644 index 0000000..35ef2e0 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-UNKNOWN.json @@ -0,0 +1,12 @@ +{ + "match": { + "serviceClassRegex": "VREManagement", + "serviceNameRegex": "(SmartExecutor)|(smart-executor)", + "calledMethodRegex": ".*UNKNOWN.*" + }, + "replace": { + "serviceClass": "VREManagement", + "serviceName": "smart-executor", + "calledMethod": "UNKNOWN" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-execute.csv b/src/test/resources/rules/SmartExecutor-execute.csv new file mode 100644 index 0000000..7c154e6 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-execute.csv @@ -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 \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-execute.json b/src/test/resources/rules/SmartExecutor-execute.json new file mode 100644 index 0000000..8b83ddb --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-execute.json @@ -0,0 +1,12 @@ +{ + "match": { + "serviceClassRegex": "VREManagement", + "serviceNameRegex": "(SmartExecutor)|(smart-executor)", + "calledMethodRegex": ".*((launch)|(execute)|(POST .*executions)).*" + }, + "replace": { + "serviceClass": "VREManagement", + "serviceName": "smart-executor", + "calledMethod": "execute" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-getAvailablePlugins.csv b/src/test/resources/rules/SmartExecutor-getAvailablePlugins.csv new file mode 100644 index 0000000..f8d3545 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-getAvailablePlugins.csv @@ -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/ \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-getAvailablePlugins.json b/src/test/resources/rules/SmartExecutor-getAvailablePlugins.json new file mode 100644 index 0000000..003c697 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-getAvailablePlugins.json @@ -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" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-getScheduledExecution.csv b/src/test/resources/rules/SmartExecutor-getScheduledExecution.csv new file mode 100644 index 0000000..81237a9 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-getScheduledExecution.csv @@ -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/ \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-getScheduledExecution.json b/src/test/resources/rules/SmartExecutor-getScheduledExecution.json new file mode 100644 index 0000000..94c45f4 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-getScheduledExecution.json @@ -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" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-getState.csv b/src/test/resources/rules/SmartExecutor-getState.csv new file mode 100644 index 0000000..ec9d4e5 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-getState.csv @@ -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 \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-getState.json b/src/test/resources/rules/SmartExecutor-getState.json new file mode 100644 index 0000000..b5a3627 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-getState.json @@ -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" + } +} \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-stop.csv b/src/test/resources/rules/SmartExecutor-stop.csv new file mode 100644 index 0000000..bbcb396 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-stop.csv @@ -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 \ No newline at end of file diff --git a/src/test/resources/rules/SmartExecutor-stop.json b/src/test/resources/rules/SmartExecutor-stop.json new file mode 100644 index 0000000..6fcfa95 --- /dev/null +++ b/src/test/resources/rules/SmartExecutor-stop.json @@ -0,0 +1,12 @@ +{ + "match": { + "serviceClassRegex": "VREManagement", + "serviceNameRegex": "(SmartExecutor)|(smart-executor)", + "calledMethodRegex": ".*((stop)|(unSchedule)|(DELETE)|(PURGE)).*" + }, + "replace": { + "serviceClass": "VREManagement", + "serviceName": "smart-executor", + "calledMethod": "stop" + } +} \ No newline at end of file