Commit Graph

1686 Commits

Author SHA1 Message Date
Oleg Zhurakousky
12f45f1507 GH-915 Make Kotlin initialization 'lazy'
This way just like with any other function, Kotlin initialization, type discovery etc will be performed on function lookup
This will also ensure that order of various post processors doesn't get in the way.

Resolves #915
2022-08-11 16:59:55 +02:00
Oleg Zhurakousky
8999337255 GH-909 Fix spelling of the method
Resolves #909
2022-08-08 15:33:27 +02:00
Oleg Zhurakousky
fc50ebc870 GH-913 Fix AWS Context propagation
Resolves #913
2022-08-08 15:26:10 +02:00
Oleg Zhurakousky
c5948bd07c Merge pull request #911 from asinbow/main
Rename PollableSupplier to PollableBean in doc
2022-08-08 15:21:26 +02:00
Hao Wang
05bef05540 Rename PollableSupplier to PollableBean in doc 2022-08-05 23:14:12 +08:00
Oleg Zhurakousky
e4b074b6d4 GH-905 Relax handling of incompatible BiFunctions
Resolves #905
2022-08-03 18:03:08 +02:00
Oleg Zhurakousky
64bfca99b9 Reworked AWSUtils and related classes to delegate type conversion to AWSTypesMessageConverter
Resolves #889
2022-08-03 15:22:21 +02:00
atyamlalithya
b1ee881b9d Update AWSLambdaUtils.java
Added this fix to preserve headers from original payload
2022-08-03 15:01:53 +02:00
buildmaster
a17b99d41b Bumping versions 2022-08-03 05:48:24 +00:00
buildmaster
47134a5de7 Going back to snapshots 2022-07-29 18:47:37 +00:00
buildmaster
6feb42d445 Update SNAPSHOT to 4.0.0-M4 2022-07-29 18:43:03 +00:00
Oleg Zhurakousky
a7a8217f58 Remove functionType deprecations 2022-07-27 17:41:09 +02:00
Oleg Zhurakousky
d1eb0341b1 Remove deprecations from web module 2022-07-27 14:31:41 +02:00
Oleg Zhurakousky
6879298a5d Remove additional deprecations 2022-07-27 14:29:49 +02:00
Oleg Zhurakousky
ff83f3bc59 Remove deprecated property 2022-07-27 12:54:42 +02:00
Oleg Zhurakousky
5c6c0eddcb GH-888 Update SpEL usage documentation
Resolves #888
2022-07-27 10:42:21 +02:00
Oleg Zhurakousky
a4e5c0c9e3 GH-890 Update AWS JAR Layout docs
Resolves #890
2022-07-27 10:05:12 +02:00
Oleg Zhurakousky
b598949d73 GH-901 add more logging around failed conversion of input messages
Resolves #901
2022-07-26 17:35:49 +02:00
Oleg Zhurakousky
e17f79d169 GH-891 Ensure HTTP Request params are mapped even when body is not present
Resolves #891
2022-07-26 16:49:23 +02:00
Maciej Walkowiak
f51279be48 Fix typo.
Fix typo.
2022-07-26 11:50:52 +02:00
Oleg Zhurakousky
4ace646482 Relax logging in SimpleFunctionRegistry 2022-07-25 15:46:59 +02:00
Oleg Zhurakousky
8b4d50dd3d Remove reflection usage to accomodate AOT 2022-07-25 15:14:13 +02:00
buildmaster
38e2cfc444 Bumping versions 2022-07-22 05:39:10 +00:00
Oleg Zhurakousky
d59af47c16 Address upcoming observability changes 2022-07-19 17:12:48 +02:00
Chris Bono
fc0dacb893 GH-892 Remove use of reflection from CloudEventMessageUtils
Fixes #892
Resolves #894
2022-07-13 14:18:42 +02:00
Chris Bono
5272714d89 Rename micrometer-tracing-api to micrometer-tracing 2022-07-12 22:21:27 -05:00
Oleg Zhurakousky
b3f564b40f Fix function eligibility filtering 2022-06-16 18:27:23 +02:00
Oleg Zhurakousky
7663836810 GH-884 Add initial support for BiConsumer 2022-06-15 16:15:21 +02:00
buildmaster
867dcf8275 Going back to snapshots 2022-06-15 09:35:09 +00:00
buildmaster
d7c2d575fc Update SNAPSHOT to 4.0.0-M3 2022-06-15 09:31:10 +00:00
Oleg Zhurakousky
967a6de0b0 Remove explicit micrometer versions 2022-06-15 11:18:56 +02:00
Oleg Zhurakousky
39e4bed412 GH-884 Add initial support for BiFunction
Resolves #884

polish
2022-06-14 09:36:09 +02:00
Oleg Zhurakousky
9f9d5602e7 GH-883 Add support for filtering out ineligible functions
Resolves #883
2022-06-13 15:46:45 +02:00
Oleg Zhurakousky
7b0dd911f1 Add author 2022-06-09 15:04:14 +02:00
Oleg Zhurakousky
be3922852f checkstyle 2022-06-08 19:51:30 +02:00
Oleg Zhurakousky
be50e4a398 SCST-GH-2355 Add support for batch processing of collections with different types
Specifically KafkaNull. But this commit effectively paves a path for any type
2022-06-08 19:46:35 +02:00
Oleg Zhurakousky
35c8e6f64a Initial commit of KafkaNull changes to SmartCompositeMessageConverter 2022-06-08 12:22:14 +02:00
Oleg Zhurakousky
b1a6fc4994 KafkaNull batch attempt 2022-06-07 21:22:25 +02:00
Oleg Zhurakousky
724ba06c11 Fix FunctionTypeUtils as well as LocalServerPort issue
Resolves #871
2022-06-07 16:01:50 +02:00
Artem Bilan
66b88f2f1e FunctionTypeUtils test for NPE
Related to https://stackoverflow.com/questions/72163534/spring-batch-integration-throwns-org-springframework-messaging-messagehandlingex

The `FunctionTypeUtils.isMessage()` fails with NPE
when target method has non-message argument with generic parameter.
Even if we instantiate the class with specific generic argument,
that info is not available for reflection and `MethodParameter`
end up with a generic parameter name which is essentially a `TypeVariable`

The stacktrace is like this:
```
java.lang.NullPointerException: Cannot invoke "java.lang.Class.getGenericInterfaces()" because "targetType" is null

	at net.jodah.typetools.TypeResolver.getTypeVariableMap(TypeResolver.java:494)
	at net.jodah.typetools.TypeResolver.resolveRawClass(TypeResolver.java:387)
	at net.jodah.typetools.TypeResolver.resolveRawClass(TypeResolver.java:373)
	at org.springframework.cloud.function.context.catalog.FunctionTypeUtils.isMessage(FunctionTypeUtils.java:416)
```
2022-06-07 15:21:09 +02:00
Oleg Zhurakousky
4661ab186b GH-873 Fix JsonNode conversion
Resolves #873
2022-05-30 14:39:03 +02:00
Oleg Zhurakousky
69430a186e GH-876 Update build.gradle for AWS sample
Resolves #876
2022-05-30 13:39:37 +02:00
Oleg Zhurakousky
e53923db34 Merge pull request #875 from ddixit14/user-custom-status-code-fix
Enabling users to set custom Response Code
2022-05-30 13:34:53 +02:00
Oleg Zhurakousky
085ae9f620 GH-878 Fix concurrency issue during registration and lookup of functions
Resolves #878
2022-05-30 12:11:36 +02:00
Deepankar Dixit
495a831216 updating documentation 2022-05-26 12:33:57 -04:00
Deepankar Dixit
ddda85f83b working on comments 2022-05-26 11:20:16 -04:00
Deepankar Dixit
0ef707a76c working on comments 2022-05-25 17:13:00 -04:00
Deepankar Dixit
62d8a8c38a undo 2022-05-25 10:37:38 -04:00
Deepankar Dixit
eecb373d50 making changes to adapter, including tests and documentation 2022-05-25 10:22:29 -04:00
Deepankar Dixit
11666058ad enabling users to set custom statusCode 2022-05-23 14:50:23 -04:00