summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authoredyta <edyta.krukowska@nokia.com>2020-05-07 07:43:18 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-05-13 08:36:46 +0200
commit540de931d7c0234759d0d6caedf7aaf3d7b86fad (patch)
tree80c6919e00a2817eb4f452f56e50327352ede077 /pom.xml
parent14b6866f877d8c1efd49c924a732f470fa376793 (diff)
Activate prometheus metrics for perf tests - pom.xml fix
Issue-ID: DCAEGEN2-608 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: Iaa0f32e99ab46e8e4646109d15c63513b8a269f4
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml30
1 files changed, 28 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index e826ea8b..3b7280b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
</parent>
<groupId>org.onap.dcaegen2.collectors.ves</groupId>
<artifactId>VESCollector</artifactId>
- <version>1.5.4-SNAPSHOT</version>
+ <version>1.6.0-SNAPSHOT</version>
<name>dcaegen2-collectors-ves</name>
<description>VESCollector</description>
<properties>
@@ -50,6 +50,8 @@
${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
<crypt-password.version>1.3.5</crypt-password.version>
+ <micrometer.version>1.4.2</micrometer.version>
+ <spring.version>2.2.2.RELEASE</spring.version>
</properties>
<build>
<pluginManagement>
@@ -234,6 +236,30 @@
</build>
<profiles>
<profile>
+ <id>buildForPerfTests</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <dependencies>
+ <!-- Libraries related with performance tests-->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ <version>${spring.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>${micrometer.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ <version>${micrometer.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
<id>with-system-proxy</id>
<build>
<plugins>
@@ -285,7 +311,7 @@
<!-- Import dependency management from Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
- <version>2.2.2.RELEASE</version>
+ <version>${spring.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>