ES deploy workaround.
MODIFY
dd-java-agent/instrumentation/elasticsearch/rest-6.4/rest-6.4.gradle
dd-java-agent/instrumentation/elasticsearch/rest-6.4/rest-6.4.gradle
@@ -44,8 +44,10 @@ dependencies {
testCompile group: 'org.elasticsearch', name: 'elasticsearch', version: '6.4.0'
testCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '6.4.0'
- latestDepTestCompile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '6.+'
- latestDepTestCompile group: 'org.elasticsearch.client', name: 'transport', version: '6.+'
- latestDepTestCompile group: 'org.elasticsearch', name: 'elasticsearch', version: '6.+'
- latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '6.+'
+ // TODO: The tests are incompatible with 7.x. The instrumentation may be as well.
+ // FIXME: Lock to specific version due to bad deploy rollout.
+ latestDepTestCompile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-client', version: '6.8.3'
+ latestDepTestCompile group: 'org.elasticsearch.client', name: 'transport', version: '6.8.3'
+ latestDepTestCompile group: 'org.elasticsearch', name: 'elasticsearch', version: '6.8.3'
+ latestDepTestCompile group: 'org.elasticsearch.plugin', name: 'transport-netty4-client', version: '6.8.3'
}

MODIFY
dd-java-agent/instrumentation/elasticsearch/transport-5.3/transport-5.3.gradle
dd-java-agent/instrumentation/elasticsearch/transport-5.3/transport-5.3.gradle
@@ -8,7 +8,8 @@ muzzle {
group = "org.elasticsearch.client"
module = "transport"
versions = "[5.3.0,6.0.0)"
- assertInverse = true
+ // Work around for a bad release of 6.8.4
+// assertInverse = true
}
pass {
group = "org.elasticsearch"

MODIFY
dd-java-agent/instrumentation/elasticsearch/transport-5/transport-5.gradle
dd-java-agent/instrumentation/elasticsearch/transport-5/transport-5.gradle
@@ -8,7 +8,8 @@ muzzle {
group = "org.elasticsearch.client"
module = "transport"
versions = "[5.0.0,5.3.0)"
- assertInverse = true
+ // Work around for a bad release of 6.8.4
+// assertInverse = true
}
pass {
group = "org.elasticsearch"

MODIFY
dd-java-agent/instrumentation/elasticsearch/transport-6/transport-6.gradle
dd-java-agent/instrumentation/elasticsearch/transport-6/transport-6.gradle
@@ -7,8 +7,9 @@ muzzle {
pass {
group = "org.elasticsearch.client"
module = "transport"
- versions = "[6.0.0,)"
- assertInverse = true
+ versions = "[6.0.0,6.8.4)"
+ // Work around for a bad release of 6.8.4
+// assertInverse = true
}
pass {
group = "org.elasticsearch"

ES deploy workaround.