Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-469 Enhance REST API to drive interactive user dashboard
  3. FALCON-640

Add ability to specify sort order for orderBy param in RestAPI

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.6
    • None
    • None

    Description

      Today, users can specify sort of returned entities by "name", default ascending order. Users can specify sort of returned instances by "status", "cluster", "starttime" and "endtime". Default order is asc for status & cluster. Default order is desc for "starttime" and "endtime".

      We plan to add ability to specify sort order to param orderBy. User can set orderBy to

      • "field" – default order will be used
      • "field:sortOrder" – specified sortOrder will be used. "asc" and "desc" are allowed options.

      Update RestAPI docs accordingly.

      Attachments

        1. Falcon-Jira-640-v1.patch
          71 kB
          Balu Vellanki
        2. Falcon-JIRA-640.patch
          32 kB
          Balu Vellanki

        Activity

          People

            bvellanki Balu Vellanki
            bvellanki Balu Vellanki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: