summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-02-17 16:27:06 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-17 16:27:06 +0000
commitd42ac06c733c43e19a01b4203c1b987b4973ccfd (patch)
treec102d59e054fe718660d58b6c277945989a72fce /components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json
parentff923eefcd8bbbd53fbee16e6a7bfca3d2b34e3b (diff)
parent5510c12378772030e1fa0c3aa1fb3dadfbeeca86 (diff)
Merge "Added initial component spec and blueprint"
Diffstat (limited to 'components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json')
-rwxr-xr-xcomponents/pm-subscription-handler/dpo/spec/pmsh-component-spec.json143
1 files changed, 143 insertions, 0 deletions
diff --git a/components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json b/components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json
new file mode 100755
index 00000000..64eae4ff
--- /dev/null
+++ b/components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json
@@ -0,0 +1,143 @@
+{
+ "self": {
+ "name": "dcae-pmsh",
+ "version": "1.0.0",
+ "description": "Docker application that handles XNF's PM Subscriptions",
+ "component_type": "docker"
+ },
+ "streams": {
+ "subscribes": [
+ {
+ "type": "message_router",
+ "config_key": "pm_subscribe_topic",
+ "format": "PMSH_CL_INPUT",
+ "version": "1.0.0"
+ },
+ {
+ "type": "message_router",
+ "config_key": "aai_subscribe_topic",
+ "format": "AAI_EVENT_FORMAT",
+ "version": "1.0.0"
+ }
+ ],
+ "publishes": [
+ {
+ "type": "message_router",
+ "config_key": "pm_publish_topic",
+ "format": "DCAE_CL_OUTPUT",
+ "version": "1.0.0"
+ }
+ ]
+ },
+ "services": {
+ "calls": [],
+ "provides": []
+ },
+ "auxilary": {
+ "ports": [
+ "8443:0"
+ ]
+ },
+ "artifacts": [
+ {
+ "uri": "nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:latest",
+ "type": "docker image"
+ }
+ ],
+ "parameters": [
+ {
+ "name": "pm_publish_topic_name",
+ "value": "DCAE_CL_OUTPUT",
+ "description": "Name of the topic PMSH publishes to for policy consumption",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "pm_subscribe_topic_name",
+ "value": "PMSH_CL_INPUT",
+ "description": "Name of the topic PMSH subscribes to for policy outputs",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "aai_subscribe_topic_name",
+ "value": "AAI_EVENT",
+ "description": "Name of the topic PMSH subscribes to for AAI Events",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "cert_path",
+ "value": "/opt/app/pmsh/etc/certs/cert.pem",
+ "description": "Path to certificate file",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "key_path",
+ "value": "/opt/app/pmsh/etc/certs/key.pem",
+ "description": "Path to the key for the certificate",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "ca_cert_path",
+ "value": "/opt/app/pmsh/etc/certs/cacert.pem",
+ "description": "Path to the ca certificate file",
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "designer_editable": false
+ },
+ {
+ "name": "policy_model_id",
+ "value": "onap.policies.monitoring.dcae-pm-initiation-handler",
+ "description": "PMSH monitoring policy model id",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "policy_id",
+ "value": "onap.policies.monitoring.dcae-pm-initiation-handler",
+ "description": "PMSH monitoring policy id",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "operational_policy_name",
+ "value": "pmsh-operational-policy",
+ "description": "PMSH operational policy name",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ },
+ {
+ "name": "control_loop_name",
+ "value": "",
+ "description": "PMSH control loop name",
+ "designer_editable": true,
+ "sourced_at_deployment": false,
+ "policy_editable": false,
+ "type": "string",
+ "required": true
+ }
+ ]
+} \ No newline at end of file