Commit 8a7df36d by Ryan Baxter

Added route config

parent fe56d962
...@@ -1618,7 +1618,7 @@ as a fallback. Here is a very simple `ZuulFallbackProvider` implementation. ...@@ -1618,7 +1618,7 @@ as a fallback. Here is a very simple `ZuulFallbackProvider` implementation.
class MyFallbackProvider implements ZuulFallbackProvider { class MyFallbackProvider implements ZuulFallbackProvider {
@Override @Override
public String getRoute() { public String getRoute() {
return "zuulserver"; return "customers";
} }
@Override @Override
...@@ -1660,6 +1660,15 @@ class MyFallbackProvider implements ZuulFallbackProvider { ...@@ -1660,6 +1660,15 @@ class MyFallbackProvider implements ZuulFallbackProvider {
} }
---- ----
And here is what the route configuration would look like.
[source,yaml]
----
zuul:
routes:
customers: /customers/**
----
=== Polyglot support with Sidecar === Polyglot support with Sidecar
Do you have non-jvm languages you want to take advantage of Eureka, Ribbon and Do you have non-jvm languages you want to take advantage of Eureka, Ribbon and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment