10000 Adjust muzzle limit for vertx instrumentations (#8846) · DataDog/dd-trace-java@0ebd52b · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ebd52b

Browse files
mhliddamarziali
andauthored
Adjust muzzle limit for vertx instrumentations (#8846)
* removing limits for version 5.0.0 on muzzle * add vertx-pg-client-4.4.2 * workaround * use java 11 for vertx mysql client muzzle * use java 11 for all the vertx 3.9 checking 5+ * fix muzzle for vertx-web * modifying vertx-web-4.0 * skip assertInverse for muzzle vertx web 4 --------- Co-authored-by: Andrea Marziali <andrea.marziali@datadoghq.com>
1 parent dec7833 commit 0ebd52b

File tree

7 files changed

+18
-4
lines changed

7 files changed

+18
-4
lines changed 8000

dd-java-agent/instrumentation/vertx-mysql-client-3.9/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ muzzle {
66
group = 'io.vertx'
77
module = 'vertx-mysql-client'
88
versions = '[3.9.0,4)'
9+
javaVersion = '11'
910
assertInverse = true
1011
}
1112
}

dd-java-agent/instrumentation/vertx-pg-client-4.0/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@ muzzle {
88
// 4.1.1 is the first version where PgConnectionFactory is public
99
// see https://github.com/eclipse-vertx/vertx-sql-client/pull/986
1010
versions = 8000 '[4.1.1,5)'
11-
assertInverse = true
11+
}
12+
fail {
13+
group = 'io.vertx'
14+
module = 'vertx-pg-client'
15+
// 4.1.1 is the first version where PgConnectionFactory is public
16+
// see https://github.com/eclipse-vertx/vertx-sql-client/pull/986
17+
versions = '(,4.1.1)'
1218
}
1319
}
1420

dd-java-agent/instrumentation/vertx-pg-client-4.4.2/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ muzzle {
44
pass {
55
group = 'io.vertx'
66
module = 'vertx-pg-client'
7-
versions = '[4.4.2,4.6.0)'
7+
versions = '[4.4.2,)'
88
assertInverse = true
99
}
1010
}

dd-java-agent/instrumentation/vertx-redis-client-3.9/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ muzzle {
33
group = 'io.vertx'
44
module = 'vertx-redis-client'
55
versions = '[3.9.0,)'
6+
javaVersion = '11'
67
assertInverse = true
78
}
89
}

dd-java-agent/instrumentation/vertx-sql-client-3.9/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ muzzle {
55
group = "io.vertx"
66
module = "vertx-sql-client"
77
versions = "[3.9.0,)"
8+
javaVersion = "11"
89
}
910
}
1011

dd-java-agent/instrumentation/vertx-web-3.9/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ muzzle {
1010
pass {
1111
group = 'io.vertx'
1212
module = "vertx-web"
13-
versions = "[3.8.1,5)"
13+
versions = "[3.8.1,)" // it won't fail on 5+ since won't apply
14+
javaVersion = "11"
1415
assertInverse = true
1516
}
1617
}

dd-java-agent/instrumentation/vertx-web-4.0/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ muzzle {
1616
group = 'io.vertx'
1717
module = "vertx-web"
1818
versions = "[4.0.0,5)"
19-
assertInverse = true
19+
}
20+
fail {
21+
group = 'io.vertx'
22+
module = "vertx-web"
23+
versions = "(,4.0.0)"
2024
}
2125
}
2226

0 commit comments

Comments
 (0)
0