-
Notifications
You must be signed in to change notification settings - Fork 34
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
Swagger: backup and restore Scylla API #4100
Conversation
They can be used to abort Scylla task, check its progress, etc... Definitions were taken from: https://github.com/scylladb/scylladb/blob/f3f956841fc4fb720626de2d036478d64c76dd3a/api/api-doc/task_manager.json#L5
They will eventually be used to replace currently used rclone server. Definitions were taken from: https://github.com/scylladb/scylladb/blob/ee92784098689125708f88fa9441ccd8e68b6ae9/api/api-doc/storage_service.json#L758
@karol-kokoszka This PR is ready for review! The failure is a know flake (#3848). |
@karol-kokoszka This PR is ready for review! |
@Michal-Leszczynski is the scylla_v1.json taken from scylla repo ? Or the new endpoints at least ? |
Yes - all swagger definitions from scylla_v1 are taken from Scylla repo (from many files), but they have to be adjusted to the swagger 2.0 format. I can add comments with per-file link to our swagger definitions. |
Please do. |
@karol-kokoszka I decided to add a separate |
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.
As far as I can tell - looks good to me :)
This PR adds swagger definitions for Storage Service Backup and Restore Scylla API that will be used to replace currently used rclone endpoints.
This PR also includes swagger definitions for Task Manager Scylla API that can be used for managing running Backup and Restore Scylla jobs.