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 as well as tenant information
25 * within the site. Currently this is defined as a cloud site ID. which would map to a CloudConfig entry. Perhaps the
26 * CloudConfig entry itself should be provided, instead of requiring each plug-in to query it.
28 * The meaning of 'tenant' may differ by cloud provider, but every cloud supports some sort of tenant partitioning.
31 public class CloudInfo {
33 private String cloudSiteId;
34 private String cloudOwner;
35 private String tenantId;
36 private String tenantName;// bpmn query and pass
40 public CloudInfo(String cloudSiteId, String cloudOwner, String tenantId, String tenantName) {
41 this.cloudSiteId = cloudSiteId;
42 this.cloudOwner = cloudOwner;
43 this.tenantId = tenantId;
44 this.tenantName = tenantName;
47 public String getCloudSiteId() {
51 public void setCloudSiteId(String cloudSiteId) {
52 this.cloudSiteId = cloudSiteId;
55 public String getCloudOwner() {
59 public void setCloudOwner(String cloudOwner) {
60 this.cloudOwner = cloudOwner;
63 public String getTenantId() {
67 public void setTenantId(String tenantId) {
68 this.tenantId = tenantId;
71 public String getTenantName() {
75 public void setTenantName(String tenantName) {
76 this.tenantName = tenantName;