Open VallariAg opened 5 months ago
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: https://github.com/ceph/pulpito-ng/issues/47
Adds database to t-api: SQLite
Schema (improvements can be discussed):
Endpoints: GET presets/{id} GET presets/list/ POST presets/add/ UPDATE presets/edit/{id} DELETE presets/delete/{id}
Implementation PR (previous work): https://github.com/ceph/teuthology-api/pull/19
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: https://github.com/ceph/pulpito-ng/issues/47
Implementation:
Adds database to t-api: SQLite
Schema (improvements can be discussed):
Endpoints: GET presets/{id} GET presets/list/ POST presets/add/ UPDATE presets/edit/{id} DELETE presets/delete/{id}
Implementation PR (previous work): https://github.com/ceph/teuthology-api/pull/19