summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/dpo/spec
diff options
context:
space:
mode:
authoremartin <ephraim.martin@est.tech>2020-01-23 16:40:05 +0000
committeremartin <ephraim.martin@est.tech>2020-02-17 14:52:19 +0000
commit5510c12378772030e1fa0c3aa1fb3dadfbeeca86 (patch)
tree68d440ae175f012c8b9cd918dcb9f8fca974b6a6 /components/pm-subscription-handler/dpo/spec
parentbbe05d8a65ee0ac698d906b50282406bafe34f80 (diff)
Added initial component spec and blueprint
Signed-off-by: emartin <ephraim.martin@est.tech> Issue-ID: DCAEGEN2-1845 Change-Id: I42bdfcfd9d31d20fce40840cee34cea8bc5d178a
Diffstat (limited to 'components/pm-subscription-handler/dpo/spec')
-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