You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (JIRA)" <ji...@apache.org> on 2018/06/15 15:13:00 UTC

[jira] [Created] (AIRAVATA-2832) Experiment Status is stuck on LAUNCHED

Marcus Christie created AIRAVATA-2832:
-----------------------------------------

             Summary: Experiment Status is stuck on LAUNCHED
                 Key: AIRAVATA-2832
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2832
             Project: Airavata
          Issue Type: Bug
            Reporter: Marcus Christie
            Assignee: Marcus Christie


The old Registry code only returned the most recent [1] experiment status, but the new code, which simply reflects the database models, returns all statuses. So either we
* preserve the old behavior
* or, return all experiment statuses and leave it up to clients to figure out the most recent one

The second option I think makes more sense and is a simpler approach from the backend, but it does require more client work and it is a breaking change.

One possible thing we can do is order the ExperimentStatuses list returned so that the most recent one is just the last one.

[1] https://github.com/apache/airavata/blob/7e8b6925ff9148d9d0b4a4f3a06a559aca92e70c/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/utils/ThriftDataModelConversion.java#L171-L171



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)