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

Test Geocoder with Google maps mock API if GOOGLE_GEOCODER_API_KEY is not provided #1860

Closed
ppalaga opened this issue Oct 1, 2020 · 4 comments
Assignees
Milestone

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Oct 1, 2020

If GOOGLE_GEOCODER_API_KEY is not provided, the test should run against a mock API, something like we do with Telegram and elsewhere. If a mock testcontainer is available we should use it. Perhaps a change is needed in Camel to make the API base URL configurable (like in Telegram).

@zbendhiba
Copy link
Contributor

Can you assign this one to me ?

@zbendhiba
Copy link
Contributor

impossible because the URI is hard-coded inside the GeocodingApi used by Camel

@zbendhiba
Copy link
Contributor

zbendhiba added a commit to zbendhiba/camel-quarkus that referenced this issue Oct 7, 2020
zbendhiba added a commit to zbendhiba/camel-quarkus that referenced this issue Oct 8, 2020
zbendhiba added a commit to zbendhiba/camel-quarkus that referenced this issue Oct 8, 2020
github-actions bot pushed a commit that referenced this issue Oct 13, 2020
ppalaga pushed a commit that referenced this issue Oct 16, 2020
@ppalaga
Copy link
Contributor Author

ppalaga commented Oct 17, 2020

Fixed in 1.3.0 via 6649cc3

@ppalaga ppalaga closed this as completed Oct 17, 2020
@ppalaga ppalaga added this to the 1.3.0 milestone Oct 17, 2020
ppalaga pushed a commit that referenced this issue Oct 17, 2020
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

No branches or pull requests

2 participants