Skip to content

New batch_domains method #1151

@mattias-p

Description

@mattias-p

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

Tracking issue

Affected interfaces

Additions:

  • batch_domains

Dependencies

Overlapping proposals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions