Remove custom conditions from spring-cloud-function-stream

It didn't really make any sense to have custom conditions that
depend on the presence or absence of beans of type Function,
Supplier, Consumer because the actual endpoints are derived
from the FunctionCatalog (which might not be based on
bean definitions). This approach is far simpler, and
reduces the amount of custom code in the stream binder.

The spring.cloud.function.stream.supplier.enabled flag
is awkward, so we should try and find a way to avoid that.
There's also no reason it should need to be set in the
deployer tests.
This commit is contained in:
Dave Syer
2017-08-08 09:27:11 +01:00
parent 3c412e04f5
commit 5622a9e2cb
5 changed files with 26 additions and 282 deletions

View File

@@ -15,7 +15,7 @@
</parent>
<properties>
<spring-cloud-deployer-thin.version>1.0.5.RELEASE</spring-cloud-deployer-thin.version>
<spring-cloud-deployer-thin.version>1.0.6.RELEASE</spring-cloud-deployer-thin.version>
</properties>
<dependencies>