Commit Graph

98 Commits

Author SHA1 Message Date
Artem Bilan
7e8a67a7b8 Upgrade dependencies 2019-01-11 10:50:51 -05:00
Artem Bilan
398484f1f7 Upgrade dependencies & generate poms 2018-11-28 15:55:27 -05:00
Gary Russell
f0c0552a99 Version Upgrades 2018-09-10 14:19:14 -04:00
Artem Bilan
d4f96b9ca5 Upgrade to latest Spring dependencies 2018-07-30 13:32:02 -04:00
Gary Russell
41664f0501 Upgrade Spring Dependencies 2018-07-12 14:11:38 -04:00
Artem Bilan
72999587b1 Upgrade to SI.5.0.5, Boot 2.0.2 2018-05-09 14:57:34 -04:00
Artem Bilan
7e7642823b Check File.exists() before removal
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2401/
2018-03-20 13:59:56 -04:00
Artem Bilan
68490acf6f Fix race condition with in file-split-ftp
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2398/

* Remove `FileExistsMode.APPEND_NO_FLUSH` from the app.
It's not reliable for unit testing: keeps resources opened and cause
false positive assertions but at the same time no any interactions with
mock `session`
* Clean up test directories before and after tests
2018-03-19 12:51:23 -04:00
Artem Bilan
59d01cb6b3 Do not auto-start Inbound Channel Adapter
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-2397

To avoid race conditions with the test data and auto-started channel
adapter, it would be better to have channel adapter not started in the
beginning and prepare test data and only after that start it manually.

The race condition is when we have old data in the directory to poll
2018-03-16 10:56:13 -04:00
Gary Russell
e1929d1d3d Updgrade to Boot 2.0.0.RELEASE 2018-03-01 09:06:46 -05:00
The Alchemist
26ece34c3d Fix URL to Spring Flo 2017-12-14 09:04:35 -08:00
Artem Bilan
6ce495e427 Upgrade to Mockito-2.10.0 and appropriate fixes 2017-09-21 15:46:21 -04:00
Gary Russell
e37904128e INTSAMPLES-150: Switch to Log4j2
JIRA: https://jira.spring.io/browse/INTSAMPLES-150
2017-09-01 16:14:34 -04:00
Artem Bilan
5956cf8cfb Fix FTP sample tests to use bigger idle
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2059/

Fix `JmsMockTests` stubbing via making endpoint stopped before mocking

Force SI and SF versions via their BOMs imports
Regenerate POMs including `dependencyManagement` for BOMs customization
2017-04-11 11:56:08 -04:00
Artem Bilan
2b80cf25a8 Upgrade to SI-5.0 M3
* Fix Spring Boot 2.0 B-S compatibility
* Fix deprecation warnings
* regenerate POMs according new dependency versions
2017-04-05 17:09:49 -04:00
Artem Bilan
a21a2444ef Change Kafka Samples to use Boot auto-config
Remove `@IntegrationComponentScan` from Boot samples

Since the latest Spring Boot utilize already `@IntegrationComponentScan` for the `@SpringBootApplication` class package, there is no reason to worry about lost `@MessagingGateway`

Reflect Kafka samples changes according latest Spring Boot fixes
2017-01-16 13:23:50 -05:00
Artem Bilan
5f524dc534 Upgrade to SI-5.0 & SIK-3.0, Reactor 3.0
* Fix compatibility after Java DSL migration to the SI Core
* Also upgrade all the JMS sample to the JMS 2.0
* Fix default `connectionFactory` bean reference to the current `jmsConnectionFactory`
* Remove unsupported JPA-1.0 Spec via `OpenJpaAutoConfiguration`, since the minimum now is JPA-2.0
* Remove non-lambda sample since minimum now is Java 8
* Rename `PromiseTest` to `MonoTest` and fix it to Reactor 3.0
* Fix `stomp-server.xml` to use proper Reactor 3.0 `eactor.util.function.Tuples` for SpEL
* Regenerate POMs
2016-11-18 14:11:32 -05:00
Artem Bilan
a6bf188099 regenerate POMs 2016-11-11 13:46:03 -05:00
Artem Bilan
e35d441691 File-split-ftp: fix read files race condition
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-1898/

There is no guarantee that if `File.exists()`, the real write to file has occurred

 * Add `while()` to check not only `File.exists()` but also its `length()` only after that proceed to assert logic
2016-10-25 10:34:54 -04:00
Gary Russell
171dd51024 Update file-split-ftp Visualization 2016-10-14 14:21:07 -04:00
Artem Bilan
ef31a187c4 Revert usage for fileNameExpression
Since we provide a custom `FileNameGenerator` via `fileNameExpression` we should ensure somehow `BeanFactory` injection to that
`FileWritingMessageHandlerSpec` is a `FactoryBean` since version DSL `1.2` and a particular `BPP` takes care about `Spec` internals and register custom `FileNameGenerator` as a bean.

 Use standard `FactoryBean` injection in the `lines()` flow to populate the target `FileWritingMessageHandler` to the flow
Generate pom for all project to apply SI Java DSL 1.2 GA
2016-10-14 13:28:27 -04:00
Artem Bilan
a9d653b19e Upgrade to SI-Java_DSL-1.2.RELEASE
Fixes GH-180 (https://github.com/spring-projects/spring-integration-samples/issues/180)

* Apply `PollerSpec.errorChannel(String)` style
* Replace `fileNameExpression()` to `fileNameGenerator()` to avoid `No BeanFactory` for `EvaluationContext`
* Use `.trigger()` instead of `.handle()` for `FileWritingMessageHandler.trigger()`
* Fix race condition in test, when file exists already, but there is no content yet
2016-10-14 12:57:42 -04:00
Gary Russell
948e5135cd Generate POMs 2016-10-14 11:35:47 -04:00
Gary Russell
933b3f015a file-split-ftp Move errorChannel to Poller 2016-10-13 17:22:33 -04:00
Gary Russell
b3bab0dea2 Revert "file-split-ftp Move errorChannel to Poller"
This reverts commit 7b84810388.
2016-10-13 17:21:49 -04:00
Gary Russell
7b84810388 file-split-ftp Move errorChannel to Poller 2016-10-13 17:18:17 -04:00
Gary Russell
2c1a070930 Add file-split-ftp Sample
JIRA: https://jira.spring.io/browse/INTSAMPLES-149

Polishing - PR Comments

Polishing - Work Around DSL Issue #119

Make test compatible with Windows.
Also reset Application context `DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD`.
Since tests uses the same target resources we should be sure that they use clear foundation before running
2016-09-21 11:15:14 -04:00
Artem Bilan
a46bd8acb3 Add Java DSL sample for Kafka 0.9
Make `PromiseTest` more fast decreasing `sleep()` in the `MathService`

Kafka-0.10.0 Compatibility

Upgrade to Spring Boot 1.4.0.RELEASE

Regenerate poms according to upgrades
2016-08-24 09:34:09 -04:00
Artem Bilan
9554dc7f1f INTSAMPLES-142: Fix mail dependencies
JIRA: https://jira.spring.io/browse/INTSAMPLES-142

Also do some upgrades and polishing
2016-07-06 12:57:40 -04:00
Artem Bilan
2a26f74845 Regenerate POMs according the latest upgrades 2016-06-08 09:49:43 -04:00
Artem Bilan
b6f872664d Fix compatibility with Boot-1.4 and fresh POMs 2016-05-13 11:47:32 -04:00
Gary Russell
a13e153d5b Regenerate POMs 2016-04-12 18:22:55 -04:00
Filippo Balicchia
1310fd57e5 add cafe-dsl run task
Regenerate POMs
2016-01-10 15:46:39 -05:00
kasoban
68976a81a6 Add specific slf4j-api version dependency
When just importing the ftp example as a maven project, I ran into the issue of a slf4j version discrepancy described here:
http://www.slf4j.org/faq.html#IllegalAccessError

This is solved by adding the specific version dependency of `slf4j-api`.

* Add the specific `slf4j-api` dependency to the Gradle script
* Change the dependency scope for `slf4j-` impl to the `runtime`.
* Regenerate POMs
2016-01-04 09:54:04 -05:00
Artem Bilan
0387ab5e7b STOMP: Add heart-beat tracing 2015-10-14 10:08:08 -04:00
Gary Russell
ecab656cc1 INTEXT-191: Add Apache Kafka Sample
JIRA: https://jira.spring.io/browse/INTEXT-191

Polishing and build.gradle fix for pom generation
2015-09-21 17:30:47 -04:00
Gary Russell
61603c2437 INTSAMPLES-143: Fix Package Tangles
JIRA: https://jira.spring.io/browse/INTSAMPLES-143

Add Sonar support to build.gradle.

Fix critical violations.
2015-07-30 14:44:33 -04:00
Gary Russell
70b4d12870 Update pom.xml
- Set version to 4.1.0.BUILD-SNAPSHOT
- Regenerate all poms
2015-07-29 12:45:05 -04:00
Gary Russell
c525e43299 Use Generated Port for Boot Test Cases 2015-01-05 13:05:51 -05:00
Artem Bilan
5ccedd32f3 Add non-Lambda DSL Cafe sample
* Polishing for `stomp-chat` sample
* Some dependencies upgrade
2015-01-05 11:19:12 -05:00
Artem Bilan
5547f2a840 Fix stomp-chat according to the latest Boot
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-1189
2014-11-10 13:57:44 +02:00
Artem Bilan
5d08c6f67e Upgrade to SI Java DSL 1.0.RC1 and Gradle 1.12
Regenerate POMs
2014-10-31 21:56:23 +02:00
Artem Bilan
1ad35f2cd2 INTSAMPLES-138: Make SI 4.1 as minimal
JIRA: https://jira.spring.io/browse/INTSAMPLES-138

* Upgrade to Boot 1.2, which is based on the SI 4.1
* Upgrade to SF 4.1.1
* Fix `feed` sample to use new `Rome` dep. from SI
* Fix deprecations for `@Payload`, `@Header` etc.
* Fix mongo` sample deprecation warn
2014-10-28 16:13:49 +02:00
Artem Bilan
63232c2974 INTS-137: Add STOMP Chat Application
JIRA: https://jira.spring.io/browse/INTSAMPLES-137

* Upgrade to Boot 1.1.7
* Fix several Boot apps to get deal with `args`, e.g. `--debug` option can be useful for Boot
* Provide a loca copy for JavaScript files (`sock.js` and `stomp.js`) to avoid extra Internet connection on testing

INTS-137-2: Make JavaScript cross-browser

Some additional polishing to the server config, like `logging-channel-adapter` for server message flow
2014-10-14 15:02:56 -04:00
Artem Bilan
a5c12343c6 INTSAMPLES-137: Add WebSockets sample
JIRA: https://jira.spring.io/browse/INTSAMPLES-137

Depends on https://github.com/spring-projects/spring-integration/pull/1274

Polishing and cleanup

* Fix `cafe-dsl` project: https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-1131
* Change author emails to the `pivotal.io`
* Regenerate poms

Fix for `Cafe-DSL` sample

https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-1143
2014-09-26 13:04:50 +01:00
Artem Bilan
95ec35c768 INTSAMPLES-131: Fix README.md for Gradle
JIRA: https://jira.spring.io/browse/INTSAMPLES-131

INTSAMPLES-131: PR comments
2014-06-23 10:22:37 -04:00
Artem Bilan
ea3ba21249 INTSAMPLES-122: Migrate to Gradle
JIRA: https://jira.springsource.org/browse/INTSAMPLES-122

INTSAMPLES-122: Polishing

INTSAMPLES-122: Add generated poms

* Upgrade some dependencies

INTSAMPLES-122: Cover Java/DSL sample

INTSAMPLES-122: Upgrade to SI 4.0.1 & SF 4.0.5

INTSAMPLES-122: Polishing according PR comments

Make gradlew executable
2014-05-28 12:58:25 -04:00
Gary Russell
cc579226d6 INTSAMPLES-127 Polishing
- PR Comments
- Switch to Jackson2
- Fix oxm config

Polishing

INTSAMPLES-127 Update to SI 4.0.0.RC1

INTSAMPLES-127 Remove Servlet Dependency

travel sample; see INT-3350.

INTSAMPLES-127 Update Samples to SI 4.0.0

JIRA: https://jira.spring.io/browse/INTSAMPLES-127

Created `maint` branch for ongoing SI 3.0.x samples.
2014-04-16 20:45:34 +03:00
Gary Russell
33f8783f13 INTSAMPLES-128 Update SI to 3.0.2, SF to 3.2.8 2014-03-31 16:03:55 -04:00
Gary Russell
d9fba154b3 Change Maven Repos to spring.io 2014-02-23 12:48:26 -05:00