gravitee-io / issues

Gravitee.io - API Platform - Issues
65 stars 26 forks source link

[Gateway - v4/v4-emulation] RESOLVED_PATH attribute not filled #9342

Closed exalate-issue-sync[bot] closed 9 months ago

exalate-issue-sync[bot] commented 1 year ago

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.+

stale[bot] commented 10 months ago

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.