← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1367716] [NEW] Caching of main menu panel list

 

Public bug reported:

As we are adding more logic to panels for hiding or showing them
depending on what is available in other services, we will inevitably
have to call out to those other services' APIs to check things. Since
the main menu with the panel list is displayed practically on every
page, those calls would be made on almost every single request to
Horizon. This would slow things considerably, and is also very
inconvenient to mock in tests.

The solution to this is to introduce a caching mechanism, which would
keep the list of dashboards and panels to be displayed in the session's
cache, and which could be conveniently mocked as a whole in tests.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1367716

Title:
  Caching of main menu panel list

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  As we are adding more logic to panels for hiding or showing them
  depending on what is available in other services, we will inevitably
  have to call out to those other services' APIs to check things. Since
  the main menu with the panel list is displayed practically on every
  page, those calls would be made on almost every single request to
  Horizon. This would slow things considerably, and is also very
  inconvenient to mock in tests.

  The solution to this is to introduce a caching mechanism, which would
  keep the list of dashboards and panels to be displayed in the
  session's cache, and which could be conveniently mocked as a whole in
  tests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1367716/+subscriptions


Follow ups

References