Commit Graph

656 Commits

Author SHA1 Message Date
Artem Bilan
0e17fd4eec GH-361: Add timeout and scheduling.pool.size for Cafe DSL demo
Fixes: #361

The default request timeout in Spring Integration is `30 seconds`
to not block the thread forever.
However, the logic in the Cafe Demo is longer even that one minute
to wait for all the drinks to be ready to free an order queue.

* Add `spring.integration.endpoint.default-timeout=-1` to wait on the customer request forever for the logic of the application
* Add `spring.task.scheduling.pool.size=10` to avoid deadlock when all the scheduled tasks compete for the same thread by default
* Upgrade to latest Gradle
* Upgrade to the latest Spring Boot

Related to: https://github.com/spring-projects/spring-boot/issues/41477
2024-07-16 10:47:45 -04:00
Artem Bilan
4f664ecab2 Migrate main to SI-6.4.0
* Upgrade all the respective dependencies
* Fix deprecation for latest ActiveMQ Artemis dependency
2024-06-18 15:40:00 -04:00
Artem Bilan
7dee4333ff Remove sshd-sftp dependency
It is managed now transitively by `spring-integration-sftp`
2024-03-19 15:10:33 -04:00
Maksim Sasnouski
322eb79650 Upgrade com.gradle.enterprise plugin to 3.16.2 2024-02-29 09:01:16 -05:00
Artem Bilan
29797ce115 Upgrade to PostgreSQL 42.7.2 2024-02-21 09:19:20 -05:00
Eric Haag
cb78e3da2d Update Revved up by Develocity badge (#358) 2024-01-22 17:02:31 -05:00
Artem Bilan
df2363a709 Revert "Upgrade to Derby 10.16.1.2"
This reverts commit 240abd5c27.
2024-01-22 13:02:33 -05:00
Artem Bilan
240abd5c27 Upgrade to Derby 10.16.1.2 2024-01-22 12:58:27 -05:00
Artem Bilan
62e2ae1c72 Upgrade to Spring Integration 6.2.0
* Upgrade all other dependencies
* Fix deprecation warnings
* Fix Ruby script to a newer syntax
2023-11-21 16:22:28 -05:00
Artem Bilan
c11726f1f2 Build snapshot for 6.1.x as well 2023-11-21 15:18:09 -05:00
Artem Bilan
e86ef6b1fc Upgrade to Spring Integration 6.1.5 2023-11-21 15:10:44 -05:00
Artem Bilan
08eb3cb7e1 PR build GHA from spring-github-workflows repo 2023-11-19 11:59:32 -05:00
Artem Bilan
75d4825be3 Migrate CI from Bamboo to GitHub Actions 2023-11-08 16:03:14 -05:00
Artem Bilan
1c98e3fd99 GH-356: Add java.version to generated poms
Fixes https://github.com/spring-projects/spring-integration-samples/issues/356
2023-10-26 15:34:55 -04:00
Christian Tzolov
95fe5da2ed add vscode to gitignore 2023-10-17 15:35:28 +02:00
Artem Bilan
81da625e3c Upgrade to SI-6.1.3 2023-09-19 16:55:19 -04:00
Eric Haag
3d22d656cc Connect build to ge.spring.io (#354)
This change publishes a build scan to ge.spring.io for every local
build from an authenticated Spring committer and for CI where
appropriate access tokens are available. The build will not fail if
publishing fails.

This change also allows the build to benefit from remote build caching,
providing faster builds for all contributors.

Additionally, the project will have access to all features of Gradle
Enterprise such as:

- Dashboards to view all historical build scans, along with performance
   trends over time
- Build failure analytics for enhanced investigation and diagnosis of
   build failures
- Test failure analytics to better understand trends and causes around
   slow, failing, and flaky tests
2023-08-15 15:10:16 -04:00
abilan
72f8631864 Upgrade to some latest deps 2023-07-20 09:19:35 -04:00
abilan
99731080bb Upgrade to Spring WebFlow 3.0.0 2023-07-12 13:19:13 -04:00
abilan
7704dce37f Upgrade to H2 2.2.220 2023-07-10 12:00:29 -04:00
abilan
0873d40943 Upgrade to Spring Integration 6.1.1 2023-06-20 15:05:37 -04:00
abilan
48b17463f5 Upgrade to Spring Integration 6.1.0 2023-05-16 17:50:10 -04:00
abilan
c127ab066a Upgrade to latest deps 2023-04-19 15:34:50 -04:00
abilan
e618af26af Upgrade to latest deps 2023-03-22 14:01:24 -04:00
abilan
60caa5d0ed Fix XML configs for latest Mockito 2023-02-22 08:28:59 -05:00
abilan
6bec9485a1 Upgrade to commons-fileupload-1.5 2023-02-22 08:24:43 -05:00
abilan
be9eef5b4f Upgrade to SI-6.0.3 2023-02-21 15:04:55 -05:00
abilan
3326699377 Fix Mail dependencies
* Upgrade to Spring Boot `3.0.3-SNAPSHOT`
* Fix generated packaging for samples with Spring Boot plugin
* Regenerate POMs
2023-01-31 10:25:29 -05:00
abilan
e9585ccd07 Use default-reply-timeout="2000"
Make the gateway timeout bigger than `group-timeout="1000"`
and smaller than `sleep(5000)` for `TIMEOUT_TEST_THROW` use-case
2023-01-26 11:36:28 -05:00
abilan
64a8649c65 Increase sleep for TIMEOUT_TEST_THROW 2023-01-26 11:15:23 -05:00
abilan
658ffc839a Decrease timeout for TcpClientServerDemoTest 2023-01-26 11:10:40 -05:00
abilan
350a0ed09c Fix reply timeout for TcpClientServerDemoTest 2023-01-25 10:22:38 -05:00
abilan
a0f710037c Fix TcpClientServerDemoTest.testTimeoutThrow
The `IntegrationUtils.wrapInHandlingExceptionIfNecessary()`
wraps now any exception if there is no `failedMessage` set
2023-01-24 13:48:34 -05:00
Daniel Hammer
cf92516330 Add useJUnitPlatform for all modules
* Enable Gradle test-support for all samples.
* "Fix" for coverage failure org.springframework.integration.samples.barrier.ApplicationTests#contextLoads(); AmqpConnectException: java.net.ConnectException: Connection refused
~ inspired by ".. we generally use a JUnit @Rule to skip the test if the broker's not available." - Gary Russell
@see https://stackoverflow.com/a/38747559

* Temporarily disabled Gradle test-support for file-split-ftp & tcp-client-server-multiplex, in-order to allow for successful Gradle check task execution.

* Temporarily disabled remaining failing coverage, in-order to support continous integration going forward
@see https://github.com/spring-projects/spring-integration-samples/pull/335#discussion_r1072371788

Co-authored-by: Daniel Hammer <daniel.hammer+oss@gmail.com>
2023-01-23 13:04:29 -05:00
abilan
5a5043041b Upgrade to Spring Integration 6.0.2
* Upgrade other dependencies
2023-01-18 16:02:55 -05:00
abilan
4eef6ee08b GH-340: Fix logging for WebSocket server side
Fixes https://github.com/spring-projects/spring-integration-samples/issues/340

The `LoggingHandler` uses a `org.springframework.integration.handler` category by default.
So, the `info` provided for the `loggingChannelAdapter` service activator does not
have any effects because `logback.xml` has an `ERROR` for the
`org.springframework.integration` category

* Use dedicated `wsLog` category in the `LoggingHandler` bean definition
to print a server message published to the subscribed web socket clients
2023-01-03 11:55:36 -05:00
abilan
5dd165b349 Upgrade to Spring Integration 6.0.1 2022-12-21 11:29:40 -05:00
Chris Dickinson
7dec6980eb Add URL for index.html page for WebSocket sample
Turns out the CORS is always enabled for WebSocket with SockJS.
So, since we cannot predict an URL for the `index.html` therefore we always recommend open it on the same host port as server application - `http://localhost:8080`
2022-12-20 11:54:20 -05:00
dependabot[bot]
7130646139 Bump postgresql in /intermediate/stored-procedures-postgresql
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.5.0 to 42.5.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.5.0...REL42.5.1)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 17:39:29 -05:00
Gary Russell
282a5b8f6e Upgrade to Spring Integration 6.0.0 2022-11-22 09:58:44 -05:00
Daniel Hammer
4f77344a8f Provide a realistic SFTP public key
* Provide a more realistic SFTP configuration example, utilizing `~/.ssh/known_hosts` 
based on the `PublickeyAuthenticator` support from Apache MINA.
2022-11-10 17:34:03 -05:00
artembilan
df78f0665b Upgrade to Spring Integration 6.0.0-RC2 2022-11-08 16:10:20 -05:00
Gary Russell
6f9871f6d1 Upgrade hsqldb to 2.7.1 2022-11-01 11:19:07 -04:00
Artem Bilan
62319c8e5b Upgrade to Spring Integration 6.0.0-RC1
* Also upgrade other deps to more actual
* Fix failing tests due to changed API
2022-10-18 16:07:32 -04:00
Artem Bilan
021186e79c Upgrade to Spring Integration 6.0.0-M5 2022-09-20 21:01:40 -04:00
Artem Bilan
d2bbc7c89f Upgrade to Apache Artemis 2.24.0 2022-08-31 10:33:20 -04:00
dependabot[bot]
c633575cd8 Bump artemis-server from 2.20.0 to 2.24.0 in /basic/jms
Bumps [artemis-server](https://github.com/apache/activemq-artemis) from 2.20.0 to 2.24.0.
- [Release notes](https://github.com/apache/activemq-artemis/releases)
- [Commits](https://github.com/apache/activemq-artemis/compare/2.20.0...2.24.0)

---
updated-dependencies:
- dependency-name: org.apache.activemq:artemis-server
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 09:10:51 -04:00
dependabot[bot]
2e98ec568e Bump artemis-server from 2.20.0 to 2.24.0 in /applications/cafe/cafe-jms
Bumps [artemis-server](https://github.com/apache/activemq-artemis) from 2.20.0 to 2.24.0.
- [Release notes](https://github.com/apache/activemq-artemis/releases)
- [Commits](https://github.com/apache/activemq-artemis/compare/2.20.0...2.24.0)

---
updated-dependencies:
- dependency-name: org.apache.activemq:artemis-server
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 09:10:19 -04:00
Artem Bilan
3688be38bf Fix TcpClientServerAnnDemoTest for latest SI 2022-08-28 10:14:06 -04:00
Artem Bilan
70ad0efa92 Upgrade to the latest PostgreSQL driver
* Bring back Spring Integration dependency as `SNAPSHOT`
2022-08-09 12:46:51 -04:00