summaryrefslogtreecommitdiffstats
path: root/src/main/resources/jolt/getServiceInventory.json
blob: df4f14c8c14ab3a73c0bc86e20d889a2cd941775 (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",
       "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",
      "hasStarted": "yes",
      "@type": "serviceONAP",
      "serviceSpecification" : {
        "@type" :"ONAPservice"
      },
      "supportingResource[]" : {
        "*": {
          "@referredType": "ONAP resource"
        }

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

    }
  }
]