New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement cloud snapshot collector, list page, create & delete methods #1205
Implement cloud snapshot collector, list page, create & delete methods #1205
Conversation
84d116c
to
9af010f
Compare
9af010f
to
0d88fbf
Compare
From Pull Request: ManageIQ/manageiq-api#1205
@TonySchneider hey so maybe I'm missing it, but how is the snapshot being created? Is it over the API through the cloud_volume#snapshot_create action or via cloud_volume_snapshot#create? Or is it not over the API at all and being done in the UI controller? |
Hi @agrare , I have used the existing API - cloud_volume#snapshot_create since we need an existing volume for this method so when you want to create a snapshot for a specific volume, you should do this through the cloud volume page |
@TonySchneider please resolve the api.yaml failing spec https://github.com/ManageIQ/manageiq-api/actions/runs/4428242306/jobs/7767029454#step:7:104 |
740e88c
to
d30c300
Compare
@agrare fixed |
d30c300
to
1cc5f39
Compare
Checked commits Autosde/manageiq-api@0d88fbf~...1cc5f39 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
@TonySchneider can you add tests covering these new APIs to the |
…ate & delete methods
1cc5f39
to
3ae2239
Compare
aligned the branch with the master, will add the tests to |
93e0481
to
5409e74
Compare
We have developed an integration with a new resource type - "cloud volume snapshot" on the Autosde side. Now, we can provide a list of snapshots from the attached physical storage, create a new one based on a particular volume object and delete it - by using the Autosde rest endpoint (The Autosde GEM is already updated with these new features).
Following these new features, I have added to our (MIQ Autosde provider) collector and refresher to pull snapshots from Autosde and show them in the right place - Cloud Volume Snapshots. I also added the counter component to the provider dashboard.
List page:
Snapshot summary page:
Dashboard:
Create snapshot from cloud volume:
1.
2.
Delete button exists as well at the snapshots page
related PRs: