Project

Profile

Help

Issue #4447

closed

version create api seems to take repository id instead of href

Added by jsherril@redhat.com almost 6 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 49
Quarter:

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

Actions #1

Updated by CodeHeeler almost 6 years 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
Actions #2

Updated by CodeHeeler almost 6 years ago

  • Tags Katello-P1 added

Added by dkliban@redhat.com almost 6 years ago

Revision 381e59f8 | View on GitHub

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

Added by dkliban@redhat.com almost 6 years ago

Revision 381e59f8 | View on GitHub

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

Actions #3

Updated by dkliban@redhat.com almost 6 years ago

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

Updated by dkliban@redhat.com almost 6 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #6

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 RC Blocker)
Actions #7

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #8

Updated by ggainey over 4 years ago

  • Tags Katello added
  • Tags deleted (Katello-P1)
Actions #9

Updated by bmbouter over 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF