aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck/README.md
blob: 9fb49293c67ae542385ba82f7b0ffa892e5b3a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
```