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 almost 4 years ago. Updated almost 4 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
Actions #1

Updated by bmbouter almost 4 years ago

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

Updated by pulpbot almost 4 years ago

  • Status changed from NEW to POST

Added by Fabricio Aguiar almost 4 years ago

Revision 6be64b8a | View on GitHub

New endpoint - all collection versions unpaginated

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

(cherry picked from commit 0db524e54470c4ed6ccf342de49b1fc1cb52aa45)

Actions #4

Updated by Anonymous almost 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #5

Updated by fao89 almost 4 years ago

  • Sprint/Milestone set to 0.7.0
Actions #6

Updated by pulpbot almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF