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
This commit is contained in:
Oleg Zhurakousky
2019-06-05 08:24:49 +02:00
parent 85af2e4ed6
commit 93f7a248a5
20 changed files with 1830 additions and 55 deletions

View File

@@ -23,6 +23,7 @@ import java.util.function.Supplier;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import org.junit.After;
import org.junit.Ignore;
import org.junit.Test;
import reactor.core.publisher.Flux;
@@ -34,6 +35,7 @@ import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import static org.assertj.core.api.Assertions.assertThat;
/**
@@ -55,6 +57,7 @@ public class ContextFunctionCatalogAutoConfigurationKotlinTests {
}
@Test
@Ignore
public void kotlinLambdas() {
create(new Class[] { KotlinLambdasConfiguration.class,
SimpleConfiguration.class });