Commit Graph

464 Commits

Author SHA1 Message Date
dependabot[bot]
462a469d4c Bump junit from 4.12 to 4.13.1 in /samples/smb 2020-10-13 10:09:08 -04:00
dependabot[bot]
453900644b Bump junit from 4.12 to 4.13.1 in /samples/voldemort 2020-10-13 10:08:49 -04:00
dependabot[bot]
9c5c50a108 Bump junit from 4.12 to 4.13.1 in /samples/zip 2020-10-13 10:08:25 -04:00
Artem Bilan
00042c12e6 Start version 3.0.0
* Upgrade dependencies
* Fix deprecations; logic according new Hazelcast
* Upgrade Gradle
2020-10-06 12:50:02 -04:00
Tom Evers
6fbadadd01 Fixed code sample in readme
* Capitalize custom class name
2020-08-28 11:55:42 -04:00
Gary Russell
4d575651e0 xquery: Upgrade SI version 2020-08-05 11:11:33 -04:00
Spring Buildmaster
2b33c3b940 [artifactory-release] Next development version 2020-06-24 16:33:02 +00:00
Spring Buildmaster
c5b18a14f5 [artifactory-release] Release version 1.2.1.RELEASE 2020-06-24 16:32:57 +00:00
Artem Bilan
44610d09ca Upgrade dependencies for SMB module
* Fix compatibility with SI 5.3
* Use new `maven-publish` plugin for Gradle
* Fix some Checkstyle violations
* Make XSD versionless
2020-06-24 12:25:33 -04:00
Adam Jones
13f528205e Fix memory leak on authentication error
The root cause of this is in the jCIFS library but this mitigates the
problem.

* Upgrade jCIFS library to version 2.1.19

* Added author comments
2020-06-24 11:41:56 -04:00
Adam Jones
48c27e3fea Fix for memory leak In SmbSession
Fixes https://github.com/spring-projects/spring-integration-extensions/issues/225

If SmbShare instantiates a BaseContext during construction then the
context will be closed on calling close().

Without this there's a ThreadLocal memory leak
2020-06-22 17:54:35 -04:00
Spring Buildmaster
b06e9968be [artifactory-release] Next development version 2020-06-19 16:48:57 +00:00
Spring Buildmaster
fa1222aa4a [artifactory-release] Release version 0.8.0.RELEASE 2020-06-19 16:48:53 +00:00
Artem Bilan
3d1333c1f0 Fix test for the proper reactive template 2020-06-19 12:13:56 -04:00
Artem Bilan
8a97b4708c Upgrade dependencies; prepare for release 2020-06-19 11:54:37 -04:00
Spring Buildmaster
57373f0344 [artifactory-release] Next development version 2020-05-26 16:36:14 +00:00
Spring Buildmaster
398ae830a2 [artifactory-release] Release version 1.0.3.RELEASE 2020-05-26 16:36:10 +00:00
Artem Bilan
63d3bc0d11 ZIP: Upgrade dependencies; prepare for release 2020-05-26 12:31:00 -04:00
Artem Bilan
83e6cc21ed Fix link in README 2020-03-05 14:50:48 -05:00
Artem Bilan
06e6e08407 Migrate projec to Spring Integraiton Core 2020-03-05 14:50:15 -05:00
Artem Bilan
40d94f4dc5 Add handle() based on single argument lambda
* Upgrade dependencies including Gradle
2020-02-14 16:13:07 -05:00
Artem Bilan
68734223ee Upgrade to SI-5.3 and SD-Nuemann (#224)
* Upgrade to SI-5.3 and SD-Nuemann

* Fix test entity for LocalDate

* * Disable test with embedded Cassandra on Windows
2020-02-13 16:13:28 -05:00
Artem Bilan
e3e03348fe Upgrade XQuery to SI-4.3.21 2020-01-07 12:56:12 -05:00
Artem Bilan
b86c77db56 Upgrade samples to Log4J2
* Remove those samples which are note related to this repo any more
2020-01-07 12:45:23 -05:00
Artem Bilan
c856c72fc6 Fix README for the current state of code base
* Update Copyright in the affected classes
2020-01-03 14:28:22 -05:00
Artem Bilan
d4c0cf0170 Rework more lambdas into Kotlin builder pattern
* Move classes in this project to their own `kotlin` package
to avoid conflict with other Spring Integration artifacts
* Add lambda-based `handle()` instead of `GenericHandler` one
* Swap arguments in some EIP-method for better code flow
when build with Kotlin DSL
* Add a `scatterGatherFlow` configuration into a test suite
to demonstrate a complex configuration with Java API interoperability.
The Java sample is present in the comment for this flow definition
2020-01-03 14:14:40 -05:00
Artem Bilan
b10286d4b2 Remove some redundant generics 2019-12-16 18:51:18 -05:00
Artem Bilan
69157dea82 Rework KotlinIntFlowDefinition for delegation
According Kotlin best practice it is better to not
extend from Java classes, but instead provide a
clean Kotlin API and delegate to Java one internally

* Implement all the `IntegrationFlowDefinition` methods
in the `KotlinIntegrationFlowDefinition` Kotlin way and
delegate to the provided `IntegrationFlowDefinition` instance
* Remove `@UseExperimental` and `@BuilderInference` since
we now have all the API in Kotlin
* Rework `KotlinDslTests` for support now Kotlin code style
* Remove `-Xuse-experimental` from Gradle config since we
don't use experimental API any more
2019-12-16 15:35:10 -05:00
Artem Bilan
609f88c876 Remove return type from KtlIntFDefinition methods
It turns out that with `@BuilderInference` we don't need support
method chain flow in the builder implementation.

* Remove `KotlinIntegrationFlowDefinition` return type from its methods
2019-12-06 10:51:26 -05:00
Artem Bilan
fc9b174274 Add overloaded method to avoid extra parentheses
It turns out that we can have a simple
`transform<String, String> { it.toLowerCase() }`
with extra parentheses around lambda and also another variant like
`split<String>({ p -> p }) { it.id("splitterEndpoint") }`.
Everything works with overloaded methods with and without extra
configurer parameter

* Upgrade dependencies, including Gradle
2019-12-05 16:30:46 -05:00
Spring Buildmaster
5369fb0dfa [artifactory-release] Next development version 2019-11-05 21:45:02 +00:00
Spring Buildmaster
f8a745504e [artifactory-release] Release version Kotlin DSL 0.0.2.RELEASE 2019-11-05 21:44:59 +00:00
Artem Bilan
17ff2c56b8 Add missed Maven artifacts for JavaDocs & sources 2019-11-05 16:41:22 -05:00
Spring Buildmaster
8aa83b8365 [artifactory-release] Next development version 2019-11-05 20:38:18 +00:00
Spring Buildmaster
bb62c28951 [artifactory-release] Release version Kotlin DSL 0.0.2.RELEASE 2019-11-05 20:38:15 +00:00
Artem Bilan
a52b5bf05e Upgrade to latest Gradle, Spring Integration
* Prepare for release
2019-11-05 15:35:26 -05:00
Spring Buildmaster
668f31b97e [artifactory-release] Next development version 2019-11-05 20:17:45 +00:00
Spring Buildmaster
50f96f6ed2 [artifactory-release] Release version Hazelcast 2.0.0.RELEASE 2019-11-05 20:17:41 +00:00
Artem Bilan
fe6ffee60c Start version 2.0.0
Fixes https://github.com/spring-projects/spring-integration-extensions/issues/197

* Upgrade dependencies
* Fix deprecations; logic according new Hazelcast
* Fix tests for CP Subsystem
* Upgrade Gradle
* Prepare for release
2019-11-05 14:50:30 -05:00
Spring Buildmaster
f6f686f128 [artifactory-release] Next development version 2019-11-05 15:50:48 +00:00
Spring Buildmaster
f50bc8b49c [artifactory-release] Release version Cassandra 0.7.0.RELEASE 2019-11-05 15:50:44 +00:00
Artem Bilan
de0f55f7f4 Upgrade dependencies; prepare for release
* Upgrade SMB sample to the latest dependencies
2019-11-05 10:20:29 -05:00
Spring Buildmaster
f7acef2b56 [artifactory-release] Next development version 2019-11-05 14:39:54 +00:00
Spring Buildmaster
ad3374648e [artifactory-release] Release version 1.2.0.RELEASE 2019-11-05 14:39:50 +00:00
Artem Bilan
5976b0a826 Upgrade to SI-5.2.1; prepare for release 2019-11-05 09:35:30 -05:00
Artem Bilan
442463ad8f Upgrade dependencies; compatibility with SI 5.2 2019-10-31 11:14:49 -04:00
Artem Bilan
4024a0db70 Rely on the BaseIntegrationFlowDefinition
To avoid some inline reified functions names, it would be better to rely
on the `BaseIntegrationFlowDefinition` from SI Core.
This way we can have the same names for Kotlin-specific functions
without conflicts for similar methods in Java which are just a syntax
sugar without any target type guarantee

* * Add `KotlinIntegrationFlowDefinition` as an extension of `BaseIntegrationFlowDefinition`
to be able to provide inline functions for reified generic types.
* Use this new type from the `integrationFlow()` DSL functions to avoid
extra imports for global inline functions otherwise

* * Improve README
2019-10-28 10:13:20 -04:00
Artem Bilan
f405d4b36f Upgrade SI-Cassandra dependencies
Use JUnit 5 for tests
2019-10-21 16:16:53 -04:00
Artem Bilan
f9c5bd0881 Apply @BuilderInference for integrationFlow() functions 2019-10-16 15:03:24 -04:00
Artem Bilan
8dc527d3a9 Upgrade SI-Cassandra dependencies 2019-10-03 15:30:40 -04:00