2 * ============LICENSE_START=======================================================
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
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.bpmn.infrastructure.aai.groovyflows;
23 public class AAIServiceInstance {
24 String serviceInstanceName;
27 String orchestrationStatus;
28 String modelInvariantUuid;
29 String modelVersionId;
30 String environmentContext;
31 String workloadContext;
32 public AAIServiceInstance(String serviceInstanceName, String serviceType, String serviceRole,
33 String orchestrationStatus, String modelInvariantUuid, String modelVersionId, String environmentContext,
34 String workloadContext) {
35 this.serviceInstanceName = serviceInstanceName;
36 this.serviceType = serviceType;
37 this.serviceRole = serviceRole;
38 this.orchestrationStatus = orchestrationStatus;
39 this.modelInvariantUuid = modelInvariantUuid;
40 this.modelVersionId = modelVersionId;
41 this.environmentContext = environmentContext;
42 this.workloadContext = workloadContext;
44 public String getServiceInstanceName() {
45 return serviceInstanceName;
47 public void setServiceInstanceName(String serviceInstanceName) {
48 this.serviceInstanceName = serviceInstanceName;
50 public String getServiceType() {
53 public void setServiceType(String serviceType) {
54 this.serviceType = serviceType;
56 public String getServiceRole() {
59 public void setServiceRole(String serviceRole) {
60 this.serviceRole = serviceRole;
62 public String getOrchestrationStatus() {
63 return orchestrationStatus;
65 public void setOrchestrationStatus(String orchestrationStatus) {
66 this.orchestrationStatus = orchestrationStatus;
68 public String getModelInvariantUuid() {
69 return modelInvariantUuid;
71 public void setModelInvariantUuid(String modelInvariantUuid) {
72 this.modelInvariantUuid = modelInvariantUuid;
74 public String getModelVersionId() {
75 return modelVersionId;
77 public void setModelVersionId(String modelVersionId) {
78 this.modelVersionId = modelVersionId;
80 public String getEnvironmentContext() {
81 return environmentContext;
83 public void setEnvironmentContext(String environmentContext) {
84 this.environmentContext = environmentContext;
86 public String getWorkloadContext() {
87 return workloadContext;
89 public void setWorkloadContext(String workloadContext) {
90 this.workloadContext = workloadContext;