Commit Graph

640 Commits

Author SHA1 Message Date
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
Artem Bilan
c46c184f23 Fix project for latest deps compatibility
* Add `set('spring-integration.version', "$springIntegrationVersion")`
into Gradle build file to override dependency for Spring Boot
to pull the fix for WebSockets in Spring Integration
* Fix `ListenableFutureTest` to the `CompletableFutureTest`
to solve deprecation warnings.
2022-08-02 12:27:11 -04:00
Artem Bilan
396e453a42 Back to SI SNAPSHOT for SF compatibility 2022-07-26 09:22:34 -04:00
Artem Bilan
833f55d662 Upgrade to the latest dependencies
* Fix deprecation warnings
2022-07-22 16:17:47 -04:00
Moritz Reiter
c5f2576eb4 Remove duplicate item in readme
The 'jpa' item is listed twice in the overview of the basic examples in
the root readme. 
This commit removes the duplicate.
2022-07-21 10:56:09 -04:00
Artem Bilan
ceeebd7be7 Upgrade to the latest deps; fix compatibility 2022-07-12 17:25:34 -04:00
Artem Bilan
0b83398a9c Some JmsMockTests tweaks 2022-06-10 15:42:03 -04:00
René Scheibe
80af14a2e6 Make fields immutable (final) where possible 2022-06-08 10:13:03 -04:00
René Scheibe
9f4428153c Fix various typos in the code & docs 2022-06-08 10:11:45 -04:00
Artem Bilan
cf742d3b86 Upgrade to SI-6.0.0-M3 2022-05-18 16:37:08 -04:00
Artem Bilan
dff443ce90 Fix compatibility with the latest Spring Boot 2022-05-13 10:37:52 -04:00
madoc
ff51f22716 Move the Note message down on the README 2022-04-09 12:48:27 -04:00
Artem Bilan
67677e210f GH-320: update README for latest project state
Fixes https://github.com/spring-projects/spring-integration-samples/issues/320
2022-04-07 10:51:05 -04:00
Artem Bilan
470dadbbcb Upgrade PostgreSQL to fix vulnerabilities 2022-03-25 08:56:13 -04:00
Artem Bilan
1aa24b6577 Upgrade dependencies and various fixes
* Remove usage of removed `org.springframework.util.SocketUtils`
in favor of OS-selected port
* Migrate mail tests to Greenmail instead of already obsolete (and soon to be removed)
`org.springframework.integration.test.mail.TestMailServer`
2022-03-24 12:02:16 -04:00
Artem Bilan
db9db657a3 Upgrade to Gradle 7.4.1 2022-03-10 09:42:54 -05:00
Artem Bilan
361866da58 Move main to version 6.0
* Upgrade to the latest dependencies
* Migrate samples to `jakarta` namespace
* Rework `cafe-scripted` to RSocket instead of already removed RMI
* Migrate JMS samples to Apache Artemis for Jakarta EE 9
* Disables mails tests since there is a requirement to migrate to Greenmail for Jakarta EE 9 support
* Rework `generatePom` task to a new `maven-publish` plugin style
2022-01-20 17:10:31 -05:00