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

[SELC-4891] feat: Add Retry Mechanism to REST GET Calls using resilience4j-spring-boot2 #445

Merged
merged 2 commits into from
May 16, 2024

Conversation

manuraf
Copy link
Contributor

@manuraf manuraf commented May 16, 2024

List of Changes

  • Added the resilience4j-spring-boot2 dependency to the pom.xml to enable resilience patterns like retry, circuit breaker, and rate limiter.
  • Configured the retry properties in the application.yml to define the number of retry attempts and the wait duration between attempts.
  • Added Retry annotation on get methods

Motivation and Context

This PR introduces a retry mechanism for REST GET calls in our REST clients by utilizing the resilience4j-spring-boot2 library. This enhancement aims to improve the resilience of our application by handling transient failures in external REST services more gracefully.

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@manuraf manuraf requested a review from a team as a code owner May 16, 2024 09:43
Copy link

sonarcloud bot commented May 16, 2024

Quality Gate Passed Quality Gate passed

Issues
5 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@manuraf manuraf merged commit 461b99c into main May 16, 2024
6 checks passed
@manuraf manuraf deleted the feature/SELC-4891 branch May 16, 2024 10:10
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