Commit Graph

2233 Commits

Author SHA1 Message Date
Oleg Zhurakousky
7b8d974a61 Bump version of two samples flagged by dependabot 2025-04-16 21:34:32 +02:00
Oleg Zhurakousky
7219540a6e GH-1124 Add spring-cloud-function-adapter-azure-web to the release
Resolves #1124
2025-04-16 21:23:34 +02:00
Oleg Zhurakousky
37007410df GH-1265 Add logging for failed function lookup
Resolves #1265
2025-04-16 14:52:50 +02:00
Oleg Zhurakousky
f826a265df GH-1262 Ensure method is checked for being a factory method
Resolves #1262
2025-04-11 14:35:49 +02:00
Oleg Zhurakousky
55c4fcf4f7 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:03 +02:00
Oleg Zhurakousky
0eb498ffbf GH-1261 Fix assertioins to use AssertJ
Resolves #1261
2025-04-10 17:58:49 +02:00
Oleg Zhurakousky
7ea40b0f5d 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:21:21 +02:00
Oleg Zhurakousky
7dd7d64e97 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:03:19 +02:00
Oleg Zhurakousky
a354046acf 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:04 +02:00
Oleg Zhurakousky
cb9081a9fe Fix formatting 2025-04-02 14:12:48 +02:00
Oleg Zhurakousky
8cd6f4f6c7 GH-1230 Ensure header names are case insensitive
Resolves #1230
2025-04-02 13:56:31 +02:00
Oleg Zhurakousky
fff38bdda1 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:10:27 +02:00
Oleg Zhurakousky
fe22cb528f GH-1239 Disable FAIL_ON_TRAILING_TOKENS in ObjectMapper configuration
Resolves #1239
2025-04-01 17:56:25 +02:00
Alexander Martin
36bdfec8b4 GH-1253 use http code from response
Resolves #1253

Signed-off-by: Alexander Martin <alexander.martin@kroger.com>
2025-04-01 17:30:39 +02:00
Oleg Zhurakousky
81eddedb63 GH-1251 Additional regression fixes with type discovery
Tthis change specifically addresses the use of generics
2025-03-27 15:57:39 +01:00
Oleg Zhurakousky
9838a13296 GH-1247 Fix how Kotlin function bean is detected
Resolves #1247
2025-03-25 20:37:51 +01:00
Oleg Zhurakousky
06f02f5639 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:01:26 +01:00
Oleg Zhurakousky
564223b9e9 GH-1251 Fix regression with generic type discovery
Resolves #1251
2025-03-24 21:48:44 +01:00
Oleg Zhurakousky
80617ab777 GH-1240 Fix logging for ineligible functions
Resolves #1240
2025-03-20 10:30:07 +01:00
spring-builds
c72ea2b0fd Bumping versions 2025-03-20 03:03:43 +00:00
spring-builds
c9f8f50332 Bumping versions 2025-03-19 03:03:23 +00:00
spring-builds
acd24a2cd7 Bumping dependency versions after release 2025-03-18 21:45:05 +00:00
spring-builds
1b53ebc872 Bumping versions to 4.2.3-SNAPSHOT after release 2025-03-18 21:43:56 +00:00
spring-builds
414bae18c3 Going back to snapshots 2025-03-18 21:43:54 +00:00
spring-builds
d6d51ab65a Update SNAPSHOT to 4.2.2 2025-03-18 21:38:32 +00:00
Oleg Zhurakousky
10449429ad Fix 'metadata.json' 2025-03-18 16:33:22 +01:00
spencergibb
352c3ab444 Changes proxyBeanMethods = false 2025-03-18 11:19:54 -04:00
spring-builds
3c2198ca11 Bumping versions 2025-03-13 03:01:51 +00:00
Oleg Zhurakousky
8252dc7feb GH-1235 Fix support for text/* contentType
Resolves #1235
2025-02-06 10:33:25 +01:00
Dennis Kieselhorst
cd61d63109 doc: AWS is not offering Maven or Gradle plugins.
Signed-off-by: Dennis Kieselhorst <mail@dekies.de>
2025-02-04 14:02:34 +01:00
Dennis Kieselhorst
a7501266ff doc: adding links, fixing typos, formatting, updating versions
Signed-off-by: Dennis Kieselhorst <mail@dekies.de>
2025-02-04 14:02:20 +01:00
Maximilian Schellhorn
6cd2c47336 feat: reworked aws adapter docs
Signed-off-by: Maximilian Schellhorn <maxschellhorn@pm.me>
2025-02-04 14:02:12 +01:00
Dennis Kieselhorst
f9e9282365 doc: remove old adapter pages and redirect to current *-intro
Signed-off-by: Dennis Kieselhorst <mail@dekies.de>
2025-02-04 14:01:36 +01:00
spring-builds
6fc6f54309 Bumping versions 2025-01-24 03:05:56 +00:00
spring-builds
776a56fcce Bumping dependency versions after release 2025-01-23 10:39:54 +00:00
spring-builds
78d7db12b2 Bumping versions to 4.2.2-SNAPSHOT after release 2025-01-23 10:38:32 +00:00
spring-builds
49695480b5 Going back to snapshots 2025-01-23 10:38:30 +00:00
spring-builds
06d41703db Update SNAPSHOT to 4.2.1 2025-01-23 10:32:22 +00:00
spring-builds
d8470d7524 Bumping versions 2025-01-18 03:05:18 +00:00
Oleg Zhurakousky
e46ed8a668 Polishing 2025-01-14 16:06:32 +01:00
Oleg Zhurakousky
936726a892 GH-1222 Add initial support for AWS ScheduledEvent
Resolves #1222
2025-01-14 15:46:37 +01:00
spring-builds
399a4f417e Bumping versions 2025-01-13 19:44:13 +00:00
Oleg Zhurakousky
aaa68ef549 Remove 'test' scope from spring-boot-starter-web
This will propagate exclusion of tomcat
2025-01-13 15:16:21 +01:00
Oleg Zhurakousky
1e0bdc8043 Polish sample's README 2025-01-13 13:52:41 +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
Oleg Zhurakousky
a4162ce7c4 Merge pull request #1226 from deki/fix-main-readme
doc: fix duplications in main readme
2025-01-09 13:23:38 +01:00
Dennis Kieselhorst
3194831549 doc: fix duplications in main readme 2025-01-08 16:00:38 +01:00
Oleg Zhurakousky
26b4a59f69 GH-1225 Add additional Kotlin test to verify the regression
Resolves #1225
2025-01-08 11:54:27 +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