camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/9] camel git commit: Polished
Date Wed, 06 Jan 2016 10:36:09 GMT
Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f8962911
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f8962911
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f8962911

Branch: refs/heads/camel-2.16.x
Commit: f89629116e38e2bd46554354c736dd10b736e5f1
Parents: 17ae7c4
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Jan 5 19:50:46 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Jan 6 11:29:30 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/atmos/AtmosConsumerTest.java | 4 ++--
 .../camel/component/weather/CurrentWeatherConsumerHtmlTest.java  | 2 +-
 .../camel/component/weather/CurrentWeatherConsumerTest.java      | 2 +-
 .../camel/component/weather/CurrentWeatherConsumerXmlTest.java   | 2 +-
 .../component/weather/CurrentWeatherMadridConsumerTest.java      | 2 +-
 .../component/weather/Forecast7WeatherMadridConsumerTest.java    | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f8962911/components/camel-atmos/src/test/java/org/apache/camel/component/atmos/AtmosConsumerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-atmos/src/test/java/org/apache/camel/component/atmos/AtmosConsumerTest.java
b/components/camel-atmos/src/test/java/org/apache/camel/component/atmos/AtmosConsumerTest.java
index b4c339d..0cf47df 100644
--- a/components/camel-atmos/src/test/java/org/apache/camel/component/atmos/AtmosConsumerTest.java
+++ b/components/camel-atmos/src/test/java/org/apache/camel/component/atmos/AtmosConsumerTest.java
@@ -33,7 +33,7 @@ public class AtmosConsumerTest extends CamelTestSupport {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("atmos:foo/" + get + "?remotePath=/path").to("mock:test");
+                from("atmos:foo/get?remotePath=/path").to("mock:test");
             }
         };
     }
@@ -41,7 +41,7 @@ public class AtmosConsumerTest extends CamelTestSupport {
     @Test
     public void shouldCreateGetConsumer() throws Exception {
         // Given
-        AtmosEndpoint atmosEndpoint = context.getEndpoint("atmos:foo/" + get + "?remotePath=/path",
AtmosEndpoint.class);
+        AtmosEndpoint atmosEndpoint = context.getEndpoint("atmos:foo/get?remotePath=/path",
AtmosEndpoint.class);
 
         // When
         Consumer consumer = atmosEndpoint.createConsumer(null);

http://git-wip-us.apache.org/repos/asf/camel/blob/f8962911/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java
b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java
index fccee92..cc87bb8 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerHtmlTest.java
@@ -35,7 +35,7 @@ public class CurrentWeatherConsumerHtmlTest extends BaseWeatherConsumerTest
{
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("weather:foo?mode=HTML").to("mock:result");
+                from("weather:foo?mode=HTML&appId=9162755b2efa555823cfe0451d7fff38").to("mock:result");
             }
         };
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/f8962911/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerTest.java
b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerTest.java
index 79d7973..41b26d8 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerTest.java
@@ -25,7 +25,7 @@ public class CurrentWeatherConsumerTest extends BaseWeatherConsumerTest
{
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("weather:foo").to("mock:result");
+                from("weather:foo?appId=9162755b2efa555823cfe0451d7fff38").to("mock:result");
             }
         };
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/f8962911/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerXmlTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerXmlTest.java
b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerXmlTest.java
index 780a053..a40785c 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerXmlTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherConsumerXmlTest.java
@@ -34,7 +34,7 @@ public class CurrentWeatherConsumerXmlTest extends BaseWeatherConsumerTest
{
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("weather:foo?mode=XML").to("mock:result");
+                from("weather:foo?mode=XML&appId=9162755b2efa555823cfe0451d7fff38").to("mock:result");
             }
         };
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/f8962911/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridConsumerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridConsumerTest.java
b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridConsumerTest.java
index acdde0c..e176276 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridConsumerTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/CurrentWeatherMadridConsumerTest.java
@@ -25,7 +25,7 @@ public class CurrentWeatherMadridConsumerTest extends BaseWeatherConsumerTest
{
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("weather:foo?location=Madrid,Spain").to("mock:result");
+                from("weather:foo?location=Madrid,Spain&appId=9162755b2efa555823cfe0451d7fff38").to("mock:result");
             }
         };
     }

http://git-wip-us.apache.org/repos/asf/camel/blob/f8962911/components/camel-weather/src/test/java/org/apache/camel/component/weather/Forecast7WeatherMadridConsumerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/Forecast7WeatherMadridConsumerTest.java
b/components/camel-weather/src/test/java/org/apache/camel/component/weather/Forecast7WeatherMadridConsumerTest.java
index 3d1e5c7..7dca7ab 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/Forecast7WeatherMadridConsumerTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/Forecast7WeatherMadridConsumerTest.java
@@ -25,7 +25,7 @@ public class Forecast7WeatherMadridConsumerTest extends BaseWeatherConsumerTest
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("weather:foo?location=Madrid,Spain&period=7 days&units=IMPERIAL").to("mock:result");
+                from("weather:foo?location=Madrid,Spain&period=7 days&units=IMPERIAL&appId=9162755b2efa555823cfe0451d7fff38").to("mock:result");
             }
         };
     }


Mime
View raw message