Rob Spieldenner
6aa591d0a4
Change syntax to make it clear calling a script in directory instead of an OS command
10 years ago
Rob Spieldenner
678d03ac3d
Make executable
10 years ago
Rob Spieldenner
e89ef53079
With encrypted keys
10 years ago
Rob Spieldenner
1881386ef9
Travis setup
10 years ago
Adrian Cole
98b9a9523b
Allows `@Headers` to be applied to a type
...
This supports interface-level defaults, such as Content-Type.
closes #184
10 years ago
Adrian Cole
5ca1d56369
Updates examples to feign 8.0.0
...
See #203
10 years ago
Adrian Cole
859ee39b06
Merge pull request #200 from Netflix/adrian.no-message-cause
...
Accepts codec exceptions without a message
10 years ago
Adrian Cole
c1e3996d5d
Accepts codec exceptions without a message
...
While encoding or decoding, an exception without a message can occur.
Before this change, a NPE would return as the codec exceptions null
checked the message from the cause.
10 years ago
Adrian Cole
1eaec3488d
Merge pull request #196 from Netflix/adrian.example-polish
...
Polishes GitHub example
10 years ago
Adrian Cole
b8c2c0ea3f
Polishes GitHub example
...
The GitHub example could be better organized as top-down. Also, it is
easier to show basic error decoding when there is less structure.
10 years ago
Adrian Cole
cc3dd37433
Merge pull request #195 from molindo/github-error-example
...
added ErrorDecoder example with nested Decoder
10 years ago
Stefan Fussenegger
ed0955d34a
adds ErrorDecoder example with nested Decoder
10 years ago
Brendan Nolan
2227930577
Adds LBClientFactory to enable caching of Ribbon LBClients
...
Before, LBClients were created for each request, which led to issues
such as #182 . Moreover, a user could not avoid using Ribbon's static
factories. Adding LBClientFactory allows users to control how Ribbon
resources are created.
10 years ago
Adrian Cole
9d918b7448
Merge pull request #193 from jebeaudet/fix-NPEOnEmptyQueryParam
...
Supports query params without values
10 years ago
Jacques-Etienne Beaudet
4577082495
Supports query params without values
...
Fixes NPE when building a client with a query param with no values
10 years ago
Adrian Cole
712a8c8f38
Merge pull request #185 from bstick12/issue-183
...
Retains scheme in LBClient.RibbonRequest URI
10 years ago
Brendan Nolan
05b58948f5
Retains scheme in LBClient.RibbonRequest URI
...
Before this change, we were dropping scheme, which prevented use of https.
closes #183
10 years ago
Adrian Cole
fb2b915d3c
Merge pull request #181 from Netflix/adrian.jackson-2.5.1
...
Updates to Jackson 2.5.1
10 years ago
Adrian Cole
a5093937e5
Updates to Jackson 2.5.1
10 years ago
Adrian Cole
3309b38f8e
Merge pull request #180 from Netflix/adrian.ribbon-2.0-RC13
...
Updates to Ribbon 2.0-RC13
10 years ago
Adrian Cole
4735690289
Updates to Ribbon 2.0-RC13
10 years ago
Adrian Cole
8e18341796
Merge pull request #179 from Netflix/adrian.examples-7.2.1
...
Updates examples to Feign 7.2.1
10 years ago
Adrian Cole
c53b1773ae
Updates examples to Feign 7.2.1
10 years ago
Adrian Cole
7c1558aabe
Merge pull request #178 from bstick12/ribbonclient
...
Changed RibbonClient to pass Feign Request.Options to LBClient
10 years ago
Brendan Nolan
59a159e058
Adds Request.Options support to RibbonClient
10 years ago
Adrian Cole
c6db67a422
Merge pull request #161 from jdamick/header_fixes
...
Headers substitutions were not being expanded by the value name
10 years ago
jdamick
74e23ef808
Headers substitutions were not being expanded by the value name, instead it was using the header name..
10 years ago
Adrian Cole
c6b36fa965
Merge pull request #160 from Netflix/adrian.format
...
Reformats code according to Google Java Style
10 years ago
Adrian Cole
207530d6c0
Reformats code according to Google Java Style
...
Files had various formatting differences, as did pull requests. Rather than
create our own style, this inherits and requires the well documented Google
Java Style.
10 years ago
Adrian Cole
42fc4763f8
corrects 7.2 changelog
10 years ago
Adrian Cole
e455670706
Merge pull request #157 from Netflix/adrian.emptytarget
...
Adds EmptyTarget for interfaces who exclusively declare URI methods
10 years ago
Adrian Cole
76367fe03e
Adds EmptyTarget for interfaces who exclusively declare URI methods
...
Supports cases when the base url isn't known until runtime.
Closes #98
10 years ago
Adrian Cole
69aa98fd51
Merge pull request #155 from Netflix/adrian.control-body-encoding
...
Makes body parameter type explicit
10 years ago
Adrian Cole
183a5a119c
Makes body parameter type explicit
...
Feign has `MethodMetadata.bodyType()`, but never passed it to encoders.
Encoders that register type adapters need to do so based on the
interface desired as opposed to the implementation class. This change
breaks api compatibility for < 8.x, by requiring an additional arg
on `Encoder.encode`.
see https://github.com/square/retrofit/issues/713
10 years ago
Adrian Cole
50ea3eab04
Merge pull request #153 from Netflix/adrian.examples-standalone
...
Makes examples standalone and built from standard Gradle or Maven
10 years ago
Adrian Cole
f4342dce06
Makes examples standalone and built from standard Gradle or Maven
10 years ago
Adrian Cole
31915a6aa7
Removes outdated dagger reference
10 years ago
Adrian Cole
4323d6a2a7
Merge pull request #141 from Netflix/adrian.no-dagger
...
Removes Dagger 1.x Dependency
10 years ago
Adrian Cole
bceee32ea7
Removes unused imports in OkHttpClientTest
10 years ago
Adrian Cole
8a0cba5cac
Removes Dagger 1.x Dependency and support for javax.inject.Named
...
Dagger 1.x and 2.x are incompatible. Rather than choose one over the
other, this change removes Dagger completely. Users can now choose any
injector, constructing Feign via its Builder.
This change also drops support for javax.inject.Named, which has
been replaced by feign.Param.
see #120
10 years ago
Adrian Cole
292a2ade34
Merge pull request #152 from Netflix/adrian.expander
...
Supports custom expansion of template parameters via Param.Expander
10 years ago
Adrian Cole
7d96a45f10
Merge pull request #150 from rspieldenner/upgrade_netflixoss
...
Move to nebula.netflixoss 2.2.5
10 years ago
Adrian Cole
3bddf1f0aa
Supports custom expansion of template parameters via Param.Expander
...
Parameters annotated with `Param` expand based on their `toString`. By
specifying a custom `Param.Expander`, users can control this behavior,
for example formatting dates.
```java
@RequestLine("GET /?since={date}") Result list(@Param(value = "date", expander = DateToMillis.class) Date date);
```
Closes #122
10 years ago
Rob Spieldenner
944e20e0e7
Move to nebula.netflixoss 2.2.5
10 years ago
Adrian Cole
5801ea9c36
Merge pull request #148 from Netflix/adrian.fix-default-accept
...
Ensures Accept headers default to */*
10 years ago
Adrian Cole
72c3ba80a6
Ensures Accept headers default to */*
...
Closes #123
10 years ago
Adrian Cole
db897ada3a
Merge pull request #147 from Netflix/adrian.patch
...
Adds OkHttp integration
10 years ago
Adrian Cole
49b700e6f7
Adds OkHttp integration
...
closes #134
10 years ago
Adrian Cole
194d82fa5c
Allows multiple headers with the same name; Backfills default client tests.
10 years ago
Adrian Cole
62cbe191a5
Merge pull request #145 from Netflix/adrian.named-to-param
...
Introduces feign.Param to annotate template parameters
10 years ago