Closed pmauduit closed 2 years ago
a NPE is fired in the tests because we can't have anonymous: false
with no roles defined:
https://github.com/georchestra/georchestra-gateway/blob/main/src/main/resources/gateway.yml#L17-L18
Easily fixed by adding a allowed-roles: ...
on the /testPage
endpoint. Il will also require to switch from regex-based to ant-like patterns, we will have to remove '.' to simple wildcards ''.
Note the patterns changed from Pattern to String to use Ant patterns instead of Java regex.
Rule uri's should be updated accordingly.