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
<!--
============LICENSE_START=======================================================
<!--
============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.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
</exclusions>
<scope>compile</scope>
</dependency>
</exclusions>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<artifactId>cps-ncmp-rest</artifactId>
</dependency>
</dependencies>
<artifactId>cps-ncmp-rest</artifactId>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
# ============LICENSE_START=======================================================
# ============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.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
value-serializer: io.cloudevents.kafka.CloudEventSerializer
client-id: cps-core
value-serializer: io.cloudevents.kafka.CloudEventSerializer
client-id: cps-core
+management:
+ endpoints:
+ web:
+ exposure:
+ include: health
+