Skip to content

create presets db and endpoints #56

@VallariAg

Description

@VallariAg

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

Metadata

Metadata

Assignees

Labels

gsoc-24Related to GSoC 2024 teuthology project

Type

No type

Projects

Status

Features

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions