Fixing poms
This commit is contained in:
@@ -387,7 +387,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
* It is not intended to remain here and will be removed as soon as particular elements
|
||||
* of stream will be refactored to address this.
|
||||
*/
|
||||
private Function<Object, Message> enhancer;
|
||||
private Function<Object, Object> enhancer;
|
||||
|
||||
FunctionInvocationWrapper(FunctionInvocationWrapper function) {
|
||||
this.skipOutputConversion = function.skipOutputConversion;
|
||||
@@ -432,7 +432,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
* It is not intended to remain here and will be removed as soon as particular elements
|
||||
* of stream will be refactored to address this.
|
||||
*/
|
||||
public Function<Object, Message> getEnhancer() {
|
||||
public Function<Object, Object> getEnhancer() {
|
||||
return this.enhancer;
|
||||
}
|
||||
|
||||
@@ -443,7 +443,7 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
|
||||
* It is not intended to remain here and will be removed as soon as particular elements
|
||||
* of stream will be refactored to address this.
|
||||
*/
|
||||
public void setEnhancer(Function<Object, Message> enhancer) {
|
||||
public void setEnhancer(Function<Object, Object> enhancer) {
|
||||
this.enhancer = enhancer;
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<description>Demo project for Spring Boot</description>
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<spring-cloud-function.version>3.2.0-SNAPSHOT</spring-cloud-function.version>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@@ -50,6 +51,18 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-function-dependencies</artifactId>
|
||||
<version>${spring-cloud-function.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<extensions>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<module>function-sample-cloudevent-stream</module>
|
||||
<module>function-sample-cloudevent-rsocket</module>
|
||||
<module>function-sample-kotlin-web</module>
|
||||
<module>function-sample-grpc-cloudevent</module>
|
||||
<!-- <module>function-sample-grpc-cloudevent</module> -->
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user