airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject [33/51] [abbrv] airavata git commit: fixing task type set wrongly
Date Tue, 03 Nov 2015 19:47:58 GMT
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 <chathuri@apache.org>
Authored: Wed Oct 21 12:04:45 2015 -0400
Committer: Chathuri Wimalasena <chathuri@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));


Mime
View raw message