Skip to content

Commit c4b969a

Browse files
authored
Added metadata for com.microsoft.sqlserver:mssql-jdbc (#245)
* Added metadata for com.microsoft.sqlserver.mssql-jdbc * Replaced `awaitility` with custom implementation * Modified metadata for com.microsoft.sqlserver.mssql-jdbc (added condition) * Replaced 9.4.1.jre16 with 12.2.0.jre11 version * Added empty line at the end of files
1 parent 788c518 commit c4b969a

File tree

13 files changed

+274
-0
lines changed

13 files changed

+274
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
"resource-config.json"
3+
]
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"resources": {
3+
"includes": [
4+
5+
]
6+
},
7+
"bundles": [
8+
{
9+
"name": "com.microsoft.sqlserver.jdbc.SQLServerResource",
10+
"classNames": [
11+
"com.microsoft.sqlserver.jdbc.SQLServerResource"
12+
]
13+
}
14+
]
15+
}
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": "12.2.0.jre11",
5+
"module": "com.microsoft.sqlserver:mssql-jdbc",
6+
"tested-versions": [
7+
"12.2.0.jre11"
8+
]
9+
}
10+
]

metadata/index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"directory": "com.h2database/h2",
2424
"module": "com.h2database:h2"
2525
},
26+
{
27+
"directory" : "com.microsoft.sqlserver/mssql-jdbc",
28+
"module" : "com.microsoft.sqlserver:mssql-jdbc"
29+
},
2630
{
2731
"directory": "org.opengauss/opengauss-jdbc",
2832
"module": "org.opengauss:opengauss-jdbc"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
gradlew.bat
2+
gradlew
3+
gradle/
4+
build/
5+
mssql-stderr.txt
6+
mssql-stdout.txt
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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 "com.microsoft.sqlserver:mssql-jdbc:$libraryVersion"
16+
testImplementation 'org.assertj:assertj-core:3.22.0'
17+
}
18+
19+
graalvmNative {
20+
binaries {
21+
all {
22+
buildArgs.add("--report-unsupported-elements-at-runtime")
23+
buildArgs.add("-H:+AddAllCharsets")
24+
}
25+
}
26+
agent {
27+
defaultMode = "conditional"
28+
modes {
29+
conditional {
30+
userCodeFilterPath = "metadata-user-code-filter.json"
31+
extraFilterPath = "metadata-extra-filter.json"
32+
}
33+
}
34+
}
35+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
library.version = 12.2.0.jre11
2+
metadata.dir = com.microsoft.sqlserver/mssql-jdbc/12.2.0.jre11/
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rules": [
3+
{
4+
"includeClasses": "com.microsoft.**"
5+
}
6+
]
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rules": [
3+
{
4+
"includeClasses": "com.microsoft.**"
5+
}
6+
]
7+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mcr.microsoft.com/mssql/server:2022-RTM-CU2-ubuntu-20.04

0 commit comments

Comments
 (0)