Add tracing to model-loader
[aai/model-loader.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index a311908..9b4c510 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                <type>pom</type>
                                <scope>import</scope>
                        </dependency>
+                       <dependency>
+                               <groupId>org.springframework.cloud</groupId>
+                               <artifactId>spring-cloud-dependencies</artifactId>
+                               <version>${spring-cloud.version}</version>
+                               <type>pom</type>
+                               <scope>import</scope>
+                       </dependency>
                </dependencies>
        </dependencyManagement>
 
@@ -52,6 +59,7 @@
                <nexusproxy>https://nexus.onap.org</nexusproxy>
                <docker.location>${basedir}/target</docker.location>
                <spring-boot.version>2.4.13</spring-boot.version>
+               <spring-cloud.version>2020.0.2</spring-cloud.version>
                <apache.commons-text.version>1.10.0</apache.commons-text.version>
                <commons-compress.version>1.22</commons-compress.version>
                <hamcrest-all.version>1.3</hamcrest-all.version>
                        </build>
                </profile>
        </profiles>
+
        <dependencies>
                <dependency>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>commons-text</artifactId>
                        <version>${apache.commons-text.version}</version>
                </dependency>
+               <dependency>
+                       <groupId>org.springframework.cloud</groupId>
+                       <artifactId>spring-cloud-starter-sleuth</artifactId>
+               </dependency>
+               <dependency>
+                               <groupId>org.springframework.cloud</groupId>
+                               <artifactId>spring-cloud-sleuth-zipkin</artifactId>
+               </dependency>
 
                <!-- Test dependencies -->
                <dependency>