Standalone TCA with EELF Logger
[dcaegen2/analytics/tca-gen2.git] / dcae-analytics / dcae-analytics-test / src / main / resources / data / wiremock / __files / body-configservice-tca.json
1 {
2   "application.name": "dcae-analytics",
3   "application.description": "DCAE Analytics Threshold Crossing Alert Application",
4   "application.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\"},{\"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\"}]},{\"eventName\":\"virtualVMEventName\",\"controlLoopSchemaType\":\"VM\",\"policyScope\":\"resource=virtualVM;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\"}]}]}",
5   "application.tca_batch_size": 10000,
6   "streams_subscribes.tca_handle_in.consumer_group": "cg1",
7   "streams_subscribes.tca_handle_in.consumer_ids[0]": "c0",
8   "streams_subscribes.tca_handle_in.consumer_ids[1]": "c1",
9   "streams_subscribes.tca_handle_in.message_limit": 50000,
10   "streams_subscribes.tca_handle_in.timeout": -1,
11   "streams_subscribes.tca_handle_in.polling.fixed_rate": 0,
12   "streams_subscribes.tca_handle_in.polling.auto_adjusting.min": 30000,
13   "streams_subscribes.tca_handle_in.polling.auto_adjusting.step_up": 20000,
14   "streams_subscribes.tca_handle_in.polling.auto_adjusting.max": 60000,
15   "streams_subscribes.tca_handle_in.polling.auto_adjusting.step_down": 40000,
16   "aai.enable_tca_enrichment": true,
17   "aai.url": "http://localhost:8443",
18   "aai.username": "DCAE",
19   "aai.password": "DCAE",
20   "aai.generic_vnf_path": "aai/v11/network/generic-vnfs/generic-vnf",
21   "aai.node_query_path": "aai/v11/search/nodes-query",
22   "service_calls": {
23     "aai_broker_handle": [
24       "135.205.226.128:32768"
25     ]
26   },
27   "streams_publishes": {
28     "tca_handle_out": {
29       "type": "message_router",
30       "aaf_username": "USER",
31       "aaf_password": "PASSWORD",
32       "dmaap_info": {
33         "client_role": "publisher",
34         "client_id": "tca-pub-0",
35         "location": "ecomp",
36         "topic_url": "http://localhost:8080/events/PubTopic"
37       }
38     }
39   },
40   "streams_subscribes": {
41     "tca_handle_in": {
42       "type": "message_router",
43       "aaf_username": "USER",
44       "aaf_password": "PASSWORD",
45       "dmaap_info": {
46         "client_role": "subscriber",
47         "client_id": "tca-sub-0",
48         "location": "ecomp",
49         "topic_url": "http://localhost:8080/events/SubTopic"
50       }
51     }
52   },
53   "spring": {
54     "main": {
55       "banner-mode": "off"
56     },
57     "data": {
58       "mongodb": {
59         "uri": "mongodb://localhost:27017/analytics-tca"
60       }
61     }
62   }
63 }