Project

Profile

Help

Issue #1129

wrong _href in response body on list repository group distributors

Added by igulina@redhat.com over 6 years ago. Updated over 1 year ago.

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

Description

Here [1] in response body

"_href": "2a146bdf-384b-4951-987e-8d42c7c4317f"

In reality it's:

>> curl H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X GET -k -u admin:admin "https://localhost/pulp/api/v2/repo_groups/repo_group/distributors/" |python -m json.tool  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: H; Name or service not known
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: Accept; Name or service not known
100   392  100   392    0     0    752      0 --:--:-- --:--:-- --:--:--   752
[
    {
        "_href": "/pulp/api/v2/repo_groups/repo_group/distributors/203d0b80-53ed-485d-bdc5-5db8d803d213/",
        "_id": {
            "$oid": "559e9a9177b2945c17a5078d"
        },
        "_ns": "repo_group_distributors",
        "config": {
            "http": true,
            "https": false
        },
        "distributor_type_id": "group_export_distributor",
        "id": "203d0b80-53ed-485d-bdc5-5db8d803d213",
        "last_publish": null,
        "repo_group_id": "repo_group",
        "scratchpad": null
    }
]

[1] http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/repo/groups/distributors.html#list-repository-group-distributors

History

#1 Updated by igulina@redhat.com over 6 years ago

Relevant to #706

#2 Updated by mhrivnak over 6 years ago

  • Category set to 23
  • Triaged changed from No to Yes

#3 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#4 Updated by bmbouter over 2 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#5 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

#6 Updated by bmbouter over 1 year ago

  • Category deleted (23)

Please register to edit this issue

Also available in: Atom PDF