Author: davsclaus
Date: Tue Jan 18 16:16:26 2011
New Revision: 1060443
URL: http://svn.apache.org/viewvc?rev=1060443&view=rev
Log:
Fixed tests on slow servers.
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,14 +24,13 @@ import org.junit.Test;
* Test the ftps component over SSL (explicit) with client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsExplicitSSLWithClientAuthTest extends
FtpsServerExplicitSSLWithClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+
"&securityProtocol=SSL&isImplicit=false&ftpClient.keyStore.file=./src/test/resources/server.jks&ftpClient.keyStore.type=JKS"
- +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password";
+ +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password&delete=true";
}
@Test
@@ -50,8 +49,9 @@ public class FileToFtpsExplicitSSLWithCl
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,12 +24,11 @@ import org.junit.Test;
* Test the ftps component over SSL (explicit) without client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsExplicitSSLWithoutClientAuthTest extends
FtpsServerExplicitSSLWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true&delete=true"
+ "&securityProtocol=SSL&isImplicit=false";
}
@@ -49,8 +48,9 @@ public class FileToFtpsExplicitSSLWithou
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,14 +24,13 @@ import org.junit.Test;
* Test the ftps component over TLS (explicit) with client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsExplicitTLSWithClientAuthTest extends
FtpsServerExplicitTLSWithClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+
"&securityProtocol=TLS&isImplicit=false&ftpClient.keyStore.file=./src/test/resources/server.jks&ftpClient.keyStore.type=JKS"
- +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password";
+ +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password&delete=true";
}
@Test
@@ -50,8 +49,9 @@ public class FileToFtpsExplicitTLSWithCl
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,13 +24,12 @@ import org.junit.Test;
* Test the ftps component over TLS (explicit) without client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsExplicitTLSWithoutClientAuthTest extends
FtpsServerExplicitTLSWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
- + "&securityProtocol=TLS&isImplicit=false";
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+ + "&securityProtocol=TLS&isImplicit=false&delete=true";
}
@Test
@@ -49,8 +48,9 @@ public class FileToFtpsExplicitTLSWithou
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,14 +24,13 @@ import org.junit.Test;
* Test the ftps component over SSL (implicit) with client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsImplicitSSLWithClientAuthTest extends
FtpsServerImplicitSSLWithClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+
"&securityProtocol=SSL&isImplicit=true&ftpClient.keyStore.file=./src/test/resources/server.jks&ftpClient.keyStore.type=JKS"
- +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password";
+ +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password&delete=true";
}
@Test
@@ -50,8 +49,9 @@ public class FileToFtpsImplicitSSLWithCl
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,13 +24,12 @@ import org.junit.Test;
* Test the ftps component over SSL (implicit) without client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsImplicitSSLWithoutClientAuthTest extends
FtpsServerImplicitSSLWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
- + "&securityProtocol=SSL&isImplicit=true";
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+ + "&securityProtocol=SSL&isImplicit=true&delete=true";
}
@Test
@@ -49,8 +48,9 @@ public class FileToFtpsImplicitSSLWithou
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,14 +24,13 @@ import org.junit.Test;
* Test the ftps component over TLS (implicit) with client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsImplicitTLSWithClientAuthTest extends
FtpsServerImplicitTLSWithClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+
"&securityProtocol=TLS&isImplicit=true&ftpClient.keyStore.file=./src/test/resources/server.jks&ftpClient.keyStore.type=JKS"
- +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password";
+ +
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password&delete=true";
}
@Test
@@ -50,8 +49,9 @@ public class FileToFtpsImplicitTLSWithCl
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java
Tue Jan 18 16:16:26 2011
@@ -24,13 +24,12 @@ import org.junit.Test;
* Test the ftps component over TLS (implicit) without client authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsImplicitTLSWithoutClientAuthTest extends
FtpsServerImplicitTLSWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
- + "&securityProtocol=TLS&isImplicit=true";
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+ + "&securityProtocol=TLS&isImplicit=true&delete=true";
}
@Test
@@ -49,8 +48,9 @@ public class FileToFtpsImplicitTLSWithou
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java
Tue Jan 18 16:16:26 2011
@@ -24,16 +24,15 @@ import org.junit.Test;
* Test the ftps component over SSL (explicit) and without client
authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsWithCustomKeyAndTrustStorePropertiesTest extends
FtpsServerExplicitSSLWithClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+
"&securityProtocol=SSL&isImplicit=false&ftpClient.keyStore.file=./src/test/resources/server.jks&ftpClient.keyStore.type=JKS"
+
"&ftpClient.keyStore.algorithm=SunX509&ftpClient.keyStore.password=password&ftpClient.keyStore.keyPassword=password"
+
"&ftpClient.trustStore.file=./src/test/resources/server.jks&ftpClient.trustStore.type=JKS"
- +
"&ftpClient.trustStore.algorithm=SunX509&ftpClient.trustStore.password=password";
+ +
"&ftpClient.trustStore.algorithm=SunX509&ftpClient.trustStore.password=password&delete=true";
}
@Test
@@ -52,8 +51,9 @@ public class FileToFtpsWithCustomKeyAndT
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java
Tue Jan 18 16:16:26 2011
@@ -24,14 +24,13 @@ import org.junit.Test;
* Test the ftps component over SSL (explicit) and without client
authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsWithCustomTrustStorePropertiesTest extends
FtpsServerExplicitSSLWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true"
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true"
+
"&securityProtocol=SSL&isImplicit=false&ftpClient.trustStore.file=./src/test/resources/server.jks&ftpClient.trustStore.type=JKS"
- +
"&ftpClient.trustStore.algorithm=SunX509&ftpClient.trustStore.password=password";
+ +
"&ftpClient.trustStore.algorithm=SunX509&ftpClient.trustStore.password=password&delete=true";
}
@Test
@@ -50,8 +49,9 @@ public class FileToFtpsWithCustomTrustSt
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java
Tue Jan 18 16:16:26 2011
@@ -24,12 +24,11 @@ import org.junit.Test;
* Test the ftps component over TLS (explicit) and without client
authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsWithDefaultSettingsTest extends
FtpsServerExplicitTLSWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&disableSecureDataChannelDefaults=true";
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&disableSecureDataChannelDefaults=true&delete=true";
}
@Test
@@ -48,8 +47,9 @@ public class FileToFtpsWithDefaultSettin
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java
Tue Jan 18 16:16:26 2011
@@ -26,12 +26,11 @@ import org.junit.Test;
* Test the ftps component over SSL (explicit) and without client
authentication
*
* @version $Revision$
- * @author muellerc
*/
public class FileToFtpsWithFtpClientConfigRefTest extends
FtpsServerExplicitSSLWithoutClientAuthTestSupport {
private String getFtpUrl() {
- return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=5000&ftpClient=#ftpsClient&disableSecureDataChannelDefaults=true";
+ return "ftps://admin@localhost:" + getPort() +
"/tmp2/camel?password=admin&consumer.initialDelay=2000&ftpClient=#ftpsClient&disableSecureDataChannelDefaults=true&delete=true";
}
@Override
@@ -60,8 +59,9 @@ public class FileToFtpsWithFtpClientConf
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
public void configure() throws Exception {
+ from("file:src/main/data?noop=true").log("Got
${file:name}").to(getFtpUrl());
+
from(getFtpUrl()).to("mock:result");
-
from("file:src/main/data?noop=true&consumer.delay=5000").to(getFtpUrl());
}
};
}
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and with client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerExplicitSSLWithClientAuthTestSupport extends
FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and without client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerExplicitSSLWithoutClientAuthTestSupport
extends FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and with client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerExplicitTLSWithClientAuthTestSupport extends
FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and without client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerExplicitTLSWithoutClientAuthTestSupport
extends FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and with client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerImplicitSSLWithClientAuthTestSupport extends
FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and without client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerImplicitSSLWithoutClientAuthTestSupport
extends FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and with client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerImplicitTLSWithClientAuthTestSupport extends
FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -22,7 +22,6 @@ package org.apache.camel.component.file.
* and without client authentication.
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerImplicitTLSWithoutClientAuthTestSupport
extends FtpsServerTestSupport {
Modified:
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java?rev=1060443&r1=1060442&r2=1060443&view=diff
==============================================================================
---
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java
(original)
+++
camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java
Tue Jan 18 16:16:26 2011
@@ -28,7 +28,6 @@ import org.apache.ftpserver.ssl.SslConfi
* Abstract base class for unit testing using a secure FTP Server (over
SSL/TLS)
*
* @version $Revision$
- * @author muellerc
*/
public abstract class FtpsServerTestSupport extends FtpServerTestSupport {