-
Notifications
You must be signed in to change notification settings - Fork 560
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
Move afterburner registration to dedicated method #369
Conversation
Hi @geoand, could you explain here why moving the afterburner registration to a separate static method helps with GraalVM support? Isn't it executed anyway when GraalVM starts the application at compile time? I would like to keep the full explanation in this PR for tracking purposes. If you don't mind, I'll merge this PR to the |
Sure thing @sapessi. Basically by having a dedicated method, it is super easy for a framework like Quarkus to provide a GraalVM substitution that simply makes the method a no-op. Does that make sense? |
Thanks @geoand, as soon as the CI checks are done I'll merge in the graalvm branch. |
Thanks! |
Bump. On Quarkus end, issues are starting to roll in more over this issue. |
Bump on this again. Any progress yet? |
I started merging open PRs yesterday. As we were not progressing with the graalvm branch as expected, it's probably best to just merge 3a04d8c for now. |
From my outsider's POV, that would be great |
# API Gateway regional endpoints | ||
EndpointConfiguration: REGIONAL | ||
|
||
Resources: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommendation generated by Amazon CodeGuru Reviewer. Leave feedback on this recommendation by replying to the comment or by reacting to the comment using emoji.
StageName contains invalid characters (Pattern: ^[a-zA-Z0-9-_]+$) at Resources/ServerlessHttpApiApiGatewayDefaultStage/Properties/StageName
Ok let's do that. Would you mind to rebase your branch on the dev branch? I'll merge it afterwards... |
This makes it a lot easier for frameworks that want to use the module in GraalVM, to exclude Afterburner (which does not work in GraalVM native image because it generated classes at runtime)
Do you want me to do that? Asking because I saw that one of the maintainer of the project pushed commits into the PR's branch |
7a3954f
to
be47441
Compare
Not a problem at all. Done :) |
Thank you! |
You are welcome! |
Description of changes:
This makes it a lot easier for frameworks that want
to use the module in GraalVM, to exclude Afterburner
(which does not work in GraalVM native image because
it generated classes at runtime)
By submitting this pull request