Project

Profile

Help

Issue #4863

closed

task status api returns task href with each progress report

Added by dkliban@redhat.com almost 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 54
Quarter:

Description

The task href is repeated many times - once for each progress report.

{
    "_created": "2019-05-21T18:36:14.342250Z",
    "_href": "/pulp/api/v3/tasks/7ac04647-0f7f-4eb6-acce-35f9b669d8dc/",
    "created_resources": [
        "/pulp/api/v3/repositories/8cd415a6-c6f5-4164-9253-183c81baff0e/versions/1/"
    ],
    "error": null,
    "finished_at": "2019-05-21T18:36:47.553881Z",
    "name": "pulp_docker.app.tasks.synchronize.synchronize",
    "non_fatal_errors": [],
    "parent": null,
    "progress_reports": [
        {
            "done": 1,
            "message": "Downloading tag list",
            "state": "completed",
            "suffix": "",
            "task": "/pulp/api/v3/tasks/7ac04647-0f7f-4eb6-acce-35f9b669d8dc/",
            "total": 1
        },
        {
            "done": 442,
            "message": "Downloading Artifacts",
            "state": "completed",
            "suffix": "",
            "task": "/pulp/api/v3/tasks/7ac04647-0f7f-4eb6-acce-35f9b669d8dc/",
            "total": 442
        },
        {
            "done": 1581,
            "message": "Associating Content",
            "state": "completed",
            "suffix": "",
            "task": "/pulp/api/v3/tasks/7ac04647-0f7f-4eb6-acce-35f9b669d8dc/",
            "total": 1581
        },

Also available in: Atom PDF