aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck/Makefile')
-rw-r--r--sanitycheck/Makefile61
1 files changed, 35 insertions, 26 deletions
diff --git a/sanitycheck/Makefile b/sanitycheck/Makefile
index 85800a0..84b3483 100644
--- a/sanitycheck/Makefile
+++ b/sanitycheck/Makefile
@@ -8,48 +8,57 @@ build:
@echo "##### DONE #####"
start: build
- @echo "##### start (dmaap sim,ves,ves-client sim) #####"
+ @echo "##### Starting #####"
+ make -C ./ves-client start
make -C ves start
- make -C ../../ves-client start
+ make -C ./https-server start
+ make -C ./netconf start
@echo "##### DONE #####"
stop:
- @echo "##### Stop (dmaap sim,ves,ves-client sim) #####"
+ @echo "##### Stoping #####"
make -C ves stop
- make -C ../../ves-client stop
+ make -C ./https-server stop
+ make -C ./netconf stop
+ make -C ./ves-client stop
+ docker network rm nf-simulator-network
@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 #####"
+
+# ves client
+reconfigure-ves-url:
+ make -C ./ves-client reconfigure-ves-url
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 #####"
+ make -C ./ves-client generate-event
-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:
+ make -C ./ves-client generate-multiple-events
-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-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 #####"
+# http server
+upload-file-http-server:
+ make -C ./https-server upload-file-http-server
+
+generate-event-http-server:
+ make -C ./https-server generate-event-http-server
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 #####"
+ make -C ./https-server generate-multiple-events-http-server
+
+# netconf server
+change-config:
+ make -C ./netconf change-config
+
+
+# dmaap
check-dmaap:
@echo "##### Check dmaap simulator for collected events #####"
make -C dmaap-simulator get-data
@echo "\n##### DONE #####"
+
+clean-dmaap:
+ @echo "##### Check dmaap simulator for collected events #####"
+ make -C dmaap-simulator clean-data
+ @echo "\n##### DONE #####"