Greg created IGNITE-11324:
-----------------------------

             Summary: Getting Started Doc openweather API has changed
                 Key: IGNITE-11324
                 URL: https://issues.apache.org/jira/browse/IGNITE-11324
             Project: Ignite
          Issue Type: Task
          Components: documentation
    Affects Versions: 2.7
         Environment: Ignite 2.7

Java 8.0.201

MacOS 10.14.3
            Reporter: Greg
             Fix For: 2.8


In the Ignite Getting Started Guide 
([https://apacheignite.readme.io/docs/getting-started)] the tutorial called 
First Ignite Grid Application makes use of a public API on 
samples.openweathermap.org. This URL is no longer valid and the new URL pattern 
is 
[http://api.openweathermap.org/.|http://api.openweathermap.org/]
 
If the user calls getCurrentTemperature in WeatherServiceImpl, they will get 
the following error
 
Weather forecast in London:<html><head><title>301 Moved 
Permanently</title></head><body bgcolor="white"><center><h1>301 Moved 
Permanently</h1></center><hr><center>openresty/1.9.7.1</center></body></html>
 
Please use the new URL for WEATHER_URL in WeatherServiceImpl
 
private static final String WEATHER_URL = 
"http://api.openweathermap.org/data/2.5/weather?";;
 
 
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to