operationData.setOutputs(outputs);
operationData.setWorkflowId(interfaceOperation.getWorkflowId());
operationData.setWorkflowVersionId(interfaceOperation.getWorkflowVersionId());
+ operationData.setWorkflowAssociationType(interfaceOperation.getWorkflowAssociationType());
return operationData;
}
interfaceOperationDataDefinition.setArtifactUUID(operationData.getImplementation().getArtifactUUID());
interfaceOperationDataDefinition.setWorkflowId(operationData.getWorkflowId());
interfaceOperationDataDefinition.setWorkflowVersionId(operationData.getWorkflowVersionId());
+ interfaceOperationDataDefinition.setWorkflowAssociationType(operationData.getWorkflowAssociationType());
return interfaceOperationDataDefinition;
}
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;
+import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_ASSOCIATION_TYPE;
import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_ID;
import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_VERSION_ID;
import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.TOSCA_RESOURCE_NAME;
setArtifactUUID(iodd.getArtifactUUID());
setWorkflowId(iodd.getWorkflowId());
setWorkflowVersionId(iodd.getWorkflowVersionId());
+ setWorkflowAssociationType(iodd.getWorkflowAssociationType());
}
public ListDataDefinition<InterfaceOperationParamDataDefinition> getInputParams() {
public void setArtifactUUID(String artifactUUID) {
setToscaPresentationValue(ARTIFACT_UUID, artifactUUID);
}
+
+ public String getWorkflowAssociationType() {
+ return (String) getToscaPresentationValue(IO_WORKFLOW_ASSOCIATION_TYPE);
+ }
+
+ public void setWorkflowAssociationType(String workflowAssociationType) {
+ setToscaPresentationValue(IO_WORKFLOW_ASSOCIATION_TYPE, workflowAssociationType);
+ }
}
import java.io.Serializable;
+import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_ASSOCIATION_TYPE;
import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_ID;
import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.IO_WORKFLOW_VERSION_ID;
setUniqueId(p.getUniqueId());
setWorkflowId(p.getWorkflowId());
setWorkflowVersionId(p.getWorkflowVersionId());
+ setWorkflowAssociationType(p.getWorkflowAssociationType());
}
setToscaPresentationValue(IO_WORKFLOW_VERSION_ID, workflowVersionId);
}
+ public String getWorkflowAssociationType() {
+ return (String) getToscaPresentationValue(IO_WORKFLOW_ASSOCIATION_TYPE);
+ }
+
+ public void setWorkflowAssociationType(String workflowAssociationType) {
+ setToscaPresentationValue(IO_WORKFLOW_ASSOCIATION_TYPE, workflowAssociationType);
+ }
}
IO_PROPERTY("property", null),
IO_WORKFLOW_ID("workflowId", null),
IO_WORKFLOW_VERSION_ID("workflowVersionId", null),
+ IO_WORKFLOW_ASSOCIATION_TYPE("workflowAssociationType", null),
//Interface
INTERFACE ("interface", null),