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
Actions
1520 -make relative_url as supported optional key in repo export distributor creation
closes #1520 https://pulp.plan.io/issues/1520