Skip to content

Commit

Permalink
Add nativeTest that uses DIGEST-MD5 as SASL mechanism for ElasticJob …
Browse files Browse the repository at this point in the history
…ZookeeperRegistryCenter under GraalVM Native Image
  • Loading branch information
linghengqian committed Aug 12, 2024
1 parent 756de29 commit e101206
Show file tree
Hide file tree
Showing 12 changed files with 873 additions and 3 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<mockito.version>4.11.0</mockito.version>
<awaitility.version>4.2.0</awaitility.version>
<bytebuddy.version>1.14.18</bytebuddy.version>
<testcontainers-bom.version>1.20.1</testcontainers-bom.version>

<h2.version>2.2.224</h2.version>
<hikari-cp.version>4.0.3</hikari-cp.version>
Expand Down Expand Up @@ -350,6 +351,13 @@
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>com.h2database</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"condition":{"typeReachable":"com.github.dockerjava.api.model.RuntimeInfo"},
"name":"com.github.dockerjava.api.model.RuntimeInfo",
"allPublicConstructors": true
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"condition":{"typeReachable":"org.apache.zookeeper.jmx.MBeanRegistry"},
"name":"[Lcom.sun.management.internal.DiagnosticCommandArgumentInfo;"
},
{
"condition":{"typeReachable":"org.apache.zookeeper.jmx.MBeanRegistry"},
"name":"[Lcom.sun.management.internal.DiagnosticCommandInfo;"
},
{
"condition":{"typeReachable":"org.apache.zookeeper.jmx.MBeanRegistry"},
"name":"com.sun.management.internal.DiagnosticCommandArgumentInfo",
"methods":[{"name":"<init>","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","java.lang.String","boolean","boolean","boolean","int"] }]
},
{
"condition":{"typeReachable":"org.apache.zookeeper.jmx.MBeanRegistry"},
"name":"com.sun.management.internal.DiagnosticCommandInfo",
"methods":[{"name":"<init>","parameterTypes":["java.lang.String","java.lang.String","java.lang.String","java.lang.String","java.lang.String","java.lang.String","boolean","java.util.List"] }]
},
{
"condition":{"typeReachable":"org.apache.zookeeper.jmx.MBeanRegistry"},
"name":"java.util.Arrays",
"methods":[{"name":"asList","parameterTypes":["java.lang.Object[]"] }]
}
]
Loading

0 comments on commit e101206

Please sign in to comment.