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
a2494df5
Commit
a2494df5
authored
Jul 25, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
514398e8
64c668f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
10 deletions
+3
-10
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+1
-1
SampleActuatorApplication.java
.../main/java/sample/actuator/SampleActuatorApplication.java
+1
-8
application.properties
...sample-actuator/src/main/resources/application.properties
+1
-1
No files found.
spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
a2494df5
...
@@ -563,7 +563,7 @@ JMX or an HTTP request is converted to the required types using an instance of
...
@@ -563,7 +563,7 @@ JMX or an HTTP request is converted to the required types using an instance of
[[production-ready-endpoints-custom-web]]
[[production-ready-endpoints-custom-web]]
==== Custom Web Endpoints
==== Custom Web Endpoints
Operations on an `@Endpoint`, `@WebEndpoint`, or `@
WebEndpoint
Extension` are automatically
Operations on an `@Endpoint`, `@WebEndpoint`, or `@
EndpointWeb
Extension` are automatically
exposed over HTTP using Jersey, Spring MVC, or Spring WebFlux.
exposed over HTTP using Jersey, Spring MVC, or Spring WebFlux.
...
...
spring-boot-samples/spring-boot-sample-actuator/src/main/java/sample/actuator/SampleActuatorApplication.java
View file @
a2494df5
...
@@ -33,14 +33,7 @@ public class SampleActuatorApplication {
...
@@ -33,14 +33,7 @@ public class SampleActuatorApplication {
@Bean
@Bean
public
HealthIndicator
helloHealthIndicator
()
{
public
HealthIndicator
helloHealthIndicator
()
{
return
new
HealthIndicator
()
{
return
()
->
Health
.
up
().
withDetail
(
"hello"
,
"world"
).
build
();
@Override
public
Health
health
()
{
return
Health
.
up
().
withDetail
(
"hello"
,
"world"
).
build
();
}
};
}
}
}
}
spring-boot-samples/spring-boot-sample-actuator/src/main/resources/application.properties
View file @
a2494df5
...
@@ -18,4 +18,4 @@ spring.jmx.enabled=true
...
@@ -18,4 +18,4 @@ spring.jmx.enabled=true
spring.jackson.serialization.write_dates_as_timestamps
=
false
spring.jackson.serialization.write_dates_as_timestamps
=
false
management.
httptrace.include
=
REQUEST_HEADERS,RESPONSE_HEADERS,PRINCIPAL,REMOTE_ADDRESS,SESSION_ID
management.
trace.http.include
=
request-headers,response-headers,principal,remote-address,session-id
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