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

Fix SpringEnvironmentAwareGeoToolsHttpClientFactory registration #463

Merged
merged 1 commit into from
May 4, 2024

Conversation

groldan
Copy link
Member

@groldan groldan commented May 3, 2024

Fix SpringEnvironmentAwareGeoToolsHttpClientFactory registration as the default HTTPClient factory using the Class object as value instead of the qualified class name when doing
Hints.putSystemDefault( Hints.HTTP_CLIENT_FACTORY, <factory>) in GeoToolsStaticContextInitializer.

It doesn't work with the class name after changes upstream.

Fixes #460

@groldan groldan added the bug Something isn't working label May 3, 2024
Fix SpringEnvironmentAwareGeoToolsHttpClientFactory registration
as the default `HTTPClient` factory using the `Class` object as value
instead of the qualified class name when doing
`Hints.putSystemDefault( Hints.HTTP_CLIENT_FACTORY, <factory>)`
in `GeoToolsStaticContextInitializer`.

It doesn't work with the class name after changes upstream.
@groldan groldan force-pushed the fix/gt_http_client branch from d11c75d to ba733cf Compare May 3, 2024 21:11
@groldan groldan merged commit f1496f2 into geoserver:main May 4, 2024
2 checks passed
@groldan groldan deleted the fix/gt_http_client branch May 4, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: Error creating COGs
1 participant