Commit Graph

36 Commits

Author SHA1 Message Date
Artem Bilan
175cc06e0b Fix NPE in the S3Session and validate bucket 2016-05-19 12:02:25 -04:00
Artem Bilan
5d4bcb37db INTEXT-221: Document S3 Gateway & CheckStyle
JIRA: https://jira.spring.io/browse/INTEXT-221

Also apply Checkstyle for the project
Move testing to the `AssertJ`
Adjust `.travis.yml` for Gradle 2.13
Add `CODE_OF_CONDUCT.adoc`
2016-05-18 18:44:38 -04:00
Artem Bilan
f946a1d5e9 Some various fixes
* Upgrade to Gradle-2.13
* Add `org.gradle.daemon=true` option
* Upgrade to SC-AWS-1.1.0.RELEASE
* Upgrade to SI-4.2.6
* Make `spring-cloud-aws-messaging` as `optional` since not all SI-AWS users require messaging components and needs only S3, for example
2016-05-16 12:55:53 -04:00
Spring Buildmaster
7824b647cf [artifactory-release] Next development version 2016-04-14 02:25:16 +00:00
Spring Buildmaster
6261e15cbd [artifactory-release] Release version 1.0.0.BUILD-SNAPSHOT 2016-04-14 02:25:12 +00:00
Artem Bilan
6b4f28f9f5 Upgrade to slf4j.1.7.21 2016-04-13 22:17:40 -04:00
Artem Bilan
1c0b315462 Pre-release polishing 2016-04-13 16:33:26 -04:00
Artem Bilan
d73390191e Removed obsolete XSD types 2016-04-12 15:21:29 -04:00
Artem Bilan
29e255cc64 Add S3 MessageSource implementation
JIRA: https://jira.spring.io/browse/INTEXT-51,
https://jira.spring.io/browse/INTEXT-194,
https://jira.spring.io/browse/INTEXT-199

* Add S3 Inbound Channel Adapter fully based on the `AbstractInboundFileSynchronizer`,
`AbstractInboundFileSynchronizingMessageSource` implementation.
* Provide the standard SI `RemoteFileTemplate` and `SessionFactory` abstractions implementations.
* Upgrade to Gradle-2.12
* Provide Namespace support
* Ensure everything with tests
* Remove legacy, redundant implementation, infrastructure code for it and test-cases.
Everything in favor of the new implementation.
2016-04-04 19:59:02 -04:00
Artem Bilan
5167b36b4d Add S3MessageHandler Namespace Support
* Add `<int-aws:s3-outbound-channel-adapter>` and `<int-aws:s3-outbound-gateway>`
components. Their parsers and tests for them.
* Remove the old S3 Outbound Channel Adapter implementation and its tests

Rename `AwsNamespaceHandler` properly

`git mv -f File file` does the trick

Add `.travis.yml` to enable Travis CI on PRs
2016-03-30 11:05:33 -04:00
Artem Bilan
a0893cb88e Add S3MessageHandler
Implement the `S3MessageHandler` based on the `TransferManager`.
Provide `upload`, `download` and `copy` operations.
Support single file upload/download as well as directory structure.
The `S3MessageHandler` may behave as `one-way`, as well as `request-reply` component.
The former is blocked, the second is async.

See test-cases and JavaDocs for more info.
2016-03-28 17:07:19 -04:00
Erdur, Serkan
3fc01d8861 Fix duplicate attributes in the XSD definitions 2016-03-28 11:56:04 -04:00
Artem Bilan
b6c57b29be Upgrade to Spring Cloud AWS 1.1.0.M2 2016-02-23 13:59:26 -05:00
Prince Kannah
7e3271dfad Typo: Change nane --> name
Fix the typo in the java doc of `S3ObjectSummary.getBucketName()` from 'nane' --> 'name'.
2016-02-05 11:32:05 -05:00
Artem Bilan
0580642439 INTEXT-8: Add SNS Outbound Channel Adapter
JIRA: https://jira.spring.io/browse/INTEXT-8

Address PR comments
2016-01-12 12:19:35 -05:00
Karthik Palanivelu
dc66af65eb INTEXT-197: Lifecycle attrs for s3-outbound-c-a
JIRA: https://jira.spring.io/browse/INTEXT-197

* Modified the `org/springframework/integration/aws/config/xml/spring-integration-aws-1.0.xsd` to add `channelAdapterAttributes` to expose
`phase` attribute in `s3 outbound adapter`.
* Modified `AmazonS3OutboundChannelAdapterParserTests` - Added Unit Test Class to test the `channelAdapterAttributes`.
* Modified `s3-valid-outbound-cases.xml` - Added separate definition `withChannelAdapterAttributes` for phase attribute.

Polishing according PR comments
2015-10-20 16:44:45 -04:00
Karthik Palanivelu
c674a8dace INTEXT-187: add advice-chain for the outbound-c-a
JIRA: https://jira.spring.io/browse/INTEXT-187

* Modified the `spring-integration-aws-1.0.xsd` to accommodate `request-handler-advice-chain`
	in s3 outbound adapter after feedback.
* Modified `AmazonS3OutboundChannelAdapterParserTests` - Added Unit Test Class with Mock Object to test the request handler chain.
* Modified `s3-valid-outbound-cases.xml` - Added separate definition withHandlerChain with mock Operations.
2015-09-28 14:56:01 -04:00
Artem Bilan
16ef806598 INTEXT-147: Add SnsInboundChannelAdapter
JIRA: https://jira.spring.io/browse/INTEXT-147

INTEXT-147: Documentation

Upgrade dependencies
2015-09-23 15:40:57 -04:00
Li Wang
a7e5f67d04 INTEXT-189: Fix S3InboundChannelAdapterParser
JIRA: https://jira.spring.io/browse/INTEXT-189
2015-08-24 21:11:45 -07:00
Taylor Wicksell
e6e4a0b2d1 Remove IntEvalCtxAware usage for SI 4.2 support
Polishing
2015-08-18 20:19:10 -04:00
kjordan2001
716f63e3a9 GH-11: Base64 encoding instead of Hex
Fixes #11 (https://github.com/spring-projects/spring-integration-aws/issues/11)

Polishing
2015-07-17 15:46:16 -04:00
Artem Bilan
9ad2f53f65 Fix schemaZip Gradle task for Windows
Fixes: https://github.com/spring-projects/spring-integration-aws/issues/10
2015-03-26 16:00:00 +02:00
Rahul Pilani
a551224f9d INTEXT-141: Add SqsMessageHandler template ctor
JIRA: https://jira.spring.io/browse/INTEXT-141

Adding in a constructor to the `SqsMessageHandler` so that `QueueMessagingTemplate` can be configured independently.

Updated with comments

- Updated the `spring-integration-aws-1.0.xsd` to include the `queue-messaging-template` param.
- Updated the `SqsOutboundChannelAdapterParserTest` to look for the `queue-messaging-template` param, and validate that `sqs` and `resource-resolver-id` params are mutually exclusive to `queue-messaging-template`.
- Added tests for the parser.
- Added test for the new constructor.

Updated with feedback
- Validation for `sqs` parameter missing in xml config
- Made `SqsMessageHandlerWithQueueMessagingTemplateTests` use the same tests as `SqsMessageHandler` tests by moving the tests to a common parent class: `AbstractSqsMessageHandlerTest`
- Other minor fixes.

Whitespace and error message fixes.

Polishing
2015-03-10 08:43:09 +02:00
Artem Bilan
ec4a93142d INTEXT-7: Add SQS Adapters
JIRA: https://jira.spring.io/browse/INTEXT-7

Upgrade to Gradle 2.3

Minor Doc Polishing
2015-02-18 16:39:05 -05:00
Artem Bilan
d4dedef383 GH-3: Fix BeanFactory population for AS3MH
Fixes https://github.com/spring-projects/spring-integration-aws/issues/3

**Cherry-pick to 0.5.x**
2015-02-12 11:05:22 +02:00
Artem Bilan
7c091c84a4 INTEXT-136: Make based on Spring Cloud AWS
JIRA: https://jira.spring.io/browse/INTEXT-136

* Add `spring-cloud-aws` dependencies
* Remove all SES stuff, since Spring Cloud AWS provides implementations for `org.springframework.mail.MailSender`
2015-02-02 15:50:06 +02:00
Artem Bilan
1db1939b32 Initial commit 2014-11-17 13:39:25 +02:00
Christos Kapasakalidis
7840e3e523 INTEXT-80 - FIX S3 ConnectionPoolTimeoutException
JIRA: https://jira.spring.io/browse/INTEXT-80

When synchronizing to local directory, getObject was called without
ever closing the InputStream that the SDK opens causing an
"org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting
for connection" exception. To fix that, after synchronization, the
inputStream of the s3Object is closed, causing the s3 client to release
the connection.
2014-11-06 17:35:30 +02:00
Rob Harrop
4789e94a12 AWS: Updated to spring-integration to 4.0.3
Made the corresponding API changes.

Had to update jacoco to latest (0.7.1.blah) to get the tests to work correctly on OSX Java 8

Fixed JavaDoc errors show up by the Java 8 linter. Build passes

Bringing dependencies inline with Spring 4.0.6

Updated mockito to 1.9.5

Updated Hamcrest to 1.3

Updated aws-sdk to 1.8.7

Merge branch 'master' into integration-4.0

Reformatted gradle file inline with the existing standard

Switch back to using the milestone repo

Upgrade Gradle version to 1.12

Updated the schema references to use un-versioned refs

Updated author tags and copyright dates

AWS: SI-4.0 Polishing
2014-08-15 12:27:56 +03:00
Gunnar Hillert
26824b23d5 INTEXT-70 - Set code coverage plugin for Sonar
* Set the Sonar code coverage plugin explicitly to `jacoco`
2013-05-17 12:01:26 -04:00
Gunnar Hillert
f18549427a INTEXT-67 - Upgrade to Sonar-Runner
* Upgrade to Gradle 1.6
* Upgrade from Gradle plugin sonar to sonar-runner
* Upgrade Gradle wrapper
* Fix several Group Ids
2013-05-15 23:15:06 -04:00
Gunnar Hillert
527fca9bdd INTEXT-54 - AWS Fix Failing Tests
For reference: https://jira.springsource.org/browse/INTEXT-54
2013-03-12 00:55:08 -04:00
Gunnar Hillert
07b3efa3dc INTEXT-34 - Convert AWS Module to Gradle
For reference see: https://jira.springsource.org/browse/INTEXT-34
2013-03-11 17:38:34 -04:00
Amol Nayak
48a80ff4f2 INTEXT-5: Initial push for AWS core and S3 adapter
For reference see: https://jira.springsource.org/browse/INTEXT-5
2013-02-28 18:03:47 -05:00
Gunnar Hillert
f6e1295d60 INTEXT-6 - Add AWS SES Samples
* Add SES JavaMailSender Sample
* Add SES Spring Integration Sample
* Refactor DefaultAmazonSESMailSender to implement JavaMailSender and delegate to JavaMailSenderImpl rather than extending it
* Cleanup
2013-01-17 17:26:36 -05:00
Amol Nayak
5f168e26b3 INTEXT-6: Add AWS core and SES adapter
For reference see: https://jira.springsource.org/browse/INTEXT-6
2013-01-17 17:25:51 -05:00