Adding muzzle tests for glassfish 3 and 5
RENAME
dd-java-agent/instrumentation/glassfish-4/glassfish-4.gradle
dd-java-agent/instrumentation/glassfish/glassfish.gradle
@@ -6,7 +6,7 @@ muzzle {
pass {
group = 'org.glassfish.main.extras'
module = 'glassfish-embedded-all'
- versions = "[4.0,4.1.2)"
+ versions = "[3.0,)"
assertInverse = true
}
}

RENAME
dd-java-agent/instrumentation/glassfish-4/src/main/java/datadog/trace/instrumentation/glassfish4/GlassfishInstrumentation.java
dd-java-agent/instrumentation/glassfish/src/main/java/datadog/trace/instrumentation/glassfish/GlassfishInstrumentation.java
-package datadog.trace.instrumentation.glassfish4;
+package datadog.trace.instrumentation.glassfish;
import static java.util.Collections.singletonMap;
import static net.bytebuddy.matcher.ElementMatchers.isMethod;

MODIFY
settings.gradle
settings.gradle
@@ -40,7 +40,7 @@ include ':dd-java-agent:instrumentation:elasticsearch:transport-2'
include ':dd-java-agent:instrumentation:elasticsearch:transport-5'
include ':dd-java-agent:instrumentation:elasticsearch:transport-5.3'
include ':dd-java-agent:instrumentation:elasticsearch:transport-6'
-include ':dd-java-agent:instrumentation:glassfish-4'
+include ':dd-java-agent:instrumentation:glassfish'
include ':dd-java-agent:instrumentation:grpc-1.5'
include ':dd-java-agent:instrumentation:hibernate'
include ':dd-java-agent:instrumentation:hibernate:core-3.3'

Adding muzzle tests for glassfish 3 and 5