Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #37865 - Add Multi environments to activation key info #957

Closed
wants to merge 2 commits into from

Conversation

chris1984
Copy link
Member

  • Adds support for multi environment activation keys.
  • Enabled a test we had skipped since Katello 4.5 that has been fixed for a long time

With PR with an ak that has multiple envs:

[vagrant@devel hammer-cli-katello]$ hammer activation-key info --id 36
Name:                           foo-env
Id:                             36
Host Limit:                     0 of Unlimited
Multi Content View Environment: yes
Organization:
 1) Id:   1
    Name: Default Organization
Content view environments:
 1) Content view:
        Id:                      2
        Name:                    Mixed
        Version:                 1.0
        Content view version Id: 2
        Composite:               no
    Lifecycle environment:
        Id:   1
        Name: Library
    Candlepin Name:        Library/Mixed
 2) Content view:
        Id:                      3
        Name:                    Animals
        Version:                 1.0
        Content view version Id: 3
        Composite:               no
    Lifecycle environment:
        Id:   2
        Name: Dev
    Candlepin Name:        Dev/Animals

AK with single env:

[vagrant@devel hammer-cli-katello]$ hammer activation-key info --id 35
Name:                           foo
Id:                             35
Host Limit:                     0 of Unlimited
Multi Content View Environment: no
Organization:
 1) Id:   1
    Name: Default Organization
Content view environments:
 1) Content view:
        Id:                      2
        Name:                    Mixed
        Version:                 1.0
        Content view version Id: 2
        Composite:               no
    Lifecycle environment:
        Id:   1
        Name: Library
    Candlepin Name:        Library/Mixed

Also enabled a skipped test that has been fixed since katello 4.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant