Marvin Froeder
23f28159a6
Version ( #828 )
6 years ago
Marvin Froeder
6b608d0356
Sorted all poms and include sortpom to enforce pom layout ( #814 )
6 years ago
adriancole
8aa32c2c14
[maven-release-plugin] prepare for next development iteration
6 years ago
adriancole
d9411f1e2e
[maven-release-plugin] prepare release 10.0.1
6 years ago
adriancole
7bff1a5961
[maven-release-plugin] prepare for next development iteration
6 years ago
adriancole
f228ac57da
[maven-release-plugin] prepare release 10.0.0
6 years ago
Kevin Davis
99c1540c7e
Updated POM version and set compilier and signatures to Java8 ( #704 )
...
* Updated the Cipher Suites in `TrustingSSLSocketFactory` to an appropriate
Java 8 Cipher.
* Updated all versions to 10.0.0-SNAPSHOT
7 years ago
Marvin Froeder
ad136c33e8
Formatted using eclipse formatter ( #699 )
...
Settings file: https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml
Formatter maven plugin: https://github.com/velo/maven-formatter-plugin
7 years ago
Marvin Herman Froeder
20a4ce403a
Next development version
7 years ago
adriancole
97fc92e41f
[maven-release-plugin] prepare for next development iteration
7 years ago
adriancole
882eb96f06
[maven-release-plugin] prepare release 9.7.0
7 years ago
swirekadam
7bea518f56
fix default method gets wrapped twice ( #641 )
...
* fix default method gets wrapped twice
* check if default method only once
7 years ago
Marvin Herman Froeder
1f99fa4dbc
[maven-release-plugin] prepare for next development iteration
7 years ago
Marvin Herman Froeder
7734578019
[maven-release-plugin] prepare release 9.6.0
7 years ago
Benjamin Shai
14cbeb4c8d
Bump the version to prepare for the next release ( #650 )
7 years ago
Marvin Froeder
9fd1b1dd31
Updated license headers ( #648 )
7 years ago
adriancole
2ae6fc5e4f
[maven-release-plugin] prepare for next development iteration
7 years ago
adriancole
6a1b70a1cf
[maven-release-plugin] prepare release 9.5.1
7 years ago
adriancole
f7fea7f7dc
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
69b136ca8b
[maven-release-plugin] prepare release 9.5.0
8 years ago
Odín del Río
56c105df9e
Adds Feign.Builder.mapAndDecode() ( #534 )
...
Adds `Feign.Builder.mapAndDecode()` to allow response preprocessing before decoding it
8 years ago
Merkushev Kirill
30ff85fae3
remove unused build.gradle ( #546 )
...
Fixes #545
8 years ago
John Ament
530c4aeca3
#498 Forcibly set the Archaius version to allow Ribbon/Hystrix to work in tandem. ( #499 )
8 years ago
adriancole
eb663b95db
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
70ec67e514
[maven-release-plugin] prepare release 9.4.0
8 years ago
zhurpavel
9a859da4ce
Replaces getFailedExecutionException() on getExecutionException() for fallback factory
...
Fixes #464
8 years ago
Adrian Cole
9aa2204f25
Removes invalid comment
8 years ago
adriancole
3adb897def
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
8ee4389e2f
[maven-release-plugin] prepare release 9.3.1
8 years ago
adriancole
6fd40494c4
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
4b1b255bcd
[maven-release-plugin] prepare release 9.3.0
8 years ago
Adrian Cole
8ecb6ade49
Adds FallbackFactory, allowing access to the cause of a Hystrix fallback ( #443 )
...
The cause of the fallback is now logged by default to FINE level. You can programmatically inspect
the cause by making your own `FallbackFactory`. In many cases, the cause will be a `FeignException`,
which includes the http status.
Here's an example of using `FallbackFactory`:
```java
// This instance will be invoked if there are errors of any kind.
FallbackFactory<GitHub> fallbackFactory = cause -> (owner, repo) -> {
if (cause instanceof FeignException && ((FeignException) cause).status() == 403) {
return Collections.emptyList();
} else {
return Arrays.asList("yogi");
}
};
GitHub github = HystrixFeign.builder()
...
.target(GitHub.class, "https://api.github.com ", fallbackFactory);
```
8 years ago
adriancole
baf8e25626
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
8b24647fa2
[maven-release-plugin] prepare release 9.2.0
8 years ago
Adrian Cole
177ce5e0ec
Adds Hystrix SetterFactory to customize group and command keys ( #447 )
...
This exposes means to customize group and command keys, for example to
use non-default conventions from configuration or custom annotation
processing.
Ex.
```java
SetterFactory commandKeyIsRequestLine = (target, method) -> {
String groupKey = target.name();
String commandKey = method.getAnnotation(RequestLine.class).value();
return HystrixCommand.Setter
.withGroupKey(HystrixCommandGroupKey.Factory.asKey(groupKey))
.andCommandKey(HystrixCommandKey.Factory.asKey(commandKey));
};
api = HystrixFeign.builder()
.setterFactory(commandKeyIsRequestLine)
...
```
This also makes the default's more unique to avoid clashing in Hystrix's
cache.
8 years ago
Adrian Cole
b6bf1ca711
Consolidates entrypoint where Hystrix is configured ( #446 )
8 years ago
adriancole
449e9ceaba
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
c6bee3a74f
[maven-release-plugin] prepare release 9.1.0
8 years ago
Adrian Cole
82a3aac831
Backfills test for hystrix-rx behavior when no fallback is configured
8 years ago
adriancole
4c98cfc307
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
015ce2f3a9
[maven-release-plugin] prepare release 9.0.0
8 years ago
adriancole
8d5a95153e
[maven-release-plugin] prepare for next development iteration
8 years ago
adriancole
4fb7f169c3
[maven-release-plugin] prepare release 9.0.0
8 years ago
Adrian Cole
60e0319237
Adds maven project under group id io.github.openfeign ( #416 )
...
* Updates travis to use maven for non-deploys
* Adds maven project for io.github.openfeign
* Polished maven configuraion
8 years ago
bjsousa@wisc.edu
3d84c767ba
Upgrade to OkHttp 3.2 and adjust tests as needed to work with new OkHttpClient and MockWebServer methods
9 years ago
Pablo Diaz
47345f83af
Added rx.Completable support
9 years ago
Adrian Cole
03e9a7dc80
Fixes dispatch for toString, equals, hashCode in hystrix
...
This copies missing logic from `FeignInvocationHandler` to
`HystrixInvocationHandler`, preventing NPEs when calling methods defined
on `java.lang.Object`.
9 years ago
liuzhengyang
2ef3bc80c3
Sets method access for hystrix package-private fallback method
...
For interfaces with package-private access, hystrix fallback calls would
fail. This sets these methods accessible, caching to reduce reflection.
Fixes #353
9 years ago
Javier Campanini
d25095c50c
bump okhttp dependencies to 2.7.5
9 years ago
Jimmy Lu
7c63801cf0
Used Google code style for code formatting
9 years ago