Dave Syer
043732aef3
More careful handling of multipart data in proxy
...
To write file data the message converter needs the file content
to be provided in the form of an HttpEntity per file.
Fixes gh-197 again
10 years ago
Spencer Gibb
2d8085cc24
fix the base href of the hystrix dashboard pages
...
fixes gh-204
10 years ago
Spencer Gibb
24a06ca630
only update route location if location is empty. Fixes bug introduced in 18b346def1
10 years ago
Spencer Gibb
18b346def1
update the serviceId and location for statically configured routes that are also part of serviceDiscovery.
...
fixes gh-199
10 years ago
Dave Syer
96335e1d24
Fix broken test
10 years ago
Dave Syer
c9b4761544
More defensive exception handling
10 years ago
Dave Syer
8dd9b830e0
Add logic for servlet prefix in ProxyRouteLocator
...
If the ServerProperties contain a servletPath then the handler mapping
does not contain that prefix, but the incoming request URI does. This leads
to some interesting prefix stripping gymnastics. All the existing tests
assumed that the prefix was empty (the default for a Spring boot app).
See gh-199
10 years ago
Dave Syer
6f569976e8
Avoid NPE if discovery is not available yet
10 years ago
Spencer Gibb
06d0bbe779
add netflixoss bintray
10 years ago
Spencer Gibb
94b0b7b692
add additional /hystrix.stream endpoint integration test
10 years ago
Spencer Gibb
27c418825d
Revert "move /hystrix.stream from an endpoint to a servlet"
...
This reverts commit 29bee28db5
.
10 years ago
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
Dave Syer
069afb2a73
Use logback by default in Eureka server
...
Now that blitz4j 1.36.0 is out, with a bit of hackery we can prevent
it from barfing on startup. Seems worth it (and certainly makes
it easier to embed Eureka server).
Fixes gh-3
10 years ago
Dave Syer
be0c2287ae
Documentation for status page and health URL paths
...
The Eureka instance has to provide status page and health check
URLs. We only provide a sensible default if the app is a vanilla
Actuator. This change shows users explicitly how to customize those
settings.
Fixes gh-192
10 years ago
Dave Syer
00a951c1f1
Clarify status of @EnableEurekaClient
...
Fixes gh-194
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
9fb833e4a9
Fix paths in /hystrix HTML pages
...
When running from /hystrix or from / (with a forward) the
webjars and the monitor endpoint need to be resolvable, so
we need to use the FTL macros again.
Fixes gh-193
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
4f39b64f26
Make test Eureka run on port 8761
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
8410b8938a
Fix autconfig class name in renamed package
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
a739884207
added preferIpAddress section to eureka and updated ribbon docs to show what beans are created by default and how to override them.
10 years ago
Spencer Gibb
39eb9815b6
Merge branch 'loadbalancer-builder'
10 years ago
Dave Syer
91e3bee54b
Update some dependencies
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
Dave Syer
b5bd371d8c
Be defiensive about errors getting remote status
10 years ago
Spencer Gibb
01c5b44a18
propagate EnvironmentChangeEvents to archaius dynamic property listenters
...
fixes gh-144
10 years ago
Spencer Gibb
614ec44c04
update sidecare enabled property, make eureka portion of config conditional on eureka on classpath so other DiscoveryClient impls can use it.
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
01abd6d123
removed in favor of github issues
10 years ago
Spencer Gibb
5c84080d62
Upgrade netflix archaius to 0.6.5
...
fixes gh-179
10 years ago
Spencer Gibb
32a9033661
upgrade to netflix eureka to 1.1.147
...
fixes gh-180
10 years ago
Spencer Gibb
49b81607a3
upgrade to netflix hystrix to 1.4.0-RC6
...
fixes gh-182
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