aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/resources/responses/aai/listServicesByProject.json
blob: 6d6b09f786df736781cec202952181a7c669730b (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
93
94
95
{
  "project": [
    {
      "project-name": "x1",
      "resource-version": "1527026201826",
      "relationship-list": {
        "relationship": [
          {
            "related-to": "service-instance",
            "relationship-label": "org.onap.relationships.inventory.Uses",
            "related-link": "/aai/v12/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Emanuel/service-instances/service-instance/3f826016-3ac9-4928-9561-beee75fd91d5",
            "relationship-data": [
              {
                "relationship-key": "customer.global-customer-id",
                "relationship-value": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
              },
              {
                "relationship-key": "service-subscription.service-type",
                "relationship-value": "Emanuel"
              },
              {
                "relationship-key": "service-instance.service-instance-id",
                "relationship-value": "3f826016-3ac9-4928-9561-beee75fd91d5"
              }
            ],
            "related-to-property": [
              {
                "property-key": "service-instance.service-instance-name",
                "property-value": "Lital_SRIOV2_001"
              }
            ]
          }
        ]
      }
    },
    {
      "project-name": "y2",
      "resource-version": "1527026341826",
      "relationship-list": {
        "relationship": [
          {
            "related-to": "service-instance",
            "relationship-label": "org.onap.relationships.inventory.BelongsTo",
            "related-link": "/aai/v12/business/customers/customer/3d15d7ea-4174-49b6-89ec-e569381f7231/service-subscriptions/service-subscription/vMOG/service-instances/service-instance/7e4f8130-5dee-47c4-8770-1abc5f5ded83",
            "relationship-data": [
              {
                "relationship-key": "customer.global-customer-id",
                "relationship-value": "3d15d7ea-4174-49b6-89ec-e569381f7231"
              },
              {
                "relationship-key": "service-subscription.service-type",
                "relationship-value": "vMOG"
              },
              {
                "relationship-key": "service-instance.service-instance-id",
                "relationship-value": "7e4f8130-5dee-47c4-8770-1abc5f5ded83"
              }
            ],
            "related-to-property": [
              {
                "property-key": "service-instance.service-instance-name",
                "property-value": "justAname"
              }
            ]
          },
          {
            "related-to": "service-instance",
            "relationship-label": "org.onap.relationships.inventory.Uses",
            "related-link": "/aai/v12/business/customers/customer/a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb/service-subscriptions/service-subscription/Yoda/service-instances/service-instance/ff2d9326-1ef5-4760-aba0-0eaf372ae675",
            "relationship-data": [
              {
                "relationship-key": "customer.global-customer-id",
                "relationship-value": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"
              },
              {
                "relationship-key": "service-subscription.service-type",
                "relationship-value": "Yoda"
              },
              {
                "relationship-key": "service-instance.service-instance-id",
                "relationship-value": "ff2d9326-1ef5-4760-aba0-0eaf372ae675"
              }
            ],
            "related-to-property": [
              {
                "property-key": "service-instance.service-instance-name",
                "property-value": "anotherName"
              }
            ]
          }
        ]
      }
    }
  ]
}