From 5510c12378772030e1fa0c3aa1fb3dadfbeeca86 Mon Sep 17 00:00:00 2001 From: emartin Date: Thu, 23 Jan 2020 16:40:05 +0000 Subject: Added initial component spec and blueprint Signed-off-by: emartin Issue-ID: DCAEGEN2-1845 Change-Id: I42bdfcfd9d31d20fce40840cee34cea8bc5d178a --- .../dpo/spec/pmsh-component-spec.json | 143 +++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100755 components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json (limited to 'components/pm-subscription-handler/dpo/spec/pmsh-component-spec.json') 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 -- cgit 1.2.3-korg