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

[HAC] Update API discovery to support storing resources in chunked redux entries

XMLWordPrintable

      With the introduction of the concept of workspaces in HAC, we cannot assume that all resources will be fetched from one main "workspace". In addition, there may eventually be a requirement to query resources across multiple workspaces at the same time or even have numerous active workspaces at a given time.

      Each workspace will have its own set of resource types that can theoretically be duplicated in another workspace. We should update the core SDK API discovery implementation to:

      • fetch resources whenever the active workspace is changed
      • store the fetched resources in the correct context in redux so they can correctly be looked up later
      • if no active workspace is set - use a default context in redux
      • perhaps accept a list of workspaces to pre-fetch resources for (to be discussed with the broader HAC team and architects) 

            Unassigned Unassigned
            bflorkie@redhat.com Bryan Florkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: