aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/test/resources/__files/BuildingBlocks/oofRequest
blob: 42b2a0f24aed9ab7592202b82d30861986280d8d (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
{
  "requestInfo": {
    "transactionId": "testRequestId-xxx-xxx",
    "requestId": "testRequestId-yyy-yyy",
    "callbackUrl": "http://localhost:28090/workflows/messages/message/oofResponse/testRequestId",
    "sourceId": "so",
    "requestType": "create",
    "numSolutions": 1,
    "optimizers": ["placement"],
    "timeout": 600
  },
  "placementInfo": {
    "requestParameters": { "customerLatitude": 32.89748, "customerLongitude": -97.040443, "customerName": "xyz" },
    "placementDemands": [
      {
        "resourceModuleName": "vGMuxInfra",
        "serviceResourceId": "vGMuxInfra-xx",
        "tenantId": "vGMuxInfra-tenant",
        "resourceModelInfo": {
          "modelInvariantId": "vGMuxInfra-modelInvariantId",
          "modelVersionId": "vGMuxInfra-versionId",
          "modelName": "vGMuxInfra-model",
          "modelType": "resource",
          "modelVersion": "1.0",
          "modelCustomizationName": "vGMuxInfra-customeModelName"
        }
      },
      {
        "resourceModuleName": "vG",
        "serviceResourceId": "71d563e8-e714-4393-8f99-cc480144a05e",
        "tenantId": "vG-tenant",
        "resourceModelInfo": {
          "modelInvariantId": "vG-modelInvariantId",
          "modelVersionId": "vG-versionId",
          "modelName": "vG-model",
          "modelType": "resource",
          "modelVersion": "1.0",
          "modelCustomizationName": "vG-customeModelName"
        },
        "existingCandidates": [
          {
            "identifierType": "service_instance_id",
            "cloudOwner": "",
            "identifiers": ["gjhd-098-fhd-987"]
          }
        ],
        "excludedCandidates": [
          {
            "identifierType": "service_instance_id",
            "cloudOwner": "",
            "identifiers": ["gjhd-098-fhd-987"]
          },
          {
            "identifierType": "vimId",
            "cloudOwner": "vmware",
            "identifiers": ["NYMDT67"]
          }
        ],
        "requiredCandidates": [
          {
            "identifierType": "vimId",
            "cloudOwner": "amazon",
            "identifiers": ["TXAUS219"]
          }
        ]
      }
    ]
  },
  "serviceInfo": {
    "serviceInstanceId": "d61b2543-5914-4b8f-8e81-81e38575b8ec",
    "serviceName": "vCPE",
    "modelInfo": {
      "modelInvariantId": "vCPE-invariantId",
      "modelVersionId": "vCPE-versionId",
      "modelName": "vCPE-model",
      "modelType": "service",
      "modelVersion": "1.0",
      "modelCustomizationName": ""
    }
  },
  "licenseDemands": [
    {
      "resourceModuleName": "vGMuxInfra",
      "serviceResourceId": "vGMuxInfra-xx",
      "resourceModelInfo": {
        "modelInvariantId": "vGMuxInfra-modelInvariantId",
        "modelVersionId": "vGMuxInfra-versionId",
        "modelName": "vGMuxInfra-model",
        "modelType": "resource",
        "modelVersion": "1.0",
        "modelCustomizationName": ""
      },
      "existingLicenses": {
        "entitlementPoolUUID": ["87257b49-9602-4ca1-9817-094e52bc873b", "43257b49-9602-4fe5-9337-094e52bc9435"],
        "licenseKeyGroupUUID": ["87257b49-9602-4ca1-9817-094e52bc873b", "43257b49-9602-4fe5-9337-094e52bc9435"]
      }
    }
  ]
}