Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-3712

Add sorting to the health column in the app list

    Details

      Description

      Add sorting to the health column added in this PR https://github.com/mesosphere/marathon/pull/914/files#diff-c2422f280116c15ea426918185c2d9b4R103, so it is possible to sort the applications based on the health.
      It could be a function that returns a binary number that representing the state of the app as a whole

      +-----------+---------------+--------+---------+---------+-------------+
      | unhealthy | over-capacity | staged | healthy | running | unscheduled |
      +-----------+---------------+--------+---------+---------+-------------+
      

      So an app with unhealthy and healthy tasks would return:

      +-----------+---------------+--------+---------+---------+-------------+
      |     1     |      0        |    0   |    1    |    0    |      0      | = 36
      +-----------+---------------+--------+---------+---------+-------------+
      

      and an app with over-capacity tasks and running tasks would give:
      So an app with unhealthy and healthy tasks would return:

      +-----------+---------------+--------+---------+---------+-------------+
      |     0     |      1        |    0   |    0    |    1    |      0      | = 18
      +-----------+---------------+--------+---------+---------+-------------+
      

        Attachments

          Activity

            People

            • Assignee:
              GitHub_aldipower Felix Gertz (Inactive)
              Reporter:
              mlunoe Michael Lunøe (Inactive)
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: