hammer_cli_katello 0.22.3 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello.rb +19 -2
  3. data/lib/hammer_cli_katello/content_export.rb +72 -0
  4. data/lib/hammer_cli_katello/content_export_complete.rb +25 -0
  5. data/lib/hammer_cli_katello/content_export_helper.rb +172 -0
  6. data/lib/hammer_cli_katello/content_export_incremental.rb +25 -0
  7. data/lib/hammer_cli_katello/content_import.rb +63 -0
  8. data/lib/hammer_cli_katello/content_view.rb +3 -1
  9. data/lib/hammer_cli_katello/deb_package.rb +66 -0
  10. data/lib/hammer_cli_katello/host.rb +5 -0
  11. data/lib/hammer_cli_katello/host_deb.rb +20 -0
  12. data/lib/hammer_cli_katello/ping.rb +10 -3
  13. data/lib/hammer_cli_katello/repository.rb +60 -1
  14. data/lib/hammer_cli_katello/version.rb +1 -1
  15. data/test/data/3.16/foreman_api.json +1 -1
  16. data/test/data/3.17/foreman_api.json +1 -1
  17. data/test/data/3.18/foreman_api.json +1 -0
  18. data/test/functional/content_export/complete/library_test.rb +155 -0
  19. data/test/functional/content_export/complete/version_test.rb +185 -0
  20. data/test/functional/content_export/content_export_helpers.rb +21 -0
  21. data/test/functional/content_export/generate_metadata_test.rb +64 -0
  22. data/test/functional/content_export/incremental/library_test.rb +172 -0
  23. data/test/functional/content_export/incremental/version_test.rb +236 -0
  24. data/test/functional/content_export/list_test.rb +34 -0
  25. data/test/functional/content_import/library_test.rb +85 -0
  26. data/test/functional/content_import/metadata.json +1 -0
  27. data/test/functional/content_import/version_test.rb +85 -0
  28. data/test/functional/ping_test.rb +2 -1
  29. data/test/functional/repository/info_test.rb +133 -23
  30. data/test/functional/repository/update_test.rb +41 -1
  31. data/test/test_helper.rb +1 -1
  32. metadata +31 -2
@@ -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.16')
20
+ KATELLO_VERSION = Gem::Version.new(ENV['TEST_API_VERSION'] || '3.18')
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.22.3
4
+ version: 0.24.1
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-12-01 00:00:00.000000000 Z
38
+ date: 2020-12-09 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: hammer_cli_foreman
@@ -240,6 +240,11 @@ files:
240
240
  - lib/hammer_cli_katello/commands.rb
241
241
  - lib/hammer_cli_katello/composite_content_view_name_resolvable.rb
242
242
  - lib/hammer_cli_katello/content_credential.rb
243
+ - lib/hammer_cli_katello/content_export.rb
244
+ - lib/hammer_cli_katello/content_export_complete.rb
245
+ - lib/hammer_cli_katello/content_export_helper.rb
246
+ - lib/hammer_cli_katello/content_export_incremental.rb
247
+ - lib/hammer_cli_katello/content_import.rb
243
248
  - lib/hammer_cli_katello/content_override.rb
244
249
  - lib/hammer_cli_katello/content_view.rb
245
250
  - lib/hammer_cli_katello/content_view_component.rb
@@ -248,6 +253,7 @@ files:
248
253
  - lib/hammer_cli_katello/content_view_purge.rb
249
254
  - lib/hammer_cli_katello/content_view_version.rb
250
255
  - lib/hammer_cli_katello/cv_import_export_helper.rb
256
+ - lib/hammer_cli_katello/deb_package.rb
251
257
  - lib/hammer_cli_katello/erratum.rb
252
258
  - lib/hammer_cli_katello/erratum_info_command.rb
253
259
  - lib/hammer_cli_katello/exception_handler.rb
@@ -262,6 +268,7 @@ files:
262
268
  - lib/hammer_cli_katello/host_collection_package.rb
263
269
  - lib/hammer_cli_katello/host_collection_package_group.rb
264
270
  - lib/hammer_cli_katello/host_content_source_options.rb
271
+ - lib/hammer_cli_katello/host_deb.rb
265
272
  - lib/hammer_cli_katello/host_errata.rb
266
273
  - lib/hammer_cli_katello/host_extensions.rb
267
274
  - lib/hammer_cli_katello/host_kickstart_repository_options.rb
@@ -327,6 +334,7 @@ files:
327
334
  - test/data/3.15/foreman_api.json
328
335
  - test/data/3.16/foreman_api.json
329
336
  - test/data/3.17/foreman_api.json
337
+ - test/data/3.18/foreman_api.json
330
338
  - test/data/3.2/foreman_api.json
331
339
  - test/data/3.4/foreman_api.json
332
340
  - test/data/3.5/foreman_api.json
@@ -361,6 +369,16 @@ files:
361
369
  - test/functional/capsule/list_test.rb
362
370
  - test/functional/content_credentials/info_test.rb
363
371
  - test/functional/content_credentials/list_test.rb
372
+ - test/functional/content_export/complete/library_test.rb
373
+ - test/functional/content_export/complete/version_test.rb
374
+ - test/functional/content_export/content_export_helpers.rb
375
+ - test/functional/content_export/generate_metadata_test.rb
376
+ - test/functional/content_export/incremental/library_test.rb
377
+ - test/functional/content_export/incremental/version_test.rb
378
+ - test/functional/content_export/list_test.rb
379
+ - test/functional/content_import/library_test.rb
380
+ - test/functional/content_import/metadata.json
381
+ - test/functional/content_import/version_test.rb
364
382
  - test/functional/content_view/add_content_view_version_test.rb
365
383
  - test/functional/content_view/add_repository_test.rb
366
384
  - test/functional/content_view/component/add_test.rb
@@ -532,6 +550,7 @@ test_files:
532
550
  - test/data/3.15/foreman_api.json
533
551
  - test/data/3.16/foreman_api.json
534
552
  - test/data/3.17/foreman_api.json
553
+ - test/data/3.18/foreman_api.json
535
554
  - test/data/3.2/foreman_api.json
536
555
  - test/data/3.4/foreman_api.json
537
556
  - test/data/3.5/foreman_api.json
@@ -566,6 +585,16 @@ test_files:
566
585
  - test/functional/capsule/list_test.rb
567
586
  - test/functional/content_credentials/info_test.rb
568
587
  - test/functional/content_credentials/list_test.rb
588
+ - test/functional/content_export/complete/library_test.rb
589
+ - test/functional/content_export/complete/version_test.rb
590
+ - test/functional/content_export/content_export_helpers.rb
591
+ - test/functional/content_export/generate_metadata_test.rb
592
+ - test/functional/content_export/incremental/library_test.rb
593
+ - test/functional/content_export/incremental/version_test.rb
594
+ - test/functional/content_export/list_test.rb
595
+ - test/functional/content_import/library_test.rb
596
+ - test/functional/content_import/metadata.json
597
+ - test/functional/content_import/version_test.rb
569
598
  - test/functional/content_view/add_content_view_version_test.rb
570
599
  - test/functional/content_view/add_repository_test.rb
571
600
  - test/functional/content_view/component/add_test.rb