RESOLVED_PATH (gravitee.attribute.resolved-path) attribute is not set by the gateway when in v4-emulation-mode (and so probably for v4 engine more generally).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
RESOLVED_PATH (
gravitee.attribute.resolved-path
) attribute is not set by the gateway when in v4-emulation-mode (and so probably for v4 engine more generally).Impacts
Some policies rely on this attribute, such as Circuit Breaker Policy.
It means that an API running in
v4-emulation-mode
with this policy will crash due to a NullPointerException.Resolution
Set this attribute so it does not break any piece of code relying on it.
To reproduce
See discourse message here
Here is a Gist to have an integration test used to reproduce the issue
Environment
To fix from 4.0.+