[metcat] r213 committed - multiple workflowinvoked messages of a single experiment are handled a...

1 view
Skip to first unread message

metcat.apach...@codespot.com

unread,
Sep 7, 2012, 6:01:52 AM9/7/12
to metca...@googlegroups.com
Revision: 213
Author: tobha...@gmail.com
Date: Fri Sep 7 03:01:34 2012
Log: multiple workflowinvoked messages of a single experiment are
handled as one.
http://code.google.com/a/apache-extras.org/p/metcat/source/detail?r=213

Modified:

/trunk/metcatserver/src/main/java/org/apache/airavata/metcat/parser/impl/WorkflowInvokedParser.java

=======================================
---
/trunk/metcatserver/src/main/java/org/apache/airavata/metcat/parser/impl/WorkflowInvokedParser.java
Tue Aug 28 19:46:59 2012
+++
/trunk/metcatserver/src/main/java/org/apache/airavata/metcat/parser/impl/WorkflowInvokedParser.java
Fri Sep 7 03:01:34 2012
@@ -43,8 +43,9 @@
String timestamp = result.get(TIMESTAMP_IDENTIFICATION);

if (isDatabaseInteraction()) {
- wfIterator.createWorkflowIterator(experimentID, workflowID, timestamp);
- wfIOs.saveWorkflowInput(workflowID!=null?workflowID:experimentID,
result.get("Description"), result.get("invokeRequestBody"), timestamp);
+ wfIterator.createWorkflowIterator(experimentID, experimentID,
timestamp); /*second parameter should be workflow id when
+ metcat is modified to handle multiple workflows for a single
experiment*/
+ wfIOs.saveWorkflowInput(experimentID, result.get("Description"),
result.get("invokeRequestBody"), timestamp);
}

return result;
Reply all
Reply to author
Forward
0 new messages