Skip to content

Commit

Permalink
change actuator url
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Huisman committed Nov 19, 2024
1 parent 85ba773 commit e8ff660
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ management:
endpoints:
enabled-by-default: true
web:
base-path: /monitor
exposure:
include: '*'
2 changes: 1 addition & 1 deletion src/test/java/nl/ictu/TestingWebApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void contextLoads() {
public void testActuatorHealthEndpoint() throws Exception {
assertThat(
restTemplate
.getForObject("http://localhost:" + actuatorPort + "/monitor/health", String.class)
.getForObject("http://localhost:" + actuatorPort + "/actuator/health", String.class)
).contains("{\"status\":\"UP\"}");
}

Expand Down

0 comments on commit e8ff660

Please sign in to comment.