Add actuator

This commit is contained in:
jkv
2022-03-20 21:22:36 +01:00
parent 929a3535fa
commit aeef4b176c
2 changed files with 26 additions and 0 deletions

19
pom.xml
View File

@@ -85,6 +85,12 @@
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-jpaserver-subscription</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java7</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- This dependency includes the JPA server itself, which is packaged separately from the rest of HAPI FHIR -->
@@ -301,6 +307,19 @@
<version>${spring_boot_version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>${spring_boot_version}</version>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>5.0.1</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>

View File

@@ -1,3 +1,10 @@
#Adds the option to go to eg. http://localhost:8080/actuator/env for seeing the running configuration
management:
endpoints:
web:
exposure:
include: "*"
exclude: "beans"
spring:
main:
allow-circular-references: true