Skip to content

Commit 32dac0a

Browse files
somanath21Somanath Hugar
andauthored
#GOV-134 enable liveness and readiness (#43)
* enable liveness and readiness * use spring actuator version 2.2.2 * updtae spring version --------- Co-authored-by: Somanath Hugar <[email protected]>
1 parent 08e17fd commit 32dac0a

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ dependencies {
7171
dependencies {
7272
implementation "org.springframework.boot:spring-boot-starter-web:*"
7373
implementation "org.springframework.boot:spring-boot-starter-tomcat:*"
74+
implementation 'org.springframework.boot:spring-boot-starter-actuator:*'
7475
implementation "io.springfox:springfox-oas:3.0.0"
7576
implementation "io.springfox:springfox-swagger-ui:3.0.0"
7677
implementation "com.github.joschi.jackson:jackson-datatype-threetenbp:2.6.4"

src/main/resources/application.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,13 @@ server:
4949
servlet:
5050
contextPath: /fineract
5151
port: 7070
52+
53+
management:
54+
endpoint:
55+
health:
56+
probes:
57+
enabled: true
58+
liveness:
59+
enabled: true
60+
readiness:
61+
enabled: true

0 commit comments

Comments
 (0)