Commit Graph

235 Commits

Author SHA1 Message Date
Artem Bilan
61c27bac20 Start 5.2 version; upgrade dependencies; fixes 2019-03-20 15:30:31 -04:00
Spring Operator
4f48dce420 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0.txt migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://projects.spring.io/spring-integration migrated to:
  https://projects.spring.io/spring-integration ([https](https://projects.spring.io/spring-integration) result 301).
* http://repo.spring.io/libs-milestone migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* http://repo.spring.io/libs-staging-local migrated to:
  https://repo.spring.io/libs-staging-local ([https](https://repo.spring.io/libs-staging-local) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-06 10:03:19 -05:00
Artem Bilan
7ed9f59844 GH-241: Add Gretty and War plugins back
Fixes https://github.com/spring-projects/spring-integration-samples/issues/241
2019-02-15 11:42:55 -05:00
Artem Bilan
f330883ac8 Upgrade to SIK-3.1.1 2019-02-14 17:35:06 -05:00
Gary Russell
e27e371e7d Generate POMs 2019-02-14 16:26:52 -05:00
Gary Russell
c0866afcb3 Ugrade commons-fileupload to 1.4 2019-01-03 15:36:26 -05:00
Artem Bilan
17d05c2b5e Upgrade dependencies & generate poms 2018-11-28 15:18:00 -05:00
Gary Russell
c868afb039 JDBC Sample Polishing
- no need for DUMMY table
- max-rows-per-poll is deprecated
- set reply-timeout to 0 (for no person result)
2018-11-24 11:39:03 -05:00
Gary Russell
ca8704265c JDBC: requires-reply="false"
Default was changed to true some time ago, but the sample wasn't updated.
2018-11-24 10:39:13 -05:00
Gary Russell
933dc91bd2 tcp-broadcast: Polishing
Wait for server to start listening before attempting to connect.
2018-11-19 18:42:41 -05:00
Gary Russell
e7180b8725 GH-234: Add TCP Broadcast Sample
Resolves https://github.com/spring-projects/spring-integration-samples/issues/234

* Update top level README
2018-11-19 16:11:33 -05:00
Gary Russell
6d0ed1d803 Upgrade to Boot 2.1.0.RELEASE 2018-11-19 12:26:58 -05:00
Gary Russell
07ee0b6878 Generate POMs for RC2 2018-10-15 16:31:02 -04:00
Artem Bilan
113eebb85a Upgrade to SK-2.2 RC1 and SIK-3.1 RC1 2018-09-21 13:57:16 -04:00
Gary Russell
2f8cf40259 Upgrade to SI 5.1.0.RC1 2018-09-21 13:28:08 -04:00
Gary Russell
2f2f1f6f8b Fix MQTT Deprecations 2018-08-06 11:39:23 -04:00
Artem Bilan
c0f406dc5e Start version 5.1 with appropriate fixes 2018-07-30 15:27:07 -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
Gary Russell
51c705a94b Fix race in JMS test case 2018-04-12 09:43:00 -04:00
Artem Bilan
9d02471346 Fix TCP tests to use OS-selected port (#224)
* Fix TCP tests to use OS-selected port

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

Modify all the `tcpclientserver` tests to rely on the OS-selected port,
in other words set `0` to the server port and get the real port for the
client when server is listening

* * Upgrade to Gradle-4.6
* Fix Travis config do not perform assemble task
2018-04-02 15:17:59 -04:00
Gary Russell
ac02700300 Kafka Samples - Provision Topics 2018-03-01 09:16:50 -05:00
Gary Russell
e1929d1d3d Updgrade to Boot 2.0.0.RELEASE 2018-03-01 09:06:46 -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
f09f4563d9 Use cacheConsumers=false for CachingJmsCF
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2256

The `AggregatorDemoTest` fails sporadically with no second part from
reply.
That might be as a result of the cached consumers in the
`CachingConnectionFactory`, so several `<int-jms:inbound-gateway>`
for the topic using the same connectionFactory essentially end up
using the same consumer sequentially.
And Broker considers them as a single consumer, therefore only one
message is sent.
2017-10-23 10:35:54 -04:00
Artem Bilan
107ef1f305 Remove EclipseLink from JPA sample
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2239/

Having Hibernate and EclipseLink in the same application isn't a goal.
On the other hand the sample must be concentrate on the Spring Integration,
not a complexity brought by the Spring Boot auto-configuration override.

* Remove the EclipseLink support from the JPA samples and rely only on
the Hibernate auto-configuration
* Remove an appropriate message from the README
2017-10-04 13:09:33 -04:00
Artem Bilan
6ce495e427 Upgrade to Mockito-2.10.0 and appropriate fixes 2017-09-21 15:46:21 -04:00
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