Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit ffd9f76

Browse files
committed
fixed routing errors.
1 parent 98a14cb commit ffd9f76

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>org.projectlombok</groupId>
4343
<artifactId>lombok</artifactId>
44-
<version>LATEST</version>
44+
<version>1.18.12</version>
4545
</dependency>
4646

4747
<!-- tag::spring-hateoas[] -->

src/main/java/de/filefighter/rest/health/rest/HealthRestController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
@RestController
1111
@Api(value = "System Health", tags = { "SystemHealth" })
12-
@RequestMapping("/health")
1312
public class HealthRestController {
1413

1514
private final HealthRestInterface healthRestService;
@@ -18,7 +17,7 @@ public HealthRestController(HealthRestInterface healthRestService) {
1817
this.healthRestService = healthRestService;
1918
}
2019

21-
@GetMapping("/")
20+
@GetMapping("/health")
2221
public EntityModel<SystemHealth> getSystemHealthInfo(){
2322
return healthRestService.getSystemHealth();
2423
}

0 commit comments

Comments
 (0)