Commit Graph

168 Commits

Author SHA1 Message Date
Dave Syer
dc1aab94eb Use interfaces for Eureka config 2014-11-11 15:19:59 +00:00
Dave Syer
88db9976c6 Move hystrix templates to /hystrix/* 2014-11-10 13:55:11 +00:00
Spencer Gibb
8c8844f34d Use spring ReflectionUtils to find zuul HttpServletRequestWrapper field 2014-11-06 11:58:53 -07:00
Spencer Gibb
8b2254a338 Register a HealthCheckHandler on DiscoveryClient if there is a HealthCheckHandler bean registered.
fixes gh-50
2014-11-05 19:11:35 -07:00
Spencer Gibb
c752cc31db fix logging of initial eureka status 2014-11-05 18:54:14 -07:00
Spencer Gibb
de9af2b4df Added eureka.instance.initial-status to customize the starting status.
fixes gh-53
2014-11-05 18:42:20 -07:00
Spencer Gibb
0f573dfe94 Added notes about how to configure @HystrixCommand and where to go to find out more information.
fixes gh-58
2014-11-05 18:18:04 -07:00
Spencer Gibb
1cd06e657e Don't swallow execeptions with zuul by reusing the spring boot error facilities.
fixes gh-40
2014-11-05 18:08:23 -07:00
Spencer Gibb
f215c52f3c updated docs to reflect that feign will now handle Generics 2014-11-05 13:37:19 -07:00
Spencer Gibb
8756a88878 allow feign to decode parameterized types. Added SpringDecoderTests.
fixes gh-57
2014-11-05 13:28:15 -07:00
Dave Syer
bebcf66041 Add some documentation on DiscoveryClient
and how to use it. In particular you can't use it before the
ApplicationContext is past phase=0 of lifecycle startup.

Fixes gh-48
2014-11-05 17:25:34 +00:00
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
2014-11-05 16:59:09 +00:00
Dave Syer
5ef304a4e8 Make sure /hystrix.stream has the correct path
Fixes gh-52
2014-11-05 15:23:14 +00:00
Dave Syer
af1278a472 Ensure static resources load from relative paths
Most browsers support <base href="..."> these days and there
was one already in statut.ftl (but not in navbar). Added a test
that asserts the css is loadable as well.

Fixes gh-55
2014-11-05 14:47:24 +00:00
Spencer Gibb
e2e193eaa7 added support for standalone zuul server with @EnableZuulServer.
Removed old zuul module.

fixes gh-14
2014-11-04 15:17:35 -07:00
Spencer Gibb
eba7f0dac3 move SpringClientFactory bean creation to RibbonAutoConfiguration where it should have been in the first place.
fixes gh-35
2014-11-03 12:41:00 -07:00
Dave Syer
9768a76bf5 Update README 2014-10-31 16:17:30 +00:00
Dave Syer
c67caa2b2f Update README with building section 2014-10-31 15:59:33 +00:00
Spencer Gibb
7a7dffad6a make FeignAutoConfiguration conditional on class Feign.class 2014-10-30 19:53:17 -06:00
Spencer Gibb
ce5b1bbbfb allow customization of turbine clusterName via SPEL expression in applcation.properties.
Fixes gh-49
2014-10-30 19:41:53 -06:00
Spencer Gibb
766ac6b852 add a bit of turbine documentation 2014-10-30 18:38:27 -06:00
Spencer Gibb
33aec89b58 remove unneeded deps 2014-10-30 18:13:24 -06:00
Spencer Gibb
d189369015 polish 2014-10-30 18:13:00 -06:00
Christian Dupuis
f143c78212 Re-added lost import (what happened Eclipse?) 2014-10-30 13:20:19 +01:00
Christian Dupuis
1ddda3ea78 Polish 2014-10-30 13:15:57 +01:00
Christian Dupuis
4390b79501 Retrieve servo metrics directly instead of grabbing them from JMX
fixes #16
2014-10-30 13:14:34 +01:00
Dave Syer
c4a53a5233 Use injected ConfigClientProperties to set defaults 2014-10-30 11:44:03 +00:00
Dave Syer
1f2beba00d Add some @Conditionals to enable non-netflix apps to start 2014-10-30 07:29:00 +00:00
Christian Dupuis
d715ec570f Add paragraph to documentation about Hystrix /health endpoint 2014-10-28 13:10:16 +01:00
Christian Dupuis
77b6641ac1 Introduced a new status for open circuits in the /health endpoint 2014-10-28 12:57:56 +01:00
Christian Dupuis
cbec02092f Add Hystrix HealthIndicator 2014-10-28 11:09:35 +01:00
Dave Syer
b533ad3bb2 Switch to spring.cloud.config.bootstrap.enabled=true
To enable EUreka-first bootstrap.

See gh-42
2014-10-26 15:35:11 +00:00
Dave Syer
46e6d24aa8 Add basic authentication for config server
Fixes gh-42
2014-10-26 14:41:20 +00:00
Dave Syer
8ff3462ad8 Add bootstrap configuration for eureka-first
See gh-42
2014-10-26 14:40:48 +00:00
Dave Syer
dd967120aa Add eureka peer awareness docs
It works quite well locally actually. I tested with hostnames
127.0.0.1 and 127.0.1.1 and 2 servers running on localhost.

See gh-28
2014-10-24 16:29:57 +01:00
Dave Syer
7c67fe28bc Remove references to starters in spring-cloud-netflix
Fixes gh-46
2014-10-23 12:48:43 -07:00
Dave Syer
83ed396939 Add back trace filter 2014-10-23 11:57:41 -07:00
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
2014-10-23 11:16:39 -07:00
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
2014-10-23 10:39:15 -07:00
Dave Syer
f99b9935fb Remove unecessary Boot 1.1.5 artifacts
See gh-39
2014-10-23 07:36:28 -07:00
Dave Syer
df0d44d153 Update docs and tests for /eureka path 2014-10-23 06:56:53 -07:00
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
2014-10-23 06:47:08 -07:00
Dave Syer
9e142bf73b InstanceInfo unmarshalling has to be at a lower level 2014-10-22 10:22:40 -07:00
Dave Syer
8db14f042d Extract ID from instance info 2014-10-22 08:18:14 -07:00
Dave Syer
8d8f6937e5 Use instanceId for server id if available 2014-10-21 19:13:41 -07:00
Dave Syer
fa4d970015 Tweaks 2014-10-21 03:53:50 -07:00
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)
2014-10-20 17:16:20 -07:00
Dave Syer
66b4d4c6b5 Tidy up generics a bit 2014-10-20 17:16:20 -07:00
Spencer Gibb
1e12b7456e Add Feign support for Spring MVC parameter and header annotations.
Specifically RequestParam, PathVariable and RequestHeader

 fixes gh-36
2014-10-20 18:07:56 -06:00
Spencer Gibb
31732b2100 Merge branch 'ribbon2' 2014-10-20 14:41:32 -06:00