aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/ves-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck/ves-client/Makefile')
-rw-r--r--sanitycheck/ves-client/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/sanitycheck/ves-client/Makefile b/sanitycheck/ves-client/Makefile
new file mode 100644
index 0000000..23f10b4
--- /dev/null
+++ b/sanitycheck/ves-client/Makefile
@@ -0,0 +1,28 @@
+all: start
+
+.PHONY: start
+
+start:
+ @echo "##### start (dmaap sim,ves,ves-client sim) #####"
+ make -C ../../ves-client start
+ @echo "##### DONE #####"
+
+stop:
+ @echo "##### Stop (dmaap sim,ves,ves-client sim) #####"
+ make -C ../../ves-client stop
+ @echo "##### DONE #####"
+
+reconfigure-ves-url:
+ @echo "##### Change VES address configuration in VES client#####"
+ curl -X PUT http://localhost:5000/simulator/config -d @events/vesAddressConfiguration.json --header "Content-Type: application/json"
+ @echo "\n##### DONE #####"
+
+generate-event:
+ @echo "##### Trigger VES client to generate event #####"
+ curl -X POST http://localhost:5000/simulator/event -d @events/eventToVes.json --header "Content-Type: application/json"
+ @echo "\n##### DONE #####"
+
+generate-multiple-events:
+ @echo "\n##### Trigger VES client to generate multiple events #####"
+ curl -X POST http://localhost:5000/simulator/start -d @events/fewEventsToVes.json --header "Content-Type: application/json"
+ @echo "\n##### DONE #####"