Skip to content

Commit a4770a8

Browse files
authored
Added metadata for org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final (#309)
* Added metadata for org.hibernate.reactive:hibernate-reactive-core:2.0.0.Final * Fixed checkstyle * Increased timeout for mysql container start * Troubleshooting mysql startup issue * Removed unused import * Added required-docker-images.txt file
1 parent d0beff9 commit a4770a8

File tree

22 files changed

+734
-0
lines changed

22 files changed

+734
-0
lines changed

metadata/index.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@
106106
"jakarta"
107107
]
108108
},
109+
{
110+
"directory" : "org.hibernate.reactive/hibernate-reactive-core",
111+
"module" : "org.hibernate.reactive:hibernate-reactive-core",
112+
"allowed-packages" : [
113+
"org.hibernate.reactive"
114+
]
115+
},
109116
{
110117
"directory": "org.apache.tomcat.embed/tomcat-embed-core",
111118
"module": "org.apache.tomcat.embed:tomcat-embed-core",

metadata/org.hibernate.orm/hibernate-core/6.2.0.Final/resource-config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
{
2121
"condition":{"typeReachable":"org.hibernate.boot.xsd.LocalXsdResolver"},
2222
"pattern":"\\Qorg/hibernate/jpa/persistence_2_0.xsd\\E"
23+
},
24+
{
25+
"condition": {"typeReachable": "org.hibernate.boot.xsd.LocalXsdResolver"},
26+
"pattern": "\\Qorg/hibernate/jpa/persistence_3_0.xsd\\E"
27+
},
28+
{
29+
"condition": {"typeReachable": "org.hibernate.boot.xsd.LocalXsdResolver"},
30+
"pattern": "\\Qorg/hibernate/jpa/persistence_3_1.xsd\\E"
2331
}
2432
]}
2533
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[
2+
"reflect-config.json",
3+
"resource-config.json"
4+
]
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
[
2+
{
3+
"name": "org.hibernate.reactive.context.impl.VertxContext",
4+
"queryAllPublicMethods": true,
5+
"condition": {
6+
"typeReachable": "org.hibernate.reactive.stage.impl.StageSessionFactoryImpl"
7+
}
8+
},
9+
{
10+
"name": "org.hibernate.reactive.engine.jdbc.env.internal.ReactiveJdbcEnvironment",
11+
"queryAllPublicMethods": true,
12+
"condition": {
13+
"typeReachable": "org.hibernate.reactive.provider.impl.ReactiveTypeContributor"
14+
}
15+
},
16+
{
17+
"name": "org.hibernate.reactive.id.impl.ReactiveIdentifierGeneratorFactory",
18+
"queryAllPublicMethods": true,
19+
"condition": {
20+
"typeReachable": "org.hibernate.reactive.provider.impl.ReactiveEntityManagerFactoryBuilder"
21+
}
22+
},
23+
{
24+
"name": "org.hibernate.reactive.logging.impl.Log_$logger",
25+
"condition": {
26+
"typeReachable": "org.hibernate.reactive.logging.impl.LoggerFactory"
27+
},
28+
"methods": [
29+
{
30+
"name": "<init>",
31+
"parameterTypes": [
32+
"org.jboss.logging.Logger"
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"name": "org.hibernate.reactive.persister.collection.impl.ReactiveOneToManyPersister",
39+
"condition": {
40+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
41+
},
42+
"methods": [
43+
{
44+
"name": "<init>",
45+
"parameterTypes": [
46+
"org.hibernate.mapping.Collection",
47+
"org.hibernate.cache.spi.access.CollectionDataAccess",
48+
"org.hibernate.metamodel.spi.RuntimeModelCreationContext"
49+
]
50+
}
51+
]
52+
},
53+
{
54+
"name": "org.hibernate.reactive.persister.entity.impl.ReactiveSingleTableEntityPersister",
55+
"condition": {
56+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
57+
},
58+
"methods": [
59+
{
60+
"name": "<init>",
61+
"parameterTypes": [
62+
"org.hibernate.mapping.PersistentClass",
63+
"org.hibernate.cache.spi.access.EntityDataAccess",
64+
"org.hibernate.cache.spi.access.NaturalIdDataAccess",
65+
"org.hibernate.metamodel.spi.RuntimeModelCreationContext"
66+
]
67+
}
68+
]
69+
},
70+
{
71+
"name": "org.hibernate.reactive.pool.impl.DefaultSqlClientPool",
72+
"queryAllPublicMethods": true,
73+
"condition": {
74+
"typeReachable": "org.hibernate.reactive.provider.service.NoJdbcEnvironmentInitiator$DialectBuilder"
75+
}
76+
},
77+
{
78+
"name": "org.hibernate.reactive.pool.impl.DefaultSqlClientPoolConfiguration",
79+
"queryAllPublicMethods": true,
80+
"condition": {
81+
"typeReachable": "org.hibernate.reactive.pool.impl.DefaultSqlClientPool"
82+
}
83+
},
84+
{
85+
"name": "org.hibernate.reactive.provider.service.NoJdbcConnectionProvider",
86+
"queryAllPublicMethods": true,
87+
"condition": {
88+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
89+
}
90+
},
91+
{
92+
"name": "org.hibernate.reactive.provider.service.ReactiveMarkerServiceSingleton",
93+
"queryAllPublicMethods": true,
94+
"condition": {
95+
"typeReachable": "org.hibernate.reactive.provider.impl.ReactiveModeCheck"
96+
}
97+
},
98+
{
99+
"name": "org.hibernate.reactive.provider.service.ReactivePersisterClassResolver",
100+
"queryAllPublicMethods": true,
101+
"condition": {
102+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
103+
}
104+
},
105+
{
106+
"name": "org.hibernate.reactive.provider.service.ReactiveSchemaManagementTool",
107+
"queryAllPublicMethods": true,
108+
"condition": {
109+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
110+
}
111+
},
112+
{
113+
"name": "org.hibernate.reactive.provider.service.ReactiveValuesMappingProducerProvider",
114+
"queryAllPublicMethods": true,
115+
"condition": {
116+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
117+
}
118+
},
119+
{
120+
"name": "org.hibernate.reactive.query.sqm.spi.ReactiveNativeQueryInterpreter",
121+
"queryAllPublicMethods": true,
122+
"condition": {
123+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
124+
}
125+
},
126+
{
127+
"name": "org.hibernate.reactive.sql.exec.internal.ReactiveStandardMutationExecutorService",
128+
"queryAllPublicMethods": true,
129+
"condition": {
130+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
131+
}
132+
},
133+
{
134+
"name": "org.hibernate.reactive.vertx.impl.DefaultVertxInstance",
135+
"queryAllPublicMethods": true,
136+
"condition": {
137+
"typeReachable": "org.hibernate.reactive.pool.impl.DefaultSqlClientPool"
138+
}
139+
}
140+
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"resources": {
3+
"includes": [
4+
{
5+
"pattern": "\\QMETA-INF/services/org.hibernate.boot.model.TypeContributor\\E",
6+
"condition": {
7+
"typeReachable": "org.hibernate.reactive.provider.impl.ReactiveEntityManagerFactoryBuilder"
8+
}
9+
},
10+
{
11+
"pattern": "\\QMETA-INF/services/org.hibernate.engine.jdbc.dialect.spi.DialectResolver\\E",
12+
"condition": {
13+
"typeReachable": "org.hibernate.reactive.provider.service.NoJdbcEnvironmentInitiator$DialectBuilder"
14+
}
15+
},
16+
{
17+
"pattern": "\\QMETA-INF/services/org.hibernate.integrator.spi.Integrator\\E",
18+
"condition": {
19+
"typeReachable": "org.hibernate.reactive.provider.impl.ReactiveEntityManagerFactoryBuilder"
20+
}
21+
},
22+
{
23+
"pattern": "\\QMETA-INF/services/org.hibernate.service.spi.SessionFactoryServiceContributor\\E",
24+
"condition": {
25+
"typeReachable": "org.hibernate.reactive.session.impl.ReactiveSessionFactoryImpl"
26+
}
27+
}
28+
]
29+
}
30+
}
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": "2.0.0.Final",
5+
"module": "org.hibernate.reactive:hibernate-reactive-core",
6+
"tested-versions": [
7+
"2.0.0.Final"
8+
]
9+
}
10+
]

tests/src/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@
131131
}
132132
]
133133
},
134+
{
135+
"test-project-path" : "org.hibernate.reactive/hibernate-reactive-core/2.0.0.Final",
136+
"libraries" : [
137+
{
138+
"name" : "org.hibernate.reactive:hibernate-reactive-core",
139+
"versions" : [
140+
"2.0.0.Final"
141+
]
142+
}
143+
]
144+
},
134145
{
135146
"test-project-path": "org.apache.tomcat.embed/tomcat-embed-core/10.0.20",
136147
"libraries": [
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+
mysql-stderr.txt
6+
mysql-stdout.txt
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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.hibernate.reactive:hibernate-reactive-core:$libraryVersion"
16+
testImplementation 'org.assertj:assertj-core:3.22.0'
17+
testImplementation 'jakarta.validation:jakarta.validation-api:3.0.2'
18+
testImplementation 'io.vertx:vertx-mysql-client:4.4.2'
19+
testImplementation 'mysql:mysql-connector-java:8.0.29'
20+
testImplementation 'ch.qos.logback:logback-classic:1.4.5'
21+
}
22+
23+
graalvmNative {
24+
agent {
25+
defaultMode = "conditional"
26+
modes {
27+
conditional {
28+
userCodeFilterPath = "metadata-user-code-filter.json"
29+
extraFilterPath = "metadata-extra-filter.json"
30+
}
31+
}
32+
}
33+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
library.version = 2.0.0.Final
2+
metadata.dir = org.hibernate.reactive/hibernate-reactive-core/2.0.0.Final/

0 commit comments

Comments
 (0)