aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/ves/Makefile
blob: 0f631aae8f818cef81fd71911a3297ac6b1ae687 (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
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 #####"