Commit Graph

943 Commits

Author SHA1 Message Date
Oleg Zhurakousky
f494962000 GH-1266 Improve and clean up SimpleFunctionRegistry
Resolves #1266
2025-04-16 19:56:40 +02:00
Oleg Zhurakousky
d20aa3d0bd GH-1265 Add logging for failed function lookup
Resolves #1265
2025-04-16 14:52:18 +02:00
Oleg Zhurakousky
4f8d647bd2 GH-1262 Ensure method is checked for being a factory method
Resolves #1262
2025-04-11 14:35:24 +02:00
Oleg Zhurakousky
7fc81cab28 GH-1260 Additional fix to Kotlin type resolution for generics
This is specifically relevant to the way Kotlin represents types. For example List<Message> resolves to List <? extends Message> which becomes the WildCard unlike in Java

Resolves #1260
2025-04-11 12:26:49 +02:00
Oleg Zhurakousky
5c31eace74 GH-1261 Fix assertioins to use AssertJ
Resolves #1261
2025-04-10 18:00:28 +02:00
spring-builds
5cc2cbbc69 Going back to snapshots 2025-04-07 09:50:54 +00:00
spring-builds
0685d0f937 Update SNAPSHOT to 4.3.0-M3 2025-04-07 09:46:23 +00:00
Oleg Zhurakousky
aec25f6ec7 GH-1234 Add delegation to existing shouldFailIfCantConvert(..)
This ensures that if Throwable is not provided it can fal back to already implemented method
2025-04-04 18:22:34 +02:00
Oleg Zhurakousky
017db7d686 GH-1234 Change the point where 'failConversionIfNecessary' is called
I have also added a new method to MessageConverterHelper.shouldFailIfCantConvert(Message<?> message, Throwable t) to include Throwable and changed the callback in SmartCompositeMessageConverter to ensure it passes it in case it needs to be taken into account.

Resolves #1234
2025-04-02 16:05:19 +02:00
Oleg Zhurakousky
547327e761 GH-1236 Fix actuator's FunctionsEndpoint to handle ineligible functions
Given that we have ineligible function catalog.lookup(..) may return null if function is ineligible.

Resolves #1236
2025-04-02 14:48:26 +02:00
Oleg Zhurakousky
dbdc35cedf GH-1237 Add TRACE level logging to JacksonMapper
While we expect failures in individual converters and delegate to others in the stack, this enhancement will allow users to enabel TRACE level logging on failures during 'writeValueAsBytes' in JacksonMapper.

Resolves #1237
2025-04-01 18:08:32 +02:00
Oleg Zhurakousky
6e7b1af638 GH-1239 Disable FAIL_ON_TRAILING_TOKENS in ObjectMapper configuration
Resolves #1239
2025-04-01 17:56:59 +02:00
Oleg Zhurakousky
3473cca263 GH-1251 Additional regression fixes with type discovery
Tthis change specifically addresses the use of generics
2025-03-27 15:58:33 +01:00
Oleg Zhurakousky
daa60090ce GH-1247 Fix how Kotlin function bean is detected
Resolves #1247
2025-03-25 20:38:31 +01:00
Oleg Zhurakousky
2db95c7286 GH-1246 Fix logic around getting parameter names from 'factory method'
Changed condition to ensure we use method name when iterating thru methods instead of validating if it is a 'factory method'

Resolves #1246
2025-03-24 23:02:08 +01:00
Oleg Zhurakousky
773f6d7fea GH-1251 Fix regression with generic type discovery
Resolves #1251
2025-03-24 21:50:37 +01:00
Oleg Zhurakousky
96e16cc712 GH-1240 Fix logging for ineligible functions
Resolves #1240
2025-03-20 10:28:25 +01:00
Oleg Zhurakousky
ef9c2462c4 GH-1245 Add initial proxy support
This feature woudl allow request to be proxied to additional targets such as grpc, rsocket etc.

Resolves #1245
2025-03-11 16:50:25 +01:00
spring-builds
1234a94737 Going back to snapshots 2025-02-27 15:12:35 +00:00
spring-builds
8147aadb79 Update SNAPSHOT to 4.3.0-M2 2025-02-27 15:08:03 +00:00
spencergibb
7dde46f027 Changes proxyBeanMethods = false 2025-02-18 11:57:50 -05:00
Oleg Zhurakousky
7bcad7edc8 GH-1235 Fix support for text/* contentType
Resolves #1235
2025-02-06 10:32:54 +01:00
spring-builds
58d03e3073 Going back to snapshots 2025-01-30 02:25:24 +00:00
spring-builds
b684419f72 Update SNAPSHOT to 4.3.0-M1 2025-01-30 02:20:25 +00:00
spring-builds
88c1c56752 Bumping versions 2025-01-17 01:58:22 +00:00
Oleg Zhurakousky
936726a892 GH-1222 Add initial support for AWS ScheduledEvent
Resolves #1222
2025-01-14 15:46:37 +01:00
Oleg Zhurakousky
9b7f8b5516 GH-1187 Fix AWS Context initialization for Custom Runtime
Updated sample to show that Context is not null

Resolves #1187
2025-01-13 13:25:12 +01:00
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