diff options
author | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-07-26 14:57:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-26 14:57:00 +0000 |
commit | 0e4601a1c6ef26e43e5c3ac9684dd557185632ba (patch) | |
tree | c620681445ef42d32919fdd017413a18f4196f4f | |
parent | 359c9faa1d058adcb4f9b0cef8daeb2bc854197e (diff) | |
parent | 5d9130a30a635c4136ef3ddcb1a22d049dbcc783 (diff) |
Merge "Workflow - adding Health Actuator"
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | workflow-designer-be/pom.xml | 5 | ||||
-rw-r--r-- | workflow-designer-be/src/main/resources/application.properties | 3 |
3 files changed, 9 insertions, 1 deletions
@@ -35,6 +35,8 @@ or, if Cassandra authentication is not required The server listens on 8080 by default, but it is possible to change the application port by passing `-e SERVER_PORT={PORT}` to Docker _run_ command. +To check health information of application you can use option `-e SHOW_HEALTH={always}` + **Example** `docker run -d -e JAVA_OPTIONS="-Xmx128m -Xms128m -Xss1m" -e CS_HOSTS=10.247.41.19,10.247.41.20 diff --git a/workflow-designer-be/pom.xml b/workflow-designer-be/pom.xml index 10f1ad2f..60a7cd0b 100644 --- a/workflow-designer-be/pom.xml +++ b/workflow-designer-be/pom.xml @@ -128,6 +128,11 @@ <version>${lombok.version}</version> <scope>provided</scope> </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-actuator</artifactId> + <scope>provided</scope> + </dependency> </dependencies> <build> diff --git a/workflow-designer-be/src/main/resources/application.properties b/workflow-designer-be/src/main/resources/application.properties index ab4930b5..c120bda3 100644 --- a/workflow-designer-be/src/main/resources/application.properties +++ b/workflow-designer-be/src/main/resources/application.properties @@ -7,4 +7,5 @@ spring.data.cassandra.keyspace-name=workflow spring.data.cassandra.port=${CS_PORT:9042} spring.data.cassandra.username=${CS_USER:} spring.data.cassandra.password=${CS_PASSWORD:} -zusammen.cassandra.isAuthenticate=${CS_AUTHENTICATE:true}
\ No newline at end of file +zusammen.cassandra.isAuthenticate=${CS_AUTHENTICATE:true} +management.endpoint.health.show-details=${SHOW_HEALTH:never}
\ No newline at end of file |