Dave Syer
00a951c1f1
Clarify status of @EnableEurekaClient
...
Fixes gh-194
2015-02-04 15:50:18 +01:00
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
2015-02-04 15:02:49 +01:00
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.
2015-02-03 12:13:21 +01:00
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.
2015-01-29 17:40:56 +00:00
Dave Syer
e100207e8a
Clarify and document some Feign stuff
2015-01-29 17:39:59 +00:00
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.
2015-01-29 09:55:17 -07:00
Spencer Gibb
f1bd9bdfaa
Merge branch 'polish' of https://github.com/philwebb/spring-cloud-netflix into philwebb-polish
...
Conflicts:
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignClient.java
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignClientScan.java
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/RibbonRoutingFilter.java
spring-cloud-netflix-turbine-amqp/src/test/java/org/springframework/cloud/netflix/turbine/amqp/AggregatorTest.java
2015-01-15 11:04:47 -07:00
Dave Syer
e2e09c4616
Default turbine.amqp.port to server.port and allow Actuator endpoints
...
This change adds an ApplicationListener that sets some high priority
properties in the Environment to allow server.port and management.port
to keep their usual meaning, but have server.port apply only to turbine.
Actuator endpoints can be enabled with management.port (different to
server.port otherwise there will be a conflict between Netty and Tomcat).
Fixes gh-143, fixes gh-140
2015-01-15 15:34:58 +00:00
Phillip Webb
be436279cf
Polish POM files
2015-01-14 13:04:26 -08:00
Dave Syer
33b05a5018
Add docs for Ribbon and Feign
2014-12-26 14:55:13 +00:00
Spencer Gibb
f2c112f9ad
updated turbine docs to show the need to uppercase turbine.aggregator.clusterConfig
...
fixes gh-84
2014-12-19 14:48:38 -07:00
Spencer Gibb
e7956e199e
updated feign docs to use new @FeignClient*
...
fixes gh-111
2014-12-18 12:04:27 -07:00
Roy Clarkson
75ff9540bb
Fix typos in README
2014-12-16 12:28:38 -06:00
Dave Syer
311d87885c
Re-instate @EnableZuulServer and simplifiy configuration a bit
...
With this change users can elect not to install the proxy features
but still have a Zuul server with @Beans of type ZuulFilter added
automatically.
Fixes gh-104
2014-12-16 09:00:28 +00:00
Dave Syer
16c25a2875
Clarify that path to dashboard doesn't require "index.html"
...
See gh-51
2014-12-12 11:34:15 +00:00
Dave Syer
a2fade98a5
Change docs path in README
2014-12-11 15:41:36 +00:00
Roy Clarkson
64c447f0cb
Fix Travis CI image and link in README
2014-12-10 13:50:26 -06:00
Spencer Gibb
b7db65863f
rename FeignConfigurer to FeignConfiguration
...
fixes gh-91
2014-12-05 12:23:02 -07:00
Dave Syer
fc0aac3b01
Add paragraph in docs about eureka instance id
...
Fixes gh-63
2014-12-04 18:00:54 +00:00
Dave Syer
dfae445499
Strip prefixes from zuul routes by default
...
The default behaviour is now to strip the prefixes (global and
route-specific) by default. E.g.
zuul:
prefix: /api
routes:
customers: /customers/**
Will forward /api/customers/101 to /101 on the customers service
See gh-43
2014-12-04 11:55:57 +00:00
Dave Syer
2cdcd767ac
Move some of the routing logic into the route locator
...
We now support prefix stripping per service, e.g.
zuul:
routes:
customers:
path: /customers/**
stripPrefix: true
Will route /customers/101 -> /101 (on the customers service)
See gh-77
2014-12-03 10:51:17 +00:00
Dave Syer
34f277b816
Add ZuulRoute as values object in zuul.routes
...
User can now specify zuul.routes.*.{path,url,serviceId} (with
"url" and "serviceId" mutually exclusive (and "location" is a
synonym) separately, or can use a one-one short form, like the
old style.
See gh-77
2014-12-03 10:31:09 +00: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
Spencer Gibb
79db27226f
added documentation for zuul options.
...
fixes gh-68
2014-11-24 11:26:37 -07:00
Dave Syer
d2cfcb0c2d
Fix formatting
2014-11-22 17:01:21 +00:00
Scott Frederick
151ae8e6e1
Fixed formatting in docs.
2014-11-20 12:56:25 -06:00
Dave Syer
ed053e9b9b
Add contributing section to README
2014-11-17 10:29:14 +00: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
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
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
Dave Syer
c67caa2b2f
Update README with building section
2014-10-31 15:59:33 +00: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
Christian Dupuis
d715ec570f
Add paragraph to documentation about Hystrix /health endpoint
2014-10-28 13:10:16 +01: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
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
df0d44d153
Update docs and tests for /eureka path
2014-10-23 06:56:53 -07:00
Spencer Gibb
33b3b52170
added travis build status to readme
2014-10-20 14:41:15 -06:00
Dave Syer
f934b88a76
Ensure eureka client has a default zone with a serviceUrl
2014-10-17 18:05:46 +01:00
Dave Syer
49db709de9
Simplify README generator
2014-10-14 13:05:01 +01:00
Dave Syer
8eae5fb52a
Add docs for Eureka server as executable JAR
2014-10-07 10:50:04 +01:00
Dave Syer
3dd15621dc
Move docs to submodule for multi-module projects
2014-10-06 15:02:28 +01:00