Simplified and generalised regular expression for generate and retrieve

This commit is contained in:
Luca Frosini 2019-11-13 16:59:15 +01:00
parent 9990ea57e8
commit 7bf508a480
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"regex": "^\/{0,1}gcube\/service\/generate\/[0-9a-zA-Z!'\\\\@:\/<>=\\[\\](){}._-]*",
"regex": "^\/{0,1}gcube\/service\/generate.*",
"replace": "/gcube/service/generate/{id}",
"serviceClass": "Common",
"serviceName": "AuthorizationService"

View File

@ -1,5 +1,5 @@
{
"regex": "^\/{0,1}gcube/service/retrieve/[0-9a-zA-Z!'\\\\@:\/<>=\\[\\](){}._-]*",
"regex": "^\/{0,1}gcube/service/retrieve.*",
"replace": "/gcube/service/retrieve/{id}",
"serviceClass": "Common",
"serviceName": "AuthorizationService"