forked from spring-petclinic/spring-petclinic-cloud
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spring-petclinic#43 Upgrade to Spring Cloud 2021.0 and Spring Boot 2.6.3
- Loading branch information
Showing
19 changed files
with
138 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
...java/org/springframework/samples/petclinic/api/boundary/web/ApiGatewayControllerTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...a/org/springframework/samples/petclinic/api/boundary/web/CircuitBreakerConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.springframework.samples.petclinic.api.boundary.web; | ||
|
||
import io.github.resilience4j.circuitbreaker.CircuitBreakerRegistry; | ||
import io.github.resilience4j.timelimiter.TimeLimiterRegistry; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
public class CircuitBreakerConfiguration { | ||
|
||
@Bean | ||
public CircuitBreakerRegistry circuitBreakerRegistry() { | ||
return CircuitBreakerRegistry.ofDefaults(); | ||
***REMOVED*** | ||
|
||
@Bean | ||
public TimeLimiterRegistry timeLimiterRegistry() { | ||
return TimeLimiterRegistry.ofDefaults(); | ||
***REMOVED*** | ||
***REMOVED*** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.