Thanks a lot for the quick response.
I have one more clarification here,
While using matches predicate in the path as you mentioned above "path": "/customer/[^/]+/123" it is working even if we add extra path structure like this
/customer/qwerty/123/345/test .
or
/customer/qwerty/12345678
But what we require is it should match exactly with path apart from the regex pattern part.
Here we tried predicate as "equals" but it looks like regex pattern not accepting in equals. Is there any limitation here ?
{
"equals": {
"path": "/customer/[^/]+/123"
}
Kindly let me know if you have any solution.