You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/10/05 15:10:23 UTC

[GitHub] [camel] ppalaga commented on pull request #4363: CAMEL-15632: Geocoder - Mock API google Maps when no API key available

ppalaga commented on pull request #4363:
URL: https://github.com/apache/camel/pull/4363#issuecomment-703695757


   Being able to test an API client component like this without accessing the actual remote API is a good thing and we'd definitely like to utilize that option in Camel Quarkus. The question is only where in the stack should the mocking happen. The current proposal 36fe01b does that inside the Camel component, thus fully circumventing the Google API client and the HTTP communication. I think that esp. when testing Camel Quarkus native mode, keeping the Google API client and the HTTP communication in game is very important and thus the mocking should happen on the remote side of the REST API. So what I think we'd need is a way to switch the URI base of the Google API client. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org