Skip to content

Shares - Types (Group 1)

Overview

This merge request addresses the Group 1 changes described verbatim below from our work outline. The ultimate goal of this series of commits is to put into a sensible order the commits made in the exploratory phase of our to install the infrastructure needed to display and work with shares.

Share types: New types in OpenStack.Types to define a share and an Export location. Helper functions to convert share status to/from string.

Shares in project: Project type now has a shares RDPP; local storage code sets RDPP.empty for shares.

OpenStack endpoint for Manila: Endpoints type now has a manila Maybe Url. Local storage saves a Manila endpoint, and tries to decode it if exists. No changes needed to local storage types.

Getting Manila endpoint for existing projects: When getting new project-scoped auth token, decode a new service catalog. Also, get a new project-scoped token for each existing project when the app first loads.

How to Test

Exercise the app to see if it performs it usual and new tasks (work with shares) as expected. Also, look at the diff of the ultimate result of these commits with !777 (closed)

Screenshots

In a later group, when the Shares tile is introduced.

Merge request reports