add support for Supplier and Consumer
This commit is contained in:
18
scripts/task.sh
Executable file
18
scripts/task.sh
Executable 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
|
||||
Reference in New Issue
Block a user