Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ curl http://localhost:8080/actuator/info -i -X GET

Expand
titleExample output
Code Block
languagejson
{
  "git": {
    "commit": {
      "message": {
        "short": "

...

Sample Commit from CPS Team"
      },
      "user": {
        "name": "

...

cpsteam",
        "email": "

...

CPSTeam@est.

...

tech"
      },
      "id": {
        "full": "

...

sample-commit-id-hash-which-can-be-copied-and-code-can-be-checked-out"
      }
    },
    "branch": "

...

master",
    "build": {
      "time": "2024-11-06T16:03:37.037Z",
      "version": "3.5.5-SNAPSHOT"
    }
  }
}

Health: /actuator/health

The set of endpoints providing the current status of various components and the application in general.

...