-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
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)