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

Just having shamrock-agroal-deployment as dependency shouldn't require it to be configured #270

Closed
Sanne opened this issue Dec 12, 2018 · 5 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@Sanne
Copy link
Member

Sanne commented Dec 12, 2018

In the process of adding new extensions to an existing demo, my first step was to add shamrock-agroal-deployment and then verify the build was still fine.

Tests actually fails with:

Caused by: java.lang.RuntimeException: org.jboss.shamrock.deployment.configuration.ConfigurationError: Required configuration property 'shamrock.datasource.driver' was not defined.
	at org.jboss.shamrock.runner.RuntimeRunner.run(RuntimeRunner.java:128)

I haven't configured it yet, but I'm also not really using Agroal yet so I hope we can improve on this.

@Sanne Sanne added the kind/enhancement New feature or request label Dec 12, 2018
@gsmet
Copy link
Member

gsmet commented Dec 12, 2018

Additional info, the property is defined as:

    @ConfigProperty(name = "shamrock.datasource")
    Optional<DataSourceConfig> dataSourceConfig;

@stuartwdouglas
Copy link
Member

That is a bug, but as @dmlloyd is working on changing all the configuration stuff anyway I am not sure if it is worth looking into at this point.

@Sanne
Copy link
Member Author

Sanne commented Dec 13, 2018

it's ok, not urgent. Just need to track it.

@dmlloyd
Copy link
Member

dmlloyd commented Feb 6, 2019

@Sanne is this fixed now?

@gsmet
Copy link
Member

gsmet commented Mar 2, 2019

Hum. It's even worse now with my config changes.

Will fix.

@gsmet gsmet added kind/bug Something isn't working and removed kind/enhancement New feature or request labels Mar 2, 2019
@gsmet gsmet self-assigned this Mar 2, 2019
@cescoffier cescoffier added this to the 0.11.0 milestone Mar 6, 2019
maxandersen added a commit to maxandersen/quarkus that referenced this issue Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants