Add a sample app with just beans that are Functions
Make it deployable via its maven coordinates in spring-cloud-function-deployer (it is deployed by default on start up right now, but that's just a demo)
This commit is contained in:
@@ -1,17 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
while getopts ":p:f:" opt; do
|
||||
case $opt in
|
||||
p)
|
||||
WEBPATH=$OPTARG
|
||||
;;
|
||||
f)
|
||||
FUNC=$OPTARG
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
java -noverify -XX:TieredStopAtLevel=1 -Xss256K -Xms16M -Xmx256M -XX:MaxMetaspaceSize=128M -jar ../spring-cloud-function-web/target/spring-cloud-function-web-1.0.0.BUILD-SNAPSHOT.jar\
|
||||
--web.path=$WEBPATH\
|
||||
--function.name=$FUNC
|
||||
java -jar ../spring-cloud-function-web/target/spring-cloud-function-web-1.0.0.BUILD-SNAPSHOT.jar ${@}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user