9b3146806ae44225f7fd570f5817f84a1a786aac
[dcaegen2/analytics/tca.git] / dcae-analytics-test / src / main / resources / data / properties / tca_controller_policy_from_json.properties
1 #\r
2 # ===============================LICENSE_START======================================\r
3 #  dcae-analytics\r
4 # ================================================================================\r
5 #    Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6 # ================================================================================\r
7 #  Licensed under the Apache License, Version 2.0 (the "License");\r
8 #  you may not use this file except in compliance with the License.\r
9 #   You may obtain a copy of the License at\r
10 #\r
11 #          http://www.apache.org/licenses/LICENSE-2.0\r
12 #\r
13 #  Unless required by applicable law or agreed to in writing, software\r
14 #  distributed under the License is distributed on an "AS IS" BASIS,\r
15 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16 #  See the License for the specific language governing permissions and\r
17 #  limitations under the License.\r
18 #  ============================LICENSE_END===========================================\r
19 #\r
20 \r
21 subscriberContentType=application/json\r
22 subscriberConsumerId=c12\r
23 subscriberConsumerGroup=OpenDCAE-c12\r
24 subscriberTimeoutMS=-1\r
25 subscriberMessageLimit=-1\r
26 subscriberPollingInterval=20000\r
27 \r
28 publisherContentType=application/json\r
29 publisherMaxBatchSize=10\r
30 publisherMaxRecoveryQueueSize=100000\r
31 publisherPollingInterval=20000\r
32 enableAlertCEFFormat=false\r
33 \r
34 enableAAIEnrichment=true\r
35 aaiEnrichmentHost=209.61.160.97\r
36 aaiEnrichmentPortNumber=8443\r
37 aaiEnrichmentProtocol=https\r
38 aaiEnrichmentUserName=DCAE\r
39 aaiEnrichmentUserPassword=DCAE\r
40 aaiEnrichmentIgnoreSSLCertificateErrors=true\r
41 aaiVNFEnrichmentAPIPath=/aai/v11/network/generic-vnfs/generic-vnf\r
42 aaiVMEnrichmentAPIPath=/aai/v11/search/nodes-query\r
43 \r
44 aaiEnrichmentProxyURL=http://username:password@proxyhost.com:8080\r
45 \r
46 tca_policy={\"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\"}]},{\"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\"}]}]}\r
47 \r
48 enableRedisCaching=false\r
49 redisHosts=127.0.0.1:7000\r