Spencer Gibb
a3ce593bf6
ignore test till fixed
10 years ago
Spencer Gibb
75addf04d3
change zuul implementation to be controller/handler mapping based.
...
This allows mappings to be at the root and not have to be prefixed. It also allows mappings to fall through to other handler mappings. Patterns are now Ant-style via AntPathMatcher.
fixes gh-72
10 years ago
Spencer Gibb
f14297ceb2
initial sidecar implementation
10 years ago
Spencer Gibb
dfaad78ddb
update versions of netflix libs
10 years ago
Spencer Gibb
162eb1a2e2
allow ipAddress to be used based on ribbon.UseIPAddrForServer.
...
fixes gh-67
10 years ago
Dave Syer
dde3055b6c
Exclude event-bus (optional dependency)
10 years ago
Spencer Gibb
acaf2d2047
Only set ribbon properties if they are not already set.
...
fixes gh-45
10 years ago
Dave Syer
d2988b2179
Add metadata to Eureka entry for config server
...
If the prefix is set we also set configPath=<prefix> in the
instance metadata, so config clients can pick it up and add it
to the home page URL.
Fixes gh-64, fixes gh-65
10 years ago
Spencer Gibb
eba0cc0b7a
Use Ribbon LoadBalancerContext to record statistics of an execution.
...
Added LoadBalancerClient.reconstructURI to take an URI with the service as hostname and inject a real host and port.
Added tests for RibbonInterceptor and RibbonLoadBalancerClient.
fixes gh-37
10 years ago
Dave Syer
5cd88deb38
Use custom DataCenterInfo to make instance ID unique
...
The problem manifests itself as errors in the Eureka server
log (gh-47), but originates in the client because it is sending
requests to /eureka/apps/{NAME}/{ID} with the wrong ID. The
InstanceInfo has an ID that is derived (for preference) from
the EurekaInstanceConfig.dataCenterInfo, so that's the best
way to fix it.
See gh-63, Fixes gh-47
10 years ago
Dave Syer
dc1aab94eb
Use interfaces for Eureka config
10 years ago
Spencer Gibb
8c8844f34d
Use spring ReflectionUtils to find zuul HttpServletRequestWrapper field
10 years ago
Spencer Gibb
8b2254a338
Register a HealthCheckHandler on DiscoveryClient if there is a HealthCheckHandler bean registered.
...
fixes gh-50
10 years ago
Spencer Gibb
c752cc31db
fix logging of initial eureka status
10 years ago
Spencer Gibb
de9af2b4df
Added eureka.instance.initial-status to customize the starting status.
...
fixes gh-53
10 years ago
Spencer Gibb
1cd06e657e
Don't swallow execeptions with zuul by reusing the spring boot error facilities.
...
fixes gh-40
10 years ago
Spencer Gibb
8756a88878
allow feign to decode parameterized types. Added SpringDecoderTests.
...
fixes gh-57
10 years ago
Dave Syer
d944145ce3
Make hystrix dashboard work with a context path
...
I didn't see a way to do this without dynamic rendering, so
now we have a freemarker dependency (not huge I guess).
Fixes gh-51
10 years ago
Dave Syer
5ef304a4e8
Make sure /hystrix.stream has the correct path
...
Fixes gh-52
10 years ago
Spencer Gibb
e2e193eaa7
added support for standalone zuul server with @EnableZuulServer .
...
Removed old zuul module.
fixes gh-14
10 years ago
Spencer Gibb
eba7f0dac3
move SpringClientFactory bean creation to RibbonAutoConfiguration where it should have been in the first place.
...
fixes gh-35
10 years ago
Spencer Gibb
7a7dffad6a
make FeignAutoConfiguration conditional on class Feign.class
10 years ago
Spencer Gibb
ce5b1bbbfb
allow customization of turbine clusterName via SPEL expression in applcation.properties.
...
Fixes gh-49
10 years ago
Spencer Gibb
33aec89b58
remove unneeded deps
10 years ago
Spencer Gibb
d189369015
polish
10 years ago
Christian Dupuis
f143c78212
Re-added lost import (what happened Eclipse?)
10 years ago
Christian Dupuis
1ddda3ea78
Polish
10 years ago
Christian Dupuis
4390b79501
Retrieve servo metrics directly instead of grabbing them from JMX
...
fixes #16
10 years ago
Dave Syer
c4a53a5233
Use injected ConfigClientProperties to set defaults
10 years ago
Dave Syer
1f2beba00d
Add some @Conditionals to enable non-netflix apps to start
10 years ago
Christian Dupuis
77b6641ac1
Introduced a new status for open circuits in the /health endpoint
10 years ago
Christian Dupuis
cbec02092f
Add Hystrix HealthIndicator
10 years ago
Dave Syer
b533ad3bb2
Switch to spring.cloud.config.bootstrap.enabled=true
...
To enable EUreka-first bootstrap.
See gh-42
10 years ago
Dave Syer
46e6d24aa8
Add basic authentication for config server
...
Fixes gh-42
10 years ago
Dave Syer
8ff3462ad8
Add bootstrap configuration for eureka-first
...
See gh-42
10 years ago
Dave Syer
35d02f75ae
Switch eureka endpoint to /eureka
...
All static content is excluded in the Jersey config, so we can use
/eureka for the prefix to the Eureka API (i.e. /apps etc.)
Fixes gh-44
10 years ago
Dave Syer
cce52424af
Add ArchaiusEndpoint (/archaius) to inspect native Netflix config
...
Unfortunately only properties that have been set show up (unlike
/configprops), but possibly better than nothing. You can see some
in the Eureka server or in the customers sample (once it has
tries to contact the stores service and Ribbon is up and running).
Fixes gh-38
10 years ago
Dave Syer
5055b46e24
Change default eureka path
...
/v2/* -> /eureka/api/*
The prefix can't be /eureka because we use that for static
resources. Note that the "api" prefix gets passed to the
Jersey resources as a "version" (and defaults to "v2" when
it can't be parsed).
Fixes gh-41
10 years ago
Dave Syer
9e142bf73b
InstanceInfo unmarshalling has to be at a lower level
10 years ago
Dave Syer
8db14f042d
Extract ID from instance info
10 years ago
Dave Syer
8d8f6937e5
Use instanceId for server id if available
10 years ago
Dave Syer
fa4d970015
Tweaks
10 years ago
Dave Syer
cf6152821e
Move @Autowired into @Configuration
...
I prefer to keep the actual components free of autowiring, so they
are easier to navigate in an IDE (i.e. you can see how they are
constructed)
10 years ago
Dave Syer
66b4d4c6b5
Tidy up generics a bit
10 years ago
Spencer Gibb
1e12b7456e
Add Feign support for Spring MVC parameter and header annotations.
...
Specifically RequestParam, PathVariable and RequestHeader
fixes gh-36
10 years ago
Spencer Gibb
166ab38882
make stripMapping default to true to not change the current functionality
10 years ago
Spencer Gibb
f38ccc352b
updated to ribbon 2.0-RC9
10 years ago
Spencer Gibb
948b176cb0
Add loadBalancerRequest so that LoadBalancerStats().incrementNumRequests can be called after
10 years ago
Spencer Gibb
07a66fe8b9
updated test to match class
10 years ago
Spencer Gibb
50b1c48283
renamed ServerListInitializer to RibbonClientPreprocessor as it is a bit more descriptive
10 years ago