156 Commits

Author SHA1 Message Date
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
The Alchemist
4dd28d0009 No InterruptedException in TestSplitterAggregator
* InterruptedException is not thrown by the `TestSplitterAggregator.testSearch()`

* Remove bad javadoc
2018-06-06 15:50:04 -04:00
Artem Bilan
72999587b1 Upgrade to SI.5.0.5, Boot 2.0.2 2018-05-09 14:57:34 -04:00
Gary Russell
e1929d1d3d Updgrade to Boot 2.0.0.RELEASE 2018-03-01 09:06:46 -05:00
Artem Bilan
b19246e831 Fix TcpClientServerDemoTest race condition
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2342

The `TcpClientServerDemoTest.testMultiPlex()` relies on the
`HashSet.size()` for assertion meanwhile that property is not `volatile`.

Since we change the state of the `HashSet` from other threads
the non-`volatile` property is not reliable source of information.

* Change the test-case to use `LinkedBlockingQueue` instead of `HashSet`
which uses `AtomicInteger` to track its `size`
2018-01-23 16:24:14 -05:00
Artem Bilan
bbcb4bcfae Upgrade to SIK-3.0
* Fix Kafka Java DSL sample from bean name conflict
* Fix usage of deprecated `org.springframework.integration.test.util.SocketUtils`
2017-11-30 20:37:49 -05: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
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
Santiago Castro
d7a77b75ac Fix broken Markdown headings 2017-04-16 16:32:52 -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
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
Gary Russell
948e5135cd Generate POMs 2016-10-14 11:35:47 -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
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
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
Gary Russell
7ec8687efc Fix retry-and-more Sample Bug
Incorrect SpEL for rename.
2015-11-20 16:38:34 -05:00
Gary Russell
d10509ca37 TCP: Clarify Async Exception Handling 2015-11-04 11:28:44 -05:00
Gary Russell
15f78146e0 TCP Async - Add Timeout Test
http://stackoverflow.com/questions/32614395/spring-integration-tcp-outbound-channel-adapter-that-detects-connection-loss-and/32617568#comment54590607_32617568

Polishing - PR Comments
2015-10-28 17:57:01 -04:00
Artem Bilan
6cc1ff6542 Upgrade to SI-4.2.1 and others 2015-10-26 20:34:42 -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
Ciro Santilli
b32cd1edda Typo Gardle -> Gradle 2015-03-30 13:01:25 +03: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
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
Gary Russell
b20a275a6a INTSAMPLES-136 Async GW Promise/ListenableFuture
JIRA: https://jira.spring.io/browse/INTSAMPLES-136

Polishing - PR Comments

* Add `compile "org.projectreactor.spring:reactor-spring-context:$reactorSpringVersion"` dependency
to show a usage of `@EnableReactor`
* Make `async-gateway` project Java 8 compatible and replace inline implementations for callbacks to Lambdas
2014-08-30 10:42:53 +03:00
liujiong1982
35e5156bdb INTSAMPLES-133:Use <int:handler-retry-advice/>
Update the retry-and-more Sample to use <int:retry-advice/> Syntax

Polishing - add info to README.

Also, use "localhost" for amqp connection factories.
2014-07-21 11:27:22 -04:00
Artem Bilan
a93ee7fb35 Comment out the Oracle Driver dependency
CI Build: https://build.spring.io/browse/INTSAMPLES-NIGHTLY-1053/log
2014-06-28 16:08:54 +03: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
95d8fc7d99 Fix FileProcessingTest configs
`Caused by: org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers`
2014-05-29 09:28:34 +03:00
Artem Bilan
3b12f7eada AC.close() in file and ftp tests 2014-05-29 09:17:47 +03:00
Artem Bilan
4b9d65f021 Increase FileProcessingTest timeouts 2014-05-29 08:38:55 +03: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
e190c160f1 INTSAMPLES-119 Update Monitor for Twitter OAuth
Twitter now requires authentication.

Disable the real twitter adapter by default; enable it
with spring.profile "twitter" - requires the user to get
real oauth tokens.

Replicate oauth setup instructions from the twitter sample.

Add note to README for enabling the real twitter adapter.

Add .gitignore so committers can keep their real credentials
in, say, 'oauth.properties.foo'.

Add note about `SpringIntegrationTest`.

Update dummy tweets to use new icon.

INTSAMPLES-119 Polishing

- Fix 'twitterTemplate' bean name
- Add content to log and JMX Notification

JIRA: https://jira.springsource.org/browse/INTSAMPLES-119
2013-11-19 14:10:39 +02:00
Gary Russell
8454c9f564 Update SI Version 2.2.0 -> 2.2.6 2013-10-15 09:05:39 -04:00