-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#3439 - Handle removal of ClientResponse#rawStatusCode and bump to Spring Boot to 3.2 #3440
#3439 - Handle removal of ClientResponse#rawStatusCode and bump to Spring Boot to 3.2 #3440
Conversation
💚 CLA has been signed |
👋 @NicklasWallgren Thanks a lot for your contribution! It may take some time before we review a PR, so even if you don’t see activity for some time, it does not mean that we have forgotten about it. Every once in a while we go through a process of prioritization, after which we are focussing on the tasks that were planned for the upcoming milestone. The prioritization status is typically reflected through the PR labels. It could be pending triage, a candidate for a future milestone, or have a target milestone set to it. |
…p to Spring Boot 3.2
bfcc8ee
to
ddc4a5b
Compare
…of-raw-status-code
@elasticmachine run elasticsearch-ci/docs |
@elasticmachine run elasticsearch-ci/docs |
@NicklasWallgren I hope you don't mind that I continued the work on your PR. Unfortunately due to backwards compatibility requirements with Spring 5, the fix wasn't quiet as simple. |
@@ -192,5 +193,19 @@ private void cancelSpan() { | |||
debugTrace(false, "cancelSpan", span); | |||
} | |||
} | |||
@SuppressWarnings("unchecked") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[For Reviewer] This is suddenly required because onNext doesn't declare checked exceptions anymore. For backwards compatibility reasons, I figured it would be best to still continue throwing unwrapped exceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be worth adding a comment to make that a bit more explicit and document which version introduced it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only a few minor details.
...bitmq/apm-rabbitmq-spring/src/test/java/co/elastic/apm/agent/rabbitmq/SpringAmqpBatchIT.java
Outdated
Show resolved
Hide resolved
@@ -192,5 +193,19 @@ private void cancelSpan() { | |||
debugTrace(false, "cancelSpan", span); | |||
} | |||
} | |||
@SuppressWarnings("unchecked") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be worth adding a comment to make that a bit more explicit and document which version introduced it.
...webclient-plugin/src/main/java/co/elastic/apm/agent/springwebclient/WebClientSubscriber.java
Outdated
Show resolved
Hide resolved
...m-spring-webflux-spring5/src/main/java/co/elastic/apm/agent/springwebflux/WebfluxHelper.java
Outdated
Show resolved
Hide resolved
@elasticmachine run elasticsearch-ci/docs |
No worries, I just wanted to get things rolling 🙂 Thanks for your work! |
Handle removal of
ClientResponse#rawStatusCode
and bump to Spring Boot to 3.2What does this PR do?
Handle removal of
ClientResponse#rawStatusCode
in Spring Framework 6.1Checklist