Commit Graph

192 Commits

Author SHA1 Message Date
Spencer Gibb
a3ce593bf6 ignore test till fixed 2014-11-25 17:02:43 -07:00
Spencer Gibb
760429b64f ignore test till fixed 2014-11-25 16:56:22 -07:00
Spencer Gibb
98f37d36d8 added simple python http server as a test non-jvm app 2014-11-25 16:46:10 -07:00
Spencer Gibb
198cb5997b updated sidecar so the health and info urls go to sidecar, but homepage and non-secure-port go to local app 2014-11-25 16:44:28 -07:00
Spencer Gibb
dc12c23596 Merge branch 'sidecar'
Conflicts:
	pom.xml
	spring-cloud-netflix-core/src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java
	spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/eureka/EurekaDiscoveryClient.java
2014-11-25 15:51:51 -07:00
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
2014-11-25 15:48:30 -07:00
Dave Syer
7c4e3100ca Fix pull request builds 2014-11-25 09:48:32 +00:00
Spencer Gibb
f14297ceb2 initial sidecar implementation 2014-11-25 01:06:47 -07:00
Spencer Gibb
c8c8b6d0f6 Merge pull request #71 from spring-cloud/netflix-versions
update versions of netflix libs
2014-11-24 23:50:52 -07:00
Spencer Gibb
dfaad78ddb update versions of netflix libs 2014-11-24 23:42:59 -07:00
Spencer Gibb
e51f0cae37 add zuul-server to dep mgmt 2014-11-24 23:26:29 -07:00
Spencer Gibb
79db27226f added documentation for zuul options.
fixes gh-68
2014-11-24 11:26:37 -07:00
Dave Syer
230efab8d9 Exclude groovy-all from zuul 2014-11-24 11:51:07 +00:00
Dave Syer
d2cfcb0c2d Fix formatting 2014-11-22 17:01:21 +00:00
Spencer Gibb
162eb1a2e2 allow ipAddress to be used based on ribbon.UseIPAddrForServer.
fixes gh-67
2014-11-21 15:24:38 -07:00
Spencer Gibb
b6426e1bb4 Merge pull request #66 from scottfrederick/docs
Fixed formatting in docs.
2014-11-21 11:10:13 -07:00
Dave Syer
dde3055b6c Exclude event-bus (optional dependency) 2014-11-21 11:56:11 +00:00
Dave Syer
7b325044c1 Update wro4j to run in Eclipse 2014-11-21 09:32:12 +00:00
Scott Frederick
151ae8e6e1 Fixed formatting in docs. 2014-11-20 12:56:25 -06:00
Spencer Gibb
acaf2d2047 Only set ribbon properties if they are not already set.
fixes gh-45
2014-11-19 13:10:00 -07:00
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
2014-11-17 14:46:56 +00:00
Dave Syer
ed053e9b9b Add contributing section to README 2014-11-17 10:29:14 +00:00
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
2014-11-13 18:11:17 -07:00
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
2014-11-13 10:22:56 +00:00
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