add support for Supplier and Consumer

This commit is contained in:
markfisher
2016-10-14 11:07:37 -04:00
parent 971cc1ebd8
commit b0db0233be
32 changed files with 892 additions and 183 deletions

18
scripts/task.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
while getopts ":s:f:c:" opt; do
case $opt in
s)
SUPP=$OPTARG
;;
f)
FUNC=$OPTARG
;;
c)
CONS=$OPTARG
;;
esac
done
java -jar ../spring-cloud-function-task/target/spring-cloud-function-task-1.0.0.BUILD-SNAPSHOT.jar\
--lambda.supplier=$SUPP --lambda.function=$FUNC --lambda.consumer=$CONS