summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/Policy/toscaPoliciesData.test.json
blob: 93052435ec416d4bf7e3ccc1a2f41ae4b114ef5f (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[
  {
    "type": "onap.policies.monitoring.tcagen2",
    "type_version": "1.0.0",
    "properties": {
      "tca.policy": {
        "domain": "measurementsForVfScaling",
        "metricsPerEventName": [
          {
            "policyScope": "DCAE",
            "thresholds": [
              {
                "version": "1.0.2",
                "severity": "MAJOR",
                "thresholdValue": 200,
                "closedLoopEventStatus": "ONSET",
                "closedLoopControlName": "LOOP_test",
                "direction": "LESS_OR_EQUAL",
                "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta"
              }
            ],
            "eventName": "vLoadBalancer",
            "policyVersion": "v0.0.1",
            "controlLoopSchemaType": "VM",
            "policyName": "DCAE.Config_tca-hi-lo"
          }
        ]
      }
    },
    "name": "MICROSERVICE_vLoadBalancerMS_v1_0_tcagen2_1_0_0_AV0",
    "version": "1.0.0",
    "metadata": {
      "policy-id": "MICROSERVICE_vLoadBalancerMS_v1_0_tcagen2_1_0_0_AV0",
      "policy-version": "1.0.0"
    },
    "pdpGroupInfo": [
      {
        "monitoring": {
          "name": "monitoring",
          "description": "This group should be used for managing all monitoring related policies and pdps",
          "pdpGroupState": "ACTIVE",
          "properties": {},
          "pdpSubgroups": [
            {
              "pdpType": "xacml",
              "supportedPolicyTypes": [
                {
                  "name": "onap.policies.monitoring.*",
                  "version": "1.0.0"
                },
                {
                  "name": "onap.policies.Naming",
                  "version": "1.0.0"
                }
              ],
              "policies": [
                {
                  "name": "MICROSERVICE_vLoadBalancerMS_v1_0_tcagen2_1_0_0_AV0",
                  "version": "1.0.0"
                }
              ],
              "currentInstanceCount": 0,
              "desiredInstanceCount": 1,
              "properties": {},
              "pdpInstances": [
                {
                  "instanceId": "monitoring-f8287777-5f3e-4f0f-b21b-d8829c93f57b",
                  "pdpState": "ACTIVE",
                  "healthy": "HEALTHY",
                  "message": "Pdp Heartbeat",
                  "lastUpdate": "2021-09-29T02:51:21Z"
                }
              ]
            }
          ]
        }
      }
    ],
    "supportedPdpGroups": [
      {
        "monitoring": [
          "xacml"
        ]
      }
    ],
    "supportedPdpGroupsString": "monitoring/xacml\r\n",
    "pdpGroupInfoString": "monitoring/xacml (ACTIVE)\r\n",
    "tableData": {
      "id": 0
    }
  }
]