Build: #139 failed Changes by Artem Bilan

Build result summary

Details

Completed
Duration
3 minutes
Labels
None
Agent
(elastic) Elastic Agent on i-6fa8b5f2
Revision
5675327fc1e44444cf7f5defd1f86acff0e1416a 5675327fc1e44444cf7f5defd1f86acff0e1416a
Total tests
2
Fixed in
#140 (Changes by Artem Bilan)

Tests

Responsible

Code commits

Author Commit Message Commit date
Artem Bilan Artem Bilan 5675327fc1e44444cf7f5defd1f86acff0e1416a 5675327fc1e44444cf7f5defd1f86acff0e1416a GH-79: Amazon S3 Source & Sink
Fixes GH-79 (https://github.com/spring-cloud/spring-cloud-stream-app-starters/issues/79)

* Add `app-starter-s3-common` module to keep common `AmazonS3` bean definition and dependencies
* Add `AmazonS3SourceConfiguration` and respective `AmazonS3SourceProperties`
* The application is fully similar to the existing (S)FTP apps
* Add `PollerMetadata.DEFAULT_POLLER` alias for the `defaultPoller` `PollerMetadata` bean to let any `MessageSource<?>` application just rely on the default Spring Integration infrastructure
* Override the default `localDir` in the `AbstractRemoteFileSourceProperties` from the `AmazonS3SourceProperties`. See https://github.com/spring-cloud/spring-cloud-stream-app-starters/issues/94

polishing
Artem Bilan Artem Bilan fda6d1cd7b7c99b05f3fc6d5e7d827fba11e0cc3 fda6d1cd7b7c99b05f3fc6d5e7d827fba11e0cc3 GH-79: Amazon S3 Source & Sink
Fixes GH-79 (https://github.com/spring-cloud/spring-cloud-stream-app-starters/issues/79)

* Add `app-starter-s3-common` module to keep common `AmazonS3` bean definition and dependencies
* Add `AmazonS3SourceConfiguration` and respective `AmazonS3SourceProperties`
* The application is fully similar to the existing (S)FTP apps
* Add `PollerMetadata.DEFAULT_POLLER` alias for the `defaultPoller` `PollerMetadata` bean to let any `MessageSource<?>` application just rely on the default Spring Integration infrastructure
* Override the default `localDir` in the `AbstractRemoteFileSourceProperties` from the `AmazonS3SourceProperties`. See https://github.com/spring-cloud/spring-cloud-stream-app-starters/issues/94
Artem Bilan Artem Bilan 08ade207f26f4c87933e8744aa46a7ed4a543c00 08ade207f26f4c87933e8744aa46a7ed4a543c00 Dependencies polishing
Artem Bilan Artem Bilan 4b2573d399ee3999212f92aa70d993426777a439 4b2573d399ee3999212f92aa70d993426777a439 * Rename `s3` dir to `aws-s3` * Make default remote dir as `bucket` and add `@Length(min = 3)` validation according AWS requirements * Add `autoConfigClass` for generated S3 Source application
Artem Bilan Artem Bilan 0e7edefc0b08d4d9b68a11c814b436c7f970f0ab 0e7edefc0b08d4d9b68a11c814b436c7f970f0ab s3-source: `<testsIgnored>true</testsIgnored>`

Tests

New test failures 2
Status Test View job Duration
Collapse Failed AmazonS3SourceMockTests$AmazonS3FilesTransferredTests test History
Build Spring Cloud Stream App Starters < 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:230)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
(92 more lines...)
Collapse Failed AmazonS3SourceMockTests$AmazonS3LinesTransferredTests test History
Build Spring Cloud Stream App Starters < 1 sec
java.lang.IllegalStateException: Failed to load ApplicationContext
	at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
	at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117)
	at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
	at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:228)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:230)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
(92 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeGH-79Could not obtain issue details from Jira