Tree:
65b1e9ef2c
1.x
2.x
3.x
4.x
5.x
6.x
7.x
8.x
9.x
dependabot/maven/com.sun.xml.bind-jaxb-impl-2.3.9
dependabot/maven/jakarta.xml.soap-jakarta.xml.soap-api-3.0.1
dependabot/maven/jakarta.xml.ws-jakarta.xml.ws-api-4.0.1
dependabot/maven/org.glassfish.jersey.core-jersey-client-2.41
dependabot/maven/org.glassfish.jersey.inject-jersey-hk2-2.41
generic_codecs
hekai-study-v2021.x
master
snyk-upgrade-6a2fa4d8a8842b19fbcb4e49c8885102
1.0.0
1.1.0
1.1.1
10.0.0
10.0.1
10.10.0
10.10.1
10.11
10.12
10.13
10.2.0
10.2.1
10.2.2
10.2.3
10.3.0
10.4.0
10.5.0
10.5.1
10.6.0
10.7.0
10.7.1
10.7.2
10.7.3
10.7.4
10.8
10.9
10.9.1
11.1
11.10
11.2
11.3
11.4
11.5
11.6
11.7
11.8
11.9
11.9.1
12.0
12.1
12.2
12.3
12.4
12.5
13.0
2.0.0
2.0.1
3.0.0
3.1.0
3.2.0
3.3.0
4.0.0
4.1.0
4.2.0
4.3.0
4.4.0
5.0.0
5.0.1
5.1.0
5.2.0
5.3.0
5.4.0
5.4.1
6.0.0
6.0.1
6.1.1
6.1.2
6.1.3
9.0.0
9.1.0
9.2.0
9.3.0
9.3.1
9.4.0
9.5.0
9.5.1
9.6.0
9.7.0
release-10.0.0
release-10.0.1
release-10.2.0
release-9.0.0
release-9.1.0
release-9.2.0
release-9.3.0
release-9.3.1
release-9.4.0
release-9.5.0
release-9.5.1
release-9.6.0
release-9.7.0
v6.0.0
v6.1.3
v7.0.0
v7.1.0
v7.2.0
v7.2.1
v7.3.0
v7.4.0
v7.5.0
v7.6.0
v8.0.0
v8.0.0-rc.0
v8.0.0-rc.1
v8.0.0-rc.2
v8.1.0
v8.1.1
v8.1.2
v8.10.0
v8.10.1
v8.11.0
v8.12.0
v8.12.1
v8.13.0
v8.13.1
v8.14.0
v8.14.1
v8.14.2
v8.14.3
v8.14.4
v8.15.0
v8.15.1
v8.16.0
v8.16.1
v8.16.2
v8.17.0
v8.18.0
v8.2.0
v8.3.0
v8.4.0
v8.4.1
v8.5.0
v8.6.0
v8.6.1
v8.7.0
v8.7.1
v8.8.0
v8.8.1
v8.9.0
v8.9.1
${ noResults }
3 Commits (65b1e9ef2c6f2e7372303ff36994c215036301a3)
Author | SHA1 | Message | Date |
---|---|---|---|
|
122f9a547b |
Adds fallback implementation configuration to the `HystrixFeign` builder
Fallbacks are known values, which you return when there's an error invoking an http method. For example, you can return a cached result as opposed to raising an error to the caller. To use this feature, pass a safe implementation of your target interface as the last parameter to `HystrixFeign.Builder.target`. Here's an example: ```java // When dealing with fallbacks, it is less tedious to keep interfaces small. interface GitHub { @RequestLine("GET /repos/{owner}/{repo}/contributors") List<String> contributors(@Param("owner") String owner, @Param("repo") String repo); } // This instance will be invoked if there are errors of any kind. GitHub fallback = (owner, repo) -> { if (owner.equals("Netflix") && repo.equals("feign")) { return Arrays.asList("stuarthendren"); // inspired this approach! } else { return Collections.emptyList(); } }; GitHub github = HystrixFeign.builder() ... .target(GitHub.class, "https://api.github.com", fallback); ``` Credit to the idea goes to @stuarthendren! |
9 years ago |
|
d1cb196e6e |
Add support for rx.Observable and rx.Single return types to Hystrix module
|
9 years ago |
|
c17756ce3b |
add HystrixCommand support
fixes gh-189 |
9 years ago |