Change code in appc dispatcher for new LCMs in R6
[appc.git] / appc-inbound / appc-design-services / provider / src / main / java / org / onap / appc / design / data / DesignInfo.java
index 3cbbd88..6381aee 100644 (file)
@@ -2,22 +2,21 @@
  * ============LICENSE_START=======================================================
  * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Copyright (C) 2017 Amdocs
  * =============================================================================
  * 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.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- * 
  * ============LICENSE_END=========================================================
  */
 
@@ -26,29 +25,34 @@ package org.onap.appc.design.data;
 import com.fasterxml.jackson.annotation.JsonProperty;
 
 public class DesignInfo{
-    
+
     @JsonProperty("vnf-type")
     String vnf_type;
-    
+
     @JsonProperty("vnfc-type")
     String vnfc_type;
-    
+
     @JsonProperty("protocol")
     String protocol;
-    
+
     @JsonProperty("incart")
     String inCart;
-    
+
     @JsonProperty("action")
     String action;
-    
+
     @JsonProperty("artifact-name")
     String artifact_name;
 
-    
     @JsonProperty("artifact-type")
     String artifact_type;
 
+    @JsonProperty("permission")
+    String permission;
+
+    @JsonProperty("creatorUserId")
+    String creatorUserId;
+
     public String getArtifact_type() {
         return artifact_type;
     }
@@ -105,10 +109,26 @@ public class DesignInfo{
         this.inCart = inCart;
     }
 
+    public String getPermission() {
+        return permission;
+    }
+
+    public void setPermission(String permission) {
+        this.permission = permission;
+    }
+
+    public String getCreatorUserId() {
+        return creatorUserId;
+    }
+
+    public void setCreatorUserId(String creatorUserId) {
+        this.creatorUserId = creatorUserId;
+    }
+
     @Override
     public String toString() {
         return "DesignInfo [vnf_type=" + vnf_type + ", vnfc_type=" + vnfc_type + ", protocol=" + protocol + ", inCart="
                 + inCart + "]";
     }
-    
+
 }