From 8e2a52b2aebf8f968da02265affb6d01b0a1c166 Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Fri, 5 Apr 2019 08:45:26 +0200 Subject: Provide very basic component description Change-Id: If09dd6a3be5c045be6aaa6b62f259f3dce13aa9b Issue-ID: DCAEGEN2-1394 Signed-off-by: Piotr Jaszczyk --- dpo/data-formats/hv-ves-7.1.0.dataformatspec.json | 15 ++++++ dpo/spec/hv-ves-collector.componentspec.json | 60 +++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 dpo/data-formats/hv-ves-7.1.0.dataformatspec.json create mode 100644 dpo/spec/hv-ves-collector.componentspec.json diff --git a/dpo/data-formats/hv-ves-7.1.0.dataformatspec.json b/dpo/data-formats/hv-ves-7.1.0.dataformatspec.json new file mode 100644 index 00000000..cc25e586 --- /dev/null +++ b/dpo/data-formats/hv-ves-7.1.0.dataformatspec.json @@ -0,0 +1,15 @@ +{ + "self": { + "name": "hv-ves-event", + "version": "7.1.0", + "description": "Google Protocol Buffers based High Volume VES events" + + }, + "dataformatversion": "1.0.0", + "reference": { + "name": "VES (NF Event Streaming) Specification", + "version": "7.1", + "format": "proto", + "url": "https://gerrit.onap.org/r/gitweb?p=dcaegen2.git;a=blob_plain;f=docs/sections/apis/ves-hv/VesEvent.proto;hb=HEAD" + } +} \ No newline at end of file diff --git a/dpo/spec/hv-ves-collector.componentspec.json b/dpo/spec/hv-ves-collector.componentspec.json new file mode 100644 index 00000000..0a020ae5 --- /dev/null +++ b/dpo/spec/hv-ves-collector.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