Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-43916

Add CheckBulkForUpdate to kessel-sdk-py

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      A new method for checking access on multiple resources in a single request called "CheckBulk" was recently added to kessel-sdk. This should help with the performance of bulk checks. However, it can be used only for "view" checks. If we need to check write access on multiple resources, we still have to use "CheckForUpdate" in a loop for every resource. This adds a lot of latency to some HBI's API requests, for example, if a user wants to delete multiple hosts from the Inventory at once.

      It would be good to have a similar method as "CheckBulk", but for the update checks. This would reduce the latency and increase the performance.

      Related slack discussion: https://redhat-internal.slack.com/archives/C08GTNAFZ55/p1765889593998089?thread_ts=1763656513.607469&cid=C08GTNAFZ55

              Unassigned Unassigned
              fstavela@redhat.com Frantisek Stavela
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: