Commit Graph

218 Commits

Author SHA1 Message Date
Oleg Zhurakousky
c425ddfcee Polishing 2022-11-09 10:04:03 +01:00
Neokeld
210596c7c3 GH-951 remove acceptContentTypes from FunctionWebRequestProcessingHelper as it is not used
Resolves #951
Resolves #954
2022-11-09 10:02:52 +01:00
Oleg Zhurakousky
83980d34e1 Add new spring-boot .imports files and move auto-configuration classes there 2022-09-22 17:01:33 +02:00
Oleg Zhurakousky
586aa7afa4 GH-925 Fix regression with Kotlin @Component regstration
Resolves #925
2022-09-20 18:07:18 +02:00
Oleg Zhurakousky
d1eb0341b1 Remove deprecations from web module 2022-07-27 14:31:41 +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
Oleg Zhurakousky
724ba06c11 Fix FunctionTypeUtils as well as LocalServerPort issue
Resolves #871
2022-06-07 16:01:50 +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
3ab344c504 Fix merge issues
Resolves #826
2022-03-23 11:33:15 +01:00
onobc
da58b0904e Use Awaitility when waiting on local port 2022-03-23 08:33:14 +01:00
onobc
8b589c67e5 Reduce use of SocketUtils in tests
Resolves #825
2022-03-23 08:33:14 +01:00
Oleg Zhurakousky
bb3f33f1c5 Fix deprecations and breaking changes caused by dependencies 2022-03-17 14:59:04 +01:00
Oleg Zhurakousky
012a4daa59 Cleanup and additional test 2022-01-24 16:19:26 +01:00
Oleg Zhurakousky
4699f69be5 GH-792 Fix Supplier streaming in s-c-function-web
Resolves #792
2022-01-24 15:36:24 +01:00
Oleg Zhurakousky
f054d4534c Polishing after merge 4.x 2022-01-17 15:50:18 +01:00
Oleg Zhurakousky
a1a3c236d0 Merge branch '4.x' into main 2022-01-17 15:13:34 +01:00
Oleg Zhurakousky
5074b7eee4 Finish migration to java17, boot 3.0, spring 6 2022-01-14 11:05:58 +01:00
Oleg Zhurakousky
e6be676295 GH-783 Fix Consumer processing with webflux
Resolves #783
2021-12-13 16:08:21 +01:00
Oleg Zhurakousky
e297a36a06 Remove FunctionType and dependencies on it 2021-11-10 15:21:31 +01:00
Oleg Zhurakousky
3eea7082f6 Remove RequestProcessor from web 2021-11-08 17:02:40 +01:00
Oleg Zhurakousky
efe772a355 Disable test 2021-10-18 18:02:09 +02:00
Oleg Zhurakousky
e589852db3 Temporary fixes related to native AOT enablement 2021-09-29 11:24:37 +02:00
Oleg Zhurakousky
ff7741ea74 GH-713 Add support for default function for HTTP
Resolves #713
2021-07-14 14:46:21 +02:00
Oleg Zhurakousky
6ae466b99e Fix checkstyle 2021-07-13 16:54:01 +02:00
Oleg Zhurakousky
fd8fc886df Extract uri into message headers 2021-07-06 07:38:26 +02:00
Oleg Zhurakousky
1e69d6a056 GH-708 Consolidate web request processing for Flux and MVC endpoints" 2021-06-17 20:38:06 +02:00
Oleg Zhurakousky
189c74d5cf GH-708 Removed RequestProcessor from Flux FunctionController
Resolves #708

polish
2021-06-16 17:09:52 +02:00
Oleg Zhurakousky
b71aa90ebd GH-708 Removed RequestProcessor from MVC FunctionController 2021-06-15 19:53:02 +02:00
Oleg Zhurakousky
5a625b4ad0 GH-708 Initial refactoring and consolidation of s-c-function-web MVC part. 2021-06-15 15:15:26 +02:00
Oleg Zhurakousky
b8b04eb377 GH-668 Initial NPE fix in RequestProcessor when no path argument provided 2021-03-25 14:28:18 +01:00
Adrien Poupard
a70564eb82 Add Kotlin suspend function support
Use suspendCoroutineUninterceptedOrReturn to avoid using not fully implemented Function2.reflect()

Mapping of Function, Consumer and Supplier to kotlin suspend flow lambda

Fix MR review

Resolves #655
2021-03-02 08:51:00 +01:00
Oleg Zhurakousky
a24713e53b GH-649 Ignire factory bean names during discovery of a function
Resolves #649
2021-02-15 17:53:12 +01:00
Oleg Zhurakousky
8ece3d3083 Add stream (kafka, Rabbit) and Rsocket examples for Cloud Event 2020-12-18 16:44:29 +01:00
Oleg Zhurakousky
306da4248a Restructure Cloud Events support to optionally support Cloud Events SDK 2020-12-01 22:12:34 +01:00
Dave Syer
1e65ff7132 Refactor some lambdas to enable native image building
Without this change a function with a Tomcat wrapper cannot be compiled
to a native image (or it can but it fails at runtime) because there
are lambda$$$ methods in the byte code that refer to missing types.
2020-11-25 11:00:08 +00:00
Dave Syer
685f1a1b8f Better test of whether webflux is present 2020-11-20 09:17:15 +00:00
Dave Syer
a1e9b6b2c1 Move class present check to static initializer
Helps with native images
2020-11-19 11:44:51 +00:00
Oleg Zhurakousky
0a413331e8 Polishing cleanup and javadoc 2020-11-17 08:01:21 +01:00
Oleg Zhurakousky
ac54a83e09 Clean up and simplifications around CloudEvent processing
This commit effectively a merge of work with #607 and simplifies the following
- CloudEventAttributesProvider now provides CloudEventAttributes initialized with defaults to be set by the user
- In HTTP RequestProcessor the logic of sanitizing headers was improved to ensure that correct prefix is applied

Resolves #607
2020-11-16 13:40:53 +01:00
Oleg Zhurakousky
7ddbbe52cd Fix HTTP header propagation logic
Related to GH-422 and GH-606
2020-11-13 17:47:41 +01:00
Oleg Zhurakousky
311649c312 Fix CloudEvent prefix and fix the name of CloudEventAttributesProvider.java 2020-11-13 16:07:33 +01:00
Oleg Zhurakousky
f7c862ce9b remove commented code 2020-11-09 19:34:14 +01:00
Oleg Zhurakousky
70076c8653 GH-597 Add support for handling MultipartFile(s)
This initial fix ensures that functions can process single MultipartFile as well as multiple.

Resolves #597
2020-11-09 19:27:01 +01:00
Oleg Zhurakousky
dd0f70bc8e Simplify logic around getting item type of a function type 2020-11-04 11:29:01 +01:00
Oleg Zhurakousky
1ed99667bb Disable 'sentencesAcceptSse' test as it started to fail due to some reactor changes 2020-11-03 14:03:39 +01:00
Oleg Zhurakousky
9a715be835 Initial refactoring and simplificatioin of web module 2020-11-03 13:46:52 +01:00
Oleg Zhurakousky
9b1206f6af Fix SmartCompositeMessageConverter to ensure it properly injects contentType
Initial refactoring web - test pass
2020-11-03 13:44:45 +01:00
Oleg Zhurakousky
b8d462678a Deprecate and remove all usages of FunctionInspector 2020-10-19 18:11:11 +02:00
Oleg Zhurakousky
10b1f808ba Consolidate isMessage() operation 2020-10-19 14:57:55 +02:00