set correct gateway id
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/d79055a6 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/d79055a6 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/d79055a6 Branch: refs/heads/master Commit: d79055a693f3d0a417b4ac611c02cedec95985e7 Parents: d527fc5 Author: Chathuri Wimalasena <[email protected]> Authored: Wed Jan 20 13:32:32 2016 -0500 Committer: Chathuri Wimalasena <[email protected]> Committed: Wed Jan 20 13:32:32 2016 -0500 ---------------------------------------------------------------------- .../airavata/orchestrator/server/OrchestratorServerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/d79055a6/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java ---------------------------------------------------------------------- diff --git a/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java b/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java index f04fdae..a461ba4 100644 --- a/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java +++ b/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java @@ -538,7 +538,7 @@ public class OrchestratorServerHandler implements OrchestratorService.Iface { } if (status.getState() != null) { status.setTimeOfStateChange(AiravataUtils.getCurrentTimestamp().getTime()); - OrchestratorUtils.updageAndPublishExperimentStatus(processIdentity.getExperimentId(), status, publisher, gatewayName); + OrchestratorUtils.updageAndPublishExperimentStatus(processIdentity.getExperimentId(), status, publisher, processIdentity.getGatewayId()); log.info("expId : " + processIdentity.getExperimentId() + " :- Experiment status updated to " + status.getState()); }
