3 "name": "cdap.tca.hi.lo.app",
5 "description": "cdap tca hi lo application",
6 "component_type": "cdap"
10 "config_key": "tca_handle_in",
11 "format": "Common Event Format Definition",
13 "type": "message router"
17 "config_key": "tca_handle_out",
18 "format": "TCA Alert Definition",
20 "type": "message router"
29 "streamname": "TCASubscriberOutputStream",
30 "artifact_name": "dcae-analytics-tca",
31 "artifact_version": "1.1.0",
33 "program_type": "flows",
34 "program_id": "TCAVESCollectorFlow"
36 "program_type": "workers",
37 "program_id": "TCADMaaPMRSubscriberWorker"
39 "program_type": "workers",
40 "program_id": "TCADMaaPMRPublisherWorker"
43 "namespace": "cdap_tca_hi_lo"
46 "uri": "${nexusproxy}/repository/dcae-dev-raw/jar_files/dcae-analytics-tca-1.1.0.jar",
56 "name": "appDescription",
58 "value": "DCAE Analytics Threshold Crossing Alert Application"
60 "name": "tcaSubscriberOutputStreamName",
62 "value": "TCASubscriberOutputStream"
64 "name": "thresholdCalculatorFlowletInstances",
68 "name": "tcaVESMessageStatusTableName",
70 "value": "TCAVESMessageStatusTable"
72 "name": "tcaVESMessageStatusTableTTLSeconds",
76 "name": "tcaVESAlertsTableName",
78 "value": "TCAVESAlertsTable"
80 "name": "tcaVESAlertsTableTTLSeconds",
86 "name": "subscriberContentType",
88 "value": "application/json"
90 "name": "subscriberConsumerId",
94 "name": "subscriberConsumerGroup",
96 "value": "OpenDCAE-c12"
98 "name": "subscriberTimeoutMS",
102 "name": "subscriberMessageLimit",
106 "name": "subscriberPollingInterval",
110 "name": "publisherContentType",
112 "value": "application/json"
114 "name": "publisherMaxBatchSize",
118 "name": "publisherMaxRecoveryQueueSize",
122 "name": "publisherPollingInterval",
126 "name": "tca_policy",
129 "'{\"domain\":\"measurementsForVfScaling\",\"metricsPerFunctionalRole\":[{\"functionalRole\":\"vFirewall\",\"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\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]},{\"functionalRole\":\"vLoadBalancer\",\"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\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}'"
132 "program_preferences": [],
134 "policy_parameters": [{
138 "value": "measurementsForVfScaling",
141 "equal": "measurementsForVfScaling"
145 "name": "metricsPerFunctionalRole",
150 "name": "functionalRole",
151 "description": "Function of the event source e.g., eNodeB, MME, PCRF",
155 "name": "policyScope",
156 "description": "Policy Scope associated with this event.For example-resource=vFirewall;type=configuration",
160 "name": "policyName",
161 "description": "Policy name/ID for this event",
163 "value": "configuration.dcae.microservice.tca.xml"
165 "name": "policyVersion",
166 "description": "Policy Version",
170 "name": "thresholds",
175 "name": "closedLoopControlName",
176 "description": "A UNIQUE string identifying the Closed Loop ID this event is for.",
181 "description": "Version for the closed loop message",
190 "name": "thresholdValue",
202 ["LESS", "LESS_OR_EQUAL", "GREATER", "GREATER_OR_EQUAL"]
207 "description": "event severity or priority",
213 ["CRITICAL", "MAJOR", "MINOR", "WARNING", "NORMAL"]