Repository: airavata Updated Branches: refs/heads/master 0140ce72c -> 01414757c
cancel when provider invoked Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/01414757 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/01414757 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/01414757 Branch: refs/heads/master Commit: 01414757c10f16f765a4c96ec486bb7585e9892a Parents: 0140ce7 Author: Chathuri Wimalasena <[email protected]> Authored: Wed May 13 16:55:02 2015 -0400 Committer: Chathuri Wimalasena <[email protected]> Committed: Wed May 13 16:55:02 2015 -0400 ---------------------------------------------------------------------- .../java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java | 2 -- 1 file changed, 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/01414757/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java ---------------------------------------------------------------------- diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java index 6f83eb2..c3462ed 100644 --- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java +++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java @@ -562,8 +562,6 @@ public class BetterGfacImpl implements GFac,Watcher { private boolean cancel(JobExecutionContext jobExecutionContext) throws GFacException { try { GfacExperimentState gfacExpState = GFacUtils.getZKExperimentState(zk, jobExecutionContext); // this is the original state came, if we query again it might be different,so we preserve this state in the environment - monitorPublisher.publish(new GfacExperimentStateChangeRequest(new MonitorID(jobExecutionContext) - , GfacExperimentState.ACCEPTED)); // immediately we get the request we update the status String workflowInstanceID = null; if ((workflowInstanceID = (String) jobExecutionContext.getProperty(Constants.PROP_WORKFLOW_INSTANCE_ID)) != null) { //todo implement WorkflowTrackingListener properly
