aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/Makefile
diff options
context:
space:
mode:
authormarcinrzepeckiwroc <marcin.rzepecki@nokia.com>2020-12-22 16:23:58 +0100
committermarcinrzepeckiwroc <marcin.rzepecki@nokia.com>2021-01-07 14:54:16 +0100
commit23f606075360a376a8fdb9f7fb1f3505c3100c1a (patch)
treec297a5de42fbd49668db74193673052885f84eea /sanitycheck/Makefile
parent43d113d683ab082f8e2b7ce062e9601e74ffde3a (diff)
Extend PNF simulator with HTTP server
Issue-ID: INT-1814 Change-Id: I06eeb81e46d6a96976f64eece6bbf7209665c1d2 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Diffstat (limited to 'sanitycheck/Makefile')
-rw-r--r--sanitycheck/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/sanitycheck/Makefile b/sanitycheck/Makefile
index 37f2669..3602875 100644
--- a/sanitycheck/Makefile
+++ b/sanitycheck/Makefile
@@ -19,11 +19,21 @@ stop:
make -C ../pnfsimulator stop
@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:7080/upload.php
+ @echo "\n##### DONE #####"
+
generate-event:
@echo "##### Trigger PNF Simulator to generate event #####"
curl -X POST http://localhost:5000/simulator/event -d @events/eventToVes.json --header "Content-Type: application/json"
@echo "\n##### DONE #####"
+generate-event-http-server:
+ @echo "##### Trigger PNF Simulator 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 #####"
+
reconfigure-ves-url:
@echo "##### Change VES address configuration in PNF Simulator #####"
curl -X PUT http://localhost:5000/simulator/config -d @events/vesAddressConfiguration.json --header "Content-Type: application/json"
@@ -34,7 +44,12 @@ generate-multiple-events:
curl -X POST http://localhost:5000/simulator/start -d @events/fewEventsToVes.json --header "Content-Type: application/json"
@echo "\n##### DONE #####"
+generate-multiple-events-http-server:
+ @echo "\n##### Trigger PNF Simulator 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 #####"
+
check-dmaap:
@echo "##### Check dmaap simulator for collected events #####"
make -C dmaap-simulator get-data
- @echo "\n##### DONE #####" \ No newline at end of file
+ @echo "\n##### DONE #####"