Project

Profile

Help

Issue #4970

closed

Collection - RepositoryDistribution does not provide url to consume to cosume content from Pulp

Added by kersom almost 5 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:

Description

An ansible/collection distribution does not have a url that one can consume content from Pulp easily.

{'_created': '2019-06-13T19:23:35.909675Z',
 '_href': '/pulp/api/v3/distributions/ansible/ansible/fc54c057-bd10-46f9-84aa-6968def7c36e/',
 'base_path': '92afef62-ab7c-458f-9199-4f8ce27447f0',
 'base_url': '192.168.122.111:24816/pulp/content/92afef62-ab7c-458f-9199-4f8ce27447f0',
 'content_guard': None,
 'name': '75d710c1-d995-4ef1-a981-60c925b9e679',
 'repository': '/pulp/api/v3/repositories/e7e09c87-6d3c-4514-afc4-a1b6ee4ea176/',
 'repository_version': None}

See: https://pulp-ansible.readthedocs.io/en/latest/workflows/mazer-client.html#install-a-collection-hosted-by-pulp-using-mazer

url: http://localhost:24817/pulp_ansible/galaxy/dev

This is assuming you have the Collection content exposed at a Distribution created with base_path=dev (as in the example above).

Extra steps required in order to build the url to consume content using mazer.

Actions #1

Updated by kersom almost 5 years ago

  • Subject changed from Collection - RepostoryDistribution does not provide url to consume to cosume content from Pulp to Collection - RepositoryDistribution does not provide url to consume to cosume content from Pulp
Actions #2

Updated by daviddavis over 4 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 56

Remove the field base_url and add a field called mazer_url.

Actions #3

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #4

Updated by fao89 over 4 years ago

  • Status changed from ASSIGNED to POST

Added by Fabricio Aguiar over 4 years ago

Revision 3c065bcf | View on GitHub

adding mazer_url to AnsibleDistribution

closes #4970

Actions #5

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by kersom over 4 years ago

The current tests were modified to use this newly added field.

Actions #7

Updated by fao89 over 3 years ago

  • Sprint/Milestone set to 0.2.0
Actions #8

Updated by bmbouter over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF