Skip to content

Rework Job Retrieval/Submission API #224

@tazend

Description

@tazend

Branch is here

Classes

  • Job class providing read-only access to all possible attributes of jobs (e.g. time of submission)
  • Jobs class, acting as a custom collection (dict) to retrieve actual job-information, and holds all the Job instances which carry the information.
  • JobStep class providing read-only access to all possible attributes of a single Job-step
  • JobSteps class, acting as custom collection (dict) to hold all the 'JobStep' instances
  • JobSubmission class, acting as a interface to create a job-submission records and to submit them

General Functionality for a Job

  • cancel (SIGKILL)
  • send_signal (e.g send any signal like SIGTERM,SIGKILL,SIGUSR1 to the job)
  • suspend/unsuspend
  • hold/release
  • modify (user must pass a JobSubmission instance with the changes to be made)
  • notify
  • Retrieve the batch-script and return it as a string

General Functionality for a JobStep

  • cancel
  • send_signal
  • modify (only changing the TimeLimit is allowed for a job step

Other

  • Documentation
  • Write tests
  • Write examples

Related to #11

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions