79 Commits

Author SHA1 Message Date
Marcin Grzejszczak
5466a1f148 Added @ConditionalOnClass for resilience4j reactor cicrutbreaker 2019-08-27 10:54:39 +02:00
Ryan Baxter
4d26a22476 Merge pull request #44 from ryanjbaxter/reactor-r4j-starter
Create separate starter for reactive r4j apps
2019-08-20 14:02:17 -04:00
Ryan Baxter
002fc1b1a1 Create separate starter for reactive r4j apps 2019-08-13 10:57:32 -04:00
Ryan Baxter
0cea7b9c78 Merge pull request #43 from ryanjbaxter/provide-defaults-in-r4jbuilder
Provide defaults in R4J builder
2019-08-08 20:11:31 -04:00
Ryan Baxter
b34e83aeaf Provide defaults in builder so if the user creates a builder without either a circuit breaker config or timeout config we dont throw a NPE 2019-08-08 16:03:06 -04:00
Ryan Baxter
a32929a5fd Merge branch 'master' of github.com:spring-cloud-incubator/spring-cloud-r4j 2019-04-22 17:17:42 +02:00
Ryan Baxter
6ce2623658 Use StepVerifier even for Monos 2019-04-22 17:17:28 +02:00
Ryan Baxter
141f463255 Merge pull request #32 from ian4hu/patch-1
Remove unnecessary lambda
2019-04-19 16:27:24 -04:00
Ryan Baxter
2436c6da07 Removing Spring Retry from dependencies POM as it is managed by Boot. Fixes #29 2019-04-19 16:25:11 -04:00
Ryan Baxter
85879c507c Updating docs to use tranform api 2019-04-19 16:21:49 -04:00
Ryan Baxter
b8eb86e88e Merge branch 'master' of github.com:spring-cloud-incubator/spring-cloud-r4j 2019-04-19 16:20:06 -04:00
Ryan Baxter
bf4056a208 Update reactive tests to use transform api 2019-04-19 16:19:29 -04:00
Ian Hu
b12b7a3264 Remove unnecessary lambda
Remove unnecessary lambda
2019-04-19 17:14:27 +08:00
Ryan Baxter
5d136a9771 Merge pull request #28 from ryanjbaxter/spring-retry
Circuit Breaker Implementation With Spring Retry
2019-04-11 15:53:26 -04:00
Ryan Baxter
b81b712486 Fixing config class name 2019-04-10 17:20:43 -04:00
Ryan Baxter
04a6408241 Adding documentation 2019-04-10 17:17:55 -04:00
Ryan Baxter
f05d7957ac Adding spring retry starter 2019-04-09 09:30:41 -04:00
Ryan Baxter
fd7add5989 Refinement of Spring Retry implementation and tests 2019-04-09 09:21:30 -04:00
Ryan Baxter
caa72fdc87 Merge remote-tracking branch 'Upstream/master' into spring-retry 2019-04-09 09:21:08 -04:00
Ryan Baxter
57addc7ac7 Initial commit 2019-04-04 11:31:51 -04:00
Ryan Baxter
fb565d914b Merge pull request #21 from sczyh30/integration/sentinel
Add reactive circuit breaker implementation of Sentinel
2019-04-02 11:24:55 -04:00
Eric Zhao
9a6c53cb81 Fix test dependency and update Sentinel version to 1.5.1
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-02 23:18:39 +08:00
Eric Zhao
30df06ab47 Update test cases and doc
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-04-02 21:40:45 +08:00
Eric Zhao
b495ce7a15 Sync from upstream spring-cloud-incubator/master 2019-04-02 21:14:51 +08:00
Ryan Baxter
898ca2ef08 Merge pull request #26 from georgeharley/issue-25
Stop lengthy requests blocking subsequent circuit breaker calls
2019-03-27 19:40:39 -04:00
George Harley
64dc6b7f61 Stop lengthy requests blocking subsequent circuit breaker calls
* Replace choice of ExecutorService in Resilience4JCircuitBreakerFactory with
  cached thread pool alternative
* Added failing test to demonstrate the problem
* Fixes issue gh-25
2019-03-27 17:53:34 +00:00
Ryan Baxter
60d261c171 Merge pull request #18 from spring-operator/polish-urls-remaining-master
URL Cleanup
2019-03-26 11:56:45 -04:00
Eric Zhao
4b030bc4db Add document for reactive Sentinel circuit breaker and fix checkstyle
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-22 16:49:58 +08:00
Eric Zhao
ec6c9c3bd7 Add reactive Sentinel circuit breaker implementation
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-22 13:44:17 +08:00
Eric Zhao
339c4ff513 Update rule configuration mechanism for SentinelCircuitBreaker
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-22 11:52:39 +08:00
Ryan Baxter
b74fb36a46 Merge pull request #19 from spring-operator/polish-urls-apache-license-master
URL Cleanup
2019-03-21 12:21:19 -04:00
Spring Operator
bdeb0462db URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 37 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 04:42:23 -05:00
Spring Operator
32e5e851ef URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
  https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://EditorConfig.org with 1 occurrences migrated to:
  https://EditorConfig.org ([https](https://EditorConfig.org) result 200).
* [ ] http://github.com/ with 2 occurrences migrated to:
  https://github.com/ ([https](https://github.com/) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).
* [ ] http://raw.github.com/ with 2 occurrences migrated to:
  https://raw.github.com/ ([https](https://raw.github.com/) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
  https://eclipse.org ([https](https://eclipse.org) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
  https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
  https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302).

# Ignored
These URLs were intentionally ignored.

* http://localhost with 6 occurrences
2019-03-20 15:05:20 -05:00
Ryan Baxter
2d493f86b6 Merge pull request #17 from spring-operator/polish-urls-xml-master
URL Cleanup
2019-03-20 10:26:50 -04:00
Spring Operator
0d30f1d287 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 11 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local) result 302).
* http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local) result 302).
* http://repo.spring.io/release with 1 occurrences migrated to:
  https://repo.spring.io/release ([https](https://repo.spring.io/release) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 22 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 11 occurrences
2019-03-19 20:21:57 -05:00
Ryan Baxter
d67540ab11 Merge branch 'sczyh30-integration/sentinel' 2019-03-18 11:39:16 -04:00
Eric Zhao
cd174f0b76 Update code according to the checkstyle
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 23:23:29 +08:00
Eric Zhao
f75dde34c4 Bump Sentinel version to 1.5.0
- Also add sentinel-reactor-adapter dependency management

Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 22:43:11 +08:00
Eric Zhao
517f59dcad Sync from spring-cloud-incubator/master
Sync from upstream/master
2019-03-14 22:39:34 +08:00
Eric Zhao
0ea7e80f3f Update document for Sentinel
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 22:27:28 +08:00
Eric Zhao
158996fda6 Fix for test
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-14 11:13:00 +08:00
Eric Zhao
04f5a2b170 Update comment for SentinelCircuitBreaker
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-13 22:52:58 +08:00
Ryan Baxter
75b55cdaa5 Merge pull request #15 from spring-operator/polish-urls-build-master
URL Cleanup
2019-03-12 20:05:31 -04:00
Ryan Baxter
7ea953dfa2 Add support for checkstyle rules and fix checkstyle failures. Fixes #14 2019-03-12 20:04:07 -04:00
Eric Zhao
dc3fa4e436 Code reformat
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
2019-03-12 11:25:33 +08:00
Spring Operator
c248c60ac1 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch migrated to:
  https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch ([https](https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch) result 200).
* http://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin migrated to:
  https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin ([https](https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-11 22:01:24 -05:00
Eric Zhao
77ac8b39f2 Merge branch 'master' into integration/sentinel 2019-03-12 09:44:48 +08:00
Ryan Baxter
4b5582ce2e Updating readme 2019-03-11 19:34:42 -04:00
Ryan Baxter
145e268f1b Fixing build and code coverage links 2019-03-11 19:28:57 -04:00
Ryan Baxter
d2c625b586 Adding CircleCi Config 2019-03-11 16:32:17 -04:00