3 "name": "cdap.tca.hi.lo.app",
5 "description": "cdap tca hi lo application",
6 "component_type": "cdap"
11 "config_key": "tca_handle_in",
12 "format": "VES_specification",
14 "type": "message router"
19 "config_key": "tca_handle_out",
20 "format": "DCAE_CL_Output",
22 "type": "message router"
31 "streamname": "TCASubscriberOutputStream",
32 "artifact_name": "dcae-analytics-cdap-tca",
33 "artifact_version": "2.0.0",
34 "namespace": "cdap_tca_hi_lo",
37 "program_type": "flows",
38 "program_id": "TCAVESCollectorFlow"
41 "program_type": "workers",
42 "program_id": "TCADMaaPMRSubscriberWorker"
45 "program_type": "workers",
46 "program_id": "TCADMaaPMRPublisherWorker"
52 "uri": "https://nexus.onap.org/service/local/repositories/staging/content/org/onap/dcaegen2/analytics/tca/dcae-analytics-cdap-tca/2.0.0/dcae-analytics-cdap-tca-2.0.0.jar",
60 "description": "CDAP Application Name for TCA App",
64 "name": "appDescription",
65 "description": "CDAP Application Description for TCA App",
66 "value": "DCAE Analytics Threshold Crossing Alert Application"
69 "name": "tcaSubscriberOutputStreamName",
70 "description": "Name of Stream where TCA DMaaP Subscriber pushes incoming messages to TCA App for processing",
71 "value": "TCASubscriberOutputStream"
74 "name": "thresholdCalculatorFlowletInstances",
75 "description": "Number of instances for Threshold Calculator",
79 "name": "tcaVESMessageStatusTableName",
80 "description": "TCA Message Status Table Name where status of each TCA message is stored",
81 "value": "TCAVESMessageStatusTable"
84 "name": "tcaVESMessageStatusTableTTLSeconds",
85 "description": "Time to Live for entries in Message Status Table",
89 "name": "tcaVESAlertsTableName",
90 "description": "Table where TCA generated alerts are temporarily stored before published to DMaaP MR topic",
91 "value": "TCAVESAlertsTable"
94 "name": "tcaVESAlertsTableTTLSeconds",
95 "description": "Time to Live for entries in Alerts Table",
99 "name" : "tcaAlertsAbatementTableName",
100 "description" : "Table where information to determine sending of Abatement Alerts is stored",
101 "value" : "TCAAlertsAbatementTable"
104 "name" : "tcaAlertsAbatementTableTTLSeconds",
105 "description": "Time to Live for entries in Alerts Abatement Table",
111 "name" : "subscriberHostName",
116 "name" : "subscriberHostPort",
121 "name" : "subscriberTopicName",
123 "value" : "com.att.dcae.dmaap.mtnje2.DcaeTestVESSub"
126 "name" : "subscriberProtocol",
131 "name" : "subscriberUserName",
136 "name" : "subscriberUserPassword",
141 "name": "subscriberContentType",
142 "description": "Subscriber Content Type",
143 "value": "application/json"
146 "name": "subscriberConsumerId",
147 "description": "Subscriber Consumer Id",
151 "name": "subscriberConsumerGroup",
152 "description": "Subscriber Group Id",
153 "value": "OpenDCAE-c12"
156 "name": "subscriberTimeoutMS",
157 "description": "Subscriber timeout in milliseconds",
161 "name": "subscriberMessageLimit",
162 "description": "Subscriber max message fetch limit",
166 "name": "subscriberPollingInterval",
167 "description": "Subscriber Polling Interval in milliseconds",
171 "name" : "publisherHostName",
176 "name" : "publisherHostPort",
181 "name" : "publisherTopicName",
183 "value" : "com.att.dcae.dmaap.mtnje2.DcaeTestVESPub"
186 "name" : "publisherProtocol",
191 "name" : "publisherUserName",
196 "name" : "publisherUserPassword",
201 "name": "publisherContentType",
202 "description": "Publisher Content Type",
203 "value": "application/json"
206 "name": "publisherMaxBatchSize",
207 "description": "Publisher max batch size",
211 "name": "publisherMaxRecoveryQueueSize",
212 "description": "Publisher Max Recovery Queue Size",
216 "name": "publisherPollingInterval",
217 "description": "Publisher Polling Interval in milliseconds",
221 "name": "enableAlertCEFFormat",
222 "description": "Enable output alert to be in CEF Format",
226 "name": "enableAAIEnrichment",
227 "description": "Enable A&AI Enrichment of generated TCA Alerts",
231 "name": "aaiEnrichmentHost",
232 "description": "A&AI Enrichment API Host name",
233 "value": "123.123.123.123"
236 "name": "aaiEnrichmentPortNumber",
237 "description": "A&AI Enrichment API Host port number",
241 "name": "aaiEnrichmentProtocol",
242 "description": "A&AI Enrichment API protocol",
246 "name": "aaiEnrichmentUserName",
247 "description": "A&AI Enrichment API username",
251 "name": "aaiEnrichmentUserPassword",
252 "description": "A&AI Enrichment API password",
256 "name": "aaiEnrichmentIgnoreSSLCertificateErrors",
257 "description": "A&AI Ignore SSL Certification Errors",
261 "name": "aaiVNFEnrichmentAPIPath",
262 "description": "A&AI VNF Enrichment API Path",
263 "value": "/aai/v11/network/generic-vnfs/generic-vnf"
266 "name": "aaiVMEnrichmentAPIPath",
267 "description": "A&AI VM Enrichment API Path",
268 "value": "/aai/v11/search/nodes-query"
271 "name": "aaiEnrichmentProxyURL",
272 "description": "A&AI Enrichment API Proxy URL",
276 "name": "tca_policy",
277 "description": "TCA Policy JSON",
278 "value":"{\"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\"}]}]}",
279 "policy_editable": true,
282 "description": "Domain name to which TCA needs to be applied",
284 "value": "measurementsForVfScaling",
286 "equal": "measurementsForVfScaling"
289 "name": "metricsPerEventName",
290 "description": "Contains eventName and threshold details that need to be applied to given eventName",
294 "description": "Event name to which thresholds need to be applied",
298 "name": "controlLoopSchemaType",
299 "description": "Specifies Control Loop Schema Type for the event Name e.g. VNF, VM",
303 "valid_values": ["VM", "VNF"]
306 "name": "policyScope",
307 "description": "TCA Policy Scope",
311 "name": "policyName",
312 "description": "TCA Policy Scope Name",
316 "name": "policyVersion",
317 "description": "TCA Policy Scope Version",
321 "name": "thresholds",
322 "description": "Thresholds associated with eventName",
325 "name": "closedLoopControlName",
326 "description": "Closed Loop Control Name associated with the threshold",
331 "description": "Version number associated with the threshold",
336 "description": "Json field Path as per CEF message which needs to be analyzed for TCA",
340 "name": "thresholdValue",
341 "description": "Threshold value for the field Path inside CEF message",
346 "description": "Direction of the threshold",
359 "name": "closedLoopEventStatus",
360 "description": "Closed Loop Event Status of the threshold",
364 "valid_values": ["ONSET", "ABATED"]
368 "description": "Threshold Event Severity",
385 "program_preferences": []