Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
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
DEMO
spring-boot
Commits
84b689ce
Commit
84b689ce
authored
Jul 20, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3561 from izeye/docs-20150720
* pr/3561: Polish docs
parents
3e262730
672281c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+6
-0
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+3
-3
No files found.
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
84b689ce
...
...
@@ -680,6 +680,12 @@ content into your application; rather pick only the properties that you need.
endpoints.trace.id=trace
endpoints.trace.sensitive=true
endpoints.trace.enabled=true
# HYPERMEDIA ENDPOINTS
endpoints.docs.enabled=false
endpoints.docs.curies.enabled=false
endpoints.hal.enabled=true
endpoints.links.enable=true
# ENDPOINTS CORS CONFIGURATION ({sc-spring-boot-actuator}/autoconfigure/MvcEndpointCorsProperties.{sc-ext}[MvcEndpointCorsProperties])
endpoints.cors.allow-credentials= # set whether user credentials are support. When not set, credentials are not supported.
...
...
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
84b689ce
...
...
@@ -173,15 +173,15 @@ with links to all the endpoints. The "`discovery page`" is actually an endpoint
so it can be disabled along with the rest of the hypermedia by setting
`endpoints.links.enabled=false`. If it is not explicitly disabled the links
endpoint renders a JSON object with a link for each other endpoint, and the default
path is the same as the `management.conte
n
t-path` (so "`/`" by default).
path is the same as the `management.conte
x
t-path` (so "`/`" by default).
NOTE:
i
f there is a static home page ("`index.html`") in your application and the links
NOTE:
I
f there is a static home page ("`index.html`") in your application and the links
endpoint is registered with its default path ("`/`") then content negotiation will kick in
to determine which content is shown to a client that requests the home page (the
links will show only if the client accepts `application/json`).
If the https://github.com/mikekelly/hal-browser[HAL Browser] is on the classpath
via its webjar (`org.webjars:hal-browser`), or via the `spring-data-hal-browser` then
via its webjar (`org.webjars:hal-browser`), or via the `spring-data-
rest-
hal-browser` then
the default home page for HTML clients will be the HAL Browser. This is also exposed via
an endpoint ("`hal`") so it can be disabled and have its path explicitly configured like
the other endpoints.
...
...
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