Refactor sanity check 42/107442/1
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Mon, 11 May 2020 09:16:16 +0000 (11:16 +0200)
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Mon, 11 May 2020 09:16:16 +0000 (11:16 +0200)
Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ifbbdb73b03aa975ae9cabc1d91be60e1012fb01b

sanitycheck/README.md
sanitycheck/events/eventToVes.json

index 9fb4929..ad5f3e3 100644 (file)
@@ -14,39 +14,41 @@ You have to change the IP address in file events/vesAddressConfiguration.json
   "vesServerUrl": "http://<IP_Address>:8080/eventListener/v7"
 }
 ```
-and in file events/eventToVes.json
-
-```
-{
-"vesServerUrl": "http://<IP_Address>:8080/eventListener/v7",
-"event": { ...
-```
 ### 1. Build Projects
 ```
 make start
 ```
-### 2. Send one event
+### 2. Reconfigure ves url
 ```
-make generate-event
+make reconfigure-ves-url
 ```
 ### 2.1 Check dmaap sim
+should return empty list 
 ```
 make check-dmaap
 ```
-### 3. Send few events:
-### 3.1 Reconfigure ves url
+### 3. Send one event
+### 3.1 Send events:
 ```
-make reconfigure-ves-url
+make generate-event
+```
+### 3.2 Check dmaap sim
+should return list containing 1 event
+```
+make check-dmaap
 ```
-### 3.2 Send events
+### 4. Send few events:
+### 4.1 Send events
+this will send 4 event with interval 1 second
 ```
 make generate-multiple-events
 ```
-### 3.3 Check dmaap sim
+### 4.2 Check dmaap sim
+should return list containing 5 event (1 from point 3.1 and 4 from point 4.1)
 ```
 make check-dmaap
 ```
-### 4. Clear environment
+### 5. Clear environment
 ```
 make stop
 ```
index 7299306..8d37f5a 100644 (file)
@@ -1,5 +1,4 @@
 {
-  "vesServerUrl": "http://172.17.0.1:8080/eventListener/v7",
   "event": {
     "event": {
       "commonEventHeader": {