Dave Syer
29383de8c1
Allow zuul.ignoredServices to be a pattern
...
and also allow explicitly configured services to be unignored. I.e.
zuul:
ignoredServices: *
routes:
foo: /foo/**
Will expose only the foo service.
Fixes gh-198
10 years ago
Dave Syer
b8cf89fb45
Use an HttpMessageConverter for form body
...
Instead of building a String, if we use an existing
HttpMessageConverter from Spring web, we can support multipart
form data.
Fixes gh-197 (hopefully)
10 years ago
Julien Roy
00b689f58a
Add retryable property on Zuul route configuration
...
The ProxyRouteLocator now has a retryable property (default
null which means Ribbon will choose the default - usually false).
Fixes gh-115, fixes gh-124
10 years ago
Dave Syer
4c5179130e
Add metadataMap option for Server.zone
...
Adds a metadataMap for the Server.zone so that user can
provide the data through external configuration if needed.
10 years ago
Dave Syer
4afc44acaf
Catch exception and log instead of failing
...
Some singleton clashes are inevitable if running multiple
apps i nteh same JVM, but we can at least try and not fall off
a cliff when they happen.
10 years ago
Dave Syer
63e6c813a3
Remove guava usages (fixes gh-154)
10 years ago
Spencer Gibb
29bee28db5
move /hystrix.stream from an endpoint to a servlet
...
fixes gh-187
10 years ago
Spencer Gibb
42422bef5c
prepend http:// to feign url if not there
10 years ago
Dave Syer
6dc0bd5f5e
Refactor @FeignClient to use name= or url= but not both
...
Replaces the boolean flag (loadbalance) for switching between service
resolution (by name) or straight URL bashing.
10 years ago
Dave Syer
9aa979cd31
@FeignClientScan -> @EnableFeignClients
...
By analogy with @EnableJpaRepositories , so it's obvious that
the same thing will happen (interfaces are turned into concrete
@Beans ).
10 years ago
Dave Syer
fe08762f50
Rename package that was missing 'cloud'
10 years ago
Dave Syer
e100207e8a
Clarify and document some Feign stuff
10 years ago
Spencer Gibb
af0b24d1a2
use LoadBalancerBuilder so all parts of the LoadBalancer can be injected via Spring.
...
This includes support for: ServerList, ServerListFilter, IRule, IPing and IClientConfig.
Eliminates custom wrapping of ServerList.
fixes gh-185
10 years ago
Spencer Gibb
01c5b44a18
propagate EnvironmentChangeEvents to archaius dynamic property listenters
...
fixes gh-144
10 years ago
Spencer Gibb
d78982973e
add support for feign RequestInterceptors
...
fixes gh-159
10 years ago
Spencer Gibb
6435b73f40
remove EurekaHeartbeatEvent
10 years ago
Spencer Gibb
81bc83312c
removed TODOs that are out of date
10 years ago
Spencer Gibb
32a9033661
upgrade to netflix eureka to 1.1.147
...
fixes gh-180
10 years ago
Spencer Gibb
e265a5e3c8
upgrade to netflix feign 7.1.0.
...
Add feign-slf4j support.
fixes gh-178
10 years ago
Dave Syer
b2301434d2
Align with API changes from config client
10 years ago
Spencer Gibb
cdf34fddb1
Auto configure EurekaClientAutoConfiguration after NoopDiscoveryClientAutoConfiguration
10 years ago
Dave Syer
d04800597c
De-tangle zuul packages
...
The main problem here was the ZuulProperties being used everywhere. I also
took the opportunity to thin out the top level zuul package and keep the
web and route locator pieces in sub-packages for readability.
Fixes gh-172
10 years ago
Dave Syer
6b01e61dec
Untangle ribbon/eureka
...
A cleaner separation of ribbon and the eureka-dependent ribbon
configuration is achieved by adding a BeanPostProcessor to do the
ServerList wrapping, instead of doing it for every single ribbon
client.
See gh-172
10 years ago
Spencer Gibb
ea4ea4a54d
proxy DiscoveryHeartbeatEvent's from parent to child be publishing a EurekaHeartbeatEvent and having zuul listen for EurekaHeartbeatEvent as well.
...
fixes gh-171
10 years ago
Dave Syer
f18aeab873
Replace some of the log/printStackTraces with ignores
...
Fixes gh-153
10 years ago
Spencer Gibb
a45c0ccec8
change printStackTrace to commons log statements
...
fixes gh-153
10 years ago
Dave Syer
c31f700bae
Use serviceId as prefix for RibbonCommand hystrix command key
...
Fixes gh-160
10 years ago
Spencer Gibb
a0b73fe7c7
migrate from slf4j to commons logging
...
fixes gh-147
10 years ago
Spencer Gibb
e7331098fa
change protected and package scope fields to private
...
fixes gh-149
10 years ago
Dave Syer
0e4eb9ef1f
Use @ConditionalOnProperty where possible
10 years ago
Dave Syer
90d7e5df7a
Correct Javadocs in *FeignClient
...
Fixes gh-151
10 years ago
Dave Syer
17484fad3a
Use Enum.valueOf() instead of case switch
...
Fixes gh-156
10 years ago
Phillip Webb
8b6307e703
Use BDD Mockito
10 years ago
Phillip Webb
3ea0f8d283
Polish
10 years ago
Phillip Webb
9d823513c3
Add copyright headers
10 years ago
Phillip Webb
6a7676a93f
Apply eclipse formatting and cleanup
10 years ago
Phillip Webb
911627c09d
Add eclipse formatting and cleanup configuration
10 years ago
Phillip Webb
be436279cf
Polish POM files
10 years ago
Spencer Gibb
6e078a88e8
make messageConverters lazy in SpringDecoder and SpringEncoder
...
fixes gh-129
10 years ago
Spencer Gibb
8fb85f26ea
add a test to make sure that proxy paths with /another/level/** works
10 years ago
Spencer Gibb
3d91dae0c4
only forward if response is not committed.
10 years ago
Spencer Gibb
95541e0102
only run SendErrorFilter once (fixes recursive forwarding if /error fails)
10 years ago
Spencer Gibb
64e5a2e0ba
protect against a null RequestDispatcher
10 years ago
Spencer Gibb
c992066ac0
only create the /routes endpoint if actuator is on the classpath
10 years ago
Dave Syer
da6da6d76c
Re-organise headers in the /trace of Zuul requests
...
Now they match better what the vanilla /trace data does in terms of
object and field names.
10 years ago
Dave Syer
242886916f
Fix test in build server VM
10 years ago
Dave Syer
a9213f2416
Allow @RibbonClient("foo") as a short cut
10 years ago
Dave Syer
ec2d732bb4
Add back EnableHystrix as a courtesy
10 years ago
Dave Syer
52c9310bb0
Add back EnableEurekaClient as a courtesy
...
It's nice to have an annotation to say "I want Eureka discovery".
At the moment it is a pass thru for @EnableDiscoveryClient , but
in principle it could be used to select Eureka over another provider
even if both were on the classpath.
10 years ago
Julien Roy
9266785134
Fix Zuul proxy POST on content-type with charset
...
Fixes gh-113
10 years ago