Project

Profile

Help

Issue #1362

closed

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

Added by placko over 8 years ago. Updated almost 4 years ago.

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

Actions #1

Updated by mhrivnak over 8 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.

Actions #2

Updated by amacdona@redhat.com over 8 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

Actions #3

Updated by amacdona@redhat.com over 8 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from MODIFIED to 5
Actions #5

Updated by dkliban@redhat.com about 8 years ago

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

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added
Actions #7

Updated by bmbouter almost 4 years ago

  • Category deleted (23)

Also available in: Atom PDF