summaryrefslogtreecommitdiffstats
path: root/policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json
blob: 6411c750747153162d73aa9ba7b801de1a4356f3 (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
{
  "name": "DemoInstance0",
  "version": "1.0.1",
  "compositionId": "COMPOSITIONIDPLACEHOLDER",
  "instanceId": "INSTANCEIDPLACEHOLDER",
  "description": "Demo automation composition instance 0",
  "elements": {
    "709c62b3-8918-41b9-a747-d21eb79c6c20": {
      "id": "709c62b3-8918-41b9-a747-d21eb79c6c20",
      "definition": {
        "name": "onap.policy.clamp.ac.element.Http_AutomationCompositionElement",
        "version": "1.2.3"
      },
      "description": "Automation composition element for the http requests of AC Element Starter microservice",
      "properties": {
        "uninitializedToPassiveTimeout": 180,
        "baseUrl": "https://api.restful-api.dev",
        "httpHeaders": {
          "Content-Type": "application/json",
          "Authorization": "Basic YWNtVXNlcjp6YiFYenRHMzQ="
        },
        "policy_id": {
          "get_input": "acm_element_policy_updated"
        },
        "new_property": "test",
        "configurationEntities": [
          {
            "configurationEntityId": {
              "name": "onap.policy.clamp.ac.starter",
              "version": "1.0.0"
            },
            "restSequence": [
              {
                "restRequestId": {
                  "name": "request1",
                  "version": "1.0.1"
                },
                "httpMethod": "GET",
                "path": "/objects",
                "expectedResponse": 200
              }
            ]
          }
        ]
      }
    }
  }
}