Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
$ # s3 = s2 + spring-boot-starter-restclient (the only thing the start-up failure asked for). Flyway, properties and the rest still Boot 3 style.
|
|
$ mvn -DskipTests package
|
|
[INFO] BUILD SUCCESS
|
|
|
|
$ java -jar migration-demo-1.0.0.jar
|
|
GET /summary
|
|
{"author":"ankur","createdAt":"2026-01-02T03:04:05Z","id":1,"title":"Hello"} -> HTTP 200
|
|
GET /greetings/1
|
|
{"id":1,"title":"Hello #1","createdAt":"2026-01-02T03:04:05Z","author":"ankur"} -> HTTP 200
|
|
GET /greetings/count
|
|
{"timestamp":"2026-10-29T05:55:01.660Z","status":500,"error":"Internal Server Error","path":"/greetings/count"} -> HTTP 500
|
|
GET /aspect
|
|
{"interceptions":1} -> HTTP 200
|
|
GET /gateway
|
|
{"client":"DefaultRestClient"} -> HTTP 200
|
|
GET /actuator/metrics (first 60 chars)
|
|
{"names":["application.ready.time","application.started.time
|
|
GET /actuator/health (groups and status only)
|
|
groups=['liveness', 'readiness'] status=UP components=['db', 'diskSpace', 'livenessState', 'ping', 'readinessState', 'ssl']
|
|
GET /actuator/health/liveness
|
|
-> HTTP 200
|
|
root cause of that 500 in the application log:
|
|
Table "GREETING" not found
|
|
Flyway log lines at start-up: 0
|
|
after 40 more requests, log directory holds: 1 app.log; (app.log is 54188 bytes; limit set is logging.file.max-size=2KB or its 4.1 replacement)
|