8 Commits

Author SHA1 Message Date
Artem Bilan
ad398071e2 GH-242: Delete original zip only if no errors
Fixes https://github.com/spring-projects/spring-integration-extensions/issues/242

The `UnZipTransformer` removes a source zip file unconditionally

* Fix `UnZipTransformer` to remove a source zip file only
if unzipping was successful
* More checks for traversal file names
* Upgrade dependencies including Gradle
* Move Maven publishing functionality to `maven-publish` plugin
2021-02-23 10:10:45 -05:00
Artem Bilan
63d3bc0d11 ZIP: Upgrade dependencies; prepare for release 2020-05-26 12:31:00 -04:00
Gary Russell
cca0ba147b Upgrade to Gradle 4.7 2018-05-03 09:43:53 -04:00
Artem Bilan
6f1b2babf6 Upgrade to Gradle 4.0 and SI-4.3.10 2017-06-21 15:47:16 -04:00
Artem Bilan
f4990eebd8 Downgrade to Gradle 2.14
Neither Bamboo (Artifactory Gradle), nor Spring IO plugin supports Gradle 3.x
2016-09-21 17:18:31 -04:00
Artem Bilan
9a13e41d96 GH-164: Fix ZipTransformer deleteFile Mode
Fixes GH-164 (https://github.com/spring-projects/spring-integration-extensions/issues/164)

* Move `deleteFile` logic to the end of of `ZipTransformer#doZipTransform()`
* Add `deleteFile = true` for the `ZipTransformerTests`
* Add `<request-handler-advice-chain>` to the transformers XSD definitions
* Upgrade to Gradle 3.0
* Upgrade dependencies

Move delete logic before reply message creation
2016-09-21 16:54:27 -04:00
Artem Bilan
0a5fedcd7a Zip: Some deep cleanup and polishing
* Upgrade to Gradle-2.5, SI-4.2.4
* Remove redundant dependencies
* Add `slf4j-log4j12` to avoid log noise during testing
* Add `settings.gradle` to allow Artifactory Release Management
* Move XSD stuff to the proper place - `org\springframework\integration\zip\config`
* Get rid of manual `enum` transformation in the `Parser`:
  - we can't do that there because `property-placeholder` and SpEL are processed later
  - no reason to do that at all - `enum`s are properly converted by the SF during bean population phase
* Fix `UnZipTransformer` to `delete()` file in the `finally` block after closing the `InputStream` on file
2016-01-07 21:44:23 -05:00
Gunnar Hillert
416cc39da4 INTEXT-40 Add ZIP Transformer
* Add zip-transformer
* Add unzip-transformer
* Add UnZipResultSplitter
* Add sample

For reference see: https://jira.springsource.org/browse/INTEXT-40
2015-06-15 17:36:44 -04:00