aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/Makefile
diff options
context:
space:
mode:
authorPawel <pawel.kasperkiewicz@nokia.com>2020-04-22 11:03:54 +0200
committerPawel <pawel.kasperkiewicz@nokia.com>2020-04-22 13:22:59 +0200
commit2fa8397e0c4e6085f0a410be722c56eeba5b0dfe (patch)
treee54a79b80ba8875bce10c788d615bb77bfa568e3 /sanitycheck/Makefile
parent25764e61bcaf1b464dbed0898b34cb473db8ceda (diff)
Create local CSITs to verify simulator flow with VES
Issue-ID: INT-1544 Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com> Change-Id: Id54a6674fef815b91b0a6d10e73d2c8d2c431ef4
Diffstat (limited to 'sanitycheck/Makefile')
-rw-r--r--sanitycheck/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/sanitycheck/Makefile b/sanitycheck/Makefile
new file mode 100644
index 0000000..37f2669
--- /dev/null
+++ b/sanitycheck/Makefile
@@ -0,0 +1,40 @@
+all: start
+
+.PHONY: start
+
+build:
+ @echo "##### build (dmaap sim) #####"
+ make -C dmaap-simulator build
+ @echo "##### DONE #####"
+
+start: build
+ @echo "##### start (dmaap sim,ves,pnf sim) #####"
+ make -C ves start
+ make -C ../pnfsimulator start
+ @echo "##### DONE #####"
+
+stop:
+ @echo "##### Stop (dmaap sim,ves,pnf sim) #####"
+ make -C ves stop
+ make -C ../pnfsimulator stop
+ @echo "##### 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 #####"
+
+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"
+ @echo "\n##### DONE #####"
+
+generate-multiple-events:
+ @echo "\n##### Trigger PNF Simulator to generate multiple events #####"
+ curl -X POST http://localhost:5000/simulator/start -d @events/fewEventsToVes.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