Commit Graph

23 Commits

Author SHA1 Message Date
Oleg Zhurakousky
94f120d890 GH-1057 Add Kotlin/Aws Dyname tests 2023-08-30 14:18:11 +02:00
Oleg Zhurakousky
98e88e7314 GH-1015 Fix Kotlin dependencies
GH-1015 Fix Kotlin dependencies
2023-03-20 18:46:09 +01:00
Oleg Zhurakousky
04df79482d GH-939 & GH-956 Fix Kotlin function registration regression
Resolves #939
Resolves #956
2022-11-14 15:01:19 +01:00
Oleg Zhurakousky
586aa7afa4 GH-925 Fix regression with Kotlin @Component regstration
Resolves #925
2022-09-20 18:07:18 +02:00
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
Tsypov Dmitriy
0db0a2f555 GH-699 Fixed a bug where Kotlin Lambda was incorrectly converted to a consumer function
Fixed consumer type

Fixed tests

Added javadoc @author tag

Resolves #699
Resolves #700
2021-05-20 06:58:10 +02:00
Oleg Zhurakousky
b7edd1e1b7 GH-685 Update Kotlin documentation
Add test for collections

polishing
2021-04-13 09:23:56 +02:00
Oleg Zhurakousky
ecd9902ced GH-685 Move Kotlin configurations to s-c-function-context module
Resolves #685
2021-04-12 15:02:56 +02:00
Oleg Zhurakousky
106435e91c GH-675 Made KotlinFunctionWrapper public 2021-03-23 13:48:09 +01:00
Oleg Zhurakousky
d097d960df Update copyrights 2021-03-02 08:51:22 +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
cab4d9e341 GH-648 Fix Kotlin functions bootstrap
Resolves #648
2021-02-15 16:12:12 +01:00
Oleg Zhurakousky
41d80433e1 GH-632 Fix type discovery on Kotlin function
Fix the way FunctionTypeUtils deals with Kotllin function when it attempts to discover their type.
Basically it checks if function-name + '_registration' nean exists and if so it skip discovery and uses the types available in FunctionRegistration which for Kotlin scenarios will always exist.

Resolves #632
2021-01-26 12:04:05 +01:00
Oleg Zhurakousky
e47fc2d5cf Disconnect FunctionInspector from adapter request handlers and Kotlin module 2020-10-20 13:58:51 +02:00
anshlykov
8bcfad48fa Migrate to JUnit 5
spring-cloud-function-context

spring-cloud-function-context: fix

spring-cloud-function-web

spring-cloud-function-adapters

spring-cloud-function-samples

spring-cloud-function-deployer; spring-cloud-function-kotlin

Resolves #535
2020-06-10 16:43:04 +02:00
Oleg Zhurakousky
016f1ec010 Made Kotlin config class public to satisfy sonatype 2020-02-12 18:25:01 +01:00
Oleg Zhurakousky
d93febd4c4 GH-364 Additional cleanup and small refactoring for Kotlin lambda support 2019-09-10 13:48:32 +02:00
Oleg Zhurakousky
11ac6cd679 GH-364 Fix type discovery on Kotlin lambdas
Added FunctionRegistration for each Kotlin lambdas with the correct types
Resolve #364
2019-09-06 20:04:24 +02:00
Oleg Zhurakousky
93f7a248a5 Added initial support for lazy style FunctionCatalog/Registry which:
-  does not rely on any of the existing wrappers and instead relies on internal wrapper which performs  in-flight/just-in-time wrapping and unwrapping from reactive to imperative types
- performs transparent type conversion relying on MessageConverters and ConversionService
- supports multiple inputs/outputs
2019-07-17 13:54:02 +02:00
Spring Operator
3b573c27ac URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 247 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 12:48:58 -05:00
Marcin Grzejszczak
c6ddfe1af4 Added checkstyle for tests 2019-02-03 15:34:10 +01:00
Marcin Grzejszczak
e4b08a083c Turned on checkstyle 2019-02-01 15:48:32 +01:00
Oleg Zhurakousky
6a16a44aa0 GH-235 Moved Kotlin support to a separate module
Resolves #235
2018-11-30 18:48:32 +01:00