This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new c3c800f  CAMEL-12342 - Camel-weather: freegeoip.io has been moved to 
freegeoip.net
c3c800f is described below

commit c3c800f41e1f9ee787e572c0a2a62a80d28fd412
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Sat Mar 10 17:25:52 2018 +0100

    CAMEL-12342 - Camel-weather: freegeoip.io has been moved to freegeoip.net
---
 .../component/weather/geolocation/FreeGeoIpGeoLocationProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-weather/src/main/java/org/apache/camel/component/weather/geolocation/FreeGeoIpGeoLocationProvider.java
 
b/components/camel-weather/src/main/java/org/apache/camel/component/weather/geolocation/FreeGeoIpGeoLocationProvider.java
index 1c32fb4..6c41bf3 100644
--- 
a/components/camel-weather/src/main/java/org/apache/camel/component/weather/geolocation/FreeGeoIpGeoLocationProvider.java
+++ 
b/components/camel-weather/src/main/java/org/apache/camel/component/weather/geolocation/FreeGeoIpGeoLocationProvider.java
@@ -37,7 +37,7 @@ public class FreeGeoIpGeoLocationProvider implements 
GeoLocationProvider {
     @Override
     public GeoLocation getCurrentGeoLocation() throws Exception {
         HttpClient httpClient = component.getHttpClient();
-        GetMethod getMethod = new GetMethod("https://freegeoip.io/json/";);
+        GetMethod getMethod = new GetMethod("https://freegeoip.net/json/";);
         try {
             int statusCode = httpClient.executeMethod(getMethod);
             if (statusCode != HttpStatus.SC_OK) {

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to