From 16103f75a71d6000cf192b03df9b8b5f44fc00e5 Mon Sep 17 00:00:00 2001 From: c00149107 Date: Fri, 9 Mar 2018 16:54:28 +0800 Subject: Update resource recipe parameter prepare logic Update resource recipe parameter prepare logic Change-Id: Iefb4964f059a92e3df4000627b8b404174bfb804 Issue-ID: SO-452 Signed-off-by: c00149107 --- .../mso/bpmn/common/recipe/ResourceInput.java | 47 +++++++++++++++++----- 1 file changed, 37 insertions(+), 10 deletions(-) (limited to 'bpmn/MSOCommonBPMN/src/main/java') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java index b56a438364..1cddc54f43 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/recipe/ResourceInput.java @@ -57,9 +57,14 @@ public class ResourceInput { @JsonProperty("operationId") private String operationId; - @JsonProperty("resourceType") - private String resourceType; + //for create resource + @JsonProperty("resourceInvariantUuid") + private String resourceInvariantUuid; + //for create resource + @JsonProperty("resourceUuid") + private String resourceUuid; + //for create resource @JsonProperty("resourceCustomizationUuid") private String resourceCustomizationUuid; @@ -181,26 +186,48 @@ public class ResourceInput { public void setOperationId(String operationId) { this.operationId = operationId; } + + + + /** + * @return Returns the resourceInvariantUuid. + */ + @JsonProperty("resourceInvariantUuid") + public String getResourceInvariantUuid() { + return resourceInvariantUuid; + } + /** - * @return Returns the resourceType. + * @param resourceInvariantUuid The resourceInvariantUuid to set. */ - @JsonProperty("resourceType") - public String getResourceType() { - return resourceType; + @JsonProperty("resourceInvariantUuid") + public void setResourceInvariantUuid(String resourceInvariantUuid) { + this.resourceInvariantUuid = resourceInvariantUuid; } + /** - * @param resourceType The resourceType to set. + * @return Returns the resourceUuid. */ - @JsonProperty("resourceType") - public void setResourceType(String resourceType) { - this.resourceType = resourceType; + @JsonProperty("resourceUuid") + public String getResourceUuid() { + return resourceUuid; } + + /** + * @param resourceUuid The resourceUuid to set. + */ + @JsonProperty("resourceUuid") + public void setResourceUuid(String resourceUuid) { + this.resourceUuid = resourceUuid; + } + + /** * @return Returns the resourceCustomizationUuid. */ -- cgit 1.2.3-korg