Commit Graph

207 Commits

Author SHA1 Message Date
Artem Bilan
6bf5391715 Upgrade to ActiveMQ-5.15.0 and increase test time
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2211

It isn't clear why second message copy is lost, so increase timeout
in case of some fluctuations in the ActiveMQ.
Also increase logging level to DEBUG to see some info in the next failure
2017-09-06 20:19:08 -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
2ccc8f426c Fix compatibility with the latest Spring Boot
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2099/
2017-05-17 11:50:17 -04:00
Artem Bilan
be0e24aea5 Fix JmsMockTests for bad Mockito usage
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2074

Upgrade to SK-2.0 M1 and SIK-3.0 M1

Fix JPA sample adding `SEQUENCE HIBERNATE_SEQUENCE` DDL
into the `schema.sql`

https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2078/

The latest Hibernate version doesn't create such a DB entity if
we use `hibernate.ddl-auto: none`

Increase timeouts in the JMS and TCP tests
2017-04-27 16:19:02 -04:00
Artem Bilan
13c22ceb28 FTP Outbound test: use CachingSessionFactory
https://build.spring.io/browse/INTSAMPLES-NIGHTLY
2017-04-11 12:56:20 -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
ea919aa4be GH-198: (S)FTP Server: Use an OS-selected Port
Fixes spring-projects/spring-integration-samples#198

The `SocketUtils.findAvailableServerSocket()` isn't reliable for port selection and its `socket.close()` may cause a port selection by some other process.

Use OS-selected port for SshdServer in SFTP sample

Revert unexpected refactoring after renaming properties

Upgrade to SSHD-1.4, FTP Server 1.1,  fix tests and Boot 2.0 compatibility
2017-03-14 12:16:25 -04:00
Gary Russell
a198e45239 Kafka_DSL Sample Improvements
- get rid of topic creator and scala deps
- use boot properties
- demonstrate using the DSL to dynamically add adapters
2017-02-02 13:42:51 -05:00
Gary Russell
038ee4576a Kafka Sample Improvements
- get rid of topic creator and scala deps
- use boot properties
- demonstrate using the DSL to dynamically add adapters
2017-02-02 12:11:16 -05: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
dba0ee6112 Fix Spring Boot 2.0 compatibility
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-1965/
2016-12-30 09:55:03 -05:00
Artem Bilan
04ef89784f Upgrade to SI-5.0.0.M1 2016-12-01 17:21:42 -05:00
Artem Bilan
69a896df00 Fix Kafka-0.10.1.0 compatibility
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-1923/
2016-11-18 22:25:51 -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
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
Gary Russell
948e5135cd Generate POMs 2016-10-14 11:35:47 -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
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
Gary Russell
b6cbf15e4c Update to spring-kafka 1.1.0.M1 2016-08-23 17:19:00 -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
1cbcbe7810 Some upgrades
* Gradle-2.13
* Spring Kafka 1.0.0.RC1
* Spring Integration Kafka 2.0.0.RC1
* Spring Boot 1.4.0.M3
* Provide required fixes
2016-06-06 21:12:55 -04:00
Artem Bilan
b6f872664d Fix compatibility with Boot-1.4 and fresh POMs 2016-05-13 11:47:32 -04:00
Andrew Thompson
faa06093dc Update WS sample to the latest w3schools changes
w3schools sample webservice has a new url
http://www.w3schools.com/webservices/tempconvert.asmx
to
http://www.w3schools.com/xml/tempconvert.asmx"
2016-04-28 12:14:29 -04:00
Gary Russell
a13e153d5b Regenerate POMs 2016-04-12 18:22:55 -04:00
Gary Russell
f943f5e20f Kafka - Update to S-I-K 2.0
Polishing
2016-03-11 17:04:26 -05:00
Artem Bilan
6080639682 INTSAMPLES-148: Make JPA Sample as Boot App
JIRA: https://jira.spring.io/browse/INTSAMPLES-148

Upgrade several dependencies, especially OpenJPA-2.4.0 to support Java 8 Class Transformation

Upgrade to DSL-1.1.2 and other polishing

Upgrade to SI-4.3.0.M1
2016-03-07 10:16:37 -05:00
Gary Russell
b52ee9ed9c Add MQTT Sample
* Move `ftp` `log4j` dependency to the `testCompile` configuration
* Regenerate POM for MQTT sample
2016-03-07 10:10:29 -05:00
Artem Bilan
55b2cfb49f GH-161: Use TopicUtils to ensureTopicCreated
Fixes GH-161 (https://github.com/spring-projects/spring-integration-samples/issues/161)
2016-02-17 12:50:35 -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
Filippo Balicchia
b9697909d0 INTSAMPLES-147: Add Splunk example
JIRA: https://jira.spring.io/browse/INTSAMPLES-147
2015-12-11 18:11:48 -05:00
Gary Russell
8f7fb189c0 Barrier README Polishing 2015-12-08 09:23:31 -05:00
Gary Russell
3c855f8204 Barrier Error Handling 2015-11-28 14:17:14 -05:00
Gary Russell
b335846952 Barrier: Fix Banner w/ eclipse Ansi Console 2015-11-19 16:49:27 -05:00
Gary Russell
69d39f7ff2 Barrier Sample Boot Banner 2015-11-19 16:18:07 -05:00
Gary Russell
76efa61056 Fix Kafka POM, Test Package Name
http://stackoverflow.com/questions/33402448/spring-integration-kafka-maven-build-error-cant-find-spring-integration-kafka
2015-10-29 15:51:46 -04:00
Artem Bilan
5c4b817e27 INTSAMPLES-146 Fix Kafka tests and some polishing
JIRA: https://jira.spring.io/browse/INTSAMPLES-146
2015-09-24 08:49:26 -04:00
Gary Russell
23f4a04661 Barrier: Use Boot AutoConfig for RabbitMQ
Also support a browser GET.
2015-09-21 17:34:54 -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
db3d78109f INTSAMPLES-144: Barrier Sample
JIRA: https://jira.spring.io/browse/INTSAMPLES-144

INTSAMPLES-144: Use o-c-a for Release

INTSAMPLES-144: Switch to Spring Boot

INTSAMPLES-144: Polishing

* Upgrade to SI-4.2, SF-4.2, Boot-1.3
* Fix: https://jira.spring.io/browse/INTSAMPLES-145
2015-08-17 12:05:43 -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
f30bb5f15b Add Retry to (S)FTP; Update SI 4.1.6
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-1430/test/case/97845436
2015-07-10 12:42:51 -04:00
Gary Russell
b5e7cfa16a INT-3692: Add Annotation-Based TCP Demo 2015-05-11 15:04:26 +01:00
Gary Russell
49e0a25e8e Add JMS Aggregator Sample
Remove useless `correlation-id` header mapping
2015-05-07 14:01:07 +03:00
Ciro Santilli
b32cd1edda Typo Gardle -> Gradle 2015-03-30 13:01:25 +03:00
Gary Russell
c525e43299 Use Generated Port for Boot Test Cases 2015-01-05 13:05:51 -05:00