Skip to content

Make SDK easily compileable to GraalVM native image #1852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gustf opened this issue May 19, 2020 · 8 comments
Closed

Make SDK easily compileable to GraalVM native image #1852

gustf opened this issue May 19, 2020 · 8 comments
Labels
closed-for-staleness feature-request A feature should be added or improved. third-party This issue is related to third-party libraries or applications.

Comments

@gustf
Copy link

gustf commented May 19, 2020

This is a repost of this issue in v1, very much wanted in v2 also

aws/aws-sdk-java#2037

@gustf gustf added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels May 19, 2020
@debora-ito
Copy link
Member

Marking as a feature request.

If you want to show support for it please +1 the original post, it helps us with prioritization.

@debora-ito debora-ito removed the needs-triage This issue or PR still needs to be triaged. label May 19, 2020
@debora-ito debora-ito added the third-party This issue is related to third-party libraries or applications. label Jul 14, 2020
@Vinaybs
Copy link

Vinaybs commented Aug 3, 2020

+1

2 similar comments
@kiransterling
Copy link

+1

@wtsiamruk
Copy link

+1

@hendrikhalkow
Copy link

+10

@wtsiamruk
Copy link

+100

@wtsiamruk
Copy link

moreover, quakus team already done that in some way https://github.com/aws-samples/aws-quarkus-demo, maybe some collaboration can be done here? https://github.com/aws-samples/aws-quarkus-demo

@zoewangg
Copy link
Contributor

Hey all, we have added support for GraalVM native image in the SDK via #2268, and the change has been released in 2.16.1. You can checkout a sample native image application here https://github.com/aws/aws-sdk-java-v2/tree/master/test/sdk-native-image-test

We also relased a new maven archetype, https://github.com/aws/aws-sdk-java-v2/tree/master/archetypes/archetype-app-quickstart, which enables you to quickly bootstrap a simple application with built-in native image support and SDK 2.x as a dependency

Example command:

mvn archetype:generate \
    -DarchetypeGroupId=software.amazon.awssdk \
    -DarchetypeArtifactId=archetype-app-quickstart \
    -DarchetypeVersion=2.16.1 \
    -DgroupId=com.test \
    -DartifactId=sample-project \
    -Dservice=s3  \
    -DhttpClient=apache-client \
    -DnativeImage=true \
    -Dregion=us-west-2 \
    -DinteractiveMode=false

Please let us know if you have any feedback! 🙂

@zoewangg zoewangg added the closing-soon This issue will close in 4 days unless further comments are made. label Feb 18, 2021
@github-actions github-actions bot added closed-for-staleness and removed closing-soon This issue will close in 4 days unless further comments are made. labels Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-for-staleness feature-request A feature should be added or improved. third-party This issue is related to third-party libraries or applications.
Projects
None yet
Development

No branches or pull requests

7 participants