Add Supplier Exporter sample

This commit is contained in:
Oleg Zhurakousky
2020-05-07 10:28:25 +02:00
parent 41acbfd438
commit 2108450f2b
12 changed files with 460 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
BLUE='\033[0;34m'
NC='\033[0m'
printf "=== ${BLUE}Building %s sample${NC} ===\n" "${PWD##*/}"
./compile.sh || exit 1
JARDIR=target/native-image
java -cp $JARDIR/BOOT-INF/lib/*:$JARDIR/BOOT-INF/classes:$JARDIR:target/test-classes com.example.test.TestServer &
SPID=$!
sleep 5
${PWD%/*samples/*}/scripts/test.sh --spring.cloud.function.web.export.source.url=http://localhost:8000/home --spring.cloud.function.web.export.sink.url=http://localhost:8000/echo
kill $SPID