aboutsummaryrefslogtreecommitdiffstats
path: root/docs/usage/usage/ves.rst
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-17 12:46:49 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-17 14:05:09 +0000
commitf2adf542e878c96895210f97ebf1ebb763b2f465 (patch)
tree91fc0faeb3436e723d07aed1f38ce59a6e7cc7c5 /docs/usage/usage/ves.rst
parent49071a0d0425ef67fa552dbf14c81e5a11cc49e7 (diff)
Release ONAP SDKv10.2
Issue-ID: INT-2150 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I650047c599a5aae6de7c6b42d38e34aea88578e2
Diffstat (limited to 'docs/usage/usage/ves.rst')
-rw-r--r--docs/usage/usage/ves.rst42
1 files changed, 42 insertions, 0 deletions
diff --git a/docs/usage/usage/ves.rst b/docs/usage/usage/ves.rst
new file mode 100644
index 0000000..4712d8b
--- /dev/null
+++ b/docs/usage/usage/ves.rst
@@ -0,0 +1,42 @@
+VES
+###
+
+Preparation for VES tests
+-------------------------
+
+To enable CDS Enrichment in an ONAP Frankfurt environment the NodePort 30449
+for the CDS Blueprint Processor API service needs to be opened
+
+#. Check existing VES Services:
+
+ .. code-block:: sh
+
+ kubectl get service -n onap|grep ves
+ xdcae-ves-collector NodePort 10.43.48.246 <none> 8443:30417/TCP
+
+#. If the port of Ves Service is different than 30417 you can change it corresponding to the installation instruction.
+
+
+Send event to Ves Collector
+---------------------------
+
+.. code:: Python
+
+ from onapsdk.ves.ves import Ves
+ response = Ves.send_event(
+ basic_auth={'username': 'sample1', 'password': 'sample1'},
+ json_event=event,
+ version="v7"
+ )
+
+Send event batch to Ves Collector
+-------------------------
+
+.. code:: Python
+
+ from onapsdk.ves.ves import Ves
+ response = Ves.send_batch_event(
+ basic_auth={'username': 'sample1', 'password': 'sample1'},
+ json_event=event,
+ version="v7"
+ )