Project

General

Profile

Actions

Tracker #33448

closed

Tracker #33447: Alternate Content Sources Support Tracker (MVP)

As a user, I can CRUD custom ACSs via the API and hammer

Added by Ian Ballou about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
% Done:

100%

Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Input: smart proxies, optional auth credentials (content credentials or basic auth info), optional headers (needed?), a base url, an optional list of subpaths, and http proxy info

DB tables draft:

katello_alternate_content_sources
-> belongs_to :gpg_key, :ssl_ca_cert, :ssl_client_cert, :ssl_client_key (optional)
-> belongs_to :product (optional, for CDN and probably RHUI ACS)
-> base_url
-> headers (needed?)
-> subpaths (array of strings)
-> type (custom, cdn, rhui)
-> content_type (custom only)
-> belongs_to :http_proxy
-> name
-> label
-> description
-> verify_ssl
katello_smart_proxy_alternate_content_sources
-> smart_proxy_id
-> alternate_content_source_id
-> remote_href
-> alternate_content_source_href

Backend DB steps after create form is submitted:
-> Create ACS in Katello DB
-> Create ACSs in Pulp for each Smart Proxy associated to the Katello ACS:
-> Create Pulp remote using Katello ACS base url, auth credentials, headers (if using), and proxy info
-> Create Pulp ACS using the created remote and the Katello ACS’s subpaths
-> Create Smart Proxy ACSs with a remote href, ACS href, Smart Proxy ID, and ACS ID from the ACS creation tasks
-> Since smart proxies can share Katello ACSs but will have separate ACSs and ACS remotes in Pulp

If an ACS has a change in smart proxies, we need a schedule a task to create and/or delete the related ACSs.


Subtasks 2 (0 open2 closed)

Feature #34033: As a user, I can CRUD custom ACSs via hammerClosedChris RobertsActions
Feature #34034: As a user, I can CRUD custom ACSs via the APIClosedIan BallouActions
Actions #1

Updated by Ian Ballou about 3 years ago

  • Subject changed from As a user, I can CRUD custom ACSs via the API to As a user, I can CRUD custom ACSs via the API and hammer
Actions #2

Updated by Jonathon Turel about 3 years ago

  • Target version set to Katello 4.3.0
Actions #3

Updated by Ian Ballou about 3 years ago

  • Target version changed from Katello 4.3.0 to Katello Backlog
Actions #4

Updated by Samir Jha about 3 years ago

  • Triaged changed from No to Yes
Actions #5

Updated by Ian Ballou almost 3 years ago

  • Subject changed from As a user, I can CRUD custom ACSs via the API and hammer to As a user, I can CRUD custom ACSs via the API
Actions #6

Updated by Ian Ballou almost 3 years ago

  • Tracker changed from Feature to Tracker
  • Subject changed from As a user, I can CRUD custom ACSs via the API to As a user, I can CRUD custom ACSs via the API and hammer
  • % Done set to 0
Actions #7

Updated by Ian Ballou over 2 years ago

  • Description updated (diff)
Actions #8

Updated by Ian Ballou over 2 years ago

  • Description updated (diff)
Actions #9

Updated by Ian Ballou over 2 years ago

  • Category set to Repositories
  • Target version changed from Katello Backlog to Katello 4.5.0
Actions #10

Updated by Ian Ballou over 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF