Simplified and generalised regular expression for generate and retrieve
This commit is contained in:
parent
9990ea57e8
commit
7bf508a480
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue