Skip to content
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

Use RestClientBuilder, if available, to create RegistrationClient #3906

Open
jacekbilski opened this issue Dec 6, 2024 · 0 comments
Open

Comments

@jacekbilski
Copy link

In SpringBootAdminClientAutoConfiguration there are two ways how RegistrationClient is created, either using existing WebClient.Builder bean or existing RestTemplateBuilder bean. My application has none, but it has RestClient.Builder bean configured and available. Please provide also a way to auto-configure Spring Boot Admin Client using RestClient.Builder.

For now, I had to create my own RestTemplateBuilder bean. Defaults are not good enough for me, because I need to authenticate each app using OIDC.

I might find the time to do it myself, maybe next week. In case I don't, I'm creating the issue here.

@jacekbilski jacekbilski changed the title Use RestClientBuilder, if available, to create RegistrationClient Use RestClientBuilder, if available, to create RegistrationClient Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants