blob: ee62d0487b6c961d4c81ab5f0cf8492668debea1 (
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
|
VES
###
Preparation for DMAAP tests
-------------------------
#. Check existing DMaap Services:
.. code-block:: sh
kubectl get service -n onap| grep mess
message-router NodePort 10.43.30.205 <none> 3905:31163/TCP,3904:32404/TCP
#. If the port of Ves Service is different than 3904 you can change it corresponding to the installation instruction.
Remove all events from DMaap
---------------------------
.. code:: Python
from onapsdk.dmaap.dmaap import Dmaap
response = Dmaap.reset_events()
Get all events from DMaap
-------------------------
.. code:: Python
from onapsdk.dmaap.dmaap import Dmaap
response = Dmaap.get_all_events()
Get events from specific topic from DMaap
-------------------------
.. code:: Python
from onapsdk.dmaap.dmaap import Dmaap
response = Dmaap.get_events_for_topic("fault")
Get all topics from DMaap
-------------------------
.. code:: Python
from onapsdk.dmaap.dmaap import Dmaap
response = Dmaap.get_all_topics()
|