Project

General

Profile

Actions

Bug #37125

open

Add "container" APIs that match the docker APIs

Added by Eric Helms 3 months ago. Updated about 2 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Related issues 2 (2 open0 closed)

Related to Katello - Bug #37221: Rename docker to container in hammerNewActions
Related to Katello - Bug #37124: Rename docker content type to containerNewActions
Actions #1

Updated by Eric Helms 3 months ago

  • Tracker changed from Feature to Bug
  • Description updated (diff)
  • Red Hat JIRA set to SAT-22964
Actions #2

Updated by Jeremy Lenz 3 months ago

  • Target version set to Katello 4.13.0
  • Triaged changed from No to Yes
Actions #3

Updated by Ian Ballou 2 months ago

Relevant endpoints:

GET /katello/api/docker_manifest_lists List docker_manifest_lists
GET /katello/api/content_views/:content_view_id/filters/:filter_id/docker_manifest_lists List docker_manifest_lists
GET /katello/api/content_view_filters/:content_view_filter_id/docker_manifest_lists List docker_manifest_lists
GET /katello/api/repositories/:repository_id/docker_manifest_lists List docker_manifest_lists
GET /katello/api/docker_manifest_lists/:id Show a docker manifest list
GET /katello/api/repositories/:repository_id/docker_manifest_lists/:id Show a docker manifest list
GET /katello/api/docker_manifest_lists/compare List docker_manifest_lists

GET /katello/api/docker_manifests List docker_manifests
GET /katello/api/content_views/:content_view_id/filters/:filter_id/docker_manifests List docker_manifests
GET /katello/api/content_view_filters/:content_view_filter_id/docker_manifests List docker_manifests
GET /katello/api/repositories/:repository_id/docker_manifests List docker_manifests
GET /katello/api/docker_manifests/:id Show a docker manifest
GET /katello/api/repositories/:repository_id/docker_manifests/:id Show a docker manifest
GET /katello/api/docker_manifests/compare List docker_manifests

GET /katello/api/docker_tags List docker_tags
GET /katello/api/content_views/:content_view_id/filters/:filter_id/docker_tags List docker_tags
GET /katello/api/content_view_filters/:content_view_filter_id/docker_tags List docker_tags
GET /katello/api/repositories/:repository_id/docker_tags List docker_tags
GET /katello/api/docker_tags/:id Show a docker tag
GET /katello/api/repositories/:repository_id/docker_tags/:id Show a docker tag
GET /katello/api/docker_tags/compare List docker_tags
GET /katello/api/docker_tags/:id/repositories List of repositories for a docker meta tag

PUT /katello/api/repositories/:id/remove_docker_manifests

Actions #4

Updated by Ian Ballou 2 months ago

I'm thinking of just renaming docker to container and then adding in the old docker endpoints for backwards-compatibility.

Actions #5

Updated by Ian Ballou 2 months ago

I'm thinking it might be better to not try to rename docker absolutely everywhere in the code -- we'd also need to deal with database migrations and such. To keep things simple, if just the API, CLI, UI, and FAM get the renames, then users should never have to see 'docker' unless they do some deeper debugging.

So, to that point, I will be 'just' adding new container endpoints rather than renaming absolutely everything from the start.

Actions #6

Updated by Ian Ballou about 2 months ago

  • Related to Bug #37221: Rename docker to container in hammer added
Actions #7

Updated by Ian Ballou about 2 months ago

  • Related to Bug #37124: Rename docker content type to container added
Actions #8

Updated by Chris Roberts about 2 months ago

  • Category set to API
  • Status changed from New to Assigned
  • Assignee set to Chris Roberts
Actions

Also available in: Atom PDF