Commit Graph

85 Commits

Author SHA1 Message Date
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
Artem Bilan
e20219560f INTSAMPLES-125/126:SF 3.2.7, SI 3.0.1; Schemas
JIRA: https://jira.springsource.org/browse/INTSAMPLES-125

Polishing some poms and enable all modules

INTSAMPLES-126: Fix XSD versions vulnerability

JIRA: https://jira.springsource.org/browse/INTSAMPLES-126

Polishing

Add dummy JUnit to monitoring "test".
2014-02-22 15:41:03 -05:00
Artem Bilan
56aee6fd91 Enable Intermediate modules
Ignore MS & Oracle tests
2014-01-30 18:56:20 +02:00
Artem Bilan
ddbfc4479c INTSAMPLES-121: Upgrade to SI 3.0 and SPR 3.2.6
JIRA: https://jira.springsource.org/browse/INTSAMPLES-121
2013-12-16 11:13:24 +02:00
Gary Russell
8454c9f564 Update SI Version 2.2.0 -> 2.2.6 2013-10-15 09:05:39 -04:00
Gunnar Hillert
31fba9e27c INTSAMPLES-100 - Fix cafe-amqp JSON Serialization
For reference see: https://jira.springsource.org/browse/INTSAMPLES-100
2013-01-10 12:32:24 -05:00
github@st0ne.at
8c1741c734 fixed classpath in pom.xml 2012-12-12 15:51:50 +01:00
Gunnar Hillert
fc705ef422 INTSAMPLES-99 Upgrade samples to SI 2.2.0.RELEASE
For reference see: https://jira.springsource.org/browse/INTSAMPLES-99
2012-12-04 14:31:00 -05:00
Gunnar Hillert
f4e3c836cf INTSAMPLES-96 - Polish SI Cafe Sample 2012-11-30 13:37:40 -05:00
Gunnar Hillert
3c9c91c847 INTSAMPLES-89 - Upgrade to Spring Integration 2.2 RC3
* Test samples
* Polish documentation
* Polish code

For reference see: https://jira.springsource.org/browse/INTSAMPLES-89
2012-11-28 17:08:51 -05:00
Gunnar Hillert
e81cf14b11 INTSAMPLES-60 - Polishing 2012-10-03 18:10:28 -04:00
Christian Posta
a46d0a3b57 INTSAMPLES-60 - Add JMS-backed Cafe Application Sample
* Add idea folder to .gitignore
* Add an embedded ActiveMQ
* Add activemq data to ignore list
* Use JMS-backed channels
* Add the sample description to README.md
2012-10-03 18:10:28 -04:00
Gunnar Hillert
814a405e6e INTSAMPLES-84 - Sample POMs Have Incorrect Repo
For reference see: https://jira.springsource.org/browse/INTSAMPLES-84
2012-10-02 14:40:34 -04:00
Gunnar Hillert
fc2e5890a9 INTSAMPLES-52 - All Samples should use Log4J
INTSAMPLES-52 - Standardize Log4j PatternLayout
Standardize Log4j PatternLayout to **%d{HH:mm:ss.SSS} %-5p [%t][%c] %m%n**.
2012-05-28 09:26:41 -04:00