[
https://issues.apache.org/jira/browse/AIRAVATA-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428260#comment-13428260
]
Raminderjeet Singh commented on AIRAVATA-516:
---------------------------------------------
I am able to retrive inputs and outputs.. here is some sample code.
WorkflowInstanceNodeData nodeData =
workflowInstanceData.getNodeData(nodeId);
List<WorkflowInstanceNodePortData> inputData =
nodeData.getInputData();
List<WorkflowInstanceNodePortData> outputData =
nodeData.getOutputData();
for (WorkflowInstanceNodePortData workflowInstanceNodePortData
: inputData) {
List<NameValue> ioParameterData = null;
try {
ioParameterData =
XBayaUtil.getIOParameterData(workflowInstanceNodePortData.getValue());
} catch (Exception e) {
e.printStackTrace();
}
for (NameValue next : ioParameterData) {
// next.getName() and next.getValue()
}
}
for (WorkflowInstanceNodePortData workflowInstanceNodePortData
: outputData) {
List<NameValue> ioParameterData = null;
try {
ioParameterData =
XBayaUtil.getIOParameterData(workflowInstanceNodePortData.getValue());
} catch (Exception e) {
e.printStackTrace();
}
for (NameValue next : ioParameterData) {
// next.getName() and next.getValue()
}
}
}
> Input Output node data can not be retreived by using Airavata API's
> ProvananceManager
> -------------------------------------------------------------------------------------
>
> Key: AIRAVATA-516
> URL: https://issues.apache.org/jira/browse/AIRAVATA-516
> Project: Airavata
> Issue Type: Bug
> Components: Airavata Client
> Affects Versions: 0.4-INCUBATING
> Reporter: Heshan Suriyaarachchi
> Priority: Critical
>
> These data is shown as empty, when querying.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira