GEODE-10534: Fix Deprecated APIs in Support Modules (geode-management, geode-serialization, geode-deployment-legacy, geode-web-api) #7983
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Module 1: geode-management
RestTemplateClusterManagementServiceTransport.java
- Update RestTemplateClusterManagementServiceTransport to remove deprecated API usage
- Replaced deprecated SSLConnectionSocketFactory with DefaultClientTlsStrategy and setSSLSocketFactory with setTlsSocketStrategy
Issue 1.2: Apache Commons Lang StringUtils
Index.java
- Updated removeStart with string manipulation code
Module 2: geode-serialization
DSFIDSerializerImpl.java
- Updated deprecated getProxyClass with newProxyInstance with a no-op handler
Module 3: geode-deployment-legacy
LegacyClasspathServiceImpl.java
- Refactor proxy class creation to avoid deprecated Proxy.getProxyClass usage
- Replaced usage of deprecated Proxy.getProxyClass with Proxy.newProxyInstance to obtain proxy class
Module 4: geode-web-api
SwaggerConfig.java
- No changes, can be updated when we move to Spring Framework 6.2+ with UrlHandlerFilter
For all changes, please confirm:
develop)?gradlew buildrun cleanly?