aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-05-12 08:03:33 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-12 08:03:33 +0000
commit74168c28186c85d1c220d643f7f78f68cdee36ae (patch)
tree177f054178dc7f1d36c21c92a9a7231c41146d76
parent7d8c7040c86c2aaf84e0e9f6de495e347f92bdae (diff)
parentafef2a726fd84110c3c6d45c98227009f91ea09d (diff)
Merge "Refactor sanity check"
-rw-r--r--sanitycheck/README.md32
-rw-r--r--sanitycheck/events/eventToVes.json1
2 files changed, 17 insertions, 16 deletions
diff --git a/sanitycheck/README.md b/sanitycheck/README.md
index 9fb4929..ad5f3e3 100644
--- a/sanitycheck/README.md
+++ b/sanitycheck/README.md
@@ -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
```
diff --git a/sanitycheck/events/eventToVes.json b/sanitycheck/events/eventToVes.json
index 7299306..8d37f5a 100644
--- a/sanitycheck/events/eventToVes.json
+++ b/sanitycheck/events/eventToVes.json
@@ -1,5 +1,4 @@
{
- "vesServerUrl": "http://172.17.0.1:8080/eventListener/v7",
"event": {
"event": {
"commonEventHeader": {