Skip to content
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

Refactor Amazon Services initialization a bit #17836

Merged
merged 2 commits into from
Jun 10, 2021

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Jun 10, 2021

We now use synthetic beans and constructor injection to avoid race conditions.

In passing, I fixed #15213 .

I'm marking this one for backport as I will backport the second commit to 2.0 (not the first one rewriting a ton of things).

@gsmet
Copy link
Member Author

gsmet commented Jun 10, 2021

@geoand could you have a look? It's the same change applied to all services so it looks big but it's not :).

@gsmet gsmet force-pushed the amazon-instance branch from 17cfc18 to 34d8f4b Compare June 10, 2021 13:48
@quarkus-bot
Copy link

quarkus-bot bot commented Jun 10, 2021

This workflow status is outdated as a new workflow run has been triggered.

🚫 This workflow run has been cancelled.

Failing Jobs - Building 17cfc18

⚠️ Artifacts of the workflow run were not available thus the report misses some details.

Status Name Step Test failures Logs Raw logs
Initial JDK 11 Build Build ⚠️ Check → Logs Raw logs

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gsmet gsmet merged commit 9b8a19f into quarkusio:main Jun 10, 2021
@quarkus-bot quarkus-bot bot added this to the 2.1 - main milestone Jun 10, 2021
@gsmet gsmet modified the milestones: 2.1 - main, 2.0.0.Final Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

injecting Instance<S3Client> results in NPE at io.quarkus.amazon.s3.runtime.S3ClientProducer.client()
2 participants