Add health check endpoint to DMI stub
[cps.git] / dmi-plugin-demo-and-csit-stub / dmi-plugin-demo-and-csit-stub-service / src / main / resources / application.yml
index de097a6..73e0c5c 100644 (file)
@@ -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 @@ spring:
             value-serializer: io.cloudevents.kafka.CloudEventSerializer
             client-id: cps-core
 
+management:
+    endpoints:
+        web:
+            exposure:
+                include: health
+
 app:
     ncmp:
         async-m2m: