Project

Profile

Help

Issue #1122

update response body in docs on Retrieve Importer(s) Associated with a Repository

Added by igulina@redhat.com over 5 years ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.7.0 Beta
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

Description

In docs for retrieving all importers [1] and a particular importer [2] associated with a repo response bodies differ from reality. For example, "_href" is missing and _id value is a dictionary including "$oid": . I'm not sure about "config" format. And I believe "sync_in_progress": false was replaced with "scheduled_syncs": [].

>> curl -s -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X GET -k -u admin:admin https://localhost/pulp/api/v2/repositories/zoopark/importers/ | python -mjson.tool
[
    {
        "_href": "/pulp/api/v2/repositories/zoopark/importers/yum_importer/",
        "_id": {
            "$oid": "559be5fb77b2943159a2a436" 
        },
        "_ns": "repo_importers",
        "config": {
            "feed": "https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/" 
        },
        "id": "yum_importer",
        "importer_type_id": "yum_importer",
        "last_sync": null,
        "repo_id": "zoopark",
        "scheduled_syncs": [],
        "scratchpad": null
    }
]

>> curl -s -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X GET -k -u admin:admin https://localhost/pulp/api/v2/repositories/zoopark/importers/yum_importer/ | python -mjson.tool
{
    "_href": "/pulp/api/v2/repositories/zoopark/importers/yum_importer/",
    "_id": {
        "$oid": "559be5fb77b2943159a2a436" 
    },
    "_ns": "repo_importers",
    "config": {
        "feed": "https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/" 
    },
    "id": "yum_importer",
    "importer_type_id": "yum_importer",
    "last_sync": null,
    "repo_id": "zoopark",
    "scheduled_syncs": [],
    "scratchpad": null
}

[1] http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/repo/retrieval.html#retrieve-importers-associated-with-a-repository

[2] http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/repo/retrieval.html#retrieve-an-importer-associated-with-a-repository

Associated revisions

Revision 7ec77e00 View on GitHub
Added by ipanova@redhat.com about 5 years ago

update response body in Retrieve Importer(s) Associated with a Repository

closes #1122 https://pulp.plan.io/issues/1122

Revision 7ec77e00 View on GitHub
Added by ipanova@redhat.com about 5 years ago

update response body in Retrieve Importer(s) Associated with a Repository

closes #1122 https://pulp.plan.io/issues/1122

History

#1 Updated by mhrivnak over 5 years ago

  • Category set to 23
  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes

#2 Updated by ipanova@redhat.com about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

#3 Updated by ipanova@redhat.com about 5 years ago

  • Status changed from ASSIGNED to POST
  • Platform Release set to 2.7.0

#4 Updated by ipanova@redhat.com about 5 years ago

  • Platform Release changed from 2.7.0 to 2.7.1

#5 Updated by ipanova@redhat.com about 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#6 Updated by amacdona@redhat.com almost 5 years ago

  • Platform Release changed from 2.7.1 to 2.7.2

#7 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from MODIFIED to 5

#8 Updated by semyers over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
  • Platform Release changed from 2.7.2 to 2.8.0

#9 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

#10 Updated by bmbouter 6 months ago

  • Category deleted (23)

Please register to edit this issue

Also available in: Atom PDF