From eaa3a10b650c44e7eaabf94ed48c94031c5d4a1e Mon Sep 17 00:00:00 2001 From: "katy.rotman" Date: Sun, 29 Apr 2018 14:56:55 +0300 Subject: Fix for fail submit service&recommit change 44091 Issue-ID: SDC-1267 Change-Id: I3439e8f4df8c17c3d3635e804473212f1a9aaf34 Signed-off-by: katy.rotman --- .../elements/InterfaceOperationDataDefinition.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'common-be/src/main/java') diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationDataDefinition.java index 21c73e3ee8..0283f4ca46 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationDataDefinition.java @@ -22,13 +22,14 @@ import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonCreator; import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition; +import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.ARTIFACT_UUID; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.DESCRIPTION; -import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_ID; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.TOSCA_RESOURCE_NAME; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.UNIQUE_ID; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_INPUT_PARAMETERS; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_OPERATION_TYPE; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_OUTPUT_PARAMETERS; + public class InterfaceOperationDataDefinition extends ToscaDataDefinition implements Serializable { @JsonCreator @@ -44,7 +45,7 @@ public class InterfaceOperationDataDefinition extends ToscaDataDefinition implem setDescription(iodd.getDescription()); setToscaResourceName(iodd.getToscaResourceName()); setOperationType(iodd.getOperationType()); - setWorkflowId(iodd.getWorkflowId()); + setArtifactUUID(iodd.getArtifactUUID()); } public ListDataDefinition getInputParams() { @@ -93,10 +94,10 @@ public class InterfaceOperationDataDefinition extends ToscaDataDefinition implem setToscaPresentationValue(TOSCA_RESOURCE_NAME, toscaResourceName); } - public String getWorkflowId() { - return (String) getToscaPresentationValue(IO_WORKFLOW_ID); + public String getArtifactUUID() { + return (String) getToscaPresentationValue(ARTIFACT_UUID); } - public void setWorkflowId(String workflowId) { - setToscaPresentationValue(IO_WORKFLOW_ID, workflowId); + public void setArtifactUUID(String artifactUUID) { + setToscaPresentationValue(ARTIFACT_UUID, artifactUUID); } } -- cgit 1.2.3-korg