Merge "updated ServiceInstance POJO"
authorMarcus Williams <marcus.williams@intel.com>
Wed, 22 Aug 2018 16:46:17 +0000 (16:46 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 22 Aug 2018 16:46:17 +0000 (16:46 +0000)
bpmn/MSOCoreBPMN/src/main/java/org/onap/so/bpmn/core/domain/ServiceInstance.java

index 6d2db0c..4295f50 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -46,6 +46,8 @@ public class ServiceInstance extends JsonWrapper implements Serializable {
        private String environmentContext;
        private String workloadContext;
        private Map serviceParams;
+       private Customer customer = new Customer();
+       private String e2eVpnKey;
 
        public String getServiceType() {
                return serviceType;
@@ -113,4 +115,15 @@ public class ServiceInstance extends JsonWrapper implements Serializable {
        public void setServiceRole(String serviceRole) {
                this.serviceRole = serviceRole;
        }
-}
\ No newline at end of file
+       public Customer getCustomer(){
+               return customer;
+       }
+
+       public String getE2eVpnKey(){
+               return e2eVpnKey;
+       }
+
+       public void setE2eVpnKey(String e2eVpnKey){
+               this.e2eVpnKey = e2eVpnKey;
+       }
+}