Project

Profile

Help

Story #1520

closed

make relative_url as supported optional key in repo export distributor creation

Added by ipanova@redhat.com almost 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
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

Blocks RPM Support - Story #1398: pulp group exporter does not honor relative_urlCLOSED - CURRENTRELEASEpcreech

Actions
Actions #1

Updated by ipanova@redhat.com almost 9 years ago

  • Blocks Story #1398: pulp group exporter does not honor relative_url added
Actions #2

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
Actions #3

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.

Actions #4

Updated by ipanova@redhat.com almost 9 years ago

  • Category set to 22
Actions #5

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

Revision dbdc20dc | View on GitHub

1520 -make relative_url as supported optional key in repo export distributor creation

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

Actions #6

Updated by ipanova@redhat.com almost 9 years ago

  • Status changed from ASSIGNED to POST
Actions #7

Updated by ipanova@redhat.com almost 9 years ago

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

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

re #1520 https://pulp.plan.io/issues/1520

Actions #8

Updated by rbarlow almost 9 years ago

  • Platform Release set to 2.8.0
Actions #9

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #10

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #11

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF