Add Supplier Exporter sample
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user