Skip to content

Commit cb132c5

Browse files
authored
Added metadata for org.apache.tomcat:tomcat-jdbc:10.1.7 (#268)
1 parent cf7c685 commit cb132c5

File tree

14 files changed

+239
-0
lines changed

14 files changed

+239
-0
lines changed

metadata/index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
"directory": "org.apache.tomcat.embed/tomcat-embed-core",
6262
"module": "org.apache.tomcat.embed:tomcat-embed-core"
6363
},
64+
{
65+
"directory" : "org.apache.tomcat/tomcat-jdbc",
66+
"module" : "org.apache.tomcat:tomcat-jdbc"
67+
},
6468
{
6569
"directory": "com.google.protobuf/protobuf-java-util",
6670
"module": "com.google.protobuf:protobuf-java-util"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"proxy-config.json"
3+
]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[
2+
{
3+
"condition": {
4+
"typeReachable": "org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor"
5+
},
6+
"interfaces": [
7+
"java.sql.CallableStatement"
8+
]
9+
},
10+
{
11+
"condition": {
12+
"typeReachable": "org.apache.tomcat.jdbc.pool.ConnectionPool"
13+
},
14+
"interfaces": [
15+
"java.sql.Connection",
16+
"javax.sql.PooledConnection"
17+
]
18+
},
19+
{
20+
"condition": {
21+
"typeReachable": "org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor"
22+
},
23+
"interfaces": [
24+
"java.sql.PreparedStatement"
25+
]
26+
},
27+
{
28+
"condition": {
29+
"typeReachable": "org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor"
30+
},
31+
"interfaces": [
32+
"java.sql.Statement"
33+
]
34+
}
35+
]
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"latest": true,
4+
"metadata-version": "10.1.7",
5+
"module": "org.apache.tomcat:tomcat-jdbc",
6+
"tested-versions": [
7+
"10.1.7"
8+
]
9+
}
10+
]

tests/src/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,17 @@
142142
}
143143
]
144144
},
145+
{
146+
"test-project-path": "org.apache.tomcat/tomcat-jdbc/10.1.7",
147+
"libraries": [
148+
{
149+
"name": "org.apache.tomcat:tomcat-jdbc",
150+
"versions": [
151+
"10.1.7"
152+
]
153+
}
154+
]
155+
},
145156
{
146157
"test-project-path": "com.google.protobuf/protobuf-java-util/3.21.12",
147158
"libraries": [
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gradlew.bat
2+
gradlew
3+
gradle/
4+
build/
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright and related rights waived via CC0
3+
*
4+
* You should have received a copy of the CC0 legalcode along with this
5+
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
6+
*/
7+
8+
plugins {
9+
id "org.graalvm.internal.tck"
10+
}
11+
12+
String libraryVersion = tck.testedLibraryVersion.get()
13+
14+
dependencies {
15+
testImplementation "org.apache.tomcat:tomcat-jdbc:$libraryVersion"
16+
testImplementation 'org.assertj:assertj-core:3.22.0'
17+
testImplementation 'com.h2database:h2:2.1.214'
18+
}
19+
20+
graalvmNative {
21+
agent {
22+
defaultMode = "conditional"
23+
modes {
24+
conditional {
25+
userCodeFilterPath = "metadata-user-code-filter.json"
26+
extraFilterPath = "metadata-extra-filter.json"
27+
}
28+
}
29+
}
30+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
library.version = 10.1.7
2+
metadata.dir = org.apache.tomcat/tomcat-jdbc/10.1.7/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": [
3+
{"includeClasses": "org.apache.tomcat.**"}
4+
]
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rules": [
3+
{"includeClasses": "org.apache.tomcat.**"}
4+
]
5+
}

0 commit comments

Comments
 (0)