Skip to content

Commit

Permalink
Remove netty-4.1-common (open-telemetry#5985)
Browse files Browse the repository at this point in the history
* Remove netty-4.1-common

* reactor-netty-1.0
  • Loading branch information
trask authored and RashmiRam committed May 23, 2022
1 parent c073c9f commit 8f55a6c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 14 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion instrumentation/netty/netty-4.1/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ muzzle {

dependencies {
library("io.netty:netty-codec-http:4.1.0.Final")
api(project(":instrumentation:netty:netty-4.1-common:javaagent"))
api(project(":instrumentation:netty:netty-4-common:javaagent"))

testInstrumentation(project(":instrumentation:netty:netty-3.8:javaagent"))
testInstrumentation(project(":instrumentation:netty:netty-4.0:javaagent"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@ muzzle {
pass {
group.set("io.projectreactor.netty")
module.set("reactor-netty")
versions.set("[0.9.0.RELEASE,1.0.0)")
versions.set("[0.8.2.RELEASE,1.0.0)")
assertInverse.set(true)
excludeInstrumentationModule("io.opentelemetry.javaagent.instrumentation.netty.v4_1.NettyInstrumentationModule")
}
fail {
group.set("io.projectreactor.netty")
module.set("reactor-netty-http")
versions.set("[1.0.0,)")
assertInverse.set(true)
excludeInstrumentationModule("io.opentelemetry.javaagent.instrumentation.netty.v4_1.NettyInstrumentationModule")
}
}

dependencies {
implementation(project(":instrumentation:netty:netty-4.1-common:javaagent"))
implementation(project(":instrumentation:netty:netty-4.1:javaagent"))
library("io.projectreactor.netty:reactor-netty:0.9.0.RELEASE")

testInstrumentation(project(":instrumentation:reactor:reactor-netty:reactor-netty-1.0:javaagent"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,23 @@ muzzle {
group.set("io.projectreactor.netty")
module.set("reactor-netty")
versions.set("[,1.0.0)")
assertInverse.set(true)
excludeInstrumentationModule("io.opentelemetry.javaagent.instrumentation.netty.v4_1.NettyInstrumentationModule")
}
pass {
group.set("io.projectreactor.netty")
module.set("reactor-netty-http")
versions.set("[1.0.0,)")
assertInverse.set(true)
excludeInstrumentationModule("io.opentelemetry.javaagent.instrumentation.netty.v4_1.NettyInstrumentationModule")
}
}

dependencies {
compileOnly("com.google.auto.value:auto-value-annotations")
annotationProcessor("com.google.auto.value:auto-value")

implementation(project(":instrumentation:netty:netty-4.1-common:javaagent"))
implementation(project(":instrumentation:netty:netty-4.1:javaagent"))
implementation(project(":instrumentation:reactor:reactor-3.1:library"))

library("io.projectreactor.netty:reactor-netty-http:1.0.0")
Expand Down
1 change: 0 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ include(":instrumentation:mongo:mongo-common:testing")
include(":instrumentation:netty:netty-3.8:javaagent")
include(":instrumentation:netty:netty-4.0:javaagent")
include(":instrumentation:netty:netty-4.1:javaagent")
include(":instrumentation:netty:netty-4.1-common:javaagent")
include(":instrumentation:netty:netty-4-common:javaagent")
include(":instrumentation:netty:netty-common:javaagent")
include(":instrumentation:okhttp:okhttp-2.2:javaagent")
Expand Down

0 comments on commit 8f55a6c

Please sign in to comment.