update link to upper-constraints.txt
[optf/osdf.git] / test / placement-tests / request_error1.json
1 {
2   "requestInfo": {
3     "transactionId": "xxx-xxx-xxxx",
4     "requestId": "yyy-yyy-yyyy",
5     "callbackUrl": "https://wiki.onap.org:5000/callbackUrl/",
6     "sourceId": "SO",
7     "requestType": "create",
8     "numSolutions": 1,
9     "optimizers": ["placement"],
10     "timeout": 600
11   },
12   "placementInfo": {
13     "requestParameters": { "customerLatitude": 32.89748, "customerLongitude": -97.040443, "customerName": "xyz" },
14     "subscriberInfo": {"globalSubscriberId": "xxx-xx-xxx", "subscriberName": "subscriber_x"},
15     "placementDemands": [
16         {
17             "resourceModuleName": "vGMuxInfra",
18             "serviceResourceId": "vGMuxInfra-xx",
19             "tenantId": "vGMuxInfra-tenant",
20             "resourceModelInfo": {
21                 "modelInvariantId": "vGMuxInfra-modelInvariantId",
22                 "modelVersionId": "vGMuxInfra-versionId",
23                 "modelName": "vGMuxInfra-model",
24                 "modelType": "resource",
25                 "modelVersion": "1.0",
26                 "modelCustomizationName": "vGMuxInfra-customeModelName"
27             }
28         },
29         {
30             "resourceModuleName": "vG",
31             "serviceResourceId": "71d563e8-e714-4393-8f99-cc480144a05e",
32             "tenantId": "vG-tenant",
33             "resourceModelInfo": {
34                 "modelInvariantId": "vG-modelInvariantId",
35                 "modelVersionId": "vG-versionId",
36                 "modelName": "vG-model",
37                 "modelType": "resource",
38                 "modelVersion": "1.0",
39                 "modelCustomizationName": "vG-customeModelName"
40             },
41             "existingCandidates": [
42                 {
43                     "identifierType": "serviceInstanceId",
44                     "cloudOwner": "",
45                     "identifiers": ["gjhd-098-fhd-987"]
46                 }
47             ],
48             "excludedCandidates": [
49                 {
50                     "identifierType": "serviceInstanceId",
51                     "cloudOwner": "",
52                     "identifiers": ["gjhd-098-fhd-987"]
53                 },
54                 {
55                     "identifierType": "vimId",
56                     "cloudOwner": "vmware",
57                     "identifiers": ["NYMDT67"]
58                 }
59             ],
60             "requiredCandidates": [
61                 {
62                     "identifierType": "vimId",
63                     "cloudOwner": "amazon",
64                     "identifiers": ["TXAUS219"]
65                 }
66             ]
67         }
68     ]
69   },
70   "serviceInfo": {
71     "serviceInstanceId": "d61b2543-5914-4b8f-8e81-81e38575b8ec",
72     "modelInfo": {
73       "modelInvariantId": "vCPE-invariantId",
74       "modelVersionId": "vCPE-versionId",
75       "modelName": "vCPE-model",
76       "modelType": "service",
77       "modelVersion": "1.0",
78       "modelCustomizationName": "vCPE-customeModelName"
79     }
80   },
81   "licenseInfo": {
82       "licenseDemands": [
83         {
84           "resourceModuleName": "vGMuxInfra",
85           "serviceResourceId": "vGMuxInfra-xx",
86           "resourceModelInfo": {
87             "modelInvariantId": "vGMuxInfra-modelInvariantId",
88             "modelVersionId": "vGMuxInfra-versionId",
89             "modelName": "vGMuxInfra-model",
90             "modelType": "resource",
91             "modelVersion": "1.0",
92             "modelCustomizationName": "vGMuxInfra-customeModelName"
93           },
94           "existingLicenses": {
95             "entitlementPoolUUID": ["87257b49-9602-4ca1-9817-094e52bc873b", "43257b49-9602-4fe5-9337-094e52bc9435"],
96             "licenseKeyGroupUUID": ["87257b49-9602-4ca1-9817-094e52bc873b", "43257b49-9602-4fe5-9337-094e52bc9435"]
97           }
98         }
99       ]
100   }
101 }