Skip to content
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

create presets db and endpoints #56

Open
VallariAg opened this issue May 13, 2024 · 0 comments
Open

create presets db and endpoints #56

VallariAg opened this issue May 13, 2024 · 0 comments
Assignees
Labels
gsoc-24 Related to GSoC 2024 teuthology project

Comments

@VallariAg
Copy link
Member

Presets are user saved config of teuthology-suite commands. This will help rerun commands. The args of a command can be saved by a unique preset id. Data to be stored in a db on teuthology-api.

How the feature could be used in pulpito-ng: ceph/pulpito-ng#47


Implementation:

Adds database to t-api: SQLite

Schema (improvements can be discussed):
Screenshot 2024-05-13 at 8 58 12 PM

Endpoints:
GET presets/{id}
GET presets/list/
POST presets/add/
UPDATE presets/edit/{id}
DELETE presets/delete/{id}

Implementation PR (previous work): #19

@VallariAg VallariAg added the gsoc-24 Related to GSoC 2024 teuthology project label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc-24 Related to GSoC 2024 teuthology project
Projects
Development

No branches or pull requests

2 participants