Add message that WebGoat should be running while detecting datasource

This commit is contained in:
Nanne Baars 2021-12-22 15:57:39 +01:00
parent 969335f2f6
commit 44ab36aa1b
No known key found for this signature in database
GPG Key ID: A6D6C06FE4EC14E7

View File

@ -94,7 +94,7 @@ public class DataSourceResolver {
}
public void healthCheck(RestTemplate restTemplate) {
log.info("Checking database availability.");
log.info("Checking database availability (make sure WebGoat is running)...");
JsonNode json = restTemplate.getForObject(baseUrl + dbHealthPath, JsonNode.class);
String status = getDsHealthStatus(json);
if (!status.equals("UP")) {