Temporary add mvn profile for enabling/disabling Prometheus metrics 64/121364/1 1.9.2
authorPawel <pawel.kasperkiewicz@nokia.com>
Fri, 14 May 2021 08:00:19 +0000 (10:00 +0200)
committerPawel <pawel.kasperkiewicz@nokia.com>
Fri, 14 May 2021 08:00:19 +0000 (10:00 +0200)
Issue-ID: DCAEGEN2-2683
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: I482098f0d9bfc71ada771c3dc74a43ee29423a73

Changelog.md
pom.xml
version.properties

index c95ba90..2dd8933 100644 (file)
@@ -52,3 +52,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 ## [1.9.1] - 22/03/2021
          -  [DCAEGEN2-2683](https://jira.onap.org/browse/DCAEGEN2-2683) - Enable Spring Prometheus metrics end-point in VES
             Remove mvn profile for enable/disable Prometheus metrics
+## [1.9.2] - 14/05/2021
+         -  [DCAEGEN2-2683](https://jira.onap.org/browse/DCAEGEN2-2683) - Enable Spring Prometheus metrics end-point in VES
+            Temporary add mvn profile for enabling/disabling Prometheus metrics            
diff --git a/pom.xml b/pom.xml
index c188432..dd8bbc2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
   </parent>\r
   <groupId>org.onap.dcaegen2.collectors.ves</groupId>\r
   <artifactId>VESCollector</artifactId>\r
-  <version>1.9.1-SNAPSHOT</version>\r
+  <version>1.9.2-SNAPSHOT</version>\r
   <name>dcaegen2-collectors-ves</name>\r
   <description>VESCollector</description>\r
   <properties>\r
     </plugins>\r
   </build>\r
   <profiles>\r
+    <profile>\r
+      <id>buildForPerfTests</id>\r
+      <activation>\r
+        <activeByDefault>false</activeByDefault>\r
+      </activation>\r
+      <dependencies>\r
+        <!-- Libraries related with performance tests-->\r
+        <dependency>\r
+          <groupId>org.springframework.boot</groupId>\r
+          <artifactId>spring-boot-starter-actuator</artifactId>\r
+          <version>${spring.version}</version>\r
+        </dependency>\r
+        <dependency>\r
+          <groupId>io.micrometer</groupId>\r
+          <artifactId>micrometer-registry-prometheus</artifactId>\r
+          <version>${micrometer.version}</version>\r
+        </dependency>\r
+        <dependency>\r
+          <groupId>io.micrometer</groupId>\r
+          <artifactId>micrometer-core</artifactId>\r
+          <version>${micrometer.version}</version>\r
+        </dependency>\r
+      </dependencies>\r
+    </profile>\r
     <profile>\r
       <id>with-system-proxy</id>\r
       <build>\r
     </dependencies>\r
   </dependencyManagement>\r
   <dependencies>\r
-    <!-- Libraries related with performance tests-->\r
-    <dependency>\r
-      <groupId>org.springframework.boot</groupId>\r
-      <artifactId>spring-boot-starter-actuator</artifactId>\r
-      <version>${spring.version}</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>io.micrometer</groupId>\r
-      <artifactId>micrometer-registry-prometheus</artifactId>\r
-      <version>${micrometer.version}</version>\r
-    </dependency>\r
-    <dependency>\r
-      <groupId>io.micrometer</groupId>\r
-      <artifactId>micrometer-core</artifactId>\r
-      <version>${micrometer.version}</version>\r
-    </dependency>\r
     <!-- JSON RELATED -->\r
     <dependency>\r
       <groupId>com.networknt</groupId>\r
index e31b2de..aede13c 100644 (file)
@@ -1,6 +1,6 @@
 major=1
 minor=9
-patch=1
+patch=2
 base_version=${major}.${minor}.${patch}
 release_version=${base_version}
 snapshot_version=${base_version}-SNAPSHOT