Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
8a7df36d
Commit
8a7df36d
authored
Oct 27, 2016
by
Ryan Baxter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added route config
parent
fe56d962
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+10
-1
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
8a7df36d
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment