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:
Dave Syer
2016-12-16 11:17:23 +00:00
parent 7408664aeb
commit c6736f959b
39 changed files with 1404 additions and 84 deletions

View File

@@ -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 ${@}