aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/README.md
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/README.md
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/README.md')
-rw-r--r--sanitycheck/README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/sanitycheck/README.md b/sanitycheck/README.md
index ad5f3e3..61ed943 100644
--- a/sanitycheck/README.md
+++ b/sanitycheck/README.md
@@ -5,7 +5,8 @@
```
ip a | grep docker0 | grep inet
```
-If the IP address is different than 172.17.0.1/16:
+
+If the IP address is different than 172.17.0.1/16:
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
You have to change the IP address in file events/vesAddressConfiguration.json
@@ -14,6 +15,11 @@ You have to change the IP address in file events/vesAddressConfiguration.json
"vesServerUrl": "http://<IP_Address>:8080/eventListener/v7"
}
```
+
+If you want use event with http server files:
+```
+make upload-file-http-server
+```
### 1. Build Projects
```
make start
@@ -32,6 +38,10 @@ make check-dmaap
```
make generate-event
```
+send event with files from Http Server
+```
+generate-event-http-server
+```
### 3.2 Check dmaap sim
should return list containing 1 event
```
@@ -43,6 +53,10 @@ this will send 4 event with interval 1 second
```
make generate-multiple-events
```
+this event will send 2 events with files from Http Server with interval 5 second
+```
+make generate-multiple-events-http-server
+```
### 4.2 Check dmaap sim
should return list containing 5 event (1 from point 3.1 and 4 from point 4.1)
```