Commit Graph

56 Commits

Author SHA1 Message Date
Oleg Zhurakousky
634e190f5c INT-2267
removed test compile warnings

INT-2267
removed test compile warnings(2)
2011-11-29 13:50:08 -05:00
Oleg Zhurakousky
c1107a229e Improved check for existing directories
modified for Remote File adapters (e.g., FTP/SFTP)

  added 'auto-create-directory' attribute to FTP outbound adapter

  refactored code structure of FileTransferringMessageHandler
2011-10-19 13:23:44 -04:00
Mark Fisher
3b7cdf019e versionless schemas for file module 2011-10-10 11:57:03 -04:00
Gary Russell
ef5e78d526 INT-2163 Remove Abstract from Test Case Name
Tests in files containing Abstract in their names are not run
by maven.
2011-10-02 11:37:34 -04:00
Gary Russell
96c8d98715 INT-2163 Fix Failing Test on Windows
File timestamp is not rounded to seconds on Windows.

Also changed hard-coded /tmp to use java.io.tmpdir property.
2011-10-02 11:27:44 -04:00
Mark Fisher
754917bb4e dir -> directory 2011-09-02 08:24:47 -04:00
Mark Fisher
874c3f518f polishing 2011-09-02 08:08:14 -04:00
Gary Russell
9fc834f92f INT-1945 (S)FTP Gateway - Initial Implementation
Non-Invasive - only modified files are additions to NS Handlers,
Schemas, and Docs. Some refactoring still required.
2011-09-02 08:08:12 -04:00
Mark Fisher
9f59001230 removed deprecated trigger sub-elements non-core 2011-08-31 12:54:22 -04:00
Oleg Zhurakousky
d38a56922f INT-2000 removed invalid test. Although it could have been fixed with adding a converter to BeanFactoryTypeConverter the actual scenario is invalid and unrealistic 2011-08-08 18:04:13 -04:00
Mark Fisher
8b597c1cda INT-1999 upgraded to Spring Framework 3.1 M2 2011-07-22 18:00:40 -04:00
Oleg Zhurakousky
567802effa INT-1916 polishing, removed unused import 2011-05-25 15:57:35 -04:00
Oleg Zhurakousky
30c0a57a17 INT-1916 fixed inability to configure locker/nio-locker with poller on File Inbound Channel Adapter 2011-05-25 15:54:35 -04:00
Oleg Zhurakousky
2872aceeb7 polishing, made getTemporaryFileSuffix() protected 2011-05-06 12:26:41 -04:00
Oleg Zhurakousky
765503daa4 polishing, fixed warning messages 2011-05-03 19:20:57 -04:00
Iwein Fuld
3955c9d6fb Add non-parametrized message support to PayloadMatcher.
- add testcase (which used to cause compiler failure)
- remove <?> from PayloadMatcher to fix error
- add casts to FileInboundCAWRDTests to deal with backwards compatibility breakage

In some cases backwards compatibility is broken, see INT-1790 for details.
2011-04-30 20:08:34 +02:00
Oleg Zhurakousky
46577add6b INT-1856 added support for filename-generator-expression to outbound file adapters, added tests 2011-04-07 12:39:40 -04:00
Oleg Zhurakousky
2d6e490969 INT-1782 added support for configuring temporary suffix 2011-03-07 15:33:58 -05:00
Oleg Zhurakousky
078c22077a INT-1717, INT-1718 polished tests 2010-12-23 14:29:24 -05:00
Mark Fisher
4476620094 INT-1614 consistency with pattern-matching FileListFilter implementation names. The PatternMatchingFileListFilter is now RegexPatternFileListFilter (breaks existing use, but since 'filename-pattern' now has a *simple* ant path match, users should know aobut the changes). It's also more consistent with SimplePatternFileListFilter 2010-11-22 00:00:39 -05:00
Mark Fisher
352f5f5f73 Fixed issue with generics in List vs. array within CompositeFileListFilter's filterFiles() method. Also removed unnecessary 'filterReferences' option on FileListFilterFactoryBean (can use CompositeFileListFilter for that). The 'filterReference' property is now just 'filter', and the factory's product is now called 'result'. 2010-11-13 10:27:16 -05:00
Iwein Fuld
f77982a33e INT-1542: Add file-regex attribute to file:inbound-channel-adapter 2010-11-12 15:46:36 +01:00
Mark Fisher
23c8c28d0c INT-1591 removing the FileNameExtractor strategy in favor of concrete implementations of AbstractPatternMatchingFileListFilter 2010-11-08 18:33:07 -05:00
Mark Fisher
8a46cfc0e8 INT-1591 removed 'entries' package 2010-11-08 17:51:25 -05:00
Mark Fisher
e4f6b33b7b INT-1591 FileListFilter is now parameterized. Existing implementations required refactoring to specify <File> for <F>. 2010-11-08 17:31:42 -05:00
Mark Fisher
4487168e38 renamed EntryNamer to EntryNameExtractor since it gets the name but does not create it 2010-11-08 13:57:55 -05:00
Mark Fisher
d020387d7e polishing 2010-11-05 14:58:24 -04:00
Mark Fisher
295af55242 polishing 2010-11-05 13:54:11 -04:00
Iwein Fuld
e4dc250385 INT-1541: modify default pattern style to AntPath instead of Regex
- update all patterns in test contexts to comply with ant style
- change configurators to create SimplePatternFileListFilter instead of regex style PatternMatchingFileListFilter
2010-10-22 16:44:49 +02:00
Iwein Fuld
24fa72aab2 QUALITY: avoided file initialization @Before in favor of @Rule overriding (to avoid temporary files remaining in the source path) 2010-10-17 15:13:27 +02:00
Iwein Fuld
42ed97ea39 QUALITY: fix warnings, let AntPathFileListFilter implement FileListFilter 2010-10-15 14:19:08 +02:00
Iwein Fuld
092de55242 INT-1520 rename AntPattern* to AntPath* to match collaborator class name 2010-10-15 11:29:26 +02:00
Iwein Fuld
2bc8b31255 Restored filter implementations for backwards compatibility reasons.
- Restore FileListFilter implementations
- Have FileListFilter implementations extend their EntryListFilter counterpart.
- Deprecate AbstractFileListFilter in favor of EntryListFilter hierarchy
2010-10-15 11:19:19 +02:00
Iwein Fuld
037d2113f8 INT-1520: add AntPatternFileListFilter 2010-10-15 11:12:52 +02:00
Iwein Fuld
695961c2ba QUALITY: avoid writing in source path from testcase 2010-10-15 11:12:52 +02:00
Oleg Zhurakousky
b6e058c59b INT-1263, added more changes and tests related valdating MessageHistory in every module 2010-09-22 18:44:51 -04:00
Mark Fisher
3b15a0dd38 INT-1390 moved MessageBuilder into the 'support' package, moved GenericMessage and ErrorMessage into the 'message' package 2010-08-31 02:51:27 +00:00
Mark Fisher
7c1ab04cd5 INT-1390 Refactoring: moved MessageChannel to the root package, and moved ChannelResolver and BeanFactoryChannelResolver into a new 'suport.channel' package 2010-08-31 01:53:45 +00:00
Josh Long
c67ee979cd cleaning up file adapter support, removing deprecated FileListFilter* hierarchy 2010-08-21 02:21:14 +00:00
Josh Long
48d7279dd8 merging from the branch for the changes made to support EntryListFilters instead of FileListFilters. 2010-08-21 01:42:55 +00:00
Josh Long
1562d53118 Cleaning up stray references, fixing tests 2010-08-20 17:23:07 +00:00
Josh Long
25b5afa528 initial commit of my work to make building filesystem based adapters more consistent, cleaner. 2010-08-20 10:06:13 +00:00
Mark Fisher
80a22b8a2c INT-1129 moved most of the MessagingException hierarchy to the root package (org.springframework.integration) 2010-07-28 15:10:42 +00:00
Mark Fisher
4de9a23357 INT-1129 moved Message and MessageHeaders from 'core' to the root (org.springframework.integration) 2010-07-28 15:05:50 +00:00
Mark Fisher
7434976734 INT-1129 moved MessageRejectedException and MessageHandlingException from 'message' to 'core' 2010-07-28 14:57:35 +00:00
Mark Fisher
4283315c08 INT-1129 moved PollableChannel from 'channel' to 'core' 2010-07-28 14:47:55 +00:00
Mark Fisher
008cac18f5 INT-1129 moved GenericMessage, ErrorMessage, and MessageDeliveryException from 'message' to 'core' 2010-07-28 14:42:02 +00:00
Mark Fisher
00d3e351f7 INT-1129 moved MessageBuilder from 'message' to 'core' 2010-07-28 14:38:36 +00:00
Iwein Fuld
f2827ca74b QUALITY: cleanup after NioFileLockerTests fixed 2010-07-26 11:01:14 +00:00
Iwein Fuld
c6c3e9d107 QUALITY: cleaned up FileToChannelIntegrationTests 2010-07-26 11:01:09 +00:00