Skip to content

Commit

Permalink
Add healthcheck port and enable it
Browse files Browse the repository at this point in the history
* Also adds updated jjwt library for lighthouse-api
  • Loading branch information
agile-josiah committed Nov 3, 2023
1 parent f3a07d2 commit bec51d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mocks/mock-lighthouse-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ dependencies {

implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
def jjwt_version="0.12.3"
implementation "io.jsonwebtoken:jjwt-api:${jjwt_version}"
implementation "io.jsonwebtoken:jjwt-impl:${jjwt_version}"
implementation "io.jsonwebtoken:jjwt-jackson:${jjwt_version}"

// testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
}
5 changes: 5 additions & 0 deletions svc-bip-api/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ getClaimContentionsQueue=getClaimContentionsQueue
updateClaimContentionQueue=updateClaimContentionQueue
verifySpecialIssueTypeQueue=confirmCanCallSpecialIssueTypesQueue
exchangeName=bipApiExchange

management.server.port=10401
management.endpoint.health.show-details=always
management.endpoint.health.enabled=true
management.endpoint.health.probes.enabled=true

0 comments on commit bec51d3

Please sign in to comment.