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

Cache /blue/rest/classes calculation

    XMLWordPrintable

    Details

    • Similar Issues:
    • Epic Link:

      Description

      In Scope

      • Cache /blue/rest/classes calculation
      • Invalidate the cache when new plugins are dynamically installed

        Attachments

          Activity

          Hide
          jamesdumay James Dumay added a comment -

          Stephen Connolly pointed me to hudson.ExtensionListListener

          Show
          jamesdumay James Dumay added a comment - Stephen Connolly pointed me to hudson.ExtensionListListener
          Hide
          jglick Jesse Glick added a comment -

          Note that ExtensionListListener reports modifications to a particular ExtensionList. It is not the same as a listener for dynamically installed plugins: an extension list can change without changes in the set of plugins, and a plugin can be installed without affecting any extension list, much less the particular one you are listening to. So whether that is applicable or not depends on whether the input to the “/blue/rest/classes calculation”, whatever that is, is the result of some ExtensionList.lookup call, vs. direct access to PluginManager metadata.

          Show
          jglick Jesse Glick added a comment - Note that ExtensionListListener reports modifications to a particular ExtensionList . It is not the same as a listener for dynamically installed plugins: an extension list can change without changes in the set of plugins, and a plugin can be installed without affecting any extension list, much less the particular one you are listening to. So whether that is applicable or not depends on whether the input to the “ /blue/rest/classes calculation”, whatever that is, is the result of some ExtensionList.lookup call, vs. direct access to PluginManager metadata.
          Hide
          jamesdumay James Dumay added a comment -

          Jesse Glick essentially blue/rest/classes returns a list of the extension points that Blue Ocean is interested in. So if the extensions available change (e.g. a new plugin was installed that has extensions) we'd like to invalidate a cache.

          Show
          jamesdumay James Dumay added a comment - Jesse Glick essentially blue/rest/classes returns a list of the extension points that Blue Ocean is interested in. So if the extensions available change (e.g. a new plugin was installed that has extensions) we'd like to invalidate a cache.

            People

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

              Dates

              Created:
              Updated:
              Resolved: