Actions
Story #1520
closedmake relative_url as supported optional key in repo export distributor creation
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
$ curl -H "Accept: application/json" -X POST -k -u admin:admin -d '{"distributor_type_id": "export_distributor", "distributor_config": {"http": false, "https":true, "relative_url":"123"}}' 'https://localhost/pulp/api/v2/repositories/test/distributors/'|python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 527 100 407 100 120 1409 415 --:--:-- --:--:-- --:--:-- 1413
{
"_href": "/pulp/api/v2/repositories/test/distributors/",
"args": [
"Configuration key 'relative_url' is not supported"
],
"error": {
"code": "PLP0000",
"data": {},
"description": "Configuration key 'relative_url' is not supported",
"sub_errors": []
},
"error_message": "Configuration key 'relative_url' is not supported",
"exception": null,
"http_request_method": "POST",
"http_status": 400,
"traceback": null
}
Related issues
Updated by ipanova@redhat.com almost 9 years ago
- Blocks Story #1398: pulp group exporter does not honor relative_url added
Updated by ipanova@redhat.com almost 9 years ago
- Subject changed from make relative_url as supported and required key in repo export distributor creation to make relative_url as supported optional key in repo export distributor creation
Updated by ipanova@redhat.com almost 9 years ago
Seems like this issue was fixed by some other previous PR.
Now it is possible to add via API relative_url as optional key to the repo export_distributor in:
1) repo creation call(POST)
2) in distributor creation call(POST)
3) in distributor update call (PUT)
Now the thing that needs to be done is make 1 and 3 possible via pulp-admin.
Updated by ipanova@redhat.com almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Added by ipanova@redhat.com almost 9 years ago
Updated by ipanova@redhat.com almost 9 years ago
- Status changed from ASSIGNED to POST
Updated by ipanova@redhat.com almost 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset dbdc20dc4bfc52e4bc7d2b7a3b2bf2323db63d47.
Added by pcreech almost 9 years ago
Revision a53c8e45 | View on GitHub
Migration for relative_url
This migration ensures that existing distributors get updated for PR #776
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com over 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
1520 -make relative_url as supported optional key in repo export distributor creation
closes #1520 https://pulp.plan.io/issues/1520