Skip to content

Replace RestTemplate with OkHttp for system tests#4239

Merged
adinauer merged 13 commits into
mainfrom
feat/replace-resttemplate-with-okhttp
Mar 11, 2025
Merged

Replace RestTemplate with OkHttp for system tests#4239
adinauer merged 13 commits into
mainfrom
feat/replace-resttemplate-with-okhttp

Conversation

@adinauer

@adinauer adinauer commented Mar 6, 2025

Copy link
Copy Markdown
Member

#skip-changelog

📜 Description

Replace RestTemplate with OkHttp for system tests

💡 Motivation and Context

RestTemplates raw status code is deprecated so this would cause some headaches when adding support for Spring 7 (Spring Boot 4). Replacing it should get rid of the problem.

💚 How did you test it?

📝 Checklist

  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

@github-actions

github-actions Bot commented Mar 6, 2025

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 125cd4e

@github-actions

github-actions Bot commented Mar 6, 2025

Copy link
Copy Markdown
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 401.25 ms 413.53 ms 12.28 ms
Size 1.58 MiB 2.21 MiB 642.20 KiB

Base automatically changed from feat/add-distributed-tracing-system-tests-to-more-modules to main March 11, 2025 11:40
Comment thread buildSrc/src/main/java/Config.kt Outdated
@adinauer adinauer merged commit 5eb3279 into main Mar 11, 2025
@adinauer adinauer deleted the feat/replace-resttemplate-with-okhttp branch March 11, 2025 12:25
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.

3 participants