Project

General

Profile

Feature #29951

Tracker #29924: [SAT-E-492] Change Subs workflow when SCA is enabled

[sat-e-492] Disable or enable a repo by default under product/repo

Added by Jeremy Lenz about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Add the ability to choose if the default state for a repo is enabled or disabled
Activation Keys should continue to allow this to be overridden
The default value should not change and it taken from the imported manifest

Associated revisions

Revision 80c3541a (diff)
Added by Partha Aji about 2 years ago

Fixes #29951 - Auto Enable/Disable repository (#8805)

This commit adds a "auto_enabled" flag to the repository. This flag will
set the default "enablement" state for the content in candlepin. On host
registration the redhat repo will be automatically set to the
auto_enabled value by subscription manager.
This feature is only available for custom repos.

This commit also adds UI in addition to the API bindings.

Update app/lib/actions/katello/product/content_create.rb

Co-authored-by: Jeremy Lenz <>

Update test/actions/katello/repository_test.rb

Co-authored-by: Jeremy Lenz <>

Update test/models/root_repository_test.rb

Co-authored-by: Jeremy Lenz <>

Co-authored-by: Jeremy Lenz <>

History

#1 Updated by Jonathon Turel about 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.0.0

#2 Updated by Jonathon Turel about 2 years ago

  • Bugzilla link set to 1265120

#3 Updated by The Foreman Bot about 2 years ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8805 added

#4 Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases Katello 4.0.0 added

#5 Updated by Partha Aji about 2 years ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Chris Roberts about 2 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0

Also available in: Atom PDF