Project

Profile

Help

Issue #4447

version create api seems to take repository id instead of href

Added by jsherril@redhat.com 8 months ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
High
Category:
API
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello-P1
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 49

Description

The generated ruby bindings for the pulp3 api seem to rely on a repository id when creating a repository version instead of an href:

  1. pulp3_api.repositories_versions_create('/pulp/api/v3/repositories/8/', {})
    Does not work:
    POST /pulp/api/v3/repositories/pulp/api/v3/repositories/8/versions/ HTTP/1.1
    HTTP/1.1 404 Not Found
    

#pulp3_api.repositories_versions_create('8', {})
works

Associated revisions

Revision 381e59f8 View on GitHub
Added by dkliban@redhat.com 8 months ago

Problem: wrong OpenAPI schema of repo version list, create APIs

Solution: update the schema generator to account for _id introduced as part of https://pulp.plan.io/issues/4206

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

Revision 381e59f8 View on GitHub
Added by dkliban@redhat.com 8 months ago

Problem: wrong OpenAPI schema of repo version list, create APIs

Solution: update the schema generator to account for _id introduced as part of https://pulp.plan.io/issues/4206

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

History

#1 Updated by CodeHeeler 8 months ago

  • Priority changed from Normal to High
  • Triaged changed from No to Yes
  • Sprint set to Sprint 49
  • Tags Pulp 3, Pulp 3 RC Blocker added

#2 Updated by CodeHeeler 8 months ago

  • Tags Katello-P1 added

#3 Updated by dkliban@redhat.com 8 months ago

  • Status changed from NEW to POST
  • Assignee set to dkliban@redhat.com

#4 Updated by dkliban@redhat.com 8 months ago

  • Status changed from POST to MODIFIED

#5 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#6 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3, Pulp 3 RC Blocker)

Please register to edit this issue

Also available in: Atom PDF