Skip to content

Commit

Permalink
Get the repository to compile.
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko W. Rupp <hrupp@redhat.com>
  • Loading branch information
pilhuhn committed Nov 16, 2017
1 parent 98c2f81 commit 732c2df
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<groupId>org.eclipse.microprofile.opentracing.parent</groupId>
<artifactId>microprofile-opentracing-parent</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>

<url>http://microprofile.io</url>
Expand Down
7 changes: 6 additions & 1 deletion tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,18 @@
<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-api-maven</artifactId>
<version>2.2.6</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.8.2</version>
</dependency>
</dependencies>

<profiles>
<profile>
<id>eclipse-jarsigner</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

package org.eclipse.microprofile.opentracing.tck.application;

import org.eclipse.microprofile.opentracing.NoTrace;
import org.eclipse.microprofile.opentracing.Trace;
import org.eclipse.microprofile.opentracing.Traced;


/**
Expand All @@ -29,7 +28,7 @@
* @author Steve Fontes
*
*/
@Trace
@Traced
public class TestClassAnnotation {

/**
Expand All @@ -42,15 +41,15 @@ public String serviceEndpointA() {
/**
* @return name of serviceEnpoint.
*/
@NoTrace
@Traced(false)
public String serviceEndpointB() {
return "Invoked TestClassAnnotationApp.serviceEndpointB";
}

/**
* @return name of serviceEnpoint.
*/
@Trace("ClassAnnotated.endpointC")
@Traced(operationName = "ClassAnnotated.endpointC")
public String serviceEndpointC() {
return "Invoked TestClassAnnotationApp.serviceEndpointC";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.eclipse.microprofile.opentracing.tck.application;

import org.eclipse.microprofile.opentracing.Trace;
import org.eclipse.microprofile.opentracing.Traced;


/**
Expand All @@ -33,7 +33,7 @@ public class TestMethodAnnotations {
/**
* @return name of serviceEnpoint.
*/
@Trace
@Traced
public String serviceEndpointA() {
return "Invoked TestMethodAnnotationApp.serviceEndpointA";
}
Expand All @@ -48,23 +48,23 @@ public String serviceEndpointB() {
/**
* @return name of serviceEnpoint.
*/
@Trace("MethodAnnotated.endpointC")
@Traced(operationName = "MethodAnnotated.endpointC")
public String serviceEndpointC() {
return "Invoked TestMethodAnnotationApp.serviceEndpointC";
}

/**
* @return name of serviceEnpoint.
*/
@Trace(relationship = "follows_from")
@Traced(/*relationship = "follows_from"*/)
public String serviceEndpointD() {
return "Invoked TestMethodAnnotationApp.serviceEndpointD";
}

/**
* @return name of serviceEnpoint.
*/
@Trace(value = "MethodAnnotated.endpointE", relationship = "follows_from")
@Traced(operationName = "MethodAnnotated.endpointE"/*, relationship = "follows_from"*/)
public String serviceEndpointE() {
return "Invoked TestMethodAnnotationApp.serviceEndpointE";
}
Expand Down

0 comments on commit 732c2df

Please sign in to comment.