Ensure FunctionTypes get registered for composite functions

Without this change the type of a composed function in the
InMemoryFunctionCatalog is always null. The key is to register
the type at the same time as the function is registered.

Also some format and javadoc fixes (cosmetic)
This commit is contained in:
Dave Syer
2019-02-21 09:53:15 +00:00
parent 6865d53c91
commit aaf268ea40
8 changed files with 131 additions and 67 deletions

View File

@@ -25,8 +25,7 @@
<java.version>1.8</java.version>
<wrapper.version>1.0.17.RELEASE</wrapper.version>
<aws-lambda-events.version>2.0.2</aws-lambda-events.version>
<spring-cloud-function.version>2.1.0.BUILD-SNAPSHOT
</spring-cloud-function.version>
<spring-cloud-function.version>2.1.0.BUILD-SNAPSHOT</spring-cloud-function.version>
<start-class>example.Config</start-class>
</properties>