Project

Profile

Help

Story #7941

Task #7938: [EPIC] As a user, I have improved Galaxy V3 sync performance

As a user, I have a new v3/metadata/collection_versions/ endpoint returning all collection_versions unpaginated

Added by bmbouter 3 months ago. Updated 22 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

For example when the user requests this: /pulp_ansible/galaxy/<path:path>/api/v3/metadata/collection_versions/

They will receive this:

[{
    "version": "string",
    "href": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "artifact": "string",
    "collection": {
        "id": "string",
        "name": "string",
        "href": "string"
    },
    "download_url": "string",
    "name": "string",
    "namespace": {
        "name": "string"
    },
    "metadata": {
        "authors": [],
        "contents": {},
        "dependencies": {},
        "description": "string",
        "documentation": "string",
        "homepage": "string",
        "issues": "string",
        "license": [],
        "repository": "string",
        "tags": []
    }
},
...,
{
    "version": "string",
    "href": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "artifact": "string",
    "collection": {
        "id": "string",
        "name": "string",
        "href": "string"
    },
    "download_url": "string",
    "name": "string",
    "namespace": {
        "name": "string"
    },
    "metadata": {
        "authors": [],
        "contents": {},
        "dependencies": {},
        "description": "string",
        "documentation": "string",
        "homepage": "string",
        "issues": "string",
        "license": [],
        "repository": "string",
        "tags": []
    }
}]

This is the same data as returned by the existing collection-version-detail endpoint except:

  • It does not paginate
  • It is all aggregated into a single response, so it's really a list view.
  • It does not contain the links and results portion of the response ... just the list of serialized collections.

Related issues

Blocks Ansible Plugin - Story #7942: As a sync user, I get no-op when possibleCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 6be64b8a View on GitHub
Added by Fabricio Aguiar about 1 month ago

New endpoint - all collection versions unpaginated

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

(cherry picked from commit 0db524e54470c4ed6ccf342de49b1fc1cb52aa45)

History

#1 Updated by bmbouter 3 months ago

  • Blocks Story #7942: As a sync user, I get no-op when possible added

#2 Updated by pulpbot about 2 months ago

  • Status changed from NEW to POST

#4 Updated by Anonymous about 1 month ago

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

#5 Updated by fao89 23 days ago

  • Sprint/Milestone set to 0.7.0

#6 Updated by pulpbot 22 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF