Extract Prometheus Client libraries into parent POM 74/125974/2
authorRashmi Pujar <rashmi.pujar1@bell.ca>
Tue, 30 Nov 2021 05:46:24 +0000 (00:46 -0500)
committerRashmi Pujar <rashmi.pujar1@bell.ca>
Tue, 30 Nov 2021 14:43:57 +0000 (09:43 -0500)
Issue-ID: POLICY-3760
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I1e7c911dfbb8a9e15b6090ccc08c6be7a22e811e

integration/pom.xml

index 37053e8..6b4a5d6 100644 (file)
@@ -59,6 +59,7 @@
         <version.springfox>3.0.0</version.springfox>
         <version.jakarta-api>2.0.2</version.jakarta-api>
         <version.io.micrometer>1.7.3</version.io.micrometer>
+        <version.io.prometheus>0.11.0</version.io.prometheus>
         <jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
         <repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
         <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
                 <version>2.7.1</version>
             </dependency>
 
+            <!-- Prometheus Client Libraries -->
+            <dependency>
+                <groupId>io.prometheus</groupId>
+                <artifactId>simpleclient</artifactId>
+                <version>${version.io.prometheus}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.prometheus</groupId>
+                <artifactId>simpleclient_hotspot</artifactId>
+                <version>${version.io.prometheus}</version>
+            </dependency>
+            <dependency>
+                <groupId>io.prometheus</groupId>
+                <artifactId>simpleclient_servlet</artifactId>
+                <version>${version.io.prometheus}</version>
+            </dependency>
+
             <!-- Swagger Jersey2 JAXRS -->
             <dependency>
                 <groupId>io.swagger</groupId>
             </plugin>
         </plugins>
     </build>
-</project>
+</project>
\ No newline at end of file