Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

[SELC-4883] feat: add retry on retrieveGeographicTaxonomies #500

Merged
merged 1 commit into from
May 27, 2024

Conversation

giulia-tremolada
Copy link
Collaborator

List of Changes

  • Added the resilience4j-spring-boot2 dependency to the pom.xml
  • Configured the retry properties in the application.yml
  • Added Retry annotation on getExtByCode method
  • Add constant to resolve code smell

Motivation and Context

This PR introduces a retry mechanism for getExtByCode call by utilizing the resilience4j-spring-boot2 library.
This change was necessary because of sporiadic endpoint's failures.

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

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

@giulia-tremolada giulia-tremolada marked this pull request as ready for review May 27, 2024 09:59
@giulia-tremolada giulia-tremolada requested a review from a team as a code owner May 27, 2024 09:59
Copy link

@giulia-tremolada giulia-tremolada merged commit f174047 into main May 27, 2024
8 checks passed
@giulia-tremolada giulia-tremolada deleted the feature/SELC-4883 branch May 27, 2024 12:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants