Add health check endpoint to DMI stub 51/137351/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 23 Feb 2024 10:16:43 +0000 (10:16 +0000)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Fri, 23 Feb 2024 10:55:21 +0000 (10:55 +0000)
commit8ddb81392345067e43b9d09b9eab48e29d1403a8
tree5a16fb5d9a2e32a4a31a67d5ac0b3a51cbfeff7e
parent79bb5dafbed0e6dd779276ac80ae5549a834bcf5
Add health check endpoint to DMI stub

DMI stub health check endpoint /actuator/health is needed
for NCMP to set trust level. Can be verified using:
  curl "http://localhost:8784/actuator/health"
which reports:
  {"status":"UP"}

Issue-ID: CPS-2118
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4477a389a585280d36028b72d280028705e0f8f2
dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/pom.xml
dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml