Project

Profile

Help

Story #7941

closed

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 over 3 years ago. Updated about 3 years 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 - CURRENTRELEASEfao89

Actions

Also available in: Atom PDF