-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Rest-client extension is not compatible with YAML extension #13506
Comments
/cc @phillip-kruger |
@radcortez I think this is more a config issue than a rest client issue ? |
You should try : org.acme.rest.client:
CountriesService/mp-rest/url: https://restcountries.eu/rest
CountriesService.scope: javax.inject.Singleton |
@jtama-op Unfortunately the issue still persists. |
I'll have a look. |
This is related with #11744. One way to have it working is to just add each path to the yaml file like this: org:
acme:
rest:
client:
CountriesService/mp-rest/url: https://restcountries.eu/rest Alternative, I recommend to set the countries-services-api/mp-rest/url: https://restcountries.eu/rest |
@radcortez thanks for the reply. I cannot use the |
The rest-client extension is not compatible with the yaml extension.
Steps to reproduce:
The previous definition
Will become
Your application will not start anymore with the given error:
The reason is that the YAML extension will generate config entries similar to
"org.acme.rest.client.CountriesService".mp-rest.url
(double quotes included in the name), while the rest-client extension will look for the following entry:org.acme.rest.client.CountriesService/mp-rest/url
.I do not know which extension is misbehaving in this case.
The text was updated successfully, but these errors were encountered: