aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/https-server/Makefile
blob: 00bd3d9c37c2ab44e55363cbf2ee9cdce7f7f1f7 (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 HTTPS server #####"
	docker-compose up -d
	@echo "##### DONE #####"

stop:
	@echo "##### Stop HTTPS server #####"
	docker-compose down
	@echo "##### DONE #####"

upload-file-http-server:
	@echo "##### Upload file to Http server #####"
	curl -F "uploaded_file=@./resources/E_VES_bulkPM_IF_3GPP_3_example_1.xml.gz" -u demo:demo123456! http://localhost:32080/upload.php
	@echo "\n##### DONE #####"

generate-event-http-server:
	@echo "##### Trigger VES client to generate event with Http Server #####"
	curl -X  POST http://localhost:5000/simulator/event -d @events/eventToVesWithHttpServer.json --header "Content-Type: application/json"
	@echo "\n##### DONE #####"

generate-multiple-events-http-server:
	@echo "\n##### Trigger VES client to generate multiple events with http server#####"
	curl -X  POST http://localhost:5000/simulator/start -d @events/fewEventsToVesWithHttpServer.json --header "Content-Type: application/json"
	@echo "\n##### DONE #####"