diff --git a/config-server/src/main/resources/config-repository/catalog-service.yml b/config-server/src/main/resources/config-repository/catalog-service.yml index 6c0deed4..a27aa63f 100644 --- a/config-server/src/main/resources/config-repository/catalog-service.yml +++ b/config-server/src/main/resources/config-repository/catalog-service.yml @@ -14,7 +14,7 @@ resilience4j.circuitbreaker: - java.util.concurrent.TimeoutException - java.io.IOException ignoreExceptions: - - com.example.learning.exception.BusinessException + - com.example.catalogservice.exception.ProductNotFoundException shared: slidingWindowSize: 100 permittedNumberOfCallsInHalfOpenState: 30 @@ -22,7 +22,7 @@ resilience4j.circuitbreaker: failureRateThreshold: 50 eventConsumerBufferSize: 10 ignoreExceptions: - - com.example.learning.exception.BusinessException + - com.example.catalogservice.exception.ProductNotFoundException instances: default: baseConfig: default @@ -38,7 +38,7 @@ resilience4j.retry: - java.util.concurrent.TimeoutException - java.io.IOException ignoreExceptions: - - com.example.learning.exception.BusinessException + - com.example.catalogservice.exception.ProductNotFoundException instances: default: baseConfig: default @@ -94,5 +94,5 @@ resilience4j.timelimiter: baseConfig: default spring.webflux.problemdetails.enabled: true -management.health:circuitbreakers.enabled: true +management.health.circuitbreakers.enabled: true management.health.ratelimiters.enabled: true diff --git a/docker-compose-tools.yml b/docker-compose-tools.yml index 9b73632f..5520b2ce 100644 --- a/docker-compose-tools.yml +++ b/docker-compose-tools.yml @@ -203,6 +203,8 @@ services: condition: service_started loki : condition: service_started + api-gateway: + condition: service_started environment: - SPRING_PROFILES_ACTIVE=docker - SPRING_CONFIG_IMPORT=configserver:http://config-server:8888/