hammer_cli_katello 0.24.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello.rb +24 -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 +73 -0
  9. data/lib/hammer_cli_katello/content_export_complete.rb +25 -0
  10. data/lib/hammer_cli_katello/content_export_helper.rb +181 -0
  11. data/lib/hammer_cli_katello/content_export_incremental.rb +25 -0
  12. data/lib/hammer_cli_katello/content_import.rb +78 -0
  13. data/lib/hammer_cli_katello/content_view.rb +19 -32
  14. data/lib/hammer_cli_katello/content_view_version.rb +4 -290
  15. data/lib/hammer_cli_katello/deb_package.rb +3 -3
  16. data/lib/hammer_cli_katello/docker.rb +13 -0
  17. data/lib/hammer_cli_katello/docker_manifest.rb +53 -0
  18. data/lib/hammer_cli_katello/docker_tag.rb +40 -0
  19. data/lib/hammer_cli_katello/erratum.rb +1 -1
  20. data/lib/hammer_cli_katello/erratum_info_command.rb +1 -1
  21. data/lib/hammer_cli_katello/file.rb +3 -3
  22. data/lib/hammer_cli_katello/filter.rb +2 -2
  23. data/lib/hammer_cli_katello/foreman_search_options_creators.rb +0 -12
  24. data/lib/hammer_cli_katello/host_collection.rb +2 -2
  25. data/lib/hammer_cli_katello/host_deb.rb +1 -1
  26. data/lib/hammer_cli_katello/host_errata.rb +1 -1
  27. data/lib/hammer_cli_katello/host_extensions.rb +5 -5
  28. data/lib/hammer_cli_katello/host_package.rb +1 -1
  29. data/lib/hammer_cli_katello/hostgroup_extensions.rb +4 -4
  30. data/lib/hammer_cli_katello/id_resolver.rb +8 -7
  31. data/lib/hammer_cli_katello/lifecycle_environment.rb +2 -2
  32. data/lib/hammer_cli_katello/module_stream.rb +8 -8
  33. data/lib/hammer_cli_katello/organization.rb +10 -0
  34. data/lib/hammer_cli_katello/organization_options.rb +8 -6
  35. data/lib/hammer_cli_katello/ostree_branch.rb +2 -2
  36. data/lib/hammer_cli_katello/package.rb +5 -5
  37. data/lib/hammer_cli_katello/package_group.rb +4 -4
  38. data/lib/hammer_cli_katello/ping.rb +13 -19
  39. data/lib/hammer_cli_katello/product.rb +3 -3
  40. data/lib/hammer_cli_katello/product_content.rb +2 -2
  41. data/lib/hammer_cli_katello/repository.rb +27 -37
  42. data/lib/hammer_cli_katello/repository_set.rb +4 -4
  43. data/lib/hammer_cli_katello/simple_content_access.rb +42 -0
  44. data/lib/hammer_cli_katello/srpm.rb +2 -2
  45. data/lib/hammer_cli_katello/subscription.rb +2 -3
  46. data/lib/hammer_cli_katello/sync_plan.rb +2 -2
  47. data/lib/hammer_cli_katello/version.rb +1 -1
  48. data/locale/hammer-cli-katello.pot +0 -25
  49. data/test/data/3.19/foreman_api.json +1 -0
  50. data/test/data/4.0/foreman_api.json +1 -0
  51. data/test/data/4.1/foreman_api.json +1 -0
  52. data/test/functional/activation_key/subscriptions_test.rb +5 -2
  53. data/test/functional/capsule/content/info_test.rb +1 -2
  54. data/test/functional/content_credentials/create_test.rb +32 -0
  55. data/test/functional/{repository → content_credentials}/data/test_cert.json +0 -0
  56. data/test/functional/content_credentials/list_test.rb +6 -8
  57. data/test/functional/content_export/complete/library_test.rb +155 -0
  58. data/test/functional/content_export/complete/version_test.rb +217 -0
  59. data/test/functional/content_export/content_export_helpers.rb +26 -0
  60. data/test/functional/content_export/generate_metadata_test.rb +64 -0
  61. data/test/functional/content_export/incremental/library_test.rb +172 -0
  62. data/test/functional/content_export/incremental/version_test.rb +268 -0
  63. data/test/functional/content_export/list_test.rb +64 -0
  64. data/test/functional/content_import/library_test.rb +85 -0
  65. data/test/functional/content_import/list_test.rb +65 -0
  66. data/test/functional/content_import/metadata.json +1 -0
  67. data/test/functional/content_import/version_test.rb +85 -0
  68. data/test/functional/content_view/content_view_helpers.rb +3 -1
  69. data/test/functional/content_view/list_test.rb +0 -2
  70. data/test/functional/content_view/publish_test.rb +0 -21
  71. data/test/functional/content_view/version/promote_test.rb +1 -2
  72. data/test/functional/content_view/version/republish_repositories_test.rb +1 -2
  73. data/test/functional/host/errata/apply_test.rb +0 -2
  74. data/test/functional/host/errata/recalculate_test.rb +0 -2
  75. data/test/functional/lifecycle_environment/lifecycle_environment_helpers.rb +1 -1
  76. data/test/functional/organization/info_test.rb +22 -0
  77. data/test/functional/ping_test.rb +52 -15
  78. data/test/functional/repository/create_test.rb +0 -30
  79. data/test/functional/repository/info_test.rb +4 -4
  80. data/test/functional/repository/list_test.rb +0 -2
  81. data/test/functional/search_helpers.rb +11 -0
  82. data/test/functional/simple_content_access/disable_test.rb +48 -0
  83. data/test/functional/simple_content_access/enable_test.rb +46 -0
  84. data/test/test_helper.rb +1 -1
  85. metadata +50 -56
  86. data/lib/hammer_cli_katello/content_view_puppet_module.rb +0 -60
  87. data/lib/hammer_cli_katello/cv_import_export_helper.rb +0 -166
  88. data/lib/hammer_cli_katello/gpg_key.rb +0 -67
  89. data/lib/hammer_cli_katello/puppet_module.rb +0 -59
  90. data/test/functional/content_view/puppet_module/add_test.rb +0 -24
  91. data/test/functional/content_view/puppet_module/remove_test.rb +0 -54
  92. data/test/functional/content_view/version/default_export_test.rb +0 -40
  93. data/test/functional/content_view/version/export_histories_test.rb +0 -34
  94. data/test/functional/content_view/version/export_test.rb +0 -136
  95. data/test/functional/content_view/version/import_test.rb +0 -318
  96. data/test/functional/gpg_test.rb +0 -39
  97. data/test/functional/repository/data/test_ca.json +0 -43
  98. data/test/functional/repository/data/test_key.json +0 -43
@@ -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
 
@@ -3,4 +3,15 @@ module SearchHelpers
3
3
  ex = api_expects(resource, :index, "Find the #{resource}").with_params(args[:params])
4
4
  ex.returns(index_response([args[:returns]]))
5
5
  end
6
+
7
+ def expect_lenient_search(resource, params:, returns:)
8
+ ex = api_expects(resource, :index, "Find the #{resource}") do |p|
9
+ params.each do |key, expected|
10
+ actual = p[key] || p[key.to_sym] || p[key.to_s]
11
+ assert_equal expected.to_s, actual.to_s, "key: '#{key}', resource: #{resource}"
12
+ end
13
+ end
14
+ returns = [returns] unless returns.is_a? Array
15
+ ex.returns(index_response(returns))
16
+ end
6
17
  end
@@ -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.0
4
+ version: 1.1.0
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: 2020-11-02 00:00:00.000000000 Z
38
+ date: 2021-04-28 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
@@ -240,15 +212,21 @@ files:
240
212
  - lib/hammer_cli_katello/commands.rb
241
213
  - lib/hammer_cli_katello/composite_content_view_name_resolvable.rb
242
214
  - lib/hammer_cli_katello/content_credential.rb
215
+ - lib/hammer_cli_katello/content_export.rb
216
+ - lib/hammer_cli_katello/content_export_complete.rb
217
+ - lib/hammer_cli_katello/content_export_helper.rb
218
+ - lib/hammer_cli_katello/content_export_incremental.rb
219
+ - lib/hammer_cli_katello/content_import.rb
243
220
  - lib/hammer_cli_katello/content_override.rb
244
221
  - lib/hammer_cli_katello/content_view.rb
245
222
  - lib/hammer_cli_katello/content_view_component.rb
246
223
  - lib/hammer_cli_katello/content_view_name_resolvable.rb
247
- - lib/hammer_cli_katello/content_view_puppet_module.rb
248
224
  - lib/hammer_cli_katello/content_view_purge.rb
249
225
  - lib/hammer_cli_katello/content_view_version.rb
250
- - lib/hammer_cli_katello/cv_import_export_helper.rb
251
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
252
230
  - lib/hammer_cli_katello/erratum.rb
253
231
  - lib/hammer_cli_katello/erratum_info_command.rb
254
232
  - lib/hammer_cli_katello/exception_handler.rb
@@ -256,7 +234,6 @@ files:
256
234
  - lib/hammer_cli_katello/filter.rb
257
235
  - lib/hammer_cli_katello/filter_rule.rb
258
236
  - lib/hammer_cli_katello/foreman_search_options_creators.rb
259
- - lib/hammer_cli_katello/gpg_key.rb
260
237
  - lib/hammer_cli_katello/host.rb
261
238
  - lib/hammer_cli_katello/host_collection.rb
262
239
  - lib/hammer_cli_katello/host_collection_erratum.rb
@@ -293,11 +270,11 @@ files:
293
270
  - lib/hammer_cli_katello/ping.rb
294
271
  - lib/hammer_cli_katello/product.rb
295
272
  - lib/hammer_cli_katello/product_content.rb
296
- - lib/hammer_cli_katello/puppet_module.rb
297
273
  - lib/hammer_cli_katello/repository.rb
298
274
  - lib/hammer_cli_katello/repository_scoped_to_product.rb
299
275
  - lib/hammer_cli_katello/repository_set.rb
300
276
  - lib/hammer_cli_katello/search_options_creators.rb
277
+ - lib/hammer_cli_katello/simple_content_access.rb
301
278
  - lib/hammer_cli_katello/srpm.rb
302
279
  - lib/hammer_cli_katello/status.rb
303
280
  - lib/hammer_cli_katello/subscription.rb
@@ -330,6 +307,7 @@ files:
330
307
  - test/data/3.16/foreman_api.json
331
308
  - test/data/3.17/foreman_api.json
332
309
  - test/data/3.18/foreman_api.json
310
+ - test/data/3.19/foreman_api.json
333
311
  - test/data/3.2/foreman_api.json
334
312
  - test/data/3.4/foreman_api.json
335
313
  - test/data/3.5/foreman_api.json
@@ -337,6 +315,8 @@ files:
337
315
  - test/data/3.7/foreman_api.json
338
316
  - test/data/3.8/foreman_api.json
339
317
  - test/data/3.9/foreman_api.json
318
+ - test/data/4.0/foreman_api.json
319
+ - test/data/4.1/foreman_api.json
340
320
  - test/data/Readme.md
341
321
  - test/functional/activation_key/add_host_collection_test.rb
342
322
  - test/functional/activation_key/content_override_test.rb
@@ -362,8 +342,21 @@ files:
362
342
  - test/functional/capsule/content/synchronization_status_test.rb
363
343
  - test/functional/capsule/info_test.rb
364
344
  - test/functional/capsule/list_test.rb
345
+ - test/functional/content_credentials/create_test.rb
346
+ - test/functional/content_credentials/data/test_cert.json
365
347
  - test/functional/content_credentials/info_test.rb
366
348
  - test/functional/content_credentials/list_test.rb
349
+ - test/functional/content_export/complete/library_test.rb
350
+ - test/functional/content_export/complete/version_test.rb
351
+ - test/functional/content_export/content_export_helpers.rb
352
+ - test/functional/content_export/generate_metadata_test.rb
353
+ - test/functional/content_export/incremental/library_test.rb
354
+ - test/functional/content_export/incremental/version_test.rb
355
+ - test/functional/content_export/list_test.rb
356
+ - test/functional/content_import/library_test.rb
357
+ - test/functional/content_import/list_test.rb
358
+ - test/functional/content_import/metadata.json
359
+ - test/functional/content_import/version_test.rb
367
360
  - test/functional/content_view/add_content_view_version_test.rb
368
361
  - test/functional/content_view/add_repository_test.rb
369
362
  - test/functional/content_view/component/add_test.rb
@@ -381,16 +374,10 @@ files:
381
374
  - test/functional/content_view/filter/update_test.rb
382
375
  - test/functional/content_view/list_test.rb
383
376
  - test/functional/content_view/publish_test.rb
384
- - test/functional/content_view/puppet_module/add_test.rb
385
- - test/functional/content_view/puppet_module/remove_test.rb
386
377
  - test/functional/content_view/purge_test.rb
387
378
  - test/functional/content_view/remove_content_view_version_test.rb
388
379
  - test/functional/content_view/remove_test.rb
389
380
  - test/functional/content_view/update_test.rb
390
- - test/functional/content_view/version/default_export_test.rb
391
- - test/functional/content_view/version/export_histories_test.rb
392
- - test/functional/content_view/version/export_test.rb
393
- - test/functional/content_view/version/import_test.rb
394
381
  - test/functional/content_view/version/incremental_update_test.rb
395
382
  - test/functional/content_view/version/list_test.rb
396
383
  - test/functional/content_view/version/promote_test.rb
@@ -408,7 +395,6 @@ files:
408
395
  - test/functional/filter_rule/info_test.rb
409
396
  - test/functional/filter_rule/list_test.rb
410
397
  - test/functional/filter_rule/update_test.rb
411
- - test/functional/gpg_test.rb
412
398
  - test/functional/host/errata/apply_test.rb
413
399
  - test/functional/host/errata/info_test.rb
414
400
  - test/functional/host/errata/list_test.rb
@@ -454,6 +440,7 @@ files:
454
440
  - test/functional/module_stream/info_test.rb
455
441
  - test/functional/module_stream/list_test.rb
456
442
  - test/functional/organization/delete_test.rb
443
+ - test/functional/organization/info_test.rb
457
444
  - test/functional/organization/organization_helpers.rb
458
445
  - test/functional/package/list_test.rb
459
446
  - test/functional/package_group/list_test.rb
@@ -468,9 +455,6 @@ files:
468
455
  - test/functional/product/update_proxy.rb
469
456
  - test/functional/product/update_test.rb
470
457
  - test/functional/repository/create_test.rb
471
- - test/functional/repository/data/test_ca.json
472
- - test/functional/repository/data/test_cert.json
473
- - test/functional/repository/data/test_key.json
474
458
  - test/functional/repository/delete_test.rb
475
459
  - test/functional/repository/export_test.rb
476
460
  - test/functional/repository/info_test.rb
@@ -487,6 +471,8 @@ files:
487
471
  - test/functional/repository_set/list_test.rb
488
472
  - test/functional/repository_set/repository_set_helpers.rb
489
473
  - test/functional/search_helpers.rb
474
+ - test/functional/simple_content_access/disable_test.rb
475
+ - test/functional/simple_content_access/enable_test.rb
490
476
  - test/functional/srpm/list_test.rb
491
477
  - test/functional/subscription/list_test.rb
492
478
  - test/functional/sync_plan/create_test.rb
@@ -521,8 +507,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
521
507
  - !ruby/object:Gem::Version
522
508
  version: '0'
523
509
  requirements: []
524
- rubyforge_project:
525
- rubygems_version: 2.7.6.2
510
+ rubygems_version: 3.1.2
526
511
  signing_key:
527
512
  specification_version: 4
528
513
  summary: Katello commands for Hammer
@@ -538,6 +523,7 @@ test_files:
538
523
  - test/data/3.16/foreman_api.json
539
524
  - test/data/3.17/foreman_api.json
540
525
  - test/data/3.18/foreman_api.json
526
+ - test/data/3.19/foreman_api.json
541
527
  - test/data/3.2/foreman_api.json
542
528
  - test/data/3.4/foreman_api.json
543
529
  - test/data/3.5/foreman_api.json
@@ -545,6 +531,8 @@ test_files:
545
531
  - test/data/3.7/foreman_api.json
546
532
  - test/data/3.8/foreman_api.json
547
533
  - test/data/3.9/foreman_api.json
534
+ - test/data/4.0/foreman_api.json
535
+ - test/data/4.1/foreman_api.json
548
536
  - test/data/Readme.md
549
537
  - test/functional/activation_key/add_host_collection_test.rb
550
538
  - test/functional/activation_key/content_override_test.rb
@@ -570,8 +558,21 @@ test_files:
570
558
  - test/functional/capsule/content/synchronization_status_test.rb
571
559
  - test/functional/capsule/info_test.rb
572
560
  - test/functional/capsule/list_test.rb
561
+ - test/functional/content_credentials/create_test.rb
562
+ - test/functional/content_credentials/data/test_cert.json
573
563
  - test/functional/content_credentials/info_test.rb
574
564
  - test/functional/content_credentials/list_test.rb
565
+ - test/functional/content_export/complete/library_test.rb
566
+ - test/functional/content_export/complete/version_test.rb
567
+ - test/functional/content_export/content_export_helpers.rb
568
+ - test/functional/content_export/generate_metadata_test.rb
569
+ - test/functional/content_export/incremental/library_test.rb
570
+ - test/functional/content_export/incremental/version_test.rb
571
+ - test/functional/content_export/list_test.rb
572
+ - test/functional/content_import/library_test.rb
573
+ - test/functional/content_import/list_test.rb
574
+ - test/functional/content_import/metadata.json
575
+ - test/functional/content_import/version_test.rb
575
576
  - test/functional/content_view/add_content_view_version_test.rb
576
577
  - test/functional/content_view/add_repository_test.rb
577
578
  - test/functional/content_view/component/add_test.rb
@@ -589,16 +590,10 @@ test_files:
589
590
  - test/functional/content_view/filter/update_test.rb
590
591
  - test/functional/content_view/list_test.rb
591
592
  - test/functional/content_view/publish_test.rb
592
- - test/functional/content_view/puppet_module/add_test.rb
593
- - test/functional/content_view/puppet_module/remove_test.rb
594
593
  - test/functional/content_view/purge_test.rb
595
594
  - test/functional/content_view/remove_content_view_version_test.rb
596
595
  - test/functional/content_view/remove_test.rb
597
596
  - test/functional/content_view/update_test.rb
598
- - test/functional/content_view/version/default_export_test.rb
599
- - test/functional/content_view/version/export_histories_test.rb
600
- - test/functional/content_view/version/export_test.rb
601
- - test/functional/content_view/version/import_test.rb
602
597
  - test/functional/content_view/version/incremental_update_test.rb
603
598
  - test/functional/content_view/version/list_test.rb
604
599
  - test/functional/content_view/version/promote_test.rb
@@ -616,7 +611,6 @@ test_files:
616
611
  - test/functional/filter_rule/info_test.rb
617
612
  - test/functional/filter_rule/list_test.rb
618
613
  - test/functional/filter_rule/update_test.rb
619
- - test/functional/gpg_test.rb
620
614
  - test/functional/host/errata/apply_test.rb
621
615
  - test/functional/host/errata/info_test.rb
622
616
  - test/functional/host/errata/list_test.rb
@@ -662,6 +656,7 @@ test_files:
662
656
  - test/functional/module_stream/info_test.rb
663
657
  - test/functional/module_stream/list_test.rb
664
658
  - test/functional/organization/delete_test.rb
659
+ - test/functional/organization/info_test.rb
665
660
  - test/functional/organization/organization_helpers.rb
666
661
  - test/functional/package/list_test.rb
667
662
  - test/functional/package_group/list_test.rb
@@ -676,9 +671,6 @@ test_files:
676
671
  - test/functional/product/update_proxy.rb
677
672
  - test/functional/product/update_test.rb
678
673
  - test/functional/repository/create_test.rb
679
- - test/functional/repository/data/test_ca.json
680
- - test/functional/repository/data/test_cert.json
681
- - test/functional/repository/data/test_key.json
682
674
  - test/functional/repository/delete_test.rb
683
675
  - test/functional/repository/export_test.rb
684
676
  - test/functional/repository/info_test.rb
@@ -695,6 +687,8 @@ test_files:
695
687
  - test/functional/repository_set/list_test.rb
696
688
  - test/functional/repository_set/repository_set_helpers.rb
697
689
  - test/functional/search_helpers.rb
690
+ - test/functional/simple_content_access/disable_test.rb
691
+ - test/functional/simple_content_access/enable_test.rb
698
692
  - test/functional/srpm/list_test.rb
699
693
  - test/functional/subscription/list_test.rb
700
694
  - test/functional/sync_plan/create_test.rb