Project

Profile

Help

Issue #1362

Mandatory data keys of distributor_config in Associate a Distributor with a Repository

Added by placko almost 5 years ago. Updated 5 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Category:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.7.0 Beta
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2
Sprint:
Quarter:

Description

distributor_config requires different config keys, namely http, https and relative_url than provided in example of request [1]:

{
 "distributor_id": "dist_1",
 "distributor_type_id": "harness_distributor",
 "distributor_config": {
   "publish_dir": "/tmp/harness-publish",
   "write_files": "true"
 },
 "auto_publish": false
}

[1] http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/repo/cud.html#associate-a-distributor-with-a-repository

History

#1 Updated by mhrivnak almost 5 years ago

  • Triaged changed from No to Yes

The settings you mentioned are specific to one or more particular distributors, so they don't necessarily belong in the platform example. However, we could do a better job of making that point clear in the docs.

#2 Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from NEW to POST
  • Assignee set to amacdona@redhat.com
  • Priority changed from Normal to Low
  • Platform Release set to 2.8.0

I spent a lot of time with the distributors recently, so I went ahead and updated these docs while it was fresh.

https://github.com/pulp/pulp/pull/2254

#3 Updated by amacdona@redhat.com almost 5 years ago

  • Status changed from POST to MODIFIED

#4 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to 5

#5 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#6 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

#7 Updated by bmbouter 5 months ago

  • Category deleted (23)

Please register to edit this issue

Also available in: Atom PDF