summaryrefslogtreecommitdiffstats
path: root/aai-resources/pom.xml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-10-19 14:03:59 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-10-19 15:19:18 +0200
commit6c6d7d0f9ba9fbaa677cd7e9a9c4a19244a61c19 (patch)
tree8a44f082afcede03db2ff03da71ca9356990c922 /aai-resources/pom.xml
parentbe4c967659e73814dc14d9c144b8ad4156af4aca (diff)
Add spring-cloud-sleuth for tracing
- add tracing dependency - configure both b3 and w3c trace propagation formats to have interoperability between spring-boot 2 (sleuth) and spring-boot 3 (micrometer) tracing Issue-ID: AAI-3668 Change-Id: I429247444715186be562d009f0d6a6f6ede7e1c3 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r--aai-resources/pom.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index 4336d67..c7a32ab 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -98,8 +98,8 @@
<!-- Integration tests will be skipped by default. Could be enabled here or by -DskipITs=false-->
<skipITs>true</skipITs>
- <!-- https://mvnrepository.com/artifact/io.swagger/swagger-core -->
<swagger.version>1.6.8</swagger.version>
+ <spring-cloud.version>2020.0.2</spring-cloud.version>
</properties>
<profiles>
<!-- Docker profile to be used for building docker image and pushing to nexus -->
@@ -311,6 +311,14 @@
<artifactId>spring-boot-starter-hateoas</artifactId>
</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>
+ <dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-spring-legacy</artifactId>
<version>${micrometer-spring-legacy.version}</version>
@@ -712,6 +720,13 @@
<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>
<build>
@@ -983,7 +998,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <configuration combine.children="append">
+ <configuration>
<excludes>
<exclude>**/*WebSecurityConfig.*</exclude>
</excludes>