rafoli / liferay-sample-workspace

2 stars 7 forks source link

Implement a circuit break mechanism with Resillience4j #38

Closed rafoli closed 2 years ago

rafoli commented 3 years ago

https://github.com/rafoli/liferay-sample-workspace/blob/main/modules/liferay-sample-module/liferay-sample-module-ws-client/src/main/java/com/liferay/sample/module/ws/client/base/RestClientFactory.java

rafoli commented 3 years ago
afablf commented 3 years ago
  • [x] Create config variable using ConfigAPI
  • [x] Use ConfigAPI variables to config CircuitBreaker API
  • [x] Document test scenarios, for instance, what is the expected behavior when the admin sets a wrong URL?
  • [x] Logging