From 574512dfebf753dfb95899ff8a70fa915b38d2c3 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Thu, 18 Nov 2010 03:28:14 -0500 Subject: [PATCH] INTSAMPLES-12 polishing --- basic/sftp/.gitignore | 1 + .../sftp/SftpInboundReceiveSample.java | 18 ++++++-- basic/sftp/src/test/resources/user.properties | 4 +- .../test-classes/META-INF/keys/sftp_rsa | 30 -------------- .../SftpInboundReceiveSample-context.xml | 39 ------------------ .../SftpOutboundTransferSample-context.xml | 30 -------------- .../sftp/target/test-classes/log4j.properties | 9 ---- .../sftp/SftpInboundReceiveSample.class | Bin 1764 -> 0 bytes .../sftp/SftpOutboundTransferSample.class | Bin 2162 -> 0 bytes .../sftp/target/test-classes/user.properties | 2 - 10 files changed, 18 insertions(+), 115 deletions(-) delete mode 100644 basic/sftp/target/test-classes/META-INF/keys/sftp_rsa delete mode 100644 basic/sftp/target/test-classes/META-INF/spring/integration/SftpInboundReceiveSample-context.xml delete mode 100644 basic/sftp/target/test-classes/META-INF/spring/integration/SftpOutboundTransferSample-context.xml delete mode 100644 basic/sftp/target/test-classes/log4j.properties delete mode 100644 basic/sftp/target/test-classes/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.class delete mode 100644 basic/sftp/target/test-classes/org/springframework/integration/samples/sftp/SftpOutboundTransferSample.class delete mode 100644 basic/sftp/target/test-classes/user.properties diff --git a/basic/sftp/.gitignore b/basic/sftp/.gitignore index 63cec733..fa10a8a5 100644 --- a/basic/sftp/.gitignore +++ b/basic/sftp/.gitignore @@ -1 +1,2 @@ /local-dir +/target diff --git a/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.java b/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.java index 5b22cc12..4a99126f 100644 --- a/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.java +++ b/basic/sftp/src/test/java/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.java @@ -1,5 +1,17 @@ -/** - * +/* + * Copyright 2002-2008 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package org.springframework.integration.samples.sftp; @@ -10,7 +22,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.integration.core.PollableChannel; /** - * @author ozhurakousky + * @author Oleg Zhurakousky * */ public class SftpInboundReceiveSample { diff --git a/basic/sftp/src/test/resources/user.properties b/basic/sftp/src/test/resources/user.properties index 059b6e79..986067f9 100644 --- a/basic/sftp/src/test/resources/user.properties +++ b/basic/sftp/src/test/resources/user.properties @@ -1,2 +1,2 @@ -user=ozhurakousky -passphrase=springintegration \ No newline at end of file +user= +passphrase= \ No newline at end of file diff --git a/basic/sftp/target/test-classes/META-INF/keys/sftp_rsa b/basic/sftp/target/test-classes/META-INF/keys/sftp_rsa deleted file mode 100644 index 05a66c80..00000000 --- a/basic/sftp/target/test-classes/META-INF/keys/sftp_rsa +++ /dev/null @@ -1,30 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,89FEB82756CA8E56 - -TKzzEZLLatyEMrbDVvTOkf6mvdRr/XT8+AZ1ZZfcw02sdUXSVtLMWi1tGhwTzvka -Acl438D+O6WZT/JBvMcST/17KT2CFwgYrFGwxVnDXge5eQ7bHNZ33vPXVNsfmuhx -OtNPy35LiClXt7FP1JpWlubWjXrlWIxCoxOYvQuETTc6t+CMjoRL1rvAv7IdPuso -nT8XO0hwOXIUn5ZVC47ChuQjyisbfL3elSp3vE9T4Jwcb2QIkQ7DAJ6/y79ne7C3 -BTELKnuskK8WDnwaBMJImMK1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6MWng2LKsddDR6 -19CkO28M9SORD25AFfn4AEPqa+Lp9fMKgs3gm2KkTpSzuoZJp9Y85H/GmmeaZyzc -yqNQrOc8KhDFH9wtTMiquB2cY6qwEUngV57gaQslPE2AW0+tAjbYirku+hFkOZId -dOYmibf6CW7IvbIPPBR2dVlzyn9JNwszTNLxvJLGmF3btKKlKr/GyMomsR0AYSWn -LjCgN4NYYC/XhseeJ2D/vygBoV8kRL9UFDp8K+/IaI7S8RKsW3RrSA== ------END RSA PRIVATE KEY----- diff --git a/basic/sftp/target/test-classes/META-INF/spring/integration/SftpInboundReceiveSample-context.xml b/basic/sftp/target/test-classes/META-INF/spring/integration/SftpInboundReceiveSample-context.xml deleted file mode 100644 index 3cd6ac05..00000000 --- a/basic/sftp/target/test-classes/META-INF/spring/integration/SftpInboundReceiveSample-context.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/basic/sftp/target/test-classes/META-INF/spring/integration/SftpOutboundTransferSample-context.xml b/basic/sftp/target/test-classes/META-INF/spring/integration/SftpOutboundTransferSample-context.xml deleted file mode 100644 index ed1793d4..00000000 --- a/basic/sftp/target/test-classes/META-INF/spring/integration/SftpOutboundTransferSample-context.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/basic/sftp/target/test-classes/log4j.properties b/basic/sftp/target/test-classes/log4j.properties deleted file mode 100644 index 94686dac..00000000 --- a/basic/sftp/target/test-classes/log4j.properties +++ /dev/null @@ -1,9 +0,0 @@ -log4j.rootCategory=WARN, stdout - -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %t %c{2}:%L - %m%n - -log4j.category.org.springframework=WARN -log4j.category.org.springframework.integration.sftp=TRACE -log4j.category.org.springframework.integration.samples.sftp=TRACE diff --git a/basic/sftp/target/test-classes/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.class b/basic/sftp/target/test-classes/org/springframework/integration/samples/sftp/SftpInboundReceiveSample.class deleted file mode 100644 index 74e564bba73a1b101a38f83a20e6318eba1bbb5f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1764 zcmb`HTXWM!6vzK-C&)M|7?S{jkh&MBoj4J<5{fC{n1ljONaNH~9yj*JQIJ+bS^@o7 z^dXs)nNDZ=)=$z;!St*o8hPr>@K8PMYWM7(%kP}Ce|`AvcK|ogF_2?e@q&RB`hhJ6 zI{|ma8!vci*;0u?z?JPuE99>4h|mgmly7xtcp|sGNcJ~HPuQpp2kA&+nOm9X~*{%5b(?YagW|-fR?c1{XE-OAJ@58F5GH)HgCa z$%R_CfXfW0f+WqYT`r|?41CUTYZQQN$@IKHSR0<>=oF?mC-4QnGVmqC;;8E%`Tdub ziLY^mGDh(&3oaR!KFR$|KuIw+PU0KX3{-~-wew4;gll3B^Hii>L^V5=T(v!GgU~1f zB)ChdUtlu1RGX74Vqh z(z;inb`MhF8y;3t82!pPJzVtV|JJOYX;y89diCk2BO-^=Qe(I_672DnNbg3;(XZ1g zd7YLu!|jn;vgsMs4y3Et@uHw7v@$B5WpL0(H}jXG#a$FXl68z&mExf zj(&0|(x}Bi2@^D$$pM-_qZM^DNpm=zo+{C-75zy{wSiafappz&?A$)44lv!GFVB=` z4^heE56rIpimUHYe^FjMz_t1zZZhm+X&;S!JoqSjbi8O)ize~IA)e-sE*?33ksJdi u$-ybi;2f6dVcWz7_?V6ZsU!}jft*4QYgng%X7Cf9V}pWX_>nZ^u=x+wi1e`l diff --git a/basic/sftp/target/test-classes/org/springframework/integration/samples/sftp/SftpOutboundTransferSample.class b/basic/sftp/target/test-classes/org/springframework/integration/samples/sftp/SftpOutboundTransferSample.class deleted file mode 100644 index fbabe25eeaedfb1e2b3092f5621175552377cecd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2162 zcmb_eT~pge6g_K9M2yl<2W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`tOC3T`xj zyA(jXPH?Xg%o_x18slWHQ%E93|4Zap_c2T7FO4EH_yO~HPQL&Yy@fW|ke*WN9`=dO zI5zM-t&C9oRs4vjM0$y6FW?zfeNK_8G3_}{bLC(p@;BBr3~QJerP&INMNs`0=dxo; diff --git a/basic/sftp/target/test-classes/user.properties b/basic/sftp/target/test-classes/user.properties deleted file mode 100644 index 059b6e79..00000000 --- a/basic/sftp/target/test-classes/user.properties +++ /dev/null @@ -1,2 +0,0 @@ -user=ozhurakousky -passphrase=springintegration \ No newline at end of file