Browse Source
This patch makes the following changes to the 'background_jobs' API: * We now call them 'jobs' * Removed deprecated query parameter definitions * Added only_current query parameter * Controller gets adapted to use $rs->filter_by_current when only_current is passed Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>22.11.x
Tomás Cohen Arazi
2 years ago
8 changed files with 162 additions and 169 deletions
@ -1,63 +0,0 @@ |
|||
--- |
|||
type: object |
|||
properties: |
|||
background_job_id: |
|||
type: integer |
|||
description: internally assigned background_job identifier |
|||
readOnly: true |
|||
status: |
|||
description: background_job status |
|||
type: |
|||
- string |
|||
- "null" |
|||
progress: |
|||
description: background_job progress |
|||
type: |
|||
- string |
|||
- "null" |
|||
size: |
|||
description: background_job size |
|||
type: |
|||
- string |
|||
- "null" |
|||
patron_id: |
|||
description: background_job enqueuer |
|||
type: |
|||
- string |
|||
- "null" |
|||
type: |
|||
description: background_job type |
|||
type: |
|||
- string |
|||
- "null" |
|||
queue: |
|||
description: background_job queue |
|||
type: |
|||
- string |
|||
- "null" |
|||
data: |
|||
description: background_job data |
|||
type: |
|||
- string |
|||
- "null" |
|||
context: |
|||
description: background_job context |
|||
type: |
|||
- string |
|||
- "null" |
|||
enqueued_on: |
|||
description: background_job enqueue date |
|||
type: |
|||
- string |
|||
- "null" |
|||
started_on: |
|||
description: background_job start date |
|||
type: |
|||
- string |
|||
- "null" |
|||
ended_on: |
|||
description: background_job end date |
|||
type: |
|||
- string |
|||
- "null" |
|||
additionalProperties: false |
@ -0,0 +1,54 @@ |
|||
--- |
|||
type: object |
|||
properties: |
|||
job_id: |
|||
type: integer |
|||
description: internally assigned job identifier |
|||
readOnly: true |
|||
status: |
|||
description: job status |
|||
type: string |
|||
progress: |
|||
description: job progress |
|||
type: |
|||
- string |
|||
- "null" |
|||
size: |
|||
description: job size |
|||
type: |
|||
- string |
|||
- "null" |
|||
patron_id: |
|||
description: job enqueuer |
|||
type: |
|||
- string |
|||
- "null" |
|||
type: |
|||
description: job type |
|||
type: string |
|||
queue: |
|||
description: job queue |
|||
type: string |
|||
data: |
|||
description: job data |
|||
type: object |
|||
context: |
|||
description: job context |
|||
type: object |
|||
enqueued_date: |
|||
description: job enqueue date |
|||
type: string |
|||
format: date-time |
|||
started_date: |
|||
description: job start date |
|||
type: |
|||
- string |
|||
- "null" |
|||
format: date-time |
|||
ended_date: |
|||
description: job end date |
|||
type: |
|||
- string |
|||
- "null" |
|||
format: date-time |
|||
additionalProperties: false |
Loading…
Reference in new issue