Skip to content

Commit

Permalink
[GOV-134] Fix liveness and readiness issues (#17)
Browse files Browse the repository at this point in the history
* [GOV-134] Fix liveness and readiness issues

* updated the port for actuator

* Updated the port for actuator

* adding the details part in the actuator API

* Trying with exposing different port for the actuator

* Trying with exposing different port for the actuator

* Exposing the spring port in property file and testing'

* Trying with exposing different port for the actuator

* Updated the contactpoint from localhost
  • Loading branch information
dhruvsonagara authored Dec 31, 2023
1 parent 5feab23 commit bdc8cae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ repositories {
ext {
camelVersion = '3.18.1'
zeebClientVersion = '8.1.1'
springBootVersion = '2.7.3'
}

configurations.all {
Expand All @@ -51,6 +52,9 @@ dependencies {
implementation 'org.json:json:20210307'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
implementation "org.springframework.boot:spring-boot-starter:$springBootVersion"
implementation "org.springframework.boot:spring-boot-starter-web:$springBootVersion"
implementation "org.springframework.boot:spring-boot-starter-actuator:$springBootVersion"
}

group = 'org.mifos'
Expand Down
17 changes: 16 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ zeebe:
connector:
ilp-secret: h4on38bsDjKiat2783gnklgafikmeuu5123kpobb7jm99


mojaloop:
enabled: true
perf-mode: false
Expand All @@ -45,4 +46,18 @@ dfspids: "DFSPID"

logging:
level:
root: ERROR
root: ERROR

server:
port: 8080
management:
endpoint:
health:
probes:
enabled: true
liveness:
enabled: true
readiness:
enabled: true
# show-details: always

0 comments on commit bdc8cae

Please sign in to comment.