-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Milestone
Description
We should add a new method to the RPCAPI.
Name: batch_domains
Input:
batch_id- A Batch ID. The batch to examine.states- An optional list of elements from {"waiting", "running", "completed", "cancelled", "crashed"}. Default: ["waiting", "running", "completed", "cancelled", "crashed"]. The set of properties to include in the output.
Output:
waiting- An optional object mapping domain names to job ids. The set of waiting jobs in the batch.running- An optional object mapping domain names to job ids. The set of running jobs in the batch.completed- An optional object mapping domain names to job ids. The set of completed jobs in the batch.cancelled- An optional object mapping domain names to job ids. The set of cancelled jobs in the batch.crashed- An optional object mapping domain names to job ids. The set of crashed jobs in the batch.
Stabilization
Affected interfaces
Additions:
- batch_domains
Dependencies
- This proposal depends on Formal states for test items #960.
Overlapping proposals
- This proposal is basically just an updated version of the get_batch_list method from Updated API methods for batches #1119 that's been renamed and adapted to Batch result UI zonemaster-gui#460. I feel there are too many ideas in Updated API methods for batches #1119 and it's better to split this part out to its own issue.
Metadata
Metadata
Assignees
Labels
No labels