Commit Graph

24 Commits

Author SHA1 Message Date
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