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

Handle baseUri value of @RegisterRestClient #2690

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Jun 1, 2019

Fixes: #2687

I didn't add a test for this because it would have to contain either:

  • The URL where the application is deployed (which currently is always http://localhost:8081, but in all other tests is read via a system property)
  • The URL of an external service

as the value of baseUri of @RegisterRestClient.

I of course manually tested with the scenario outlined in #2687, but if someone would like a test, I'm glad to add it - just let me know which one of the scenarios explained above you would prefer.

@jclingan
Copy link

jclingan commented Jun 1, 2019

FWIW, I have to think that the Rest Client TCK would test for this (once we start running the MicroProfile TCKs against Quarkus).

@geoand
Copy link
Contributor Author

geoand commented Jun 2, 2019

@gsmet is this something you think we can get into 0.16?

@mkouba
Copy link
Contributor

mkouba commented Jun 3, 2019

@geoand Feel free to configure a TCK runner for Rest Client and update the list here: #348.

@mkouba mkouba added this to the 0.16.0 milestone Jun 3, 2019
@mkouba mkouba merged commit 3e831cb into quarkusio:master Jun 3, 2019
@geoand
Copy link
Contributor Author

geoand commented Jun 3, 2019

@mkouba good to know! I'll check that out and do it soon.

@geoand geoand deleted the #2687 branch June 3, 2019 07:15
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.

MicroProfile Rest Client @RegisterRestClient ignoring baseUri property
3 participants