commit | 8ddb81392345067e43b9d09b9eab48e29d1403a8 | [log] [tgz] |
---|---|---|
author | danielhanrahan <daniel.hanrahan@est.tech> | Fri Feb 23 10:16:43 2024 +0000 |
committer | Daniel Hanrahan <daniel.hanrahan@est.tech> | Fri Feb 23 10:55:21 2024 +0000 |
tree | 5a16fb5d9a2e32a4a31a67d5ac0b3a51cbfeff7e | |
parent | 79bb5dafbed0e6dd779276ac80ae5549a834bcf5 [diff] [blame] |
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
diff --git a/dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml b/dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml index de097a6..73e0c5c 100644 --- a/dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml +++ b/dmi-plugin-demo-and-csit-stub/dmi-plugin-demo-and-csit-stub-service/src/main/resources/application.yml
@@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (C) 2023 Nordix Foundation +# Copyright (C) 2023-2024 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -36,6 +36,12 @@ value-serializer: io.cloudevents.kafka.CloudEventSerializer client-id: cps-core +management: + endpoints: + web: + exposure: + include: health + app: ncmp: async-m2m: