CAMEL-9272. Add appid param as the user key is required since 9/10/2015 to access the openweathermap service
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9cb4de7f Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9cb4de7f Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9cb4de7f Branch: refs/heads/camel-2.15.x Commit: 9cb4de7fbf2b228dac40494ebcfeb458c5d552dd Parents: 594e11a Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Oct 30 07:45:41 2015 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Oct 30 07:46:11 2015 +0100 ---------------------------------------------------------------------- .../org/apache/camel/component/weather/WeatherConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/9cb4de7f/components/camel-weather/src/main/java/org/apache/camel/component/weather/WeatherConfiguration.java ---------------------------------------------------------------------- diff --git a/components/camel-weather/src/main/java/org/apache/camel/component/weather/WeatherConfiguration.java b/components/camel-weather/src/main/java/org/apache/camel/component/weather/WeatherConfiguration.java index 14793eb..44f95a6 100644 --- a/components/camel-weather/src/main/java/org/apache/camel/component/weather/WeatherConfiguration.java +++ b/components/camel-weather/src/main/java/org/apache/camel/component/weather/WeatherConfiguration.java @@ -38,6 +38,8 @@ public class WeatherConfiguration { @UriPath(description = "The name value is not used.") @Metadata(required = "true") private String name; + @UriParam @Metadata(required = "true") + private String appid; @UriParam private String location = ""; @UriParam @@ -52,8 +54,6 @@ public class WeatherConfiguration { private WeatherUnits units = METRIC; @UriParam private String headerName; - @UriParam - private String appid; public WeatherConfiguration(WeatherComponent component) { this.component = notNull(component, "component");