Dave Syer
fc0aac3b01
Add paragraph in docs about eureka instance id
...
Fixes gh-63
10 years ago
Dave Syer
0f281bc9e1
Initialize log4j to prevent blitz4j from freaking out
10 years ago
Dave Syer
4e2148d634
Add default value (and log warning) if applicationId is null
...
Fixes gh-86
10 years ago
Dave Syer
aed4369502
Add ignored test to show that blitz4j is not responding
...
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.
Fixes gh-48
10 years ago
Dave Syer
a1ae9673bf
Add ignored test to show that blitz4j is not responding
...
Blitz4j is definitely preventing the log levels from being changed at runtime
through the normal Spring boot channels.
Fixes gh-48
10 years ago
Dave Syer
4a6193e790
Ensure app without Actuator can start
10 years ago
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
10 years ago
Dave Syer
7b270c4b46
Add support for X-Forwarded-Prefix to Zuul proxy
...
Fixes gh-43
10 years ago
Spencer Gibb
9c6474fba1
Make ZuulHandlerMapping @RefreshScope .
...
Handle InstanceRegisteredEvent and RefreshScopeRefreshedEvent in ZuulHandlerMapping rather than ProxyRouteLocator.
Move /routes endpoint out of ZuulHandlerMapping into RoutesEndpoint (because of a problem when I added @RefreshScope to ZuulHandlerMapping)
10 years ago
Dave Syer
5246b93295
Remove reflection hack
10 years ago
Dave Syer
aca1897f85
Compiler warnings
10 years ago
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
10 years ago
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
10 years ago
Dave Syer
7e91b9ea21
Rename some Zuul config keys
...
zuul.route -> zuul.routes
zuul.mapping -> zuul.prefix
10 years ago
Spencer Gibb
e272f8d660
change caches to ConcurrentHashMap
10 years ago
Spencer Gibb
acfecc38ff
renamed Hystrix and Eureka configurations
10 years ago
Spencer Gibb
3a06632301
added @EnableCircuitBreaker deprecated @EnableHystrix .
...
removed classes now in spring-cloud-commons
10 years ago
Spencer Gibb
61ea784300
added @EnableDiscoveryClient , deprecated @EnableEurekaClient
10 years ago
Spencer Gibb
79ceebb1d0
Merge branch 'vanroy-feign-ribbon'
10 years ago
Spencer Gibb
a7c6c88ff0
renamed RibbonLoadBalancerClient to FeignRibbonClient
10 years ago
Spencer Gibb
3d7cc70757
Merge branch 'feign-ribbon' of github.com:VanRoy/spring-cloud-netflix into vanroy-feign-ribbon
10 years ago
Julien Roy
943d1b9bbe
Connect Feign to resilient Ribbon client
10 years ago
Dave Syer
70c3d9e784
Ensure user-suppplied ZuulFilters are added properly
...
Bean instantiation ordering was causing external (user-supplied)
filter beans to replace the defaults, not append to them. Separating
out the autowired map of beans into a spearate class was enough to
fix it.
Fixes gh-78
10 years ago
Spencer Gibb
9add6f1edf
don't send an entity on DELETE's through RibbonRoutingFilter
...
fixes gh-73
10 years ago
Spencer Gibb
c28b3252fb
added a get to the same path as a delete
10 years ago
Spencer Gibb
f79166cb8e
fixed test broken by change in functionality in ZuulHandlerMapping.reset
10 years ago
Spencer Gibb
c0903c5a22
add pkg protected resetRoutes so new mappings can be created via post to /routes
10 years ago
Dave Syer
8e16789ee3
/route -> /routes
10 years ago
Dave Syer
ddf7edebf9
/proxy/routes -> /routes
10 years ago
Dave Syer
de4822e801
Add test for DELETE on zuul proxy route
...
Also adds support for context paths in physical URL mappings, e.g.
zuul.route.http\://localhost\:8081/app=/stores/**
will result in a proxy forward of /stores/foo to
http://localhost:8081/app/stores/foo
Fixes gh-73
10 years ago
Dave Syer
9c6566bc9b
Explicitly allow all HTTP methods in ZuulController
10 years ago
Dave Syer
45420b9618
Remove debug logging (use /trace instead)
10 years ago
Dave Syer
065d91fdbe
Allow user to map physical routes in zuul.route
...
E.g.
zuul:
route:
testclient: /testing123/** # service mapping
http://localhost:8081 : /stores/** # physical mapping
10 years ago
Dave Syer
ce1fcb1552
Remove ugly depednency on Environment
...
You can bind to a Map<String,String> with application.yml, so there's
no need to work so hard to extract the zuul routes.
10 years ago
Dave Syer
243e163de4
Add JMX and MVC endpoints to ZuulHandlerMapping
...
User can now list routes with /zuul/routes and reset with a
POST.
Fixes gh-75
10 years ago
Dave Syer
05fe175223
Move field injection into @Configuration
10 years ago
Dave Syer
cee619d4ff
Fix travis build script
10 years ago
Spencer Gibb
9bc8a5039d
Fire InstanceRegisterEvent after eureka registration, then components can listen for that event and safely access DiscoveryClient.
10 years ago
Spencer Gibb
a3ce593bf6
ignore test till fixed
10 years ago
Spencer Gibb
760429b64f
ignore test till fixed
10 years ago
Spencer Gibb
98f37d36d8
added simple python http server as a test non-jvm app
10 years ago
Spencer Gibb
198cb5997b
updated sidecar so the health and info urls go to sidecar, but homepage and non-secure-port go to local app
10 years ago
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
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
Dave Syer
7c4e3100ca
Fix pull request builds
10 years ago
Spencer Gibb
f14297ceb2
initial sidecar implementation
10 years ago
Spencer Gibb
c8c8b6d0f6
Merge pull request #71 from spring-cloud/netflix-versions
...
update versions of netflix libs
10 years ago
Spencer Gibb
dfaad78ddb
update versions of netflix libs
10 years ago
Spencer Gibb
e51f0cae37
add zuul-server to dep mgmt
10 years ago
Spencer Gibb
79db27226f
added documentation for zuul options.
...
fixes gh-68
10 years ago