summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cps/cps-parent/pom.xml1
-rw-r--r--cps/cps-rest/pom.xml4
-rw-r--r--cps/cps-rest/src/main/resources/application.yml12
3 files changed, 17 insertions, 0 deletions
diff --git a/cps/cps-parent/pom.xml b/cps/cps-parent/pom.xml
index 2ddb2b6683..4984b61942 100644
--- a/cps/cps-parent/pom.xml
+++ b/cps/cps-parent/pom.xml
@@ -73,6 +73,7 @@
<executions>
<execution>
<goals>
+ <goal>build-info</goal>
<goal>repackage</goal>
</goals>
</execution>
diff --git a/cps/cps-rest/pom.xml b/cps/cps-rest/pom.xml
index f9be75b7e3..2d125803d4 100644
--- a/cps/cps-rest/pom.xml
+++ b/cps/cps-rest/pom.xml
@@ -35,6 +35,10 @@
<artifactId>spring-boot-starter-jetty</artifactId>
</dependency>
<dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
+ <dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>
diff --git a/cps/cps-rest/src/main/resources/application.yml b/cps/cps-rest/src/main/resources/application.yml
index 8e2aee043c..84f3f79cda 100644
--- a/cps/cps-rest/src/main/resources/application.yml
+++ b/cps/cps-rest/src/main/resources/application.yml
@@ -24,6 +24,18 @@ spring:
jersey:
type: filter
+# Actuator
+management:
+ endpoints:
+ web:
+ base-path: /manage
+ endpoint:
+ health:
+ show-details: always
+ # kubernetes probes: liveness and readiness
+ probes:
+ enabled: true
+
logging:
level:
org: