Add PRH dpo 33/84833/1
authorMarcin Migdal <marcin.migdal@nokia.com>
Wed, 10 Apr 2019 09:08:29 +0000 (11:08 +0200)
committerMarcin Migdal <marcin.migdal@nokia.com>
Wed, 10 Apr 2019 09:08:29 +0000 (11:08 +0200)
Data format - ready
Spec - todo

Change-Id: I092cc18321b16101c4fc6f71fe5953de8ba31140
Issue-ID: DCAEGEN2-1361
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
dpo/data-formats/prh.dataformatspec.json [new file with mode: 0644]
dpo/spec/prh.componentspec.json [new file with mode: 0644]

diff --git a/dpo/data-formats/prh.dataformatspec.json b/dpo/data-formats/prh.dataformatspec.json
new file mode 100644 (file)
index 0000000..4ed44f8
--- /dev/null
@@ -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 (file)
index 0000000..0a020ae
--- /dev/null
@@ -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"
+    }
+  ]
+}