aboutsummaryrefslogtreecommitdiffstats
path: root/dpo/spec
diff options
context:
space:
mode:
authormicdzied <michal.1.dziedzic@nokia.com>2019-04-19 09:16:21 +0200
committermicdzied <michal.1.dziedzic@nokia.com>2019-05-08 10:18:11 +0200
commita4f457e46a336a30ceea69a742e8b8aa8f2e720f (patch)
tree82bdc6df20150c4f4c4ea899d7fd726ac0f1e4b9 /dpo/spec
parent3d20b25322996ec2d9959ecfb7d7cd11a14a7927 (diff)
provide component description - spec
Change-Id: I081fb14a8f9c3ec69f6b646aebd454dee0a259c0 Issue-ID: DCAEGEN2-1442 Signed-off-by: micdzied <michal.1.dziedzic@nokia.com>
Diffstat (limited to 'dpo/spec')
-rw-r--r--dpo/spec/prh.componentspec.json146
1 files changed, 112 insertions, 34 deletions
diff --git a/dpo/spec/prh.componentspec.json b/dpo/spec/prh.componentspec.json
index 0a020ae5..045ca11b 100644
--- a/dpo/spec/prh.componentspec.json
+++ b/dpo/spec/prh.componentspec.json
@@ -1,18 +1,43 @@
{
"self": {
- "version": "1.1.0",
- "name": "dcae-hv-ves-collector",
- "description": "Collector for receiving stream of High Volume VES events through socket interface",
+ "version": "1.3.0",
+ "name": "dcaegen2-services-prh",
+ "description": "PNF Registration Handler",
"component_type": "docker"
},
"streams": {
- "subscribes": [],
+ "subscribes": [
+ {
+ "format": "prh",
+ "version": "1.0.0",
+ "config_key": "unauthenticated.VES_PNFREG_OUTPUT",
+ "type": "message_router"
+ }
+ ],
"publishes": [
{
- "format": "hv-ves-event",
- "version": "7.1.0",
- "type": "kafka",
- "config_key": "perf3gpp"
+ "format": "prh",
+ "version": "1.0.0",
+ "config_key": "unauthenticated.PNF_READY",
+ "type": "message_router"
+ },
+ {
+ "format": "PNF_Reregistration_internal",
+ "version": "1.0.0",
+ "config_key": "unauthenticated.PNF_UPDATE",
+ "type": "message_router"
+ },
+ {
+ "format": "AAI_Interaction",
+ "version": "1.0.0",
+ "config_key": "/aai/v12/network/pnfs/pnf/pnf_name",
+ "type": "message_router"
+ },
+ {
+ "format": "AAI_Interaction",
+ "version": "1.0.0",
+ "config_key": "/aai/v12/network/pnfs/pnf/pnf_name",
+ "type": "message_router"
}
]
},
@@ -20,41 +45,94 @@
"calls": [],
"provides": []
},
- "parameters": [],
+ "parameters": [
+ {
+ "name": "server.port",
+ "value": "8433",
+ "description": "PRH server port",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "server.ssl.key-store-type",
+ "value": "PKCS12",
+ "description": "Key store type required for ssl",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "server.ssl.key-store-password",
+ "value": "nokiapnf",
+ "description": "Key store password required for ssl",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "server.ssl.key-store",
+ "value": "classpath:keystore-local",
+ "description": "Key store local required for ssl",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "server.ssl.key-password",
+ "value": "nokiapnf",
+ "description": "Key password required for ssl",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "server.ssl.keyAlias",
+ "value": "tomcat-localhost",
+ "description": "Key alias required for ssl",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "consulHost",
+ "value": "10.42.111.9",
+ "description": "The host pointing to consul",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "cbsName",
+ "value": "cbs",
+ "description": "The name of cbs",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "appName",
+ "value": "dcae-prh",
+ "description": "The name of application",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ }
+ ],
"auxilary": {
"healthcheck": {
- "type": "script",
- "interval": "15s",
- "timeout": "2s",
- "script": "/opt/ves-hv-collector/healthcheck.sh"
+ "type": "http",
+ "endpoint": "/heartbeat"
},
- "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"
+ "8100:8100",
+ "8433:8433"
]
},
"artifacts": [
{
"type": "docker image",
- "uri": "nexus.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.1.0-SNAPSHOT"
+ "uri": "nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.prh.prh-app-server:1.3.0-SNAPSHOT"
}
]
}