Polish
This commit is contained in:
committed by
Andy Wilkinson
parent
bcbf7b5511
commit
bfa291f671
@@ -1022,7 +1022,7 @@ content into your application; rather pick only the properties that you need.
|
||||
endpoints.flyway.sensitive= # Mark if the endpoint exposes sensitive information.
|
||||
endpoints.health.enabled= # Enable the endpoint.
|
||||
endpoints.health.id= # Endpoint identifier.
|
||||
endpoints.health.mapping.*= # Mapping of health statuses to HttpStatus codes. By default, registered health statuses map to sensible defaults (i.e. UP maps to 200).
|
||||
endpoints.health.mapping.*= # Mapping of health statuses to HTTP status codes. By default, registered health statuses map to sensible defaults (i.e. UP maps to 200).
|
||||
endpoints.health.path= # Endpoint path.
|
||||
endpoints.health.sensitive= # Mark if the endpoint exposes sensitive information.
|
||||
endpoints.health.time-to-live=1000 # Time to live for cached result, in milliseconds.
|
||||
|
||||
@@ -2061,7 +2061,7 @@ respectively.
|
||||
Spring Data REST can expose the `Repository` implementations as REST endpoints for you as
|
||||
long as Spring MVC has been enabled for the application.
|
||||
|
||||
Spring Boot exposes as set of useful properties from the `spring.data.rest` namespace that
|
||||
Spring Boot exposes a set of useful properties from the `spring.data.rest` namespace that
|
||||
customize the
|
||||
{spring-data-rest-javadoc}/core/config/RepositoryRestConfiguration.{dc-ext}[`RepositoryRestConfiguration`].
|
||||
If you need to provide additional customization, you should use a
|
||||
|
||||
@@ -397,7 +397,7 @@ to your application properties:
|
||||
The HTTP status code in the response reflects the overall health status (e.g. `UP`
|
||||
maps to 200, `OUT_OF_SERVICE` or `DOWN` to 503). You might also want to register custom
|
||||
status mappings with the `HealthMvcEndpoint` if you access the health endpoint over HTTP.
|
||||
For example, the following maps `FATAL` to `HttpStatus.SERVICE_UNAVAILABLE`:
|
||||
For example, the following maps `FATAL` to 503 (service unavailable):
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
|
||||
@@ -1876,7 +1876,7 @@ can be achieved as follows:
|
||||
You can also customize the static resource locations using
|
||||
`spring.resources.static-locations` (replacing the default values with a list of directory
|
||||
locations). If you do this the default welcome page detection will switch to your custom
|
||||
locations, so if there is an `index.html` in any of your locations on startup, it will be
|
||||
locations. So if there is an `index.html` in any of your locations on startup, it will be
|
||||
the home page of the application.
|
||||
|
||||
In addition to the '`standard`' static resource locations above, a special case is made
|
||||
|
||||
Reference in New Issue
Block a user