Project

Profile

Help

Issue #5579

closed

Story #5517: [EPIC] Automation Hub Release Blockers

Add the ability to set a certification status for a collection version

Added by newswangerd about 5 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 60
Quarter:

Description

Change is_certified to a certification enum in the database that accepts following values

  • certified
  • not_certified
  • needs_review

Create endpoint to set certification to either of the three options listed above

On /pulp/api/v3/content/ansible/collection_versions/

  • Create a certification flag that returns only collection_versions that meet the given certification status
  • If certification is used with the is_highest flag, return the highest collection version that meets the given certification status

Example: if certification=certifiedand is_highest=true and collection A has three versions: v1.0.0 (certified), v1.0.1 (certified), v1.0.2 (not_certified), return only Collection A, v1.0.1

  • Ensure certification is being returned as a value on the API

New collections should default to needs_review

Also available in: Atom PDF