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