summaryrefslogtreecommitdiffstats
path: root/src/main/resources/jolt/getServiceInventory.json
blob: b3751b169679a71dd72eab5cc255dfa478593bb5 (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
[
  {
    "operation": "shift",
     "spec": {
      "service-instance-id": "id",
      "service-instance-name": "name",
      "orchestration-status": "state",
       "model-version-id" : "serviceSpecification.id",
       "model-invariant-id": "serviceSpecification.invariantUUID",
       "vnfs" : {
         "*": {
           "vnf-id": "supportingResource[&1].id",
           "related-link": "supportingResource[&1].href",
           "vnf-name": "supportingResource[&1].name",
           "prov-status": "supportingResource[&1].status",
           "model-invariant-id": "supportingResource[&1].modelInvariantId",
           "model-version-id": "supportingResource[&1].modelVersionId",
           "model-customisation-id": "supportingResource[&1].status"

         }
       }
     }
  },
  {
    "operation": "default",
    "spec": {
      "type": "service-instance",
      "@type": "serviceONAP",
      "serviceSpecification" : {
        "@type" :"ONAPservice"
      },
      "supportingResource[]" : {
        "*": {
          "@referredType": "ONAP resource"
        }

      },
      "relatedParty" : {
        "role" :"ONAPcustomer"
      }

    }
  }
]