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
3b27427a
Commit
3b27427a
authored
Jun 17, 2014
by
Christian Dupuis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gesellix-healthcheck-docs'
parents
2bff12a7
21846f3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
VanillaHealthIndicator.java
...framework/boot/actuate/health/VanillaHealthIndicator.java
+3
-2
VanillaHealthIndicatorTests.java
...work/boot/actuate/health/VanillaHealthIndicatorTests.java
+2
-2
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/VanillaHealthIndicator.java
View file @
3b27427a
...
...
@@ -17,10 +17,11 @@
package
org
.
springframework
.
boot
.
actuate
.
health
;
/**
* Default implementation of {@link HealthIndicator} that simply returns {@literal "
ok
"}.
*
* Default implementation of {@link HealthIndicator} that simply returns {@literal "
UP
"}.
*
* @author Dave Syer
* @author Christian Dupuis
* @see Status#UP
*/
public
class
VanillaHealthIndicator
extends
AbstractHealthIndicator
{
...
...
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/VanillaHealthIndicatorTests.java
View file @
3b27427a
...
...
@@ -22,13 +22,13 @@ import static org.junit.Assert.assertEquals;
/**
* Tests for {@link VanillaHealthIndicator}.
*
*
* @author Phillip Webb
*/
public
class
VanillaHealthIndicatorTests
{
@Test
public
void
ok
()
throws
Exception
{
public
void
indicatesUp
()
throws
Exception
{
VanillaHealthIndicator
healthIndicator
=
new
VanillaHealthIndicator
();
assertEquals
(
Status
.
UP
,
healthIndicator
.
health
().
getStatus
());
}
...
...
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