diff options
author | Pawel <pawel.kasperkiewicz@nokia.com> | 2020-04-22 11:03:54 +0200 |
---|---|---|
committer | Pawel <pawel.kasperkiewicz@nokia.com> | 2020-04-22 13:22:59 +0200 |
commit | 2fa8397e0c4e6085f0a410be722c56eeba5b0dfe (patch) | |
tree | e54a79b80ba8875bce10c788d615bb77bfa568e3 /sanitycheck/README.md | |
parent | 25764e61bcaf1b464dbed0898b34cb473db8ceda (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/README.md')
-rw-r--r-- | sanitycheck/README.md | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sanitycheck/README.md b/sanitycheck/README.md new file mode 100644 index 0000000..9fb4929 --- /dev/null +++ b/sanitycheck/README.md @@ -0,0 +1,52 @@ +### Run test case pnfsimulator -> ves collector -> dmaap simulator + +### Prerequisites +* Check your docker network ip: +``` +ip a | grep docker0 | grep inet +``` +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 +``` +{ + "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 +``` +make generate-event +``` +### 2.1 Check dmaap sim +``` +make check-dmaap +``` +### 3. Send few events: +### 3.1 Reconfigure ves url +``` +make reconfigure-ves-url +``` +### 3.2 Send events +``` +make generate-multiple-events +``` +### 3.3 Check dmaap sim +``` +make check-dmaap +``` +### 4. Clear environment +``` +make stop +``` |