Create VES client example for domain 'stateChange' 72/5872/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Mon, 12 Apr 2021 01:45:02 +0000 (03:45 +0200)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Mon, 12 Apr 2021 01:45:47 +0000 (03:45 +0200)
commit0c90f04a75af3170ae3381545a5017ed16ddabf5
tree58ff9cfc49f68fc92ff046bc5251ceeb7e1bfb83
parent6bc11bbce334d492295ad966650debef910efb39
Create VES client example for domain 'stateChange'

Python script and json template added.
READMEpy.md updated.
In addtion also the ves-test-collecotor updated to latest schema.

The script results in:

  demx8as6 @ martindev ~/workspace/o-ran-sc/oam/solution/dev/ves-test-collector/client-scripts-ves-v7 (OAM-184)
  └─ $ ▶ python3 sendVesStateChange.py --pnf nSky
  ################################################################################
  # send VES stateChange
  /usr/lib/python3/dist-packages/urllib3/connectionpool.py:999: InsecureRequestWarning: Unverified HTTPS request
   is being made to host 'localhost'. Adding certificate verification is strongly advised. See:
  https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
    warnings.warn(
  <Response [202]>

This is expected.

Due to an issue in the configuration of DMaaP it results
at VES colllector in:

  com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException:
  DMaaP configuration contains no configuration for domain: 'ves-statechange'

This is a new issue reported ot DMaaP project and not in scope of OAM-184,

IssueID: OAM-184
Change-Id: I6cd7a92ccf00b0f8621d6bb7312bb054fc69a916
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
solution/dev/ves-test-collector/.env
solution/dev/ves-test-collector/README.md
solution/dev/ves-test-collector/client-scripts-ves-v7/READMEpy.md
solution/dev/ves-test-collector/client-scripts-ves-v7/json/templates/stateChange.json [new file with mode: 0644]
solution/dev/ves-test-collector/client-scripts-ves-v7/sendVesStateChange.py [new file with mode: 0644]
solution/dev/ves-test-collector/resources/CommonEventFormat_30.2.1_ONAP.json [new file with mode: 0644]