Commit Graph

1817 Commits

Author SHA1 Message Date
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
Oleg Zhurakousky
1702b269f0 GH-829 Add docs for routing under Custom Runtime
Resolves #829
2022-05-10 16:17:07 +02:00
Oleg Zhurakousky
68892e903d GH-865 Addressing previous commit comments 2022-05-10 15:41:50 +02:00
Oleg Zhurakousky
3aa3c4a2c3 GH-865 Added initial test for Observability module
Resolves #865
2022-05-10 15:23:12 +02:00
Oleg Zhurakousky
bc7cbf8ace GH-865 Initial creation of Observability module 2022-05-09 18:10:37 +02:00
Deepankar Dixit
3ecd653baf updating readme 2022-05-09 18:03:57 +02:00
Deepankar Dixit
cc020093b9 upgrading gcf runtime versions 2022-05-09 18:03:48 +02:00
Oleg Zhurakousky
c966eb55eb Add Chris to doc authors 2022-05-05 08:12:45 +02:00
Oleg Zhurakousky
bef1b018d0 GH-739 Add DEBUG log statement for when type conversion fails
Resolves #739
2022-05-04 14:59:38 +02:00
Oleg Zhurakousky
3bfa5faa44 GH-791 Add support for propagating input headers
Resolves #791

polishing merge
2022-05-04 14:48:14 +02:00
buildmaster
32c5873fd4 Bumping versions 2022-05-04 05:48:29 +00:00
Oleg Zhurakousky
536bd3920f Remove observability 2022-05-03 19:48:16 +02:00
Oleg Zhurakousky
a1c2b9de02 GH-864 Add support for carying HTTP request parameters in Message headers
Resolves #864
2022-05-03 19:14:00 +02:00
Oleg Zhurakousky
318512c23a fixes related to code change in the underlying API 2022-05-03 17:40:49 +02:00
Oleg Zhurakousky
82e090d163 GH-856 Fix logic in determining Cloud Event prefix
Resolves #856
2022-04-26 08:39:26 +02:00
Oleg Zhurakousky
664995d7d1 GH-861 Add constant for aws-context
Resolves #861
2022-04-21 13:16:02 +02:00
REMY David
eee99c051b Change OffsetTime to OffsetDateTime in CloudEventMessageUtils
Resolves #855
2022-04-21 11:03:44 +02:00
Chris Bono
d3c96fbb60 Use custom Java 17 image for Azure Function Adapter sample
Resolves #853
2022-04-21 10:41:26 +02:00
Oleg Zhurakousky
16d81d7d64 Polishing previous commit as it's current version breaks the test 2022-04-21 10:20:16 +02:00
Twometer
4b8a45c654 Fix ClassCastException with Spring Native
Resolves #860
2022-04-21 09:11:35 +02:00