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
781fa3ea
Commit
781fa3ea
authored
Jul 11, 2017
by
Gregor Zurowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation about the detailed output of the routes endpoint
Signed-off-by:
Gregor Zurowski
<
gregor@zurowski.org
>
parent
a08b661a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+31
-1
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
781fa3ea
...
...
@@ -1656,7 +1656,37 @@ To not discard these well known security headers in case Spring Security is on t
If
you
are
using
`@
EnableZuulProxy
`
with
tha
Spring
Boot
Actuator
you
will
enable
(
by
default
)
an
additional
endpoint
,
available
via
HTTP
as
`/
routes
`.
A
GET
to
this
endpoint
will
return
a
list
of
the
mapped
routes
.
A
POST
will
force
a
refresh
of
the
existing
routes
(
e
.
g
.
in
routes
:
.
GET
/
routes
[
source
,
json
]
----
{
/
stores
/**:
"http://localhost:8081"
}
----
Additional
route
details
can
be
requested
by
adding
the
`?
format
=
details
`
query
string
to
`/
routes
`.
This
will
produce
the
following
output
:
.
GET
/
routes
?
format
=
details
[
source
,
json
]
----
{
"/stores/**"
:
{
"id"
:
"stores"
,
"fullPath"
:
"/stores/**"
,
"location"
:
"http://localhost:8081"
,
"path"
:
"/**"
,
"prefix"
:
"/stores"
,
"retryable"
:
false
,
"customSensitiveHeaders"
:
false
,
"prefixStripped"
:
true
}
}
----
A
POST
will
force
a
refresh
of
the
existing
routes
(
e
.
g
.
in
case
there
have
been
changes
in
the
service
catalog
).
You
can
disable
this
endpoint
by
setting
`
endpoints
.
routes
.
enabled
`
to
`
false
`.
...
...
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