File tree Expand file tree Collapse file tree
documentation/modules/ROOT/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public class CustomHealthCheck {
127127
128128 @Readiness //<1>
129129 HealthCheck checkURL() {
130- return new UrlHealthCheck(externalURL+"/api/ films/") //<2>
130+ return new UrlHealthCheck(externalURL+"/films/") //<2>
131131 .name("ExternalURL health check").requestMethod(HttpMethod.GET).statusCode(200);
132132 }
133133
@@ -160,7 +160,7 @@ curl -w '\n' localhost:8080/health
160160 "name": "ExternalURL health check",
161161 "status": "UP",
162162 "data": {
163- "host": "GET https://swapi.dev /api/films"
163+ "host": "GET https://swapi.info /api/films"
164164 }
165165 },
166166 {
@@ -219,7 +219,7 @@ curl -w '\n' localhost:8080/health/ready
219219 "name": "ExternalURL health check",
220220 "status": "UP",
221221 "data": {
222- "host": "GET https://swapi.dev /api/films"
222+ "host": "GET https://swapi.info /api/films"
223223 }
224224 },
225225 {
You can’t perform that action at this time.
0 commit comments