Project

Profile

Help

Story #8177

closed

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

As a sync user, I use the efficient unpaginated metadata endpoints if they are available

Added by fao89 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:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 90
Quarter:

Description

The first stage needs to keep all the existing code and fall back to it if the "new metadata endpoints are not available". They are only available on the Galaxy V3 API and if the server side implements them.

Sync Workflow Changes

  1. Fetch all collection data from /pulp_ansible/galaxy/<path:path>/api/v3/metadata/collections/.
  2. Fetch all collection version data from /pulp_ansible/galaxy/<path:path>/api/v3/metadata/collection_versions/.
  3. Build the declarative versions using the data from steps 1 & 2 and sync normally.

Related issues

Copied from Ansible Plugin - Story #7942: As a sync user, I get no-op when possibleCLOSED - CURRENTRELEASEfao89

Actions

Also available in: Atom PDF