You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native hints can be provided by the application (e.g., for spring applications, via @ImportRuntimeHints), but it's mostly a try-and-error process. Libraries providing metadata simplify the operation of building a native image considerably.
Other aws services already provide metadata, see ssooidc.
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
AWS Java SDK version used
2.29.52
JDK version used
21.0.5
Operating System and version
MacOS 15.2
The text was updated successfully, but these errors were encountered:
@debora-ito not related to the OP PR, but he mentions that sso oidc reachability was done long ago. The issue is that the referenced class software.amazon.awssdk.services.ssooidc.SsoOidcTokenProviderFactory has never existed. I think there is a typo with SsoOidcProfileTokenProviderFactory.
Describe the feature
Add reachability metadata for service
sso
, namely for the constructor ofSsoProfileCredentialsProviderFactory
.Use Case
GraalVM native image requires reflection hints for code that is only used by reflection.
Proposed Solution
Add a file
reflect-config.json
undersrc/main/resources/META-INF/native-image/software.amazon.awssdk/sso
with:Other Information
Native hints can be provided by the application (e.g., for spring applications, via
@ImportRuntimeHints
), but it's mostly a try-and-error process. Libraries providing metadata simplify the operation of building a native image considerably.Other aws services already provide metadata, see ssooidc.
Acknowledgements
AWS Java SDK version used
2.29.52
JDK version used
21.0.5
Operating System and version
MacOS 15.2
The text was updated successfully, but these errors were encountered: