1 tosca_definitions_version: cloudify_dsl_1_3
3 - "http://www.getcloudify.org/spec/cloudify/3.4/types.yaml"
4 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R2/dockerplugin/3.2.0/dockerplugin_types.yaml
5 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R2/relationshipplugin/1.0.0/relationshipplugin_types.yaml
6 - https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R2/dcaepolicyplugin/2.3.0/dcaepolicyplugin_types.yaml
11 default: "component_dockerhost"
26 default: dmaap.onap-message-router
37 default: "nexus3.onap.org:10001/onap//onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.0.0"
40 default: consul-server.onap-consul
46 default: "config-binding-service.dcae"
55 description: "Port for CDAPgui to be exposed"
62 get_input: dh_override
64 get_input: dh_location_id
65 type: dcae.nodes.SelectedDockerHost
68 - type: dcae.relationships.component_contained_in
69 target: docker_service_host
71 type: cloudify.relationships.depends_on
72 type: dcae.nodes.DockerContainerForComponentsUsingDmaap
76 appDescription: DCAE Analytics Threshold Crossing Alert Application
78 tcaAlertsAbatementTableName: TCAAlertsAbatementTable
79 tcaAlertsAbatementTableTTLSeconds: '1728000'
80 tcaSubscriberOutputStreamName: TCASubscriberOutputStream
81 tcaVESAlertsTableName: TCAVESAlertsTable
82 tcaVESAlertsTableTTLSeconds: '1728000'
83 tcaVESMessageStatusTableName: TCAVESMessageStatusTable
84 tcaVESMessageStatusTableTTLSeconds: '86400'
85 thresholdCalculatorFlowletInstances: '2'
88 get_input: aaiEnrichmentHost
89 aaiEnrichmentIgnoreSSLCertificateErrors: 'true'
90 aaiEnrichmentPortNumber: '8443'
91 aaiEnrichmentProtocol: https
92 aaiEnrichmentUserName: DCAE
93 aaiEnrichmentUserPassword: DCAE
94 aaiVMEnrichmentAPIPath: /aai/v11/search/nodes-query
95 aaiVNFEnrichmentAPIPath: /aai/v11/network/generic-vnfs/generic-vnf
97 get_input: enableAAIEnrichment
99 get_input: enableRedisCaching
101 get_input: redisHosts
102 enableAlertCEFFormat: 'false'
103 publisherContentType: application/json
105 get_input: dmaap_host
107 get_input: dmaap_port
108 publisherMaxBatchSize: '1'
109 publisherMaxRecoveryQueueSize: '100000'
110 publisherPollingInterval: '20000'
111 publisherProtocol: http
112 publisherTopicName: unauthenticated.DCAE_CL_OUTPUT
113 subscriberConsumerGroup: OpenDCAE-c12
114 subscriberConsumerId: c12
115 subscriberContentType: application/json
117 get_input: dmaap_host
119 get_input: dmaap_port
120 subscriberMessageLimit: '-1'
121 subscriberPollingInterval: '30000'
122 subscriberProtocol: http
123 subscriberTimeoutMS: '-1'
124 subscriberTopicName: unauthenticated.SEC_MEASUREMENT_OUTPUT
125 tca_policy_default: '{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vFirewallBroadcastPackets","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta","thresholdValue":300,"direction":"LESS_OR_EQUAL","severity":"MAJOR","closedLoopEventStatus":"ONSET"},{"closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta","thresholdValue":700,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]},{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta","thresholdValue":300,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]},{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}'
126 service_component_type: dcaegen2-analytics_tca
129 endpoint: /healthcheck
134 get_input: tag_version
136 cloudify.interfaces.lifecycle:
141 { get_input: dmaap_host }
143 { get_input: dmaap_port }
144 DMAAPPUBTOPIC: "unauthenticated.DCAE_CL_OUTPUT"
145 DMAAPSUBTOPIC: "unauthenticated.SEC_MEASUREMENT_OUTPUT"
147 { get_input: aaiEnrichmentHost }
149 { get_input: aaiEnrichmentPort }
151 { get_input: consul_host }
153 { get_input: consul_port }
155 { get_input: cbs_host }
157 { get_input: cbs_port }
158 CONFIG_BINDING_SERVICE: "config_binding_service"
160 - concat: ["11011:", { get_input: external_port }]
165 type: dcae.nodes.policy
169 policy_type_id: onap.policy.monitoring.cdap.tca.hi.lo.app