Skip to content

Commit a8dc77a

Browse files
committed
added native image configuration for http communication
1 parent 4819958 commit a8dc77a

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[
2+
{
3+
"name": "org.apache.commons.logging.impl.LogFactoryImpl",
4+
"allDeclaredConstructors": true,
5+
"allPublicConstructors": true,
6+
"allDeclaredMethods": true,
7+
"allPublicMethods": true,
8+
"allDeclaredClasses": true,
9+
"allPublicClasses": true
10+
},
11+
{
12+
"name": "org.apache.commons.logging.LogFactory",
13+
"allDeclaredConstructors": true,
14+
"allPublicConstructors": true,
15+
"allDeclaredMethods": true,
16+
"allPublicMethods": true,
17+
"allDeclaredClasses": true,
18+
"allPublicClasses": true
19+
},
20+
{
21+
"name": "org.apache.commons.logging.impl.SimpleLog",
22+
"allDeclaredConstructors": true,
23+
"allPublicConstructors": true,
24+
"allDeclaredMethods": true,
25+
"allPublicMethods": true,
26+
"allDeclaredClasses": true,
27+
"allPublicClasses": true
28+
}
29+
]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Args= -H:ReflectionConfigurationResources=${.}/reflect-config.json \
1+
Args= -H:ReflectionConfigurationResources=${.}/reflect-config.json,${.}/http-reflect-config.json \
22
--allow-incomplete-classpath \
3-
--initialize-at-run-time=com.arangodb.internal.http.HttpConnection
3+
--initialize-at-run-time=org.apache.http.impl.auth.NTLMEngineImpl,org.apache.http.conn.ssl.SSLConnectionSocketFactory

0 commit comments

Comments
 (0)