3 "name": "cdap.tca.hi.lo.app",
\r
5 "description": "cdap tca hi lo application",
\r
6 "component_type": "cdap"
\r
11 "config_key": "tca_handle_in",
\r
12 "format": "VES_specification",
\r
13 "version": "5.28.4",
\r
14 "type": "message router"
\r
19 "config_key": "tca_handle_out",
\r
20 "format": "TCA Alert Definition",
\r
22 "type": "message router"
\r
31 "streamname": "TCASubscriberOutputStream",
\r
32 "artifact_name": "dcae-analytics-cdap-tca",
\r
33 "artifact_version": "2.0.0",
\r
34 "namespace": "cdap_tca_hi_lo",
\r
37 "program_type": "flows",
\r
38 "program_id": "TCAVESCollectorFlow"
\r
41 "program_type": "workers",
\r
42 "program_id": "TCADMaaPMRSubscriberWorker"
\r
45 "program_type": "workers",
\r
46 "program_id": "TCADMaaPMRPublisherWorker"
\r
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",
\r
60 "description": "CDAP Application Name for TCA App",
\r
64 "name": "appDescription",
\r
65 "description": "CDAP Application Description for TCA App",
\r
66 "value": "DCAE Analytics Threshold Crossing Alert Application"
\r
69 "name": "tcaSubscriberOutputStreamName",
\r
70 "description": "Name of Stream where TCA DMaaP Subscriber pushes incoming messages to TCA App for processing",
\r
71 "value": "TCASubscriberOutputStream"
\r
74 "name": "thresholdCalculatorFlowletInstances",
\r
75 "description": "Number of instances for Threshold Calculator",
\r
79 "name": "tcaVESMessageStatusTableName",
\r
80 "description": "TCA Message Status Table Name where status of each TCA message is stored",
\r
81 "value": "TCAVESMessageStatusTable"
\r
84 "name": "tcaVESMessageStatusTableTTLSeconds",
\r
85 "description": "Time to Live for entries in Message Status Table",
\r
89 "name": "tcaVESAlertsTableName",
\r
90 "description": "Table where TCA generated alerts are temporarily stored before published to DMaaP MR topic",
\r
91 "value": "TCAVESAlertsTable"
\r
94 "name": "tcaVESAlertsTableTTLSeconds",
\r
95 "description": "Time to Live for entries in Alerts Table",
\r
99 "name" : "tcaAlertsAbatementTableName",
\r
100 "description" : "Table where information to determine sending of Abatement Alerts is stored",
\r
101 "value" : "TCAAlertsAbatementTable"
\r
104 "name" : "tcaAlertsAbatementTableTTLSeconds",
\r
105 "description": "Time to Live for entries in Alerts Abatement Table",
\r
109 "app_preferences": [
\r
111 "name" : "subscriberHostName",
\r
112 "description" : "",
\r
113 "value" : "HOSTNAME"
\r
116 "name" : "subscriberHostPort",
\r
117 "description" : "",
\r
121 "name" : "subscriberTopicName",
\r
122 "description" : "",
\r
123 "value" : "com.att.dcae.dmaap.mtnje2.DcaeTestVESSub"
\r
126 "name" : "subscriberProtocol",
\r
127 "description" : "",
\r
131 "name" : "subscriberUserName",
\r
132 "description" : "",
\r
133 "value" : "USERNAME"
\r
136 "name" : "subscriberUserPassword",
\r
137 "description" : "",
\r
138 "value" : "PASSWORD"
\r
141 "name": "subscriberContentType",
\r
142 "description": "Subscriber Content Type",
\r
143 "value": "application/json"
\r
146 "name": "subscriberConsumerId",
\r
147 "description": "Subscriber Consumer Id",
\r
151 "name": "subscriberConsumerGroup",
\r
152 "description": "Subscriber Group Id",
\r
153 "value": "OpenDCAE-c12"
\r
156 "name": "subscriberTimeoutMS",
\r
157 "description": "Subscriber timeout in milliseconds",
\r
161 "name": "subscriberMessageLimit",
\r
162 "description": "Subscriber max message fetch limit",
\r
166 "name": "subscriberPollingInterval",
\r
167 "description": "Subscriber Polling Interval in milliseconds",
\r
171 "name" : "publisherHostName",
\r
172 "description" : "",
\r
173 "value" : "HOSTNAME"
\r
176 "name" : "publisherHostPort",
\r
177 "description" : "",
\r
181 "name" : "publisherTopicName",
\r
182 "description" : "",
\r
183 "value" : "com.att.dcae.dmaap.mtnje2.DcaeTestVESPub"
\r
186 "name" : "publisherProtocol",
\r
187 "description" : "",
\r
191 "name" : "publisherUserName",
\r
192 "description" : "",
\r
193 "value" : "USERNAME"
\r
196 "name" : "publisherUserPassword",
\r
197 "description" : "",
\r
198 "value" : "PASSWORD"
\r
201 "name": "publisherContentType",
\r
202 "description": "Publisher Content Type",
\r
203 "value": "application/json"
\r
206 "name": "publisherMaxBatchSize",
\r
207 "description": "Publisher max batch size",
\r
211 "name": "publisherMaxRecoveryQueueSize",
\r
212 "description": "Publisher Max Recovery Queue Size",
\r
216 "name": "publisherPollingInterval",
\r
217 "description": "Publisher Polling Interval in milliseconds",
\r
221 "name": "enableAlertCEFFormat",
\r
222 "description": "Enable output alert to be in CEF Format",
\r
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",
\r
277 "description": "TCA Policy JSON",
\r
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\":1000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"MAJOR\",\"closedLoopEventStatus\":\"ONSET\"},{\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta\",\"thresholdValue\":20000,\"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\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\",\"closedLoopEventStatus\":\"ONSET\"},{\"closedLoopControlName\":\"CL-LBAL-HIGH-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\",\"closedLoopEventStatus\":\"ONSET\"}]},{\"eventName\":\"Measurement_vGMUX\",\"controlLoopSchemaType\":\"VM\",\"policyScope\":\"DCAE\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-vCPEvGMUX-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241ABA1\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"MAJOR\",\"closedLoopEventStatus\":\"ABATED\"},{\"closedLoopControlName\":\"CL-vCPEvGMUX-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241ABA1\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value\",\"thresholdValue\":0,\"direction\":\"GREATER\",\"severity\":\"CRITICAL\",\"closedLoopEventStatus\":\"ONSET\"}]}]}",
\r
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",
354 "GREATER_OR_EQUAL",
\r
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": []