camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: camel-sap-netweaver component. Work in progress.
Date Wed, 29 May 2013 14:55:09 GMT
Updated Branches:
  refs/heads/master 2da5f5e3b -> 89f6b1170


camel-sap-netweaver component. Work in progress.


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

Branch: refs/heads/master
Commit: 89f6b117017ac9351fed478b2538a26e67d91665
Parents: 2da5f5e
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed May 29 16:55:00 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed May 29 16:55:00 2013 +0200

----------------------------------------------------------------------
 .../sap/netweaver/NetWeaverFlightDataTest.java     |    4 ++--
 .../netweaver/NetWeaverFlightDataVelocityTest.java |    4 ++--
 .../src/test/resources/flight-info.vm              |    5 ++++-
 .../src/test/resources/log4j.properties            |    2 +-
 4 files changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/89f6b117/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataTest.java
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataTest.java
b/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataTest.java
index 9933014..dc799d5 100644
--- a/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataTest.java
+++ b/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataTest.java
@@ -51,9 +51,9 @@ public class NetWeaverFlightDataTest extends CamelTestSupport {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("direct:start").streamCaching()
+                from("direct:start")
                     .toF("sap-netweaver:%s?username=%s&password=%s", url, username, password)
-                    .to("log:response?showStreams=true")
+                    .to("log:response")
                     .to("mock:result");
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/89f6b117/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataVelocityTest.java
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataVelocityTest.java
b/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataVelocityTest.java
index a45ec05..bfeb924 100644
--- a/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataVelocityTest.java
+++ b/components/camel-sap-netweaver/src/test/java/org/apache/camel/component/sap/netweaver/NetWeaverFlightDataVelocityTest.java
@@ -41,9 +41,9 @@ public class NetWeaverFlightDataVelocityTest extends CamelTestSupport {
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                from("direct:start").streamCaching()
+                from("direct:start")
                     .toF("sap-netweaver:%s?username=%s&password=%s", url, username, password)
-                    .to("log:response?showStreams=true")
+                    .to("log:response")
                     .to("velocity:flight-info.vm")
                     .to("log:info")
                     .to("mock:result");

http://git-wip-us.apache.org/repos/asf/camel/blob/89f6b117/components/camel-sap-netweaver/src/test/resources/flight-info.vm
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/test/resources/flight-info.vm b/components/camel-sap-netweaver/src/test/resources/flight-info.vm
index fa52603..e37ede0 100644
--- a/components/camel-sap-netweaver/src/test/resources/flight-info.vm
+++ b/components/camel-sap-netweaver/src/test/resources/flight-info.vm
@@ -8,4 +8,7 @@
   <br/>Departure city: $body["FlightDetails"]["DepartureCity"]
   <br/>Departure airport: $body["FlightDetails"]["DepartureAirPort"]
   <br/>Destination city: $body["FlightDetails"]["DestinationCity"]
-  <br/>Destination airport: $body["FlightDetails"]["DestinationAirPort"]
\ No newline at end of file
+  <br/>Destination airport: $body["FlightDetails"]["DestinationAirPort"]
+
+  </body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/89f6b117/components/camel-sap-netweaver/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/src/test/resources/log4j.properties b/components/camel-sap-netweaver/src/test/resources/log4j.properties
index 2798566..1a8c8df 100644
--- a/components/camel-sap-netweaver/src/test/resources/log4j.properties
+++ b/components/camel-sap-netweaver/src/test/resources/log4j.properties
@@ -18,7 +18,7 @@
 #
 # The logging properties used for testing.
 #
-log4j.rootLogger=INFO, out
+log4j.rootLogger=INFO, file
 
 #log4j.logger.org.apache.camel=DEBUG
 log4j.logger.org.apache.camel.component.sap.netweaver=DEBUG


Mime
View raw message