Skip to content

GEODE-10534: Fix Deprecated APIs in Support Modules (geode-management, geode-serialization, geode-deployment-legacy, geode-web-api)#7983

Draft
kaajaln2 wants to merge 1 commit intoapache:developfrom
kaajaln2:feature/GEODE-10534
Draft

GEODE-10534: Fix Deprecated APIs in Support Modules (geode-management, geode-serialization, geode-deployment-legacy, geode-web-api)#7983
kaajaln2 wants to merge 1 commit intoapache:developfrom
kaajaln2:feature/GEODE-10534

Conversation

@kaajaln2
Copy link
Contributor

@kaajaln2 kaajaln2 commented Feb 5, 2026

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:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
  • Has your PR been rebased against the latest commit within the target branch (typically develop)?
  • Is your initial contribution a single, squashed commit?
  • Does gradlew build run cleanly?
  • Have you written or updated unit tests to verify your changes?
  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant