Skip to content

Commit

Permalink
OZ-546: Move monitoring dependencies to eip-commons. (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliouzbett authored Apr 18, 2024
1 parent ed340b0 commit 845d4d3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
18 changes: 0 additions & 18 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-micrometer-starter</artifactId>
<version>${camel.version}</version>
</dependency>
<dependency>
<groupId>com.ozonehis</groupId>
<artifactId>eip-commons</artifactId>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/resources/eip-client.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ spring.jpa.open-in-view=false
# ----------------------------------------------------------------------------------------------------------------------

## --- Monitoring Configuration ------------------------------------------------------------------------------------------
management.endpoints.web.exposure.include=*
management.endpoints.web.exposure.include=prometheus,health,info,metric

management.health.probes.enabled=true
Expand Down
29 changes: 22 additions & 7 deletions commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
<artifactId>spring-boot-starter-data-jpa</artifactId>
<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>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-artemis</artifactId>
Expand Down Expand Up @@ -165,12 +160,32 @@
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-reload4j</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Monitoring -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-micrometer-starter</artifactId>
<version>${camel.version}</version>
</dependency>

<!-- Tests -->
<dependency>
<groupId>com.ozonehis</groupId>
Expand Down

0 comments on commit 845d4d3

Please sign in to comment.