-
Notifications
You must be signed in to change notification settings - Fork 40
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
[nexus] Add stubs for snapshot APIs #748
Conversation
FYI, there is a minor divergence from the WIP doc you sent me: this change allows users to add a "name + description" of the snapshot object, and refer to it by a project-scoped name. This fits the existing scheme for all other objects exposed by the API currently. |
Cool! What's the plan for automated tests for the Nexus parts (like the CRUD stuff)? |
I can't do this quite yet, as a Nexus-level integration test would require a "real DB implementation" of this stuff. However, when that arrives, that'll be up next. I've added:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have nothing to add beyond the other comments here.
Are there any plans to add GCP has a Same question for Also, the |
@benjaminleonard We could definitely add something like that - as snapshots haven't been implemented yet, I'm not 100% how long we expect they'll take - but adding "state" indicating progress to image creation seems totally reasonable. You're right, the
We definitely could - this would be for an operation like "see all the snapshots of this disk that exist"? I think we'd want to add an index for this operation (currently, we only have an index to lookup snapshots by |
Great thanks for clarifying Sean! |
One little thing to add is that a "source snapshot" can and probably will go away. Once a disk has been created from a snapshot, that disk will have a life of its own and it's possible the original snapshot will be deleted. |
First part of #735