-
Task
-
Resolution: Done
-
Major
-
None
-
None
This filter sets the “traceresponse” header to the HTTP response including the trace ID, span ID and trace flags which is a good practice and also needed by IQE.
At the moment, we have two implementations of this filter that does the same:
In swatch-common-trace-response, this implementation is based on Resteasy Reactive that we are replacing
In swatch-core, this is a JAX-RS standard solution that is used only in the Spring Boot services.
Proposal change: https://github.com/RedHatInsights/rhsm-subscriptions/commit/1a0f0925a84b8cf8452d6aaa3cfac68ace620bdc
Acceptance Criteria:
- Update the swatch-common-trace-response not to use the Quarkus bom. So it can be used by Quarkus and Spring Boot services
- Copy swach-core implementation to the swatch-common-trace-response one, and remove it
- Ensures the standard solution works for Spring Boot and Quarkus services
Testing
- Thorough Unit Tests are sufficient for this, there would be no additional value added by making IQE tests specifically for this
- Since this affects APIs, existing IQE tests will exercise this change anyway
- blocks
-
SWATCH-3529 Migrate Quarkus Resteasy Reactive to Quarkus Resteasy extensions
-
- Closed
-