diff options
author | Zebek Bogumil <bogumil.zebek@nokia.com> | 2021-03-17 08:04:25 +0100 |
---|---|---|
committer | Bogumil Zebek <bogumil.zebek@nokia.com> | 2021-03-17 12:33:56 +0000 |
commit | ba34c7c6f336575560c618b20580baa5cec3530e (patch) | |
tree | 91c19e72e96fa2e4bcb204c3dff3a9a0970c7e3c /sanitycheck/dmaap-simulator/Makefile | |
parent | 2fa21ae5c2245ec5a75a7677320e77d70aae443e (diff) |
Add sanitycheck for ves client
Issue-ID: INT-1869
Signed-off-by: Bogumil Zebek <bogumil.zebek@nokia.com>
Change-Id: Ib297493ad9386594b4451f05378e070747187428
Diffstat (limited to 'sanitycheck/dmaap-simulator/Makefile')
-rw-r--r-- | sanitycheck/dmaap-simulator/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sanitycheck/dmaap-simulator/Makefile b/sanitycheck/dmaap-simulator/Makefile new file mode 100644 index 0000000..af8f162 --- /dev/null +++ b/sanitycheck/dmaap-simulator/Makefile @@ -0,0 +1,23 @@ +all: build + +.PHONY: build + +build: + @echo "##### Build dmaap simulator image #####" + docker build . -t dmaap-simulator + @echo "##### DONE #####" + +start: + @echo "##### Start dmaap simulator #####" + docker run -d -p 3904:3904 --name dmaap-simulator dmaap-simulator + @echo "##### DONE #####" + +stop: + @echo "##### Stop dmaap simulator #####" + docker rm -f dmaap-simulator + @echo "##### DONE #####" + +get-data: + @echo "##### Get data fetched by dmaap-simulator #####\n" + curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:3904/events + @echo "\n\n##### DONE #####" |