-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
RestClient
support
#3930
RestClient
support
#3930
Conversation
Hi @jacekbilski I have tested your code. Thanks! |
5fa39a8
to
2dff866
Compare
Hi @andreasfritz, |
Hi @andreasfritz, |
Hey @jacekbilski, These are our findings so far:
We will discuss this pull request further on friday and will get back to you. |
I do agree, that today The more I think of it, the more doubts I have about You're also right about the With this PR I was hoping to move some responsibility/code to an external project, so that I don't need to maintain it by myself. But now I'm not so sure its the best idea. I'll wait until Friday to see what you decide. |
2dff866
to
7cc80ad
Compare
… `RegistrationClient`, this time using `RestClient`.
…ient.Builder` bean is available.
7cc80ad
to
7c4d69a
Compare
We will merge this PR as potentially BREAKING change. As discussed with others, we will stick to our given versioning pattern and will not do a semantic version change here. |
Hey @jacekbilski, I do think it can be beneficial to just have to configure the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3930 +/- ##
============================================
- Coverage 83.64% 82.26% -1.39%
+ Complexity 1247 1227 -20
============================================
Files 156 164 +8
Lines 3644 4132 +488
Branches 258 262 +4
============================================
+ Hits 3048 3399 +351
- Misses 464 611 +147
+ Partials 132 122 -10 ☔ View full report in Codecov by Sentry. |
Thanks for the news. I'll be now waiting for the release and will use it ASAP. |
Adds support for using
RestClient
to register an app, so far onlyRestTemplate
orWebClient
were supported.I was trying to follow how the other two are implemented, configured and tested. My app using locally build snapshot version can register itself while having only
RestClient
configured.As a bonus I fixed one typo. Also I've added logging exceptions when registration fails, it was difficult for me to figure out why registration was failing, when Spring Boot Admin was swallowing exceptions. But feel free to reject that part if you feel like it's too much.
Closes #3906.