diff options
author | 2020-04-22 11:03:54 +0200 | |
---|---|---|
committer | 2020-04-22 13:22:59 +0200 | |
commit | 2fa8397e0c4e6085f0a410be722c56eeba5b0dfe (patch) | |
tree | e54a79b80ba8875bce10c788d615bb77bfa568e3 /sanitycheck/ves/Makefile | |
parent | 25764e61bcaf1b464dbed0898b34cb473db8ceda (diff) |
Create local CSITs to verify simulator flow with VES
Issue-ID: INT-1544
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: Id54a6674fef815b91b0a6d10e73d2c8d2c431ef4
Diffstat (limited to 'sanitycheck/ves/Makefile')
-rw-r--r-- | sanitycheck/ves/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
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 #####" |