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": "TCA Alert Definition",
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": "${nexusproxy}/repository/dcae-dev-raw/jar_files/dcae-analytics-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": "subscriberContentType",
112 "description": "Subscriber Content Type",
113 "value": "application/json"
116 "name": "subscriberConsumerId",
117 "description": "Subscriber Consumer Id",
121 "name": "subscriberConsumerGroup",
122 "description": "Subscriber Group Id",
123 "value": "OpenDCAE-c12"
126 "name": "subscriberTimeoutMS",
127 "description": "Subscriber timeout in milliseconds",
131 "name": "subscriberMessageLimit",
132 "description": "Subscriber max message fetch limit",
136 "name": "subscriberPollingInterval",
137 "description": "Subscriber Polling Interval in milliseconds",
141 "name": "publisherContentType",
142 "description": "Publisher Content Type",
143 "value": "application/json"
146 "name": "publisherMaxBatchSize",
147 "description": "Publisher max batch size",
151 "name": "publisherMaxRecoveryQueueSize",
152 "description": "Publisher Max Recovery Queue Size",
156 "name": "publisherPollingInterval",
157 "description": "Publisher Polling Interval in milliseconds",
161 "name": "enableAlertCEFFormat",
166 "name": "tca_policy",
167 "description": "TCA Policy JSON",
168 "value": "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ABATED\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}"
171 "program_preferences": [],
175 "description": "Domain name to which TCA needs to be applied",
177 "value": "measurementsForVfScaling",
180 "equal": "measurementsForVfScaling"
185 "name": "metricsPerEventName",
186 "description": "Contains eventName and threshold details that need to be applied to given eventName",
191 "description": "Event name to which thresholds need to be applied",
196 "name": "controlLoopSchemaType",
197 "description": "Specifies Control Loop Schema Type for the event Name e.g. VNF, VM",
210 "name": "policyScope",
211 "description": "TCA Policy Scope",
216 "name": "policyName",
217 "description": "TCA Policy Scope Name",
222 "name": "policyVersion",
223 "description": "TCA Policy Scope Version",
228 "name": "thresholds",
229 "description": "Thresholds associated with eventName",
233 "name": "closedLoopControlName",
234 "description": "Closed Loop Control Name associated with the threshold",
240 "description": "Version number associated with the threshold",
246 "description": "Json field Path as per CEF message which needs to be analyzed for TCA",
251 "name": "thresholdValue",
252 "description": "Threshold value for the field Path inside CEF message",
258 "description": "Direction of the threshold",
273 "name": "closedLoopEventStatus",
274 "description": "Closed Loop Event Status of the threshold",
288 "description": "Threshold Event Severity",