This is an automated email from the ASF dual-hosted git repository.

isjarana pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 60e2fd9ef2 Add server stating status
     new a24f9bd1b4 Merge pull request #333 from isururanawaka/metaschedular
60e2fd9ef2 is described below

commit 60e2fd9ef2ba1334f3b43b99aef11b23effbda25
Author: Isuru Ranawaka <[email protected]>
AuthorDate: Mon Nov 21 08:02:25 2022 -0500

    Add server stating status
---
 .../java/org/apache/airavata/orchestrator/server/OrchestratorServer.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServer.java
 
b/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServer.java
index 74a8706810..efd48de606 100644
--- 
a/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServer.java
+++ 
b/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServer.java
@@ -108,6 +108,7 @@ public class OrchestratorServer implements IServer {
         try {
             if (monitoringService == null) {
                 monitoringService = new 
ComputationalResourceMonitoringService();
+                monitoringService.setServerStatus(ServerStatus.STARTING);
             }
             if (monitoringService != null && 
!monitoringService.getStatus().equals(ServerStatus.STARTED)) {
                 monitoringService.start();

Reply via email to