Skip to content

Commit

Permalink
fix: issue with starting catalog-service
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadileepkolli committed Oct 15, 2023
1 parent b565864 commit 035fdd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ 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
waitDurationInOpenState: 1s
failureRateThreshold: 50
eventConsumerBufferSize: 10
ignoreExceptions:
- com.example.learning.exception.BusinessException
- com.example.catalogservice.exception.ProductNotFoundException
instances:
default:
baseConfig: default
Expand All @@ -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
Expand Down Expand Up @@ -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
2 changes: 2 additions & 0 deletions docker-compose-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 035fdd8

Please sign in to comment.