aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
+ }
+ ]
+}