From ba34c7c6f336575560c618b20580baa5cec3530e Mon Sep 17 00:00:00 2001 From: Zebek Bogumil Date: Wed, 17 Mar 2021 08:04:25 +0100 Subject: Add sanitycheck for ves client Issue-ID: INT-1869 Signed-off-by: Bogumil Zebek Change-Id: Ib297493ad9386594b4451f05378e070747187428 --- sanitycheck/ves/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sanitycheck/ves/Makefile (limited to 'sanitycheck/ves/Makefile') diff --git a/sanitycheck/ves/Makefile b/sanitycheck/ves/Makefile new file mode 100644 index 0000000..4fe5e4b --- /dev/null +++ b/sanitycheck/ves/Makefile @@ -0,0 +1,23 @@ +all: start + +.PHONY: start + +start: + @echo "##### Start VES with DMAAP simulator #####" + docker-compose up -d + @echo "##### DONE #####" + +stop: + @echo "##### Stop VES with DMAAP simulator #####" + docker-compose down + @echo "##### DONE #####" + +health-check: + @echo "##### Health check #####\n" + + @echo "##### DMAAP simulator is ready #####\n" + curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:3904/events + + @echo "\n\n##### VES is ready #####\n" + curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET GET http://localhost:8080/healthcheck + @echo "\n\n##### DONE #####" -- cgit