aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/ves-client/Makefile
blob: 23f10b4c8d22824473acf014e679b917501b6ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 #####"