summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json
blob: a690c758c666fbe58bff5ef73d37f8c5388004b2 (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
{
  "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
  "topology_template": {
    "policies": [
      {
        "op.5g.son.a1": {
          "type": "onap.policies.controlloop.operational.common.Drools",
          "type_version": "1.0.0",
          "name": "op.5g.son.a1",
          "version": "1.0.0",
          "metadata": {
            "policy-id": "op.5g.son.a1"
          },
          "properties": {
            "id": "ControlLoop-SONA1-7d4baf04-8875-4d1f-946d-06b874048b61",
            "timeout": 1200,
            "abatement": false,
            "trigger": "put-a1-policy",
            "operations": [
              {
                "id": "put-a1-policy",
                "description": "Control Loop Put A1 Policy",
                "operation": {
                  "actor": "A1P",
                  "operation": "PutA1Policy",
                  "target": {
                    "targetType": "PNF"
                  }
                },
                "timeout": 60,
                "retries": 0,
                "success": "final_success",
                "failure": "final_failure",
                "failure_timeout": "final_failure_timeout",
                "failure_retries": "final_failure_retries",
                "failure_exception": "final_failure_exception",
                "failure_guard": "final_failure_guard"
              }
            ]
          }
        }
      }
    ]
  }
}