Tyler Benson
64d39030e5
Use workflows in Circle to test Java 7 and 8
...
Java 9 is commented out because there are some test failures that will be investigated later.
Some tests had to be excluded from Java 7 because they don’t have a Java 7 compatible version.
2018-01-22 13:46:50 -05:00
Tyler Benson
6d3d88987b
Rename dd-trace-annotations to dd-trace-api
...
And move DDTags over to it.
Move some `datadog.trace.api` classes over to `datadog.trace.common`.
Other misc renaming.
2018-01-09 10:07:36 +10:00
Tyler Benson
becf2a5862
Lots of renaming
...
Module:
dd-trace -> dd-trace-ot
Packages:
Standardize on `datadog.trace` and `datadog.opentracing` as the package prefixes.
2018-01-09 10:02:06 +10:00
Andrew Kent
9437c8c2db
Remove ExpensiveTest
2017-12-28 09:46:58 -08:00
Andrew Kent
ca574071ff
New AgentTestRunner to auto-instrument spock tests
2017-12-28 09:46:58 -08:00
Tyler Benson
e17660203f
Missed one…
...
Also don’t need DDTracerFactoryTest anymore…
2017-12-21 16:47:41 -08:00
Tyler Benson
4822c19c5d
Remove legacy config references.
2017-12-21 16:28:18 -08:00
Tyler Benson
6f985c15bf
Remove Byteman now that instrumentation is migrated
...
At some point, we should refactor the managers since this leaves them in an awkward state.
2017-12-07 13:11:26 -08:00
Tyler Benson
d933a4049a
Move OkHttp instrumentation to byte buddy
2017-12-06 18:07:17 -08:00
Andrew Kent
4ebadf19de
Use ratpack to implemented embedded http test util
2017-12-04 13:13:25 -08:00
Andrew Kent
a7bfd1c4f5
Use CodeSource to test shadow package renames.
...
Forcing guava to version 18 prevented running the embedded ratpack
http server. Using codesource for the shadow test has the same effect
and doesn't require forcing a version of guava.
2017-12-04 11:42:26 -08:00
Andrew Kent
6fa303058f
ApacheHttpClient bytebuddy instrumentation and tests.
2017-12-01 10:54:32 -08:00
Andrew Kent
f48b793cb4
TestHttpServer for http client testing.
2017-12-01 10:34:40 -08:00
Andrew Kent
47b1eec6da
Mongo Async Instrumentation and embedded mongo tests.
2017-11-27 09:18:49 -08:00
Tyler Benson
871ce37f80
Migrate JMS to Byte Buddy and add JMS 1 support
...
This does not yet include instrumentation for MessageListener.
I think there is actually no difference between the instrumentation so we should combine them.
I also added TEXT_MAP as a format that maps to the HTTP Codec. There is some remapping inside the instrumentation to remove dashes before setting as a property. This should also be changed when an official format is defined.
This also currently has a problem with Spring Boot applications as the JMS Util references classes not on the system classpath (it needs to be injected into the child classpath)
2017-11-17 12:06:30 -08:00
Tyler Benson
c2d1ebab17
Run cassandra test last in separate vm
...
It’s super slow and uses a lot of memory.
2017-10-30 14:48:49 -07:00
Tyler Benson
25029b4109
Add integration tests for in-memory jdbc drivers.
2017-10-25 10:37:37 -07:00
Tyler Benson
b430eedb27
Prevent NPE for double registrations
...
When using jetty with spring boot, the helper is being called more than once, the second time resulting in null being returned by `addFilter`. This should prevent an error from being thrown.
2017-09-13 13:00:25 -07:00
Tyler Benson
4e106679a7
Move packages around and rename dd-trace inside agent
...
This avoids conflicts if the user already has dd-trace included in their app.
2017-09-11 15:00:00 -07:00
Tyler Benson
3bc153241b
Abstract core dependencies for central management
2017-09-07 16:38:21 -07:00
Tyler Benson
c238b9d25f
Merge pull request #121 from DataDog/tyler/reduce-package-scan-scope
...
Speed up integ tests by reducing scope for annotation scan.
2017-09-06 07:51:50 -07:00
Tyler Benson
a437b6d946
Log each test starting.
2017-09-05 16:44:55 -07:00
Tyler Benson
2d3a12f3f1
Speed up integ tests by reducing scope for annotation scan.
2017-09-05 16:35:32 -07:00
Tyler Benson
8ba3c0f156
Fix jacoco for integration tests
...
Also change slf4j package since it’s important for configuring log levels.
2017-09-05 11:43:37 -07:00
Tyler Benson
bcb4aa5aa3
Merge pull request #108 from DataDog/tyler/ddja-test-deps
...
Remove dd-java-agent as a dependency for the integ test
2017-08-23 08:50:38 -07:00
Tyler Benson
0debc82d74
Remove dd-java-agent as a dependency for the integ test
...
This better simulates the classpath for an application where the agent is only added via the commandline.
2017-08-23 08:35:50 -07:00
Tyler Benson
34f0922740
Add property to gradle.properties for easier debugging
...
When using a jar with packages renamed, the line numbers don’t match the classes in the IDE.
2017-08-22 17:23:28 -07:00
Tyler Benson
5dff2f1249
Rename google and byteman dependencies
...
But exclude the ones that cause the tests to fail.
Also add a test to verify the correct version of guava is loaded with the agent running.
2017-08-08 12:29:14 -07:00
Emanuele Palazzetti
c5c750bd49
[elasticsearch] remove auto instrumentation; will be added later
2017-08-02 17:42:01 +02:00
Tyler Benson
02d8f153a6
Fix jar uploading to use shadow jar instead of default
...
Rename default jar to be explicit that no dependencies are embedded.
2017-07-20 09:58:22 -07:00
Tyler Benson
e8dbc34bea
Apply consistent formatting to other files
2017-07-19 08:09:19 -07:00
Tyler Benson
840ada4650
Enable uploading to local artifactory.
2017-07-11 17:12:27 -07:00
Tyler Benson
8d9bdef4b7
Rename build.gradle scripts to match project name.
...
This will help in finding build scripts inside the IDE.
2017-07-10 16:12:15 -07:00