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

use tree api for search + and probably everywhere

    • Blue Ocean - 1.1-beta-1

      The search api call returns a lot of unneeded data. 

       

      Using the tree parameter means only requested data will be returned. this should be used instead. 

       

      This may be a good place to start, but open a can of worms that plugins need to whitelist what actions they want returned in data etc. 

          [JENKINS-43245] use tree api for search + and probably everywhere

          Keith Zantow added a comment -

          Keith Zantow added a comment - https://gist.github.com/kohsuke/74f8a22b0a82472903f92f46db4d2c58

          James Dumay added a comment -

          laazteca please do not assign tickets to yourself unless you are picking up this work yourself.

          James Dumay added a comment - laazteca please do not assign tickets to yourself unless you are picking up this work yourself.

          Michael Neale added a comment -

          Pulling this one out as we have skipped actions for now.

          Perhaps this isn't needed as plugins wil naturally have to use the tree api if they want to get extra plugin data anyway? 

          Michael Neale added a comment - Pulling this one out as we have skipped actions for now. Perhaps this isn't needed as plugins wil naturally have to use the tree api if they want to get extra plugin data anyway? 

          James Dumay added a comment -

          We can reopen again if we need it. I suspect your summary is correct though.

          James Dumay added a comment - We can reopen again if we need it. I suspect your summary is correct though.

            Unassigned Unassigned
            michaelneale Michael Neale
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: