summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-04-26 20:08:28 +0300
committerMichael Lando <ml636r@att.com>2018-04-26 20:09:54 +0300
commit1a5cc6ecb2e1a59c024b1bcd4b86d442e24dc300 (patch)
treeacd778639fb060955d6e13a9405725390b068221 /common-be/src/main/java
parent3de22e1c6c2711072ce996335e7250445a39d320 (diff)
Revert "Delete workflow artifact
and add artifact to CSAR" This reverts commit d71a8de8c7b688eabb250e524dc4f6000b3233b6. Issue-ID: SDC-1060 Change-Id: I332a6afb8090491b011e3040e94ca2dc47bcc164 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'common-be/src/main/java')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceOperationDataDefinition.java13
1 files changed, 6 insertions, 7 deletions
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 0283f4ca46..21c73e3ee8 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,14 +22,13 @@ 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
@@ -45,7 +44,7 @@ public class InterfaceOperationDataDefinition extends ToscaDataDefinition implem
setDescription(iodd.getDescription());
setToscaResourceName(iodd.getToscaResourceName());
setOperationType(iodd.getOperationType());
- setArtifactUUID(iodd.getArtifactUUID());
+ setWorkflowId(iodd.getWorkflowId());
}
public ListDataDefinition<InterfaceOperationParamDataDefinition> getInputParams() {
@@ -94,10 +93,10 @@ public class InterfaceOperationDataDefinition extends ToscaDataDefinition implem
setToscaPresentationValue(TOSCA_RESOURCE_NAME, toscaResourceName);
}
- public String getArtifactUUID() {
- return (String) getToscaPresentationValue(ARTIFACT_UUID);
+ public String getWorkflowId() {
+ return (String) getToscaPresentationValue(IO_WORKFLOW_ID);
}
- public void setArtifactUUID(String artifactUUID) {
- setToscaPresentationValue(ARTIFACT_UUID, artifactUUID);
+ public void setWorkflowId(String workflowId) {
+ setToscaPresentationValue(IO_WORKFLOW_ID, workflowId);
}
}