hammer_cli_katello 0.24.4 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello.rb +11 -15
  3. data/lib/hammer_cli_katello/activation_key.rb +5 -5
  4. data/lib/hammer_cli_katello/capsule.rb +2 -3
  5. data/lib/hammer_cli_katello/command_extensions/lifecycle_environment.rb +10 -7
  6. data/lib/hammer_cli_katello/command_extensions/lifecycle_environments.rb +11 -8
  7. data/lib/hammer_cli_katello/content_credential.rb +20 -19
  8. data/lib/hammer_cli_katello/content_export.rb +1 -0
  9. data/lib/hammer_cli_katello/content_export_helper.rb +1 -1
  10. data/lib/hammer_cli_katello/content_import.rb +16 -1
  11. data/lib/hammer_cli_katello/content_view.rb +16 -31
  12. data/lib/hammer_cli_katello/content_view_version.rb +4 -273
  13. data/lib/hammer_cli_katello/deb_package.rb +3 -3
  14. data/lib/hammer_cli_katello/docker.rb +13 -0
  15. data/lib/hammer_cli_katello/docker_manifest.rb +53 -0
  16. data/lib/hammer_cli_katello/docker_tag.rb +40 -0
  17. data/lib/hammer_cli_katello/erratum.rb +1 -1
  18. data/lib/hammer_cli_katello/erratum_info_command.rb +1 -1
  19. data/lib/hammer_cli_katello/file.rb +3 -3
  20. data/lib/hammer_cli_katello/filter.rb +2 -2
  21. data/lib/hammer_cli_katello/foreman_search_options_creators.rb +0 -12
  22. data/lib/hammer_cli_katello/host_collection.rb +2 -2
  23. data/lib/hammer_cli_katello/host_collection_erratum.rb +10 -0
  24. data/lib/hammer_cli_katello/host_collection_package.rb +30 -0
  25. data/lib/hammer_cli_katello/host_collection_package_group.rb +30 -0
  26. data/lib/hammer_cli_katello/host_deb.rb +1 -1
  27. data/lib/hammer_cli_katello/host_errata.rb +9 -1
  28. data/lib/hammer_cli_katello/host_extensions.rb +5 -5
  29. data/lib/hammer_cli_katello/host_package.rb +33 -1
  30. data/lib/hammer_cli_katello/host_package_group.rb +16 -0
  31. data/lib/hammer_cli_katello/hostgroup_extensions.rb +4 -4
  32. data/lib/hammer_cli_katello/id_resolver.rb +3 -6
  33. data/lib/hammer_cli_katello/lifecycle_environment.rb +2 -2
  34. data/lib/hammer_cli_katello/module_stream.rb +8 -8
  35. data/lib/hammer_cli_katello/organization.rb +10 -0
  36. data/lib/hammer_cli_katello/organization_options.rb +8 -6
  37. data/lib/hammer_cli_katello/ostree_branch.rb +2 -2
  38. data/lib/hammer_cli_katello/package.rb +5 -5
  39. data/lib/hammer_cli_katello/package_group.rb +4 -4
  40. data/lib/hammer_cli_katello/ping.rb +13 -19
  41. data/lib/hammer_cli_katello/product.rb +3 -3
  42. data/lib/hammer_cli_katello/product_content.rb +2 -2
  43. data/lib/hammer_cli_katello/repository.rb +27 -37
  44. data/lib/hammer_cli_katello/repository_set.rb +4 -4
  45. data/lib/hammer_cli_katello/simple_content_access.rb +42 -0
  46. data/lib/hammer_cli_katello/srpm.rb +2 -2
  47. data/lib/hammer_cli_katello/subscription.rb +2 -3
  48. data/lib/hammer_cli_katello/sync_plan.rb +2 -2
  49. data/lib/hammer_cli_katello/version.rb +1 -1
  50. data/locale/hammer-cli-katello.pot +0 -25
  51. data/test/data/3.18/foreman_api.json +1 -1
  52. data/test/data/3.19/foreman_api.json +1 -0
  53. data/test/data/4.0/foreman_api.json +1 -0
  54. data/test/data/4.1/foreman_api.json +1 -0
  55. data/test/functional/activation_key/subscriptions_test.rb +5 -2
  56. data/test/functional/capsule/content/info_test.rb +1 -2
  57. data/test/functional/content_credentials/create_test.rb +32 -0
  58. data/test/functional/{repository → content_credentials}/data/test_cert.json +0 -0
  59. data/test/functional/content_credentials/list_test.rb +6 -8
  60. data/test/functional/content_export/complete/version_test.rb +35 -0
  61. data/test/functional/content_export/list_test.rb +9 -9
  62. data/test/functional/content_import/list_test.rb +65 -0
  63. data/test/functional/content_import/version_test.rb +6 -6
  64. data/test/functional/content_view/list_test.rb +0 -2
  65. data/test/functional/content_view/publish_test.rb +0 -21
  66. data/test/functional/content_view/version/promote_test.rb +1 -2
  67. data/test/functional/content_view/version/republish_repositories_test.rb +1 -2
  68. data/test/functional/host/errata/apply_test.rb +0 -2
  69. data/test/functional/host/errata/recalculate_test.rb +0 -2
  70. data/test/functional/organization/info_test.rb +22 -0
  71. data/test/functional/ping_test.rb +52 -15
  72. data/test/functional/repository/create_test.rb +0 -30
  73. data/test/functional/repository/info_test.rb +4 -4
  74. data/test/functional/repository/list_test.rb +0 -2
  75. data/test/functional/simple_content_access/disable_test.rb +48 -0
  76. data/test/functional/simple_content_access/enable_test.rb +46 -0
  77. data/test/test_helper.rb +1 -1
  78. metadata +24 -52
  79. data/lib/hammer_cli_katello/content_view_puppet_module.rb +0 -60
  80. data/lib/hammer_cli_katello/cv_import_export_helper.rb +0 -166
  81. data/lib/hammer_cli_katello/gpg_key.rb +0 -67
  82. data/lib/hammer_cli_katello/puppet_module.rb +0 -59
  83. data/test/functional/content_view/puppet_module/add_test.rb +0 -24
  84. data/test/functional/content_view/puppet_module/remove_test.rb +0 -54
  85. data/test/functional/content_view/version/default_export_test.rb +0 -40
  86. data/test/functional/content_view/version/export_test.rb +0 -136
  87. data/test/functional/content_view/version/import_test.rb +0 -318
  88. data/test/functional/gpg_test.rb +0 -39
  89. data/test/functional/repository/data/test_ca.json +0 -43
  90. data/test/functional/repository/data/test_key.json +0 -43
@@ -1,8 +1,6 @@
1
1
  require File.join(File.dirname(__FILE__), '../test_helper')
2
2
  require File.join(File.dirname(__FILE__), '../lifecycle_environment/lifecycle_environment_helpers')
3
3
 
4
- require 'hammer_cli_katello/content_view_puppet_module'
5
-
6
4
  describe 'listing content-views' do
7
5
  include LifecycleEnvironmentHelpers
8
6
 
@@ -1,5 +1,4 @@
1
1
  require_relative '../test_helper'
2
- require 'hammer_cli_katello/content_view_puppet_module'
3
2
  require 'hammer_cli_katello/content_view'
4
3
 
5
4
  module HammerCLIKatello
@@ -22,24 +21,4 @@ module HammerCLIKatello
22
21
  run_cmd(%w(content-view publish --major 5 --minor 1 --organization org1 --name cv --async))
23
22
  end
24
23
  end
25
-
26
- describe ContentViewPuppetModule do
27
- it 'allows adding a puppet module' do
28
- ex = api_expects(:organizations, :index) do |p|
29
- p[:search] == "name = \"org1\""
30
- end
31
- ex.returns(index_response([{'id' => 1}]))
32
-
33
- ex = api_expects(:content_views, :index) do |p|
34
- p['name'] == 'cv' && p['organization_id'] == 1
35
- end
36
- ex.returns(index_response([{'id' => 3}]))
37
-
38
- api_expects(:content_views, :publish) do |p|
39
- p['id'] == 3
40
- end
41
-
42
- run_cmd(%w(content-view publish --organization org1 --name cv --async))
43
- end
44
- end
45
24
  end
@@ -1,8 +1,7 @@
1
1
  require_relative '../../test_helper'
2
- require 'hammer_cli_katello/content_view_puppet_module'
3
2
 
4
3
  module HammerCLIKatello
5
- describe ContentViewPuppetModule do
4
+ describe ContentViewVersion::PromoteCommand do
6
5
  it 'allows promoting a content view' do
7
6
  ex = api_expects(:organizations, :index) do |p|
8
7
  p[:search] == "name = \"org1\""
@@ -1,8 +1,7 @@
1
1
  require_relative '../../test_helper'
2
- require 'hammer_cli_katello/content_view_puppet_module'
3
2
 
4
3
  module HammerCLIKatello
5
- describe ContentViewPuppetModule do
4
+ describe ContentViewVersion::RepublishRepositoriesCommand do
6
5
  include ForemanTaskHelpers
7
6
  include OrganizationHelpers
8
7
 
@@ -1,7 +1,5 @@
1
1
  require File.join(File.dirname(__FILE__), '../../test_helper')
2
2
 
3
- require 'hammer_cli_katello/content_view_puppet_module'
4
-
5
3
  describe 'apply an errata' do
6
4
  include ForemanTaskHelpers
7
5
 
@@ -1,7 +1,5 @@
1
1
  require File.join(File.dirname(__FILE__), '../../test_helper')
2
2
 
3
- require 'hammer_cli_katello/content_view_puppet_module'
4
-
5
3
  describe 'recalculate errata' do
6
4
  include ForemanTaskHelpers
7
5
 
@@ -0,0 +1,22 @@
1
+ require_relative '../test_helper'
2
+ require 'hammer_cli_katello/organization'
3
+ require 'hammer_cli_katello/associating_commands'
4
+
5
+ describe HammerCLIKatello::Organization::InfoCommand do
6
+ before do
7
+ @cmd = %w(organization info)
8
+ end
9
+
10
+ it "includes simple content access attributes" do
11
+ org_id = 2
12
+ params = ["--id=#{org_id}"]
13
+ api_expects(:organizations, :index).returns(index_response([{'id' => org_id}]))
14
+
15
+ api_expects(:organizations, :show)
16
+ .with_params('id' => org_id.to_s)
17
+ .returns("simple_content_access" => true, "id" => org_id)
18
+ result = run_cmd(@cmd + params)
19
+ expected = success_result(FieldMatcher.new('Simple Content Access', 'Enabled'))
20
+ assert_cmd(expected, result)
21
+ end
22
+ end
@@ -1,22 +1,59 @@
1
1
  require_relative 'test_helper'
2
2
 
3
3
  describe 'ping' do
4
+ let(:standard_response_services) do
5
+ {
6
+ 'katello_agent' =>
7
+ {'status' => 'ok', 'message' => '0 Processed, 0 Failed', 'duration_ms' => '34'},
8
+ 'foreman_tasks' =>
9
+ {'status' => 'ok', 'duration_ms' => '34'},
10
+ 'candlepin' => {'status' => 'ok', 'duration_ms' => '34'},
11
+ 'candlepin_events' =>
12
+ {'status' => 'ok', 'message' => '0 Processed, 0 Failed', 'duration_ms' => '34'},
13
+ 'candlepin_auth' =>
14
+ {'status' => 'ok', 'duration_ms' => '34'},
15
+ 'katello_events' =>
16
+ {'status' => 'ok', 'message' => '0 Processed, 0 Failed', 'duration_ms' => '34'},
17
+ 'pulp3' =>
18
+ {'status' => 'ok', 'duration_ms' => '34'}
19
+ }
20
+ end
21
+ let(:standard_response) do
22
+ {
23
+ 'status' => 'ok',
24
+ 'services' => standard_response_services
25
+ }
26
+ end
27
+ let(:standard_response_keys) do
28
+ %w(katello_agent foreman_tasks candlepin candlepin_events
29
+ candlepin_auth katello_events pulp3).sort
30
+ end
31
+ let(:hammer_ping) { %w(ping katello) }
32
+
4
33
  it 'does not require authentication' do
5
- api_expects(:ping, :index).returns(
34
+ api_expects(:ping, :index).returns(standard_response)
35
+
36
+ run_cmd(hammer_ping)
37
+ end
38
+
39
+ it "includes all keys" do
40
+ api_expects(:ping, :index).returns(standard_response)
41
+
42
+ result = JSON.parse(run_cmd(%w(--output=json ping katello))&.out)&.first&.keys&.sort
43
+ expected = standard_response_keys
44
+
45
+ assert_equal result, expected
46
+ end
47
+
48
+ it "skips katello_agent if not included in API response" do
49
+ response_without_katello_agent = {
6
50
  'status' => 'ok',
7
- 'services' => {
8
- 'foreman_tasks' => {'status' => 'ok', 'duration_ms' => '34'},
9
- 'foreman_auth' => {'status' => 'ok', 'duration_ms' => '34'},
10
- 'candlepin' => {'status' => 'ok', 'duration_ms' => '34'},
11
- 'candlepin_events' => {'status' => 'ok', 'message' => '0 messages', 'duration_ms' => '34'},
12
- 'candlepin_auth' => {'status' => 'ok', 'duration_ms' => '34'},
13
- 'katello_events' => {'status' => 'ok', 'message' => '0 messages', 'duration_ms' => '34'},
14
- 'pulp' => {'status' => 'ok', 'duration_ms' => '34'},
15
- 'pulp_auth' => {'status' => 'ok', 'duration_ms' => '34'},
16
- 'pulp3' => {'status' => 'ok', 'duration_ms' => '34'}
17
- }
18
- )
19
-
20
- run_cmd(%w(ping katello))
51
+ 'services' => standard_response_services.select { |k, _v| k != 'katello_agent' }
52
+ }
53
+ api_expects(:ping, :index).returns(response_without_katello_agent)
54
+ result = JSON.parse(run_cmd(%w(--output=json ping katello))&.out)&.first&.keys&.sort
55
+ expected = standard_response_keys.select { |k| k != 'katello_agent' }
56
+
57
+ assert_equal result, expected
21
58
  end
22
59
  end
@@ -18,34 +18,4 @@ describe "create repository" do
18
18
 
19
19
  assert_equal(0, run_cmd(command).exit_code)
20
20
  end
21
-
22
- it 'with ssl options by name' do
23
- def stub_gpg_key(gpg_key_name)
24
- gpg_key_index = api_expects(:gpg_keys, :index)
25
- .with_params(
26
- name: gpg_key_name.to_s,
27
- organization_id: 1,
28
- per_page: 1000,
29
- page: 1)
30
- gpg_response = File.join(File.dirname(__FILE__), 'data', "#{gpg_key_name}.json")
31
- gpg_key_index.returns(JSON.parse(File.read(gpg_response)))
32
- end
33
-
34
- api_expects(:repositories, :create)
35
- .with_params(
36
- name: name,
37
- product_id: product_id,
38
- ssl_ca_cert_id: 1,
39
- ssl_client_cert_id: 2,
40
- ssl_client_key_id: 3,
41
- content_type: content_type)
42
-
43
- %w(test_cert test_key test_ca).each { |cred| stub_gpg_key(cred) }
44
-
45
- command = %W(repository create --organization-id #{org_id} --product-id #{product_id}
46
- --content-type #{content_type} --name #{name} --ssl-client-cert test_cert
47
- --ssl-client-key test_key --ssl-ca-cert test_ca)
48
-
49
- assert_equal(0, run_cmd(command).exit_code)
50
- end
51
21
  end
@@ -46,7 +46,7 @@ describe "get repository info" do
46
46
  )
47
47
  result = run_cmd(@cmd + params)
48
48
  # rubocop:disable Style/WordArray
49
- expected_fields = [['ID', '1'],
49
+ expected_fields = [['Id', '1'],
50
50
  ['Name', 'Test Repo'],
51
51
  ['Label', 'Test_Repo'],
52
52
  ['Description', 'hammertime'],
@@ -59,7 +59,7 @@ describe "get repository info" do
59
59
  ['Download Policy', 'immediate'],
60
60
  ['HTTP Proxy', ''],
61
61
  ['Product', ''],
62
- ['ID', '79'],
62
+ ['Id', '79'],
63
63
  ['Name', 'test'],
64
64
  ['GPG Key', ''],
65
65
  ['Sync', ''],
@@ -122,7 +122,7 @@ describe "get repository info" do
122
122
  )
123
123
  result = run_cmd(@cmd + params)
124
124
  # rubocop:disable Style/WordArray
125
- expected_fields = [['ID', '1'],
125
+ expected_fields = [['Id', '1'],
126
126
  ['Name', 'Test Repo'],
127
127
  ['Label', 'Test_Repo'],
128
128
  ['Description', 'hammertime'],
@@ -135,7 +135,7 @@ describe "get repository info" do
135
135
  ['Download Policy', 'immediate'],
136
136
  ['HTTP Proxy', ''],
137
137
  ['Product', ''],
138
- ['ID', '79'],
138
+ ['Id', '79'],
139
139
  ['Name', 'Test_Product'],
140
140
  ['GPG Key', ''],
141
141
  ['Sync', ''],
@@ -1,8 +1,6 @@
1
1
  require File.join(File.dirname(__FILE__), '../test_helper')
2
2
  require File.join(File.dirname(__FILE__), '../lifecycle_environment/lifecycle_environment_helpers')
3
3
 
4
- require 'hammer_cli_katello/content_view_puppet_module'
5
-
6
4
  describe 'listing repositories' do
7
5
  include LifecycleEnvironmentHelpers
8
6
 
@@ -0,0 +1,48 @@
1
+ require File.join(File.dirname(__FILE__), '../../test_helper')
2
+
3
+ describe 'simple-content-access disable' do
4
+ before do
5
+ @cmd = %w(simple-content-access disable)
6
+ end
7
+
8
+ let(:organization_id) { 3 }
9
+
10
+ it "disables with required options" do
11
+ params = ["--organization-id=#{organization_id}"]
12
+
13
+ api_expects(:simple_content_access, :eligible).
14
+ with_params('organization_id' => organization_id).
15
+ returns("simple_content_access_eligible" => true)
16
+
17
+ api_expects(:simple_content_access, :disable)
18
+ .with_params('organization_id' => organization_id)
19
+ run_cmd(@cmd + params)
20
+ end
21
+
22
+ it 'fails on missing required params' do
23
+ params = []
24
+
25
+ result = run_cmd(@cmd + params)
26
+ expected_error = "Could not disable Simple Content Access for this organization"
27
+
28
+ assert_equal(result.exit_code, HammerCLI::EX_SOFTWARE)
29
+ assert_equal(result.err[/#{expected_error}/], expected_error)
30
+ end
31
+
32
+ it 'fails on non eligible org' do
33
+ params = ["--organization-id=#{organization_id}"]
34
+
35
+ api_expects(:simple_content_access, :eligible).
36
+ with_params('organization_id' => organization_id).
37
+ returns("simple_content_access_eligible" => false)
38
+
39
+ api_expects(:simple_content_access, :disable)
40
+ .with_params('organization_id' => organization_id).never
41
+ result = run_cmd(@cmd + params)
42
+
43
+ expected_error = "Could not disable Simple Content Access for this organization"
44
+
45
+ assert_equal(result.exit_code, HammerCLI::EX_SOFTWARE)
46
+ assert_equal(result.err[/#{expected_error}/], expected_error)
47
+ end
48
+ end
@@ -0,0 +1,46 @@
1
+ require File.join(File.dirname(__FILE__), '../../test_helper')
2
+
3
+ describe 'simple-content-access enable' do
4
+ before do
5
+ @cmd = %w(simple-content-access enable)
6
+ end
7
+
8
+ let(:organization_id) { 3 }
9
+
10
+ it "enables with required options" do
11
+ params = ["--organization-id=#{organization_id}"]
12
+ api_expects(:simple_content_access, :eligible).
13
+ with_params('organization_id' => organization_id).
14
+ returns("simple_content_access_eligible" => true)
15
+
16
+ api_expects(:simple_content_access, :enable)
17
+ .with_params('organization_id' => organization_id)
18
+ run_cmd(@cmd + params)
19
+ end
20
+
21
+ it 'fails on missing required params' do
22
+ params = []
23
+ result = run_cmd(@cmd + params)
24
+ expected_error = "Could not enable Simple Content Access for this organization"
25
+
26
+ assert_equal(result.exit_code, HammerCLI::EX_SOFTWARE)
27
+ assert_equal(result.err[/#{expected_error}/], expected_error)
28
+ end
29
+
30
+ it 'fails on non eligible org' do
31
+ params = ["--organization-id=#{organization_id}"]
32
+
33
+ api_expects(:simple_content_access, :eligible).
34
+ with_params('organization_id' => organization_id).
35
+ returns("simple_content_access_eligible" => false)
36
+
37
+ api_expects(:simple_content_access, :enable)
38
+ .with_params('organization_id' => organization_id).never
39
+ result = run_cmd(@cmd + params)
40
+
41
+ expected_error = "Could not enable Simple Content Access for this organization"
42
+
43
+ assert_equal(result.exit_code, HammerCLI::EX_SOFTWARE)
44
+ assert_equal(result.err[/#{expected_error}/], expected_error)
45
+ end
46
+ end
data/test/test_helper.rb CHANGED
@@ -17,7 +17,7 @@ require 'minitest/spec'
17
17
  require 'mocha/minitest'
18
18
  require 'hammer_cli'
19
19
 
20
- KATELLO_VERSION = Gem::Version.new(ENV['TEST_API_VERSION'] || '3.18')
20
+ KATELLO_VERSION = Gem::Version.new(ENV['TEST_API_VERSION'] || '4.1')
21
21
 
22
22
  if HammerCLI.context[:api_connection]
23
23
  HammerCLI.context[:api_connection].create('foreman') do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.4
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Price
@@ -35,7 +35,7 @@ authors:
35
35
  autorequire:
36
36
  bindir: bin
37
37
  cert_chain: []
38
- date: 2021-05-12 00:00:00.000000000 Z
38
+ date: 2021-06-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: hammer_cli_foreman
@@ -65,34 +65,6 @@ dependencies:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
- - !ruby/object:Gem::Dependency
69
- name: hammer_cli_foreman_bootdisk
70
- requirement: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
- type: :runtime
76
- prerelease: false
77
- version_requirements: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: '0'
82
- - !ruby/object:Gem::Dependency
83
- name: hammer_cli_foreman_docker
84
- requirement: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: '0'
89
- type: :runtime
90
- prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- version: '0'
96
68
  - !ruby/object:Gem::Dependency
97
69
  name: rake
98
70
  requirement: !ruby/object:Gem::Requirement
@@ -249,11 +221,12 @@ files:
249
221
  - lib/hammer_cli_katello/content_view.rb
250
222
  - lib/hammer_cli_katello/content_view_component.rb
251
223
  - lib/hammer_cli_katello/content_view_name_resolvable.rb
252
- - lib/hammer_cli_katello/content_view_puppet_module.rb
253
224
  - lib/hammer_cli_katello/content_view_purge.rb
254
225
  - lib/hammer_cli_katello/content_view_version.rb
255
- - lib/hammer_cli_katello/cv_import_export_helper.rb
256
226
  - lib/hammer_cli_katello/deb_package.rb
227
+ - lib/hammer_cli_katello/docker.rb
228
+ - lib/hammer_cli_katello/docker_manifest.rb
229
+ - lib/hammer_cli_katello/docker_tag.rb
257
230
  - lib/hammer_cli_katello/erratum.rb
258
231
  - lib/hammer_cli_katello/erratum_info_command.rb
259
232
  - lib/hammer_cli_katello/exception_handler.rb
@@ -261,7 +234,6 @@ files:
261
234
  - lib/hammer_cli_katello/filter.rb
262
235
  - lib/hammer_cli_katello/filter_rule.rb
263
236
  - lib/hammer_cli_katello/foreman_search_options_creators.rb
264
- - lib/hammer_cli_katello/gpg_key.rb
265
237
  - lib/hammer_cli_katello/host.rb
266
238
  - lib/hammer_cli_katello/host_collection.rb
267
239
  - lib/hammer_cli_katello/host_collection_erratum.rb
@@ -298,11 +270,11 @@ files:
298
270
  - lib/hammer_cli_katello/ping.rb
299
271
  - lib/hammer_cli_katello/product.rb
300
272
  - lib/hammer_cli_katello/product_content.rb
301
- - lib/hammer_cli_katello/puppet_module.rb
302
273
  - lib/hammer_cli_katello/repository.rb
303
274
  - lib/hammer_cli_katello/repository_scoped_to_product.rb
304
275
  - lib/hammer_cli_katello/repository_set.rb
305
276
  - lib/hammer_cli_katello/search_options_creators.rb
277
+ - lib/hammer_cli_katello/simple_content_access.rb
306
278
  - lib/hammer_cli_katello/srpm.rb
307
279
  - lib/hammer_cli_katello/status.rb
308
280
  - lib/hammer_cli_katello/subscription.rb
@@ -335,6 +307,7 @@ files:
335
307
  - test/data/3.16/foreman_api.json
336
308
  - test/data/3.17/foreman_api.json
337
309
  - test/data/3.18/foreman_api.json
310
+ - test/data/3.19/foreman_api.json
338
311
  - test/data/3.2/foreman_api.json
339
312
  - test/data/3.4/foreman_api.json
340
313
  - test/data/3.5/foreman_api.json
@@ -342,6 +315,8 @@ files:
342
315
  - test/data/3.7/foreman_api.json
343
316
  - test/data/3.8/foreman_api.json
344
317
  - test/data/3.9/foreman_api.json
318
+ - test/data/4.0/foreman_api.json
319
+ - test/data/4.1/foreman_api.json
345
320
  - test/data/Readme.md
346
321
  - test/functional/activation_key/add_host_collection_test.rb
347
322
  - test/functional/activation_key/content_override_test.rb
@@ -367,6 +342,8 @@ files:
367
342
  - test/functional/capsule/content/synchronization_status_test.rb
368
343
  - test/functional/capsule/info_test.rb
369
344
  - test/functional/capsule/list_test.rb
345
+ - test/functional/content_credentials/create_test.rb
346
+ - test/functional/content_credentials/data/test_cert.json
370
347
  - test/functional/content_credentials/info_test.rb
371
348
  - test/functional/content_credentials/list_test.rb
372
349
  - test/functional/content_export/complete/library_test.rb
@@ -377,6 +354,7 @@ files:
377
354
  - test/functional/content_export/incremental/version_test.rb
378
355
  - test/functional/content_export/list_test.rb
379
356
  - test/functional/content_import/library_test.rb
357
+ - test/functional/content_import/list_test.rb
380
358
  - test/functional/content_import/metadata.json
381
359
  - test/functional/content_import/version_test.rb
382
360
  - test/functional/content_view/add_content_view_version_test.rb
@@ -396,15 +374,10 @@ files:
396
374
  - test/functional/content_view/filter/update_test.rb
397
375
  - test/functional/content_view/list_test.rb
398
376
  - test/functional/content_view/publish_test.rb
399
- - test/functional/content_view/puppet_module/add_test.rb
400
- - test/functional/content_view/puppet_module/remove_test.rb
401
377
  - test/functional/content_view/purge_test.rb
402
378
  - test/functional/content_view/remove_content_view_version_test.rb
403
379
  - test/functional/content_view/remove_test.rb
404
380
  - test/functional/content_view/update_test.rb
405
- - test/functional/content_view/version/default_export_test.rb
406
- - test/functional/content_view/version/export_test.rb
407
- - test/functional/content_view/version/import_test.rb
408
381
  - test/functional/content_view/version/incremental_update_test.rb
409
382
  - test/functional/content_view/version/list_test.rb
410
383
  - test/functional/content_view/version/promote_test.rb
@@ -422,7 +395,6 @@ files:
422
395
  - test/functional/filter_rule/info_test.rb
423
396
  - test/functional/filter_rule/list_test.rb
424
397
  - test/functional/filter_rule/update_test.rb
425
- - test/functional/gpg_test.rb
426
398
  - test/functional/host/errata/apply_test.rb
427
399
  - test/functional/host/errata/info_test.rb
428
400
  - test/functional/host/errata/list_test.rb
@@ -468,6 +440,7 @@ files:
468
440
  - test/functional/module_stream/info_test.rb
469
441
  - test/functional/module_stream/list_test.rb
470
442
  - test/functional/organization/delete_test.rb
443
+ - test/functional/organization/info_test.rb
471
444
  - test/functional/organization/organization_helpers.rb
472
445
  - test/functional/package/list_test.rb
473
446
  - test/functional/package_group/list_test.rb
@@ -482,9 +455,6 @@ files:
482
455
  - test/functional/product/update_proxy.rb
483
456
  - test/functional/product/update_test.rb
484
457
  - test/functional/repository/create_test.rb
485
- - test/functional/repository/data/test_ca.json
486
- - test/functional/repository/data/test_cert.json
487
- - test/functional/repository/data/test_key.json
488
458
  - test/functional/repository/delete_test.rb
489
459
  - test/functional/repository/export_test.rb
490
460
  - test/functional/repository/info_test.rb
@@ -501,6 +471,8 @@ files:
501
471
  - test/functional/repository_set/list_test.rb
502
472
  - test/functional/repository_set/repository_set_helpers.rb
503
473
  - test/functional/search_helpers.rb
474
+ - test/functional/simple_content_access/disable_test.rb
475
+ - test/functional/simple_content_access/enable_test.rb
504
476
  - test/functional/srpm/list_test.rb
505
477
  - test/functional/subscription/list_test.rb
506
478
  - test/functional/sync_plan/create_test.rb
@@ -551,6 +523,7 @@ test_files:
551
523
  - test/data/3.16/foreman_api.json
552
524
  - test/data/3.17/foreman_api.json
553
525
  - test/data/3.18/foreman_api.json
526
+ - test/data/3.19/foreman_api.json
554
527
  - test/data/3.2/foreman_api.json
555
528
  - test/data/3.4/foreman_api.json
556
529
  - test/data/3.5/foreman_api.json
@@ -558,6 +531,8 @@ test_files:
558
531
  - test/data/3.7/foreman_api.json
559
532
  - test/data/3.8/foreman_api.json
560
533
  - test/data/3.9/foreman_api.json
534
+ - test/data/4.0/foreman_api.json
535
+ - test/data/4.1/foreman_api.json
561
536
  - test/data/Readme.md
562
537
  - test/functional/activation_key/add_host_collection_test.rb
563
538
  - test/functional/activation_key/content_override_test.rb
@@ -583,6 +558,8 @@ test_files:
583
558
  - test/functional/capsule/content/synchronization_status_test.rb
584
559
  - test/functional/capsule/info_test.rb
585
560
  - test/functional/capsule/list_test.rb
561
+ - test/functional/content_credentials/create_test.rb
562
+ - test/functional/content_credentials/data/test_cert.json
586
563
  - test/functional/content_credentials/info_test.rb
587
564
  - test/functional/content_credentials/list_test.rb
588
565
  - test/functional/content_export/complete/library_test.rb
@@ -593,6 +570,7 @@ test_files:
593
570
  - test/functional/content_export/incremental/version_test.rb
594
571
  - test/functional/content_export/list_test.rb
595
572
  - test/functional/content_import/library_test.rb
573
+ - test/functional/content_import/list_test.rb
596
574
  - test/functional/content_import/metadata.json
597
575
  - test/functional/content_import/version_test.rb
598
576
  - test/functional/content_view/add_content_view_version_test.rb
@@ -612,15 +590,10 @@ test_files:
612
590
  - test/functional/content_view/filter/update_test.rb
613
591
  - test/functional/content_view/list_test.rb
614
592
  - test/functional/content_view/publish_test.rb
615
- - test/functional/content_view/puppet_module/add_test.rb
616
- - test/functional/content_view/puppet_module/remove_test.rb
617
593
  - test/functional/content_view/purge_test.rb
618
594
  - test/functional/content_view/remove_content_view_version_test.rb
619
595
  - test/functional/content_view/remove_test.rb
620
596
  - test/functional/content_view/update_test.rb
621
- - test/functional/content_view/version/default_export_test.rb
622
- - test/functional/content_view/version/export_test.rb
623
- - test/functional/content_view/version/import_test.rb
624
597
  - test/functional/content_view/version/incremental_update_test.rb
625
598
  - test/functional/content_view/version/list_test.rb
626
599
  - test/functional/content_view/version/promote_test.rb
@@ -638,7 +611,6 @@ test_files:
638
611
  - test/functional/filter_rule/info_test.rb
639
612
  - test/functional/filter_rule/list_test.rb
640
613
  - test/functional/filter_rule/update_test.rb
641
- - test/functional/gpg_test.rb
642
614
  - test/functional/host/errata/apply_test.rb
643
615
  - test/functional/host/errata/info_test.rb
644
616
  - test/functional/host/errata/list_test.rb
@@ -684,6 +656,7 @@ test_files:
684
656
  - test/functional/module_stream/info_test.rb
685
657
  - test/functional/module_stream/list_test.rb
686
658
  - test/functional/organization/delete_test.rb
659
+ - test/functional/organization/info_test.rb
687
660
  - test/functional/organization/organization_helpers.rb
688
661
  - test/functional/package/list_test.rb
689
662
  - test/functional/package_group/list_test.rb
@@ -698,9 +671,6 @@ test_files:
698
671
  - test/functional/product/update_proxy.rb
699
672
  - test/functional/product/update_test.rb
700
673
  - test/functional/repository/create_test.rb
701
- - test/functional/repository/data/test_ca.json
702
- - test/functional/repository/data/test_cert.json
703
- - test/functional/repository/data/test_key.json
704
674
  - test/functional/repository/delete_test.rb
705
675
  - test/functional/repository/export_test.rb
706
676
  - test/functional/repository/info_test.rb
@@ -717,6 +687,8 @@ test_files:
717
687
  - test/functional/repository_set/list_test.rb
718
688
  - test/functional/repository_set/repository_set_helpers.rb
719
689
  - test/functional/search_helpers.rb
690
+ - test/functional/simple_content_access/disable_test.rb
691
+ - test/functional/simple_content_access/enable_test.rb
720
692
  - test/functional/srpm/list_test.rb
721
693
  - test/functional/subscription/list_test.rb
722
694
  - test/functional/sync_plan/create_test.rb