Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35852

API needs to change to return a flattened out pipeline list with paths

    • 1.0-japan-m9

      In Scope

      • API needs to change to return a flattened out list with paths at the top level only
      • Subfolders should return only their contents (as they do now)
      • An option should be allowed to specify that non flattened list is required (but is not the default)
      • Should not result in recursing through folders, or load all jobs into memory
      • Objects returns should have links/paths that include the folderName/pipelines/subfolderName/pipelines/PipelineName style of naming so the URI can be set and the data loaded

          [JENKINS-35852] API needs to change to return a flattened out pipeline list with paths

          James Dumay created issue -
          James Dumay made changes -
          Link New: This issue relates to UX-549 [ UX-549 ]
          James Dumay made changes -
          Description Original: In Scope
          * API needs to change to return a flattened out list with paths
          *
          New: In Scope
          * API needs to change to return a flattened out list with paths
          James Dumay made changes -
          Assignee New: Vivek Pandey [ deactivated user ]
          Michael Neale made changes -
          Description Original: In Scope
          * API needs to change to return a flattened out list with paths
          New: In Scope
          * API needs to change to return a flattened out list with paths at the top level only
          * Subfolders should return only their contents (as they do now)
          * An option should be allowed to specify that non flattened list is required (but is not the default)
          Michael Neale made changes -
          Description Original: In Scope
          * API needs to change to return a flattened out list with paths at the top level only
          * Subfolders should return only their contents (as they do now)
          * An option should be allowed to specify that non flattened list is required (but is not the default)
          New: In Scope
          * API needs to change to return a flattened out list with paths at the top level only
          * Subfolders should return only their contents (as they do now)
          * An option should be allowed to specify that non flattened list is required (but is not the default)
          * Should not result in recursing through folders, or load all jobs into memory
          James Dumay made changes -
          Sprint New: 1.0-m8 [ 46 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Rank New: Ranked higher

          Vivek Pandey added a comment -

          jdumaymneale
          >An option should be allowed to specify that non flattened list is required (but is not the default)

          From the API perspective, it will be more consistent to return non-flattened list by default and returned flattened list via query parameter. Its can also can be expensive call so better serve it with parameter.

          >Should not result in recursing through folders, or load all jobs into memory

          Any collection call is expensive, client should use pagination to limit how many items are returned in per call.

          Vivek Pandey added a comment - jdumay mneale >An option should be allowed to specify that non flattened list is required (but is not the default) From the API perspective, it will be more consistent to return non-flattened list by default and returned flattened list via query parameter. Its can also can be expensive call so better serve it with parameter. >Should not result in recursing through folders, or load all jobs into memory Any collection call is expensive, client should use pagination to limit how many items are returned in per call.

            vivek Vivek Pandey
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: