[
https://issues.apache.org/jira/browse/CAMEL-12554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538382#comment-16538382
]
ASF GitHub Bot commented on CAMEL-12554:
----------------------------------------
jborza commented on a change in pull request #2415: CAMEL-12554 -
camel-geocoder - Use new API
URL: https://github.com/apache/camel/pull/2415#discussion_r201297049
##########
File path:
components/camel-geocoder/src/test/java/org/apache/camel/component/geocoder/GeoCoderComponentAddressTest.java
##########
@@ -39,10 +39,10 @@ protected RouteBuilder createRouteBuilder() throws
Exception {
return new RouteBuilder() {
public void configure() {
from("direct:start")
- .to("geocoder:address:Paris, France")
- .to("log:result")
- .log("Location ${header.CamelGeocoderAddress} is at
lat/lng: ${header.CamelGeocoderLatlng} in city ${header.CamelGeocoderCity}")
- .to("mock:result");
+ .to("geocoder:address: empty?apiKey=" + getApiKey())
Review comment:
@onderson are there other tests that require secrets?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> camel-geocoder - Use new API
> ----------------------------
>
> Key: CAMEL-12554
> URL: https://issues.apache.org/jira/browse/CAMEL-12554
> Project: Camel
> Issue Type: Improvement
> Components: camel-geocoder
> Reporter: Claus Ibsen
> Assignee: Önder Sezgin
> Priority: Major
> Fix For: 2.23.0
>
>
> See
> [https://github.com/apilayer/freegeoip#readme]
> There is a newer API. Not sure if we have migrated already, but as the old
> API is terminated in July 2018 then we dont have so much time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)