You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/10/30 07:43:19 UTC

[2/3] camel git commit: CAMEL-9272. Add appid param as the user key is required since 9/10/2015 to access the openweathermap service

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/9e9ff70d
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9e9ff70d
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9e9ff70d

Branch: refs/heads/camel-2.16.x
Commit: 9e9ff70d3be5df13944bfdbbc612d2f243f510ea
Parents: 3c613a6
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Oct 30 07:45:41 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Oct 30 07:45:59 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/9e9ff70d/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 e0c87d6..c079552 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");