Use RestClientBuilder
, if available, to create RegistrationClient
#3906
Labels
RestClientBuilder
, if available, to create RegistrationClient
#3906
In
SpringBootAdminClientAutoConfiguration
there are two ways howRegistrationClient
is created, either using existingWebClient.Builder
bean or existingRestTemplateBuilder
bean. My application has none, but it hasRestClient.Builder
bean configured and available. Please provide also a way to auto-configure Spring Boot Admin Client usingRestClient.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.
The text was updated successfully, but these errors were encountered: