aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2019-04-10 11:08:29 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2019-04-10 11:08:29 +0200
commit1a04f43691102b41478f79518b20fa743584e283 (patch)
treedca251b3546b443e3079c8fe5004e05231175e7d
parent1087a7df0f87e0a2dead977bbe12b72f9e1c9f68 (diff)
Add PRH dpo
Data format - ready Spec - todo Change-Id: I092cc18321b16101c4fc6f71fe5953de8ba31140 Issue-ID: DCAEGEN2-1361 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
-rw-r--r--dpo/data-formats/prh.dataformatspec.json15
-rw-r--r--dpo/spec/prh.componentspec.json60
2 files changed, 75 insertions, 0 deletions
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"
+ }
+ ]
+}