[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: (was: CAMEL_9273_ProxyImplemented.patch) > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273_ProxyImplemented.patch, > CAMEL_9273__add_interface_for_GeoLocationProvider_and_a_default_implementation__Added_unit.patch, > CAMEL_9273__added_boxed_query_and_added_language1.patch, > CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: CAMEL_9273_ProxyImplemented.patch As before + checkstyle correction > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273_ProxyImplemented.patch, > CAMEL_9273__add_interface_for_GeoLocationProvider_and_a_default_implementation__Added_unit.patch, > CAMEL_9273__added_boxed_query_and_added_language1.patch, > CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: CAMEL_9273_ProxyImplemented.patch Added proxy config for the route like geocoder component. > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273_ProxyImplemented.patch, > CAMEL_9273__add_interface_for_GeoLocationProvider_and_a_default_implementation__Added_unit.patch, > CAMEL_9273__added_boxed_query_and_added_language1.patch, > CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: CAMEL_9273__add_interface_for_GeoLocationProvider_and_a_default_implementation__Added_unit.patch add interface for GeoLocationProvider and a default implementation. Added unittest on WeatherQuery > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: > CAMEL_9273__add_interface_for_GeoLocationProvider_and_a_default_implementation__Added_unit.patch, > CAMEL_9273__added_boxed_query_and_added_language1.patch, > CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: CAMEL_9273__added_boxed_query_and_added_language1.patch New patch replacing the last one with the checkstyle fixes. > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273__added_boxed_query_and_added_language1.patch, > CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: (was: CAMEL_9273__added_boxed_query_and_added_language.patch) > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: CAMEL_9273__added_boxed_query_and_added_language.patch * Some refactoring (WeatherConfiguration has to much responsibility) * added rightLon, topLat and zoom for boxed query * added language parameter with enumeration > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273__added_boxed_query_and_added_language.patch, > CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9273: --- Priority: Minor (was: Major) > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard >Priority: Minor > Fix For: 2.18.0 > > Attachments: CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9273: --- Fix Version/s: 2.18.0 > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard > Fix For: 2.18.0 > > Attachments: CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arno Noordover updated CAMEL-9273: -- Attachment: CAMEL_9273__introduced_HttpClient.patch Introduced HttpClient > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard > Attachments: CAMEL_9273__introduced_HttpClient.patch > > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9273: --- Issue Type: Improvement (was: Bug) > Enhance camel-weather component to support all the options of Api 2.5 > - > > Key: CAMEL-9273 > URL: https://issues.apache.org/jira/browse/CAMEL-9273 > Project: Camel > Issue Type: Improvement > Components: camel-weather >Reporter: Charles Moulliard > > Many others queries are supported by the weather Api - > http://openweathermap.org/api. > We should update the component to support more options > {code} > WEATHER > Access current weather data for any location on Earth including over 200,000 > cities! Current weather is frequently updated based on global models and data > from more than 40,000 weather stations. Data is available in JSON, XML, or > HTML format. > api.openweathermap.org/data/2.5/weather?q={city name} > api.openweathermap.org/data/2.5/weather?q={city name},{country code} > api.openweathermap.org/data/2.5/weather?id=2172797 > api.openweathermap.org/data/2.5/weather?lat={lat}={lon} > api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} > api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes > api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 > api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric > FORECAST - 5d > 5 day forecast is available at any location or city. It includes weather data > every 3 hours. Forecast is available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast?q={city name},{country code} > api.openweathermap.org/data/2.5/forecast?id={city ID} > api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} > FORECAST - 16d > 16 day forecasts is available at any location or city. Forecasts include > daily weather and available in JSON, XML, or HTML format. > api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country > code}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} > api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} > HISTORY > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} > start start date (unix time, UTC time zone), e.g. start=1369728000 > end end date (unix time, UTC time zone), e.g. end=1369789200 > cnt amount of returned data (one per hour, can be used instead of 'end') > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country > code}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} > http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} > http://api.openweathermap.org/data/2.5/history/station?id={id}=tick > http://api.openweathermap.org/data/2.5/history/station?id={id}=hour > http://api.openweathermap.org/data/2.5/history/station?id={id}=day > STATION > http://api.openweathermap.org/data/2.5/station?id={id} > http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} > http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-9273) Enhance camel-weather component to support all the options of Api 2.5
[ https://issues.apache.org/jira/browse/CAMEL-9273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Charles Moulliard updated CAMEL-9273: - Description: Many others queries are supported by the weather Api - http://openweathermap.org/api. We should update the component to support more options {code} WEATHER Access current weather data for any location on Earth including over 200,000 cities! Current weather is frequently updated based on global models and data from more than 40,000 weather stations. Data is available in JSON, XML, or HTML format. api.openweathermap.org/data/2.5/weather?q={city name} api.openweathermap.org/data/2.5/weather?q={city name},{country code} api.openweathermap.org/data/2.5/weather?id=2172797 api.openweathermap.org/data/2.5/weather?lat={lat}={lon} api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric FORECAST - 5d 5 day forecast is available at any location or city. It includes weather data every 3 hours. Forecast is available in JSON, XML, or HTML format. api.openweathermap.org/data/2.5/forecast?q={city name},{country code} api.openweathermap.org/data/2.5/forecast?id={city ID} api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} FORECAST - 16d 16 day forecasts is available at any location or city. Forecasts include daily weather and available in JSON, XML, or HTML format. api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country code}={cnt} api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} HISTORY http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} start start date (unix time, UTC time zone), e.g. start=1369728000 end end date (unix time, UTC time zone), e.g. end=1369789200 cnt amount of returned data (one per hour, can be used instead of 'end') http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country code}=hour={start}={end} http://api.openweathermap.org/data/2.5/history/city?q={city ID},{country code}=hour={start}={cnt} http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={end} http://api.openweathermap.org/data/2.5/history/city?lat={lat}={lon}=hour={start}={cnt} http://api.openweathermap.org/data/2.5/history/station?id={id}=tick http://api.openweathermap.org/data/2.5/history/station?id={id}=hour http://api.openweathermap.org/data/2.5/history/station?id={id}=day STATION http://api.openweathermap.org/data/2.5/station?id={id} http://api.openweathermap.org/data/2.5/box/station?cluster={yes/no}={cnt}={bbox} http://api.openweathermap.org/data/2.5/station/find?lat=55=37=30 {code} was: Many others queries are supported by the weather Api. We should update the component to support more options {code} WEATHER Access current weather data for any location on Earth including over 200,000 cities! Current weather is frequently updated based on global models and data from more than 40,000 weather stations. Data is available in JSON, XML, or HTML format. api.openweathermap.org/data/2.5/weather?q={city name} api.openweathermap.org/data/2.5/weather?q={city name},{country code} api.openweathermap.org/data/2.5/weather?id=2172797 api.openweathermap.org/data/2.5/weather?lat={lat}={lon} api.openweathermap.org/data/2.5/weather?zip={zip code},{country code} api.openweathermap.org/data/2.5/box/city?bbox=12,32,15,37,10=yes api.openweathermap.org/data/2.5/find?lat=55.5=37.5=10 api.openweathermap.org/data/2.5/group?id=524901,703448,2643743=metric FORECAST - 5d 5 day forecast is available at any location or city. It includes weather data every 3 hours. Forecast is available in JSON, XML, or HTML format. api.openweathermap.org/data/2.5/forecast?q={city name},{country code} api.openweathermap.org/data/2.5/forecast?id={city ID} api.openweathermap.org/data/2.5/forecast?lat={lat}={lon} FORECAST - 16d 16 day forecasts is available at any location or city. Forecasts include daily weather and available in JSON, XML, or HTML format. api.openweathermap.org/data/2.5/forecast/daily?q={city name},{country code}={cnt} api.openweathermap.org/data/2.5/forecast/daily?id={city ID}={cnt} api.openweathermap.org/data/2.5/forecast/daily?lat={lat}={lon}={cnt} HISTORY http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={end} http://api.openweathermap.org/data/2.5/history/city?id={id}=hour={start}={cnt} start start date (unix time, UTC time zone), e.g. start=1369728000 end end date (unix time, UTC time zone), e.g. end=1369789200 cnt amount of returned data (one per hour, can be used instead of 'end')