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

Add support for configuring RestTemplate via RestTemplateBuilder (#4255) #4262

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

ZIRAKrezovic
Copy link
Contributor

Fixes: #4255

Copy link
Collaborator

@OlgaMaciaszek OlgaMaciaszek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ZIRAKrezovic. This looks good. Please just address the comment about the javadoc and licensce changes in the classes you've edited.

@@ -69,11 +70,11 @@ public TlsProperties tlsProperties() {
@ConditionalOnProperty(prefix = "eureka.client", name = "webclient.enabled", matchIfMissing = true,
havingValue = "false")
public RestTemplateDiscoveryClientOptionalArgs restTemplateDiscoveryClientOptionalArgs(TlsProperties tlsProperties,
EurekaClientHttpRequestFactorySupplier eurekaClientHttpRequestFactorySupplier)
throws GeneralSecurityException, IOException {
EurekaClientHttpRequestFactorySupplier eurekaClientHttpRequestFactorySupplier,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add your full name and surname with @author tag to the javadoc of all the files you've modified. Please update the year in the license comments of the files you've modified.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZIRAKrezovic Actually, I'm just going to do it for you, since I'd like to make sure we include this in the upcoming release.

@OlgaMaciaszek OlgaMaciaszek merged commit 6b6173d into spring-cloud:main Mar 26, 2024
@ZIRAKrezovic
Copy link
Contributor Author

Thanks!

@OlgaMaciaszek
Copy link
Collaborator

OlgaMaciaszek commented Mar 26, 2024

@ZIRAKrezovic Did it, but the changes cause test failures (for some reason, the build was apparently not triggered on your PR). Will revert them - please resubmit your PR with fixed tests.

OlgaMaciaszek added a commit that referenced this pull request Mar 26, 2024
@OlgaMaciaszek
Copy link
Collaborator

@ZIRAKrezovic - see details: https://github.com/spring-cloud/spring-cloud-netflix/actions/runs/8440522374/job/23117589376. Some tests will need updating to the new API.

@ZIRAKrezovic
Copy link
Contributor Author

Hi @OlgaMaciaszek. I did a rebase, applied your patch that fixes the copyright year and author, and fixed the compilation of the failed test.

@OlgaMaciaszek
Copy link
Collaborator

Thanks @ZIRAKrezovic .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing observability support in RestTemplateTransportClientFactory
3 participants