Project

Profile

Help

Issue #1122

closed

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

Added by igulina@redhat.com about 7 years ago. Updated over 2 years 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

Actions #1

Updated by mhrivnak about 7 years ago

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

Updated by ipanova@redhat.com almost 7 years ago

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

Added by ipanova@redhat.com almost 7 years ago

Revision 7ec77e00

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

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

Added by ipanova@redhat.com almost 7 years ago

Revision 7ec77e00

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

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

Actions #3

Updated by ipanova@redhat.com almost 7 years ago

  • Status changed from ASSIGNED to POST
  • Platform Release set to 2.7.0
Actions #4

Updated by ipanova@redhat.com almost 7 years ago

  • Platform Release changed from 2.7.0 to 2.7.1
Actions #5

Updated by ipanova@redhat.com almost 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #6

Updated by amacdona@redhat.com almost 7 years ago

  • Platform Release changed from 2.7.1 to 2.7.2
Actions #7

Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by semyers over 6 years ago

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

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added
Actions #10

Updated by bmbouter over 2 years ago

  • Category deleted (23)

Also available in: Atom PDF