You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user or operator of Duffy,
I want to be able to query what pools are available and properties of pools,
so that I don't have to guess or query the DB directly.
Acceptance Criteria
The Duffy app serves …
… an endpoint /api/v1/pools which returns a dictionary mapping pool names to e.g. fill-level, number of nodes in states ready, provisioning, …
… api/v1/pools/{poolname} endpoints which carry the same information, just for a single pool.
Suitable duffy client list-pools, duffy client show-pool … commands are added which wrap these endpoints for CLI use.
The text was updated successfully, but these errors were encountered:
This lets API users list pools and query individual ones.
In the course, sort the API online doc sections a little.
Related: CentOS#417
Signed-off-by: Nils Philippsen <nils@redhat.com>
nphilipp
added a commit
to nphilipp/duffy
that referenced
this issue
Jun 8, 2022
This lets CLI users retrieve information about the configuration and
current status of node pools.
Fixes: CentOS#417
Signed-off-by: Nils Philippsen <nils@redhat.com>
This lets API users list pools and query individual ones.
In the course, sort the API online doc sections a little.
Related: #417
Signed-off-by: Nils Philippsen <nils@redhat.com>
This lets CLI users retrieve information about the configuration and
current status of node pools.
Fixes: #417
Signed-off-by: Nils Philippsen <nils@redhat.com>
Story
As a user or operator of Duffy,
I want to be able to query what pools are available and properties of pools,
so that I don't have to guess or query the DB directly.
Acceptance Criteria
/api/v1/pools
which returns a dictionary mapping pool names to e.g. fill-level, number of nodes in statesready
,provisioning
, …api/v1/pools/{poolname}
endpoints which carry the same information, just for a single pool.duffy client list-pools
,duffy client show-pool …
commands are added which wrap these endpoints for CLI use.The text was updated successfully, but these errors were encountered: