Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Updated actuator endpoint configuration (#905)
Browse files Browse the repository at this point in the history
* Updated actuator endpoint configuration

* Added check for info actuator

Co-authored-by: Shawn Sherwood <[email protected]>
  • Loading branch information
shawn-sher and shawn-sher authored Jun 14, 2022
1 parent 5219ea9 commit 789930e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ class TestUtils {
System.out.print("Performing sanity check get on the health check.")
get(baseURI + "/healthcheck").then().statusCode(200)
System.out.println(" Success!")

System.out.print("Ensuring /info path is exposed")
get(baseURI + "/info").then().statusCode(200)
System.out.println(" Success!")

hasBeenConfigured = true
}
}
Expand Down
2 changes: 2 additions & 0 deletions cerberus-web/src/main/resources/cerberus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ management:
web:
basePath: /
pathMapping.health: healthcheck
exposure:
include: [info, health]
endpoint:
info.enabled: true
health.enabled: true
Expand Down

0 comments on commit 789930e

Please sign in to comment.