Merge "removed problematic swagger dependency"
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / onap / so / bpmn / core / domain / ServiceInstance.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.onap.so.bpmn.core.domain;
22
23 import java.io.Serializable;
24 import java.util.Map;
25
26 import com.fasterxml.jackson.annotation.JsonRootName;
27
28 /**
29  * This class is used to store instance
30  * data of services aka ServiceDecomposition
31  *
32  * @author cb645j
33  *
34  */
35 public class ServiceInstance extends JsonWrapper implements Serializable {
36
37         private static final long serialVersionUID = 1L;
38         private String instanceId;
39         private String instanceName;
40         private String orchestrationStatus;
41         private Configuration configuration;
42         private String serviceType;
43         private String serviceRole;
44         private String serviceId;
45         private ModelInfo modelInfo;
46         private String environmentContext;
47         private String workloadContext;
48         private Map serviceParams;
49         private Customer customer = new Customer();
50         private String e2eVpnKey;
51
52         public String getServiceType() {
53                 return serviceType;
54         }
55         public void setServiceType(String serviceType) {
56                 this.serviceType = serviceType;
57         }
58         public String getServiceId() {
59                 return serviceId;
60         }
61         public void setServiceId(String serviceId) {
62                 this.serviceId = serviceId;
63         }
64         public Map getServiceParams() {
65                 return serviceParams;
66         }
67         public void setServiceParams(Map serviceParams) {
68                 this.serviceParams = serviceParams;
69         }
70         public String getInstanceId() {
71                 return instanceId;
72         }
73         public void setInstanceId(String instanceId) {
74                 this.instanceId = instanceId;
75         }
76         public String getInstanceName() {
77                 return instanceName;
78         }
79         public void setInstanceName(String instanceName) {
80                 this.instanceName = instanceName;
81         }
82         public String getOrchestrationStatus() {
83                 return orchestrationStatus;
84         }
85         public void setOrchestrationStatus(String orchestrationStatus) {
86                 this.orchestrationStatus = orchestrationStatus;
87         }
88         public Configuration getConfiguration() {
89                 return configuration;
90         }
91         public void setConfiguration(Configuration configuration) {
92                 this.configuration = configuration;
93         }
94         public ModelInfo getModelInfo() {
95                 return modelInfo;
96         }
97         public void setModelInfo(ModelInfo modelInfo) {
98                 this.modelInfo = modelInfo;
99         }
100         public String getEnvironmentContext() {
101                 return environmentContext;
102         }
103         public void setEnvironmentContext(String environmentContext) {
104                 this.environmentContext = environmentContext;
105         }
106         public String getWorkloadContext() {
107                 return workloadContext;
108         }
109         public void setWorkloadContext(String workloadContext) {
110                 this.workloadContext = workloadContext;
111         }
112         public String getServiceRole() {
113                 return serviceRole;
114         }
115         public void setServiceRole(String serviceRole) {
116                 this.serviceRole = serviceRole;
117         }
118         public Customer getCustomer(){
119                 return customer;
120         }
121
122         public String getE2eVpnKey(){
123                 return e2eVpnKey;
124         }
125
126         public void setE2eVpnKey(String e2eVpnKey){
127                 this.e2eVpnKey = e2eVpnKey;
128         }
129 }