file-based registry for serialized functions

This commit is contained in:
markfisher
2016-09-30 18:12:43 -04:00
parent 257cf8c356
commit 309993f0d4
18 changed files with 267 additions and 99 deletions

16
scripts/register.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
while getopts ":n:f:" opt; do
case $opt in
n)
NAME=$OPTARG
;;
f)
FUNC=$OPTARG
;;
esac
done
java -jar ../spring-cloud-function-core/target/spring-cloud-function-core-1.0.0.BUILD-SNAPSHOT-registrar.jar\
$NAME\
$FUNC

View File

@@ -17,6 +17,4 @@ done
java -jar ../spring-cloud-function-stream/target/spring-cloud-function-stream-1.0.0.BUILD-SNAPSHOT.jar\
--spring.cloud.stream.bindings.input.destination=$IN\
--spring.cloud.stream.bindings.output.destination=$OUT\
--function.name=func\
--function.code=$FUNC
--function.name=$FUNC

View File

@@ -13,6 +13,5 @@ done
java -jar ../spring-cloud-function-web/target/spring-cloud-function-web-1.0.0.BUILD-SNAPSHOT.jar\
--web.path=$WEBPATH\
--function.name=func\
--function.code=$FUNC
--function.name=$FUNC