aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/resources/Validation/UserParamsValidation/RelatedInstanceInstanceId.json
blob: 156eedf2b48169b08981e42439fd057ebf5879cb (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
  "requestDetails": {
    "subscriberInfo": {
      "globalSubscriberId": "ubuntu-customer"
    },
    "requestInfo": {
      "suppressRollback": false,
      "instanceName": "Onap-Unit-Test",
      "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
      "requestorId": "portal",
      "source": "postman"
    },
    "cloudConfiguration": {
      "lcpCloudRegionId": "Onap215",
      "tenantId": "e2710e84063b421fab08189818761d55",
      "cloudOwner": "Onap"
    },
    "requestParameters": {
      "subscriptionServiceType": "ubuntu",
      "userParams": [
        {
          "Homing_Solution": "none"
        },
        {
          "service": {
            "instanceParams": [],
            "resources": {
              "vnfs": [
                {
                  "modelInfo": {
                    "modelName": "UbuntuVF",
                    "modelVersionId": "3b6cb925-b583-4c5d-8200-62212258dd03",
                    "modelInvariantUuid": "dcbd2b4f-86a9-48f2-9149-9fbd506cb0f5",
                    "modelVersion": "1.0",
                    "modelCustomizationId": "1aa2ae52-f3c8-4c52-91eb-54a23104cff8",
                    "modelInstanceName": "UbuntuVF 0"
                  },
                  "cloudConfiguration": {
                    "lcpCloudRegionId": "lcp",
                    "tenantId": "e2710e84063b421fab08189818761d55",
                    "cloudOwner": "Onap"
                  },
                  "platform": {
                    "platformName": "openstack"
                  },
                  "lineOfBusiness": {
                    "lineOfBusinessName": "wireless"
                  },
                  "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
                  "instanceName": "vnf-instanceName",
                  "instanceParams": [
                    {
                      "vnf-name": "vnf-vnf-name",
                      "vnf_name": "UbuntuVNFName"
                    }
                  ],
                  "vfModules": [
                    {
                      "modelInfo": {
                        "modelName": "UbuntuVF..base..module-0",
                        "modelVersionId": "2bb60c6b-2bfb-4162-b95b-74d81916aa25",
                        "modelInvariantUuid": "fb8af74c-83a6-4c27-b2db-b414bf70062a",
                        "modelVersion": "1",
                        "modelCustomizationId": "cd530d5b-b24b-4d2c-9987-5179075c9381"
                      },
                      "instanceName": "Openstack-fail-network-1",
                      "instanceParams": [
                        {
                          "name": "Openstack-fail-network-1",
                          "cidr": "10.10.10.0/24"
                        }
                      ]
                    },
                    {
                      "modelInfo": {
                        "modelName": "UbuntuVF..ubuntu-vf-module..module-1",
                        "modelVersionId": "73fb74e8-f7cc-4927-9cc2-bb5c7b36c109",
                        "modelInvariantUuid": "51d1c820-7578-4c5d-8fc7-fcf975800059",
                        "modelVersion": "1",
                        "modelCustomizationId": "67b4547c-b059-4a45-8b0b-12ce6bb3cf2f"
                      },
                      "instanceName": "Openstack-fail-ubuntu-1",
                      "instanceParams": [
                        {
                          "name": "Openstack-fail-ubuntu-1",
                          "network_mgmt": "vlan666_net",
                          "key_name": "mykey",
                          "network_name": "Openstack-fail-network-1"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            "modelInfo": {
              "modelVersion": "1.0",
              "modelVersionId": "b0dce97c-e320-4dea-bd4a-7e398b4f5199",
              "modelInvariantId": "577d7107-53ab-4f3d-a5a4-f4e9295312d8",
              "modelName": "UbuntuSVC",
              "modelType": "service"
            }
          }
        }
      ],
      "aLaCarte": false
    },
    "project": {
      "projectName": "Project-UbuntuDemo"
    },
    "owningEntity": {
      "owningEntityId": "33a8b609-1cfe-4d19-8dc2-5b95b921de1e",
      "owningEntityName": "owner"
    },
    "modelInfo": {
      "modelVersion": "1.0",
      "modelVersionId": "b0dce97c-e320-4dea-bd4a-7e398b4f5199",
      "modelInvariantId": "577d7107-53ab-4f3d-a5a4-f4e9295312d8",
      "modelName": "UbuntuSVC",
      "modelType": "service"
    },
    "relatedInstanceList": [
      {
        "relatedInstance": {
          "instanceId": "351262fb-4a32-4c43-b600-c6514f6ff808",
          "modelInfo": {
            "modelVersion": "1.0",
            "modelVersionId": "b0dce97c-e320-4dea-bd4a-7e398b4f5199",
            "modelInvariantId": "577d7107-53ab-4f3d-a5a4-f4e9295312d8",
            "modelName": "UbuntuSVC",
            "modelType": "service"
          },
          "instanceDirection": "source"
        }
      }
    ]
  }
}