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