Skip to content

Commit

Permalink
added @EnableRetry
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Nov 22, 2024
1 parent 2a88402 commit ca80e9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions e2e-bfd-test/src/test/java/gov/cms/ab2d/SpringBootApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignAutoConfiguration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.retry.annotation.EnableRetry;

@SpringBootApplication(scanBasePackages = {
"gov.cms.ab2d.bfd.client",
Expand All @@ -28,6 +29,7 @@
@EnableJpaRepositories(basePackages = {"gov.cms.ab2d.common.repository", "gov.cms.ab2d.job.repository",
"gov.cms.ab2d.coverage.repository"})
@EnableFeignClients(clients = {ContractFeignClient.class})
@EnableRetry
@ImportAutoConfiguration({FeignAutoConfiguration.class})
public class SpringBootApp {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
@ComponentScan(basePackages = {"gov.cms.ab2d.bfd.client"})
@Testcontainers
@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
@EnableFeignClients(clients = {ContractFeignClient.class})
public class CapabilityTest {
@Autowired
private BFDClient bfdClient;
Expand Down

0 comments on commit ca80e9d

Please sign in to comment.