2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.so.adapters.vdu;
24 * Cloud information structure for deploying/managing a VDU. Includes the cloud site
25 * as well as tenant information within the site. Currently this is defined as a
26 * cloud site ID. which would map to a CloudConfig entry.
27 * Perhaps the CloudConfig entry itself should be provided, instead of requiring each
28 * plug-in to query it.
30 * The meaning of 'tenant' may differ by cloud provider, but every cloud supports some
31 * sort of tenant partitioning.
34 public class CloudInfo {
36 private String cloudSiteId;
37 private String tenantId;
38 private String tenantName;//bpmn query and pass
43 public CloudInfo (String cloudSiteId, String tenantId, String tenantName) {
44 this.cloudSiteId = cloudSiteId;
45 this.tenantId = tenantId;
46 this.tenantName = tenantName;
49 public String getCloudSiteId() {
52 public void setCloudSiteId(String cloudSiteId) {
53 this.cloudSiteId = cloudSiteId;
55 public String getTenantId() {
58 public void setTenantId(String tenantId) {
59 this.tenantId = tenantId;
61 public String getTenantName() {
64 public void setTenantName(String tenantName) {
65 this.tenantName = tenantName;