Skip to content

Commit

Permalink
Add convenience web starter
Browse files Browse the repository at this point in the history
The starter includes both the Zipkin Tracer auto-configuration code
as well as OpenTracing's Spring web auto-configuration
  • Loading branch information
geoand authored Jun 19, 2018
1 parent 070988e commit 839911e
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<version>0.1.2-SNAPSHOT</version>
</parent>

<artifactId>opentracing-spring-zipkin-starter-it</artifactId>
<artifactId>opentracing-spring-zipkin-web-starter-it</artifactId>

<properties>
<main.basedir>${project.basedir}/..</main.basedir>
Expand All @@ -32,18 +32,11 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>opentracing-spring-zipkin-starter</artifactId>
<artifactId>opentracing-spring-zipkin-web-starter</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-spring-web-autoconfigure</artifactId>
<version>0.3.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
Expand Down
49 changes: 49 additions & 0 deletions opentracing-spring-zipkin-web-starter/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2018 The OpenTracing Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied. See the License for the specific language governing permissions and limitations under
the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-spring-zipkin-parent</artifactId>
<version>0.1.2-SNAPSHOT</version>
</parent>

<artifactId>opentracing-spring-zipkin-web-starter</artifactId>

<properties>
<main.basedir>${project.basedir}/..</main.basedir>
<opentracing-spring-web-starter.version>0.3.3</opentracing-spring-web-starter.version>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>opentracing-spring-zipkin-starter</artifactId>
</dependency>

<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-spring-web-starter</artifactId>
<version>${opentracing-spring-web-starter.version}</version>
</dependency>
</dependencies>


</project>
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
<version>0.1.2-SNAPSHOT</version>
<modules>
<module>opentracing-spring-zipkin-starter</module>
<module>opentracing-spring-zipkin-starter-it</module>
<module>opentracing-spring-zipkin-web-starter</module>
<module>opentracing-spring-zipkin-web-starter-it</module>
</modules>
<packaging>pom</packaging>

Expand Down Expand Up @@ -91,6 +92,12 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>opentracing-spring-zipkin-web-starter</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>io.opentracing</groupId>
<artifactId>opentracing-api</artifactId>
Expand Down

0 comments on commit 839911e

Please sign in to comment.