-
Notifications
You must be signed in to change notification settings - Fork 564
Native image
Helidon supports ahead of time compilation using GraalVM native image.
The following table shows support of native-image
in Helidon modules (all module names are prefixed with helidon-
).
There are two sections - one for Helidon 1.x and one for (the next version) Helidon 2.x.
Status:
β
- native-image
is supported and tested
π - native-image
should work, not part of regular tests (yet)
πΆ - native-image
works partially (description provided)
β³ - native-image
does not work (and we are working on it!)
π - native-image
does not work (and will not work for now)
β - native-image
not yet tested
Module | Description |
native-image status |
---|---|---|
webserver |
HTTP server | β |
media-jsonp-server |
JSON-P suppport | β |
media-jsonb-server |
JSON-B suppport | π |
media-jsonb-server |
Jackson suppport | π |
config |
Configuration | β |
config-yaml |
YAML file support | β |
config-object-mapping |
Object mapping support | π |
metrics |
Metric support | β |
health |
Health check support | β |
health-checks |
Health checks (built-in) | β |
tracing |
Tracing builder | π |
tracing-zipkin |
Zipkin tracing support | π |
tracing-jaeger |
Jaeger tracing support | π |
security |
Security | π |
security-providers-abac |
ABAC provider | π |
security-providers-http-auth |
HTTP Basic authentication provider | π |
security-providers-http-sign |
HTTP Signatures provider | π |
security-providers-oidc |
Open ID Connect provider | π |
org.glassfish.jersey.core:jersey-client |
Jersey HTTP Client *1 | πΆ |
org.glassfish.jersey.inject:jersey-hk2 |
Jersey HK2 *2 | πΆ |
security-integration-jersey-client |
Security propagation | π |
tracing-jersey-client |
Tracing propagation | π |
microprofile |
All Helidon MP modules | π |
*1: Jersey HTTP Client: Jersey core currently contains a dependency on "rendered image writer" - this depends on Image I/O. As a result, you can build such an image on an environment that supports Image I/O (such as a MacOS or a Linux distribution with X). Unfortunately this is not supported when building a native image within a Docker (as is one option in our quickstart example)
*2: Jersey HK2: This is required for the Jersey client to work. We have seen this working without issues, though there is quite a wide filter to include classes for reflection. This results in long image builds.
This list is valid for Helidon 2.0 and newer ONLY
Current list is valid for master
branch (until the release of Helidon 2.0.0).
Support will NOT be backported into 1.x branch, due to required backward incompatible changes in MP implementation.
Module | Description |
native-image status |
---|---|---|
config |
Configuration | β |
config-encryption |
Encrypt secrets in config | β |
config-etcd |
etcd config source | β |
config-git |
git config source | β |
config-hocon |
hocon config source | π |
config-object-mapping |
Object mapping support | β |
config-yaml |
YAML config source | β |
dbclient |
Helidon reactive DB client | β³ |
health |
Health check support | β |
health-checks |
Health checks (built-in) | β |
jersey-client |
Jersey client *1 | πΆ |
jersey-media-jsonp |
Jersey JSON-P | β |
jersey-server |
Jersey server *1 | πΆ |
media-jackson-server |
Jackson suppport | π |
media-jsonb-server |
JSON-B suppport | π |
media-jsonp-server |
JSON-P suppport | β |
metrics |
Metric support | β |
metrics-prometheus |
Prometheus client support | β |
openapi |
OpenAPI support | β |
security |
Security | β |
security-abac-policy |
ABAC provider | β |
security-abac-policy-el |
ABAC extension for Expression language | β |
security-abac-role |
ABAC extension for RBAC | β |
security-abac-scope |
ABAC extension for scopes | β |
security-abac-time |
ABAC extension for time based rules | β |
security-integration-jersey |
Security integration with Jersey server | β |
security-integration-jersey-client |
Security integration with Jersey client | β |
security-integration-webserver |
Security integration with webserver | β |
security-providers-abac |
ABAC provider | β |
security-providers-google-login |
Google login button support | β |
security-providers-header |
Header based security | β |
security-providers-http-auth |
HTTP Basic authentication provider | β |
security-providers-http-sign |
HTTP Signatures provider | π |
security-providers-idcs-mapper |
IDCS role mapping | β |
security-providers-jwt |
JWT provider (use OIDC) | β |
security-providers-oidc |
Open ID Connect provider | β |
tracing |
Tracing builder | β |
tracing-jaeger |
Jaeger tracing support | β |
tracing-jersey |
Tracing support for Jersey server | β |
tracing-jersey-client |
Tracing support for Jersey client | β |
tracing-zipkin |
Zipkin tracing support | π |
webclient-jaxrs |
Helidon extension of Jersey client | π |
webclient |
Helidon reactive web client | β |
webserver |
HTTP Server | β |
webserver-access-log |
Access Log | β |
webserver-jersey |
Jersey support | β |
websocket |
WebSocket support | β |
*1: Jersey Server and Client: Jersey core currently contains a dependency on "rendered image writer" - this depends on Image I/O. As a result, you can build such an image on an environment that supports Image I/O (such as a MacOS or a Linux distribution with X). Unfortunately this is not supported when building a native image within a Docker (as is one option in our quickstart example) Also there is quite a wide filter to include classes for reflection. This results in long image builds.
Module | Description |
native-image status |
---|---|---|
microprofile-cdi |
CDI | β |
microprofile-server |
Server Impl | β |
microprofile-access-log |
Access Log Support | β |
microprofile-config |
Configuration Spec Impl | β |
microprofile-fault-tolerance |
Fault Tolerance Spec Impl | β |
microprofile-health |
Health Spec Impl | β |
microprofile-jwt-auth |
JWT-Auth Spec Impl | β |
microprofile-metrics |
Metrics Spec Impl | β |
microprofile-oidc |
OIDC Security Support | β |
microprofile-openapi |
OpenAPI Spec Impl | β |
microprofile-rest-client |
REST-Client Spec Impl *1 | πΆ |
microprofile-security |
Security Support | β |
microprofile-tracing |
Tracing Spec Impl | β |
*1 - MP REST-Client: calling a default method on an interface does not work (limitations of native image due to complicated method reference implementation).
Modules of gRPC implementation.
Module | Description |
native-image status |
---|---|---|
grpc-server |
gRPC server | β |
grpc-client |
gRPC client | β |
grpc-metrics |
Metrics for gRPC | β |
security-integration-grpc |
gRPC security | β |
Module | Description |
native-image status |
---|---|---|
microprofile-grpc-server |
gRPC Server | β |
microprofile-grpc-client |
gRPC Client | β |
microprofile-grpc-metrics |
gRPC Metrics | β |
Module | Description |
native-image status |
---|---|---|
integrations-cdi-datasource-hikaricp |
Hikari Data Source | π |
integrations-cdi-datasource-ucp |
Oracle UCP Data Source | β |
integrations-cdi-jta |
JTA | π |
integrations-cdi-eclipselink |
JPA - Eclipse Link | β |
integrations-cdi-hibernate |
JPA - Hibernate | π |
integrations-cdi-jedis |
Jedis Support | β |
integrations-cdi-oci-objectstorage |
Object Storage | β |
serviceconfiguration-api |
β | |
serviceconfiguration-config-source |
β | |
serviceconfiguration-hikaricp |
β | |
serviceconfiguration-hikaricp-accs |
β | |
serviceconfiguration-hikaricp-localhost |
β | |
serviceconfiguration-system-kubernetes |
β | |
serviceconfiguration-system-oracle-accs |
β | |
serviceconfiguration-ucp |
β | |
serviceconfiguration-ucp-accs |
β | |
serviceconfiguration-ucp-localhost |
β |