Review Fixes
Fix package names.
Revert oddness in pom file.
MODIFY
dd-java-agent-ittests/src/test/java/com/datadoghq/trace/agent/SayTracedHello.java
dd-java-agent-ittests/src/test/java/com/datadoghq/trace/agent/SayTracedHello.java
package com.datadoghq.trace.agent;
-import com.datadog.trace.Trace;
+import com.datadoghq.trace.Trace;
public class SayTracedHello {

MODIFY
dd-java-agent/pom.xml
dd-java-agent/pom.xml
<version>0.9.11</version>
</dependency>
- <!-- Server sintegrationtion -->
+ <!-- Server side instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-web-servlet-filter</artifactId>
<scope>provided</scope>
</dependency>
- <!-- Mointegrationtion -->
+ <!-- Mongo instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-mongo-driver</artifactId>
<version>${ot.contrib.jdbc.version}</version>
</dependency>
- <!-- Client sintegrationtion -->
+ <!-- Client side instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-okhttp3</artifactId>
<scope>provided</scope>
</dependency>
- <!-- integrationtion -->
+ <!-- JMS instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-jms-2</artifactId>
<scope>provided</scope>
</dependency>
- <!-- AWS integrationtion -->
+ <!-- AWS SDK instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-aws-sdk</artifactId>
<scope>provided</scope>
</dependency>
- <!-- Cassanintegrationtion -->
+ <!-- Cassandra instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-cassandra-driver</artifactId>
<scope>provided</scope>
</dependency>
- <!-- Elasticseaintegrationtion -->
+ <!-- Elasticsearch instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-elasticsearch-client</artifactId>
<scope>provided</scope>
</dependency>
- <!-- Apache Hintegrationtion -->
+ <!-- Apache HTTP instrumentation -->
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-apache-httpclient</artifactId>

MODIFY
dd-java-agent/src/main/java/com/datadoghq/trace/agent/TraceAnnotationsManager.java
dd-java-agent/src/main/java/com/datadoghq/trace/agent/TraceAnnotationsManager.java
package com.datadoghq.trace.agent;
-import com.datadog.trace.Trace;
+import com.datadoghq.trace.Trace;
import com.datadoghq.trace.resolver.DDTracerFactory;
import com.datadoghq.trace.resolver.FactoryUtils;
import javassist.ClassPool;

RENAME
dd-trace-annotations/src/main/java/com/datadog/trace/Trace.java
dd-trace-annotations/src/main/java/com/datadoghq/trace/Trace.java
-package com.datadog.trace;
+package com.datadoghq.trace;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

MODIFY
dd-trace-examples/dropwizard-mongo-client/src/main/java/com/example/helloworld/client/TracedClient.java
dd-trace-examples/dropwizard-mongo-client/src/main/java/com/example/helloworld/client/TracedClient.java
@@ -2,7 +2,7 @@ package com.example.helloworld.client;
import java.io.IOException;
-import com.datadog.trace.Trace;
+import com.datadoghq.trace.Trace;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

MODIFY
dd-trace-examples/dropwizard-mongo-client/src/main/java/com/example/helloworld/resources/SimpleCrudResource.java
dd-trace-examples/dropwizard-mongo-client/src/main/java/com/example/helloworld/resources/SimpleCrudResource.java
package com.example.helloworld.resources;
-import com.datadog.trace.Trace;
+import com.datadoghq.trace.Trace;
import com.example.helloworld.api.Book;
import com.google.common.base.Optional;
import com.mongodb.MongoClient;

Review Fixes

Fix package names.
Revert oddness in pom file.