accounting-lib/src/test/resources/rules/Catalogue-WS/Catalogue-WS-license.json

12 lines
356 B
JSON
Raw Normal View History

2020-03-31 18:00:51 +02:00
{
"match": {
"serviceClassRegex": "(Data-Catalogue)|(DataPublishing)",
"serviceNameRegex": "Catalogue-WS",
2020-04-01 15:20:31 +02:00
"calledMethodRegex": "(\/){0,1}(rest\/(api\/){0,1})licen(c|s)es\/(?<Action>(create|show|purge|delete))(\/{0,1})"
2020-03-31 18:00:51 +02:00
},
"replace": {
"serviceClass": "DataPublishing",
"serviceName": "Catalogue-WS",
2020-04-01 15:20:31 +02:00
"calledMethod": "${Action} license"
2020-03-31 18:00:51 +02:00
}
}