You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/11/03 20:47:58 UTC

[33/51] [abbrv] airavata git commit: fixing task type set wrongly

fixing task type set wrongly


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/d071d8ed
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/d071d8ed
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/d071d8ed

Branch: refs/heads/master
Commit: d071d8ed30feec05a8fb870486a32b68161b99ec
Parents: 69c268a
Author: Chathuri Wimalasena <ch...@apache.org>
Authored: Wed Oct 21 12:04:45 2015 -0400
Committer: Chathuri Wimalasena <ch...@apache.org>
Committed: Wed Oct 21 12:04:45 2015 -0400

----------------------------------------------------------------------
 .../airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/d071d8ed/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
----------------------------------------------------------------------
diff --git a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
index c76f9c6..92bd991 100644
--- a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
+++ b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
@@ -444,7 +444,7 @@ public class SimpleOrchestratorImpl extends AbstractOrchestrator{
         TaskStatus monitorTaskStatus = new TaskStatus(TaskState.CREATED);
         monitorTaskStatus.setTimeOfStateChange(AiravataUtils.getCurrentTimestamp().getTime());
         monitorTaskModel.setTaskStatus(monitorTaskStatus);
-        taskModel.setTaskType(TaskTypes.MONITORING);
+        monitorTaskModel.setTaskType(TaskTypes.MONITORING);
         MonitorTaskModel monitorSubTaskModel = new MonitorTaskModel();
         monitorSubTaskModel.setMonitorMode(MonitorMode.JOB_EMAIL_NOTIFICATION_MONITOR);
         monitorTaskModel.setSubTaskModel(ThriftUtils.serializeThriftObject(monitorSubTaskModel));