Skip to content

Commit

Permalink
#GOV-134 enable liveness and readiness (#43)
Browse files Browse the repository at this point in the history
* enable liveness and readiness

* use spring actuator version 2.2.2

* updtae spring version

---------

Co-authored-by: Somanath Hugar <[email protected]>
  • Loading branch information
somanath21 and Somanath Hugar authored Nov 10, 2023
1 parent 08e17fd commit 32dac0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ dependencies {
dependencies {
implementation "org.springframework.boot:spring-boot-starter-web:*"
implementation "org.springframework.boot:spring-boot-starter-tomcat:*"
implementation 'org.springframework.boot:spring-boot-starter-actuator:*'
implementation "io.springfox:springfox-oas:3.0.0"
implementation "io.springfox:springfox-swagger-ui:3.0.0"
implementation "com.github.joschi.jackson:jackson-datatype-threetenbp:2.6.4"
Expand Down
10 changes: 10 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ server:
servlet:
contextPath: /fineract
port: 7070

management:
endpoint:
health:
probes:
enabled: true
liveness:
enabled: true
readiness:
enabled: true

0 comments on commit 32dac0a

Please sign in to comment.