From 1a04f43691102b41478f79518b20fa743584e283 Mon Sep 17 00:00:00 2001 From: Marcin Migdal Date: Wed, 10 Apr 2019 11:08:29 +0200 Subject: Add PRH dpo Data format - ready Spec - todo Change-Id: I092cc18321b16101c4fc6f71fe5953de8ba31140 Issue-ID: DCAEGEN2-1361 Signed-off-by: Marcin Migdal --- dpo/data-formats/prh.dataformatspec.json | 15 ++++++++ dpo/spec/prh.componentspec.json | 60 ++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 dpo/data-formats/prh.dataformatspec.json create mode 100644 dpo/spec/prh.componentspec.json diff --git a/dpo/data-formats/prh.dataformatspec.json b/dpo/data-formats/prh.dataformatspec.json new file mode 100644 index 00000000..4ed44f80 --- /dev/null +++ b/dpo/data-formats/prh.dataformatspec.json @@ -0,0 +1,15 @@ +{ + "self": { + "name": "prh", + "version": "1.2.", + "description": "Physical Resource Handler (PRH)" + + }, + "dataformatversion": "1.0.0", + "reference": { + "name": "VES (NF Event Streaming) Specification", + "version": "30.0.1", + "format": "json", + "url": "https://gerrit.onap.org/r/gitweb?p=dcaegen2/collectors/ves.git;a=blob;f=etc/CommonEventFormat_30.0.1.json;hb=HEAD" + } +} \ No newline at end of file diff --git a/dpo/spec/prh.componentspec.json b/dpo/spec/prh.componentspec.json new file mode 100644 index 00000000..0a020ae5 --- /dev/null +++ b/dpo/spec/prh.componentspec.json @@ -0,0 +1,60 @@ +{ + "self": { + "version": "1.1.0", + "name": "dcae-hv-ves-collector", + "description": "Collector for receiving stream of High Volume VES events through socket interface", + "component_type": "docker" + }, + "streams": { + "subscribes": [], + "publishes": [ + { + "format": "hv-ves-event", + "version": "7.1.0", + "type": "kafka", + "config_key": "perf3gpp" + } + ] + }, + "services": { + "calls": [], + "provides": [] + }, + "parameters": [], + "auxilary": { + "healthcheck": { + "type": "script", + "interval": "15s", + "timeout": "2s", + "script": "/opt/ves-hv-collector/healthcheck.sh" + }, + "volumes": [ + { + "container": { + "bind": "/etc/ves-hv/ssl" + }, + "host": { + "path": "/opt/app/dcae-certificate" + } + }, + { + "container": { + "bind": "/var/log/ONAP/dcae-hv-ves-collector" + }, + "host": { + "path": "/var/log/ONAP/dcae-hv-ves-collector" + } + } + ], + "ports": [ + "6060:6060", + "6061:6061" + ] + }, + "artifacts": [ + { + "type": "docker image", + "uri": "nexus.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.1.0-SNAPSHOT" + } + ] +} -- cgit 1.2.3-korg