Artem Bilan
5b4c5578b7
Fix FunctionTypeUtils for FactoryBean
...
The function bean can be declared as a `FactoryBean`,
for example with Spring Integration's `GatewayProxyFactoryBean`.
See `LogConsumerConfiguration` in Spring Functions Catalog project.
* Fix `FunctionTypeUtils` to react to the `ParameterizedType`
and check its assignments against `Factory` bean.
Then resolves its generic to the proper target function type.
* Add `BeanFactoryAwareFunctionRegistryTests.functionFromFactoryBeanIsProperlyResolved()`
to verify that `FactoryBean<Function<?, ?>>` is resolved properly
2024-12-26 14:02:19 -05:00
Oleg Zhurakousky
c1cb638591
Minor cleanup
2024-12-22 13:46:20 +01:00
spencergibb
0a43fc92d5
Adds version for kotlin-maven-plugin
...
See gh-1218
2024-12-09 14:14:47 -05:00
Oleg Zhurakousky
622cbdabd7
GH-1213 Fix regression related to removal of TypeTools
...
Resolves #1213
2024-12-09 20:00:12 +01:00
John Blum
5363a0a0c2
Edit Javadoc in MessageRoutingFunction and RoutingFunction
...
Refine implementation of RoutingFunction
Closes #1216
2024-12-09 15:46:47 +01:00
Oleg Zhurakousky
b59a3d6c78
GH-1204 Polish FunctionTypeUtils to ensure works with native
2024-12-04 09:11:43 +01:00
spring-builds
61c913c55e
Bumping versions to 4.2.1-SNAPSHOT after release
2024-12-02 23:46:41 +00:00
spring-builds
f703bed1fd
Going back to snapshots
2024-12-02 23:46:38 +00:00
spring-builds
03807b3254
Update SNAPSHOT to 4.2.0
2024-12-02 23:41:32 +00:00
Oleg Zhurakousky
a3b45f4aa7
GH-1204 Polishing aftre refactoring of TypeTools
2024-11-24 18:08:43 +01:00
Oleg Zhurakousky
317553b8fa
GH-1204 Remove dependency on Typetools
...
Resolves #1204
2024-11-15 15:16:40 +01:00
spring-builds
1b7b31307a
Going back to snapshots
2024-11-08 01:05:03 +00:00
spring-builds
a6379216f8
Update SNAPSHOT to 4.2.0-RC1
2024-11-08 01:00:19 +00:00
kimjg
cf95578dab
I removed it because there was a code I wasn't using
2024-10-31 22:21:06 +09:00
kjg
92822663dc
gh-1098 Java's basic type
...
function Unit Test Add
Resolves #1098
2024-10-31 10:34:12 +01:00
kimjg
b32da7faf0
Fixes gh-1098 Support primitive function interfaces
...
Added support for basic type functions
supported by Java
Resolves #1098
2024-10-31 10:34:12 +01:00
Oleg Zhurakousky
2b3318de53
GH-1198 Fix tracibility wrapper
...
Fix tracibility wrapper to ensure traceid/spanid are captured on subsequent invocations
Resolves #1198
2024-10-29 14:51:14 +01:00
Oleg Zhurakousky
e3b968d0ee
GH-1196 Recactor registratio of Kotlin module
...
Resolves #1196
2024-10-23 09:58:35 +02:00
Oleg Zhurakousky
ba2db77f80
Polishing
2024-10-18 21:30:45 +02:00
Oleg Zhurakousky
8daa2aae15
GH-1073 Fix Kotlin type resolution
...
Resolves #1073
2024-10-18 21:30:34 +02:00
spencergibb
d120eb0731
Updates to*Case() to use Locale.ROOT
2024-10-18 10:53:24 -04:00
Oleg Zhurakousky
8f9c17f19a
Update typetools version
2024-10-18 13:38:39 +02:00
Oleg Zhurakousky
5f5eb112cd
Polish previous commit
2024-10-17 13:40:39 +02:00
Oleg Zhurakousky
6a65fcb43a
GH1190 Add byte[] to string conversion to CloudEventMessageUtils
...
Resolves #1190
2024-10-17 12:40:30 +02:00
Oleg Zhurakousky
63cdb68b3a
GH-1189 Fix regression with ObjectMapper configurationb
...
Resolves #1189
2024-10-16 16:54:13 +02:00
Ömer Çelik
1f2a243862
Change "synchronized" to reentrant lock for virtual-threads
2024-10-06 01:10:28 +03:00
dependabot[bot]
ff5fd6c1c5
Bump com.google.protobuf:protobuf-java in /spring-cloud-function-context
...
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf ) from 3.25.1 to 3.25.5.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.25.1...v3.25.5 )
---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-19 16:22:11 +00:00
Oleg Zhurakousky
571783ffae
GH-1174 Add support for configurable Message conversion helper
...
This commit includes only the interfaces and interaction callbacks. The rest of the implementation is provided by binders in s-c-stream
2024-09-16 16:05:57 +02:00
Oleg Zhurakousky
85a4fffcd4
GH-1172 Ensure content-type set in a message is honored on the output
...
Also, ensures that the proper content type is set in GCF FunctionInvoker
Resolves #1172
2024-09-09 12:51:36 +02:00
kihwankim
d074fb324c
feat: add conditional missing bean
2024-09-08 19:20:00 +09:00
buildmaster
16022af641
Going back to snapshots
2024-08-19 17:01:50 +00:00
buildmaster
a08b2fd11a
Update SNAPSHOT to 4.2.0-M1
2024-08-19 16:57:43 +00:00
buildmaster
8583ea48c7
Going back to snapshots
2024-08-19 15:26:29 +00:00
buildmaster
03b13f75bd
Update SNAPSHOT to 4.2.0-M1
2024-08-19 15:22:42 +00:00
Garus, Henning
2bfaabb570
GH-1156 Remove org.json:json dependency
...
Use the already present Jackson ObjectMapper instead to provide the same behaviour, where a value is parsed to check if it is a valid json structure, ie an array or an object.
Resolves #1173
Resolves #1156
2024-08-16 10:18:31 +02:00
Garus, Henning
c8c7ce41cc
Remove duplicate jackson-databind dependency
2024-08-16 10:09:42 +02:00
Lars Bilger
1cd93cb270
GH-1148 Copy the context ObjectMapper before modifying it
...
Resolves #1162
2024-08-15 13:56:33 +02:00
Lars Bilger
01c3fb07ef
Revert "GH-1148 Configure our own ObjectMapper"
...
This reverts commit 8b66fd29
2024-08-15 13:19:29 +02:00
buildmaster
a731b934b0
Bumping versions
2024-08-05 19:12:58 +00:00
Oleg Zhurakousky
766cf9e9d8
GH-1163 Ignore FAIL_ON_UNKNOWN_PROPERTIES in Json conversion
...
The regression is due to tye fact that we no longer using boot provided ObjectMapper and instead rely on our own instance
Resolves #1163
2024-07-17 17:19:58 +02:00
Oleg Zhurakousky
da91630320
GH-STREAM-2971 Properly handle Kafka tombstone payload conversion
2024-07-17 16:09:53 +02:00
buildmaster
76d92789d1
Bumping versions to 4.1.4-SNAPSHOT after release
2024-07-10 15:51:28 +00:00
buildmaster
5d61a39ea5
Going back to snapshots
2024-07-10 15:51:27 +00:00
buildmaster
c0b651e45c
Update SNAPSHOT to 4.1.3
2024-07-10 15:46:31 +00:00
Oleg Zhurakousky
d8e67c8df9
GH-1149 Remove condition on FunctionCatalog
...
It actually no longer required. It was added when certain other auto-configurations were present that are no longer exist, so effectively it was a leftover
Resolves #1149
2024-07-09 12:30:02 +02:00
Oleg Zhurakousky
6ca9ad6526
GH-1157 Fix JSON logging in AWS
...
Resolves #1157
2024-07-03 11:43:06 +02:00
Victor Hugo Pongolino
23a69512df
Fix typo in docs replacing FunctionRoutingResult to String in MessageRoutingCallback
2024-06-27 17:14:28 -03:00
Oleg Zhurakousky
5e73a6824c
GH-1148 Add JavaTimeModule to ObjectMapper
2024-06-12 16:07:34 +02:00
Oleg Zhurakousky
8b66fd296e
GH-1148 Configure our own ObjectMapper
2024-06-07 08:02:59 +02:00
Oleg Zhurakousky
b17795dd66
Revert "GH-1148 Remove manual setting of ObjectMapper feature"
...
This reverts commit 812c39eccb .
2024-06-07 07:54:51 +02:00