Unverified Commit 72ccf2e6 by Ryan Baxter Committed by Spencer Gibb

Added route config

parent 3df42159
...@@ -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