hammer_cli_katello 1.1.3 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello/foreman_search_options_creators.rb +0 -12
  3. data/lib/hammer_cli_katello/host_collection.rb +6 -0
  4. data/lib/hammer_cli_katello/host_errata.rb +1 -1
  5. data/lib/hammer_cli_katello/repository.rb +0 -27
  6. data/lib/hammer_cli_katello/version.rb +1 -1
  7. data/test/data/2.5/foreman_api.json +1 -0
  8. data/test/data/3.0/foreman_api.json +1 -0
  9. data/test/data/3.10/foreman_api.json +1 -0
  10. data/test/data/3.11/foreman_api.json +1 -0
  11. data/test/data/3.12/foreman_api.json +1 -0
  12. data/test/data/3.13/foreman_api.json +1 -0
  13. data/test/data/3.14/foreman_api.json +1 -0
  14. data/test/data/3.15/foreman_api.json +1 -0
  15. data/test/data/3.16/foreman_api.json +1 -0
  16. data/test/data/3.17/foreman_api.json +1 -0
  17. data/test/data/3.18/foreman_api.json +1 -0
  18. data/test/data/3.19/foreman_api.json +1 -0
  19. data/test/data/3.2/foreman_api.json +1 -0
  20. data/test/data/3.4/foreman_api.json +1 -0
  21. data/test/data/3.5/foreman_api.json +1 -0
  22. data/test/data/3.6/foreman_api.json +1 -0
  23. data/test/data/3.7/foreman_api.json +1 -0
  24. data/test/data/3.8/foreman_api.json +1 -0
  25. data/test/data/3.9/foreman_api.json +1 -0
  26. data/test/data/4.0/foreman_api.json +1 -0
  27. data/test/data/4.1/foreman_api.json +1 -0
  28. data/test/data/Readme.md +5 -0
  29. data/test/functional/activation_key/add_host_collection_test.rb +62 -0
  30. data/test/functional/activation_key/content_override_test.rb +92 -0
  31. data/test/functional/activation_key/create_test.rb +33 -0
  32. data/test/functional/activation_key/data/activation_key.json +17 -0
  33. data/test/functional/activation_key/info_test.rb +29 -0
  34. data/test/functional/activation_key/list_test.rb +68 -0
  35. data/test/functional/activation_key/product_content_test.rb +23 -0
  36. data/test/functional/activation_key/remove_host_collection_test.rb +62 -0
  37. data/test/functional/activation_key/subscriptions_test.rb +74 -0
  38. data/test/functional/activation_key/update_test.rb +26 -0
  39. data/test/functional/apipie_helper_test.rb +31 -0
  40. data/test/functional/capsule/capsule_helpers.rb +13 -0
  41. data/test/functional/capsule/content/add_lifecycle_environment_test.rb +40 -0
  42. data/test/functional/capsule/content/cancel_synchronization_test.rb +42 -0
  43. data/test/functional/capsule/content/capsule_content_helpers.rb +24 -0
  44. data/test/functional/capsule/content/data/library_env.json +47 -0
  45. data/test/functional/capsule/content/data/sync_status.json +6 -0
  46. data/test/functional/capsule/content/data/sync_tasks.json +62 -0
  47. data/test/functional/capsule/content/info_test.rb +61 -0
  48. data/test/functional/capsule/content/lifecycle_environments_test.rb +19 -0
  49. data/test/functional/capsule/content/remove_lifecycle_environment_test.rb +40 -0
  50. data/test/functional/capsule/content/synchronization_status_test.rb +107 -0
  51. data/test/functional/capsule/info_test.rb +25 -0
  52. data/test/functional/capsule/list_test.rb +24 -0
  53. data/test/functional/content_credentials/create_test.rb +32 -0
  54. data/test/functional/content_credentials/data/test_cert.json +43 -0
  55. data/test/functional/content_credentials/info_test.rb +50 -0
  56. data/test/functional/content_credentials/list_test.rb +66 -0
  57. data/test/functional/content_export/complete/library_test.rb +155 -0
  58. data/test/functional/content_export/complete/version_test.rb +252 -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/add_content_view_version_test.rb +88 -0
  69. data/test/functional/content_view/add_repository_test.rb +21 -0
  70. data/test/functional/content_view/component/add_test.rb +177 -0
  71. data/test/functional/content_view/component/list_test.rb +55 -0
  72. data/test/functional/content_view/component/remove_test.rb +107 -0
  73. data/test/functional/content_view/component/update_test.rb +134 -0
  74. data/test/functional/content_view/content_view_helpers.rb +20 -0
  75. data/test/functional/content_view/copy_test.rb +53 -0
  76. data/test/functional/content_view/create_test.rb +34 -0
  77. data/test/functional/content_view/delete_test.rb +62 -0
  78. data/test/functional/content_view/filter/create_test.rb +57 -0
  79. data/test/functional/content_view/filter/delete_test.rb +90 -0
  80. data/test/functional/content_view/filter/info_test.rb +89 -0
  81. data/test/functional/content_view/filter/list_test.rb +98 -0
  82. data/test/functional/content_view/filter/update_test.rb +91 -0
  83. data/test/functional/content_view/list_test.rb +68 -0
  84. data/test/functional/content_view/publish_test.rb +24 -0
  85. data/test/functional/content_view/purge_test.rb +97 -0
  86. data/test/functional/content_view/remove_content_view_version_test.rb +88 -0
  87. data/test/functional/content_view/remove_test.rb +79 -0
  88. data/test/functional/content_view/update_test.rb +53 -0
  89. data/test/functional/content_view/version/incremental_update_test.rb +108 -0
  90. data/test/functional/content_view/version/list_test.rb +44 -0
  91. data/test/functional/content_view/version/promote_test.rb +34 -0
  92. data/test/functional/content_view/version/republish_repositories_test.rb +34 -0
  93. data/test/functional/content_view/version/update_test.rb +48 -0
  94. data/test/functional/erratum/erratum_helpers.rb +91 -0
  95. data/test/functional/erratum/info_test.rb +29 -0
  96. data/test/functional/erratum/list_test.rb +108 -0
  97. data/test/functional/file/file_helpers.rb +13 -0
  98. data/test/functional/file/info_test.rb +162 -0
  99. data/test/functional/file/list_test.rb +112 -0
  100. data/test/functional/filter_rule/create_test.rb +99 -0
  101. data/test/functional/filter_rule/delete_test.rb +104 -0
  102. data/test/functional/filter_rule/filter_rule_helpers.rb +12 -0
  103. data/test/functional/filter_rule/info_test.rb +104 -0
  104. data/test/functional/filter_rule/list_test.rb +91 -0
  105. data/test/functional/filter_rule/update_test.rb +104 -0
  106. data/test/functional/host/errata/apply_test.rb +45 -0
  107. data/test/functional/host/errata/info_test.rb +27 -0
  108. data/test/functional/host/errata/list_test.rb +49 -0
  109. data/test/functional/host/errata/recalculate_test.rb +40 -0
  110. data/test/functional/host/extensions/create_test.rb +95 -0
  111. data/test/functional/host/extensions/data/host.json +320 -0
  112. data/test/functional/host/extensions/data/host_list.json +117 -0
  113. data/test/functional/host/extensions/info_test.rb +35 -0
  114. data/test/functional/host/extensions/list_test.rb +21 -0
  115. data/test/functional/host/extensions/update_test.rb +70 -0
  116. data/test/functional/host/host_helpers.rb +8 -0
  117. data/test/functional/host/subscription/attach_test.rb +54 -0
  118. data/test/functional/host/subscription/auto_attach_test.rb +35 -0
  119. data/test/functional/host/subscription/content_override_test.rb +96 -0
  120. data/test/functional/host/subscription/product_content_test.rb +27 -0
  121. data/test/functional/host/subscription/register_test.rb +53 -0
  122. data/test/functional/host/subscription/remove_test.rb +52 -0
  123. data/test/functional/host/subscription/unregister_test.rb +37 -0
  124. data/test/functional/host/traces/list_test.rb +37 -0
  125. data/test/functional/host/traces/resolve_test.rb +31 -0
  126. data/test/functional/host_collection/add_host_test.rb +90 -0
  127. data/test/functional/host_collection/content_api_expectations.rb +35 -0
  128. data/test/functional/host_collection/content_install_test.rb +62 -0
  129. data/test/functional/host_collection/content_remove_test.rb +37 -0
  130. data/test/functional/host_collection/content_update_test.rb +37 -0
  131. data/test/functional/host_collection/copy_test.rb +64 -0
  132. data/test/functional/host_collection/create_test.rb +54 -0
  133. data/test/functional/host_collection/delete_test.rb +57 -0
  134. data/test/functional/host_collection/hosts_test.rb +39 -0
  135. data/test/functional/host_collection/info_test.rb +57 -0
  136. data/test/functional/host_collection/list_test.rb +63 -0
  137. data/test/functional/host_collection/remove_host_test.rb +90 -0
  138. data/test/functional/host_collection/update_test.rb +57 -0
  139. data/test/functional/hostgroup/create_test.rb +112 -0
  140. data/test/functional/hostgroup/data/hostgroup.json +50 -0
  141. data/test/functional/hostgroup/info_test.rb +33 -0
  142. data/test/functional/hostgroup/update_test.rb +120 -0
  143. data/test/functional/lifecycle_environment/create_test.rb +14 -0
  144. data/test/functional/lifecycle_environment/lifecycle_environment_helpers.rb +18 -0
  145. data/test/functional/lifecycle_environment/list_test.rb +38 -0
  146. data/test/functional/lifecycle_environment/update_test.rb +14 -0
  147. data/test/functional/local_helper_test.rb +30 -0
  148. data/test/functional/module_stream/info_test.rb +58 -0
  149. data/test/functional/module_stream/list_test.rb +53 -0
  150. data/test/functional/organization/delete_test.rb +26 -0
  151. data/test/functional/organization/info_test.rb +22 -0
  152. data/test/functional/organization/organization_helpers.rb +10 -0
  153. data/test/functional/package/list_test.rb +158 -0
  154. data/test/functional/package_group/list_test.rb +38 -0
  155. data/test/functional/ping_test.rb +59 -0
  156. data/test/functional/product/create_test.rb +54 -0
  157. data/test/functional/product/delete_test.rb +41 -0
  158. data/test/functional/product/info_test.rb +33 -0
  159. data/test/functional/product/list_test.rb +58 -0
  160. data/test/functional/product/product_helpers.rb +24 -0
  161. data/test/functional/product/remove_sync_plan_test.rb +35 -0
  162. data/test/functional/product/set_sync_plan_test.rb +49 -0
  163. data/test/functional/product/update_proxy.rb +48 -0
  164. data/test/functional/product/update_test.rb +46 -0
  165. data/test/functional/repository/create_test.rb +21 -0
  166. data/test/functional/repository/delete_test.rb +95 -0
  167. data/test/functional/repository/info_test.rb +156 -0
  168. data/test/functional/repository/list_test.rb +68 -0
  169. data/test/functional/repository/remove_content_test.rb +108 -0
  170. data/test/functional/repository/repository_helpers.rb +18 -0
  171. data/test/functional/repository/synchronize_test.rb +57 -0
  172. data/test/functional/repository/update_test.rb +149 -0
  173. data/test/functional/repository/upload_test.rb +345 -0
  174. data/test/functional/repository_set/available_repositories_test.rb +18 -0
  175. data/test/functional/repository_set/disable_test.rb +42 -0
  176. data/test/functional/repository_set/enable_test.rb +42 -0
  177. data/test/functional/repository_set/info_test.rb +17 -0
  178. data/test/functional/repository_set/list_test.rb +18 -0
  179. data/test/functional/repository_set/repository_set_helpers.rb +20 -0
  180. data/test/functional/search_helpers.rb +17 -0
  181. data/test/functional/simple_content_access/disable_test.rb +48 -0
  182. data/test/functional/simple_content_access/enable_test.rb +46 -0
  183. data/test/functional/srpm/list_test.rb +92 -0
  184. data/test/functional/subscription/list_test.rb +86 -0
  185. data/test/functional/sync_plan/create_test.rb +60 -0
  186. data/test/functional/sync_plan/delete_test.rb +46 -0
  187. data/test/functional/sync_plan/info_test.rb +37 -0
  188. data/test/functional/sync_plan/list_test.rb +31 -0
  189. data/test/functional/sync_plan/sync_plan_helpers.rb +8 -0
  190. data/test/functional/sync_plan/update_test.rb +44 -0
  191. data/test/functional/test_helper.rb +24 -0
  192. data/test/task_helper.rb +7 -0
  193. data/test/test_helper.rb +38 -0
  194. data/test/unit/id_name_options_validator_test.rb +96 -0
  195. data/test/unit/id_resolver_test.rb +58 -0
  196. data/test/unit/messages_test.rb +7 -0
  197. data/test/unit/search_options_creators_test.rb +145 -0
  198. metadata +388 -6
@@ -0,0 +1,145 @@
1
+ require_relative '../test_helper'
2
+
3
+ class SearchOptionsCreatorsMock < HammerCLIKatello::IdResolver
4
+ def one
5
+ end
6
+
7
+ def two
8
+ end
9
+ end
10
+
11
+ describe HammerCLIKatello::SearchOptionsCreators do
12
+ let(:api) { mock('api') }
13
+ let(:searchables) { HammerCLIKatello::Searchables.new }
14
+ let(:search_options_creators) { SearchOptionsCreatorsMock.new(api, searchables) }
15
+ let(:options) { Hash.new }
16
+ let(:resource) { mock('ApipieBindings::Resource') }
17
+
18
+ before(:each) do
19
+ api.stubs(:resources).returns([resource])
20
+ resource.stubs(:singular_name).returns('')
21
+ end
22
+
23
+ describe '#create_repositories_search_options' do
24
+ it 'handles an array of names' do
25
+ search_options_creators.create_repositories_search_options(
26
+ 'option_names' => ['repo1']
27
+ )['names'].must_equal ['repo1']
28
+ end
29
+
30
+ it 'handles a single value name' do
31
+ search_options_creators.create_repositories_search_options(
32
+ 'option_name' => 'repo1'
33
+ )['name'].must_equal 'repo1'
34
+ end
35
+
36
+ it 'handles multiple parameters' do
37
+ search_options_creators.create_repositories_search_options(
38
+ 'option_names' => ['repo1'], 'option_name' => 'repo2'
39
+ )['name'].must_equal(nil)
40
+ end
41
+
42
+ it 'handles a single value product_id' do
43
+ search_options_creators.create_repositories_search_options(
44
+ 'option_product_id' => 3
45
+ )['product_id'].must_equal 3
46
+ end
47
+ end
48
+
49
+ describe '#create_content_view_versions_search_options(options)' do
50
+ it 'handles a single value environment_id' do
51
+ search_options_creators.create_content_view_versions_search_options(
52
+ 'option_environment_id' => 3,
53
+ 'option_content_view_id' => :required_option
54
+ )['environment_id'].must_equal 3
55
+ end
56
+
57
+ it 'handles a single value content_view_id' do
58
+ search_options_creators.create_content_view_versions_search_options(
59
+ 'option_content_view_id' => 3
60
+ )['content_view_id'].must_equal 3
61
+ end
62
+
63
+ it 'handles a single value version' do
64
+ search_options_creators.create_content_view_versions_search_options(
65
+ 'option_version' => 3
66
+ )['version'].must_equal 3
67
+ end
68
+ end
69
+
70
+ describe "#create_host_collections_search_options" do
71
+ it 'handles organization options' do
72
+ api.stubs(:resource)
73
+ search_options_creators.stubs(:scoped_options).returns('option_name' => 'org1')
74
+ search_options_creators.expects(:organization_id).with('option_name' => 'org1').returns(1)
75
+ search_options_creators.expects(:create_search_options_with_katello_api)
76
+ search_options_creators.create_host_collections_search_options(
77
+ 'option_organization_name' => 'org1'
78
+ )
79
+ end
80
+ end
81
+
82
+ describe 'without the katello api' do
83
+ before(:each) do
84
+ search_options_creators.expects(:create_search_options_without_katello_api)
85
+ search_options_creators.stubs(:api).returns(api)
86
+ api.stubs(:resource)
87
+ end
88
+
89
+ describe '#create_organizations_search_options(options)' do
90
+ it 'does not use the katello api' do
91
+ search_options_creators.create_organizations_search_options(:anything)
92
+ end
93
+ end
94
+
95
+ describe '#create_environments_search_options(options)' do
96
+ it 'does not use the katello api' do
97
+ search_options_creators.create_environments_search_options(:environments)
98
+ end
99
+ end
100
+
101
+ describe '#create_smart_proxies_search_options(options)' do
102
+ it 'does not use the katello api' do
103
+ search_options_creators.create_smart_proxies_search_options(:anything)
104
+ end
105
+ end
106
+
107
+ describe '#create_capsules_search_options(options)' do
108
+ it 'does not use the katello api' do
109
+ search_options_creators.create_capsules_search_options(:anything)
110
+ end
111
+ end
112
+
113
+ describe '#create_usergroups_search_options(options)' do
114
+ it 'does not use the katello api' do
115
+ search_options_creators.create_usergroups_search_options(:anything)
116
+ end
117
+ end
118
+
119
+ describe '#create_compute_profiles_search_options(options, mode = nil)' do
120
+ it 'does not use the katello api' do
121
+ search_options_creators.create_compute_profiles_search_options(:anything)
122
+ end
123
+ end
124
+
125
+ describe '#create_search_options_with_katello_api(options, resource)' do
126
+ it 'does not use the katello api' do
127
+ search_options_creators.create_organizations_search_options(:anything)
128
+ end
129
+ end
130
+ end # describe 'without the katello api'
131
+
132
+ describe '#create_search_options_with_katello_api' do
133
+ let(:searchable1) { HammerCLIForeman::Searchable.new('one', '') }
134
+ let(:searchable2) { HammerCLIForeman::Searchable.new('two', '') }
135
+
136
+ it 'translates all searchable fields from options' do
137
+ search_options_creators.stubs(:searchables).
138
+ returns([searchable1, searchable2])
139
+
140
+ search_options_creators.create_search_options_with_katello_api(
141
+ {'option_one' => 1, 'option_two' => 2}, resource
142
+ ).must_equal('one' => '1', 'two' => '2')
143
+ end
144
+ end # describe '#create_search_options_with_katello_api'
145
+ end # describe HammerCLIKatello::SearchOptionsCreators
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: 1.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Price
@@ -32,10 +32,10 @@ authors:
32
32
  - Tom McKay
33
33
  - Walden Raines
34
34
  - Zach Huntington-Meath
35
- autorequire:
35
+ autorequire:
36
36
  bindir: bin
37
37
  cert_chain: []
38
- date: 2021-09-21 00:00:00.000000000 Z
38
+ date: 2021-08-12 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: hammer_cli_foreman
@@ -296,11 +296,202 @@ files:
296
296
  - locale/zanata.xml
297
297
  - locale/zh_CN/hammer-cli-katello.po
298
298
  - locale/zh_TW/hammer-cli-katello.po
299
+ - test/data/2.5/foreman_api.json
300
+ - test/data/3.0/foreman_api.json
301
+ - test/data/3.10/foreman_api.json
302
+ - test/data/3.11/foreman_api.json
303
+ - test/data/3.12/foreman_api.json
304
+ - test/data/3.13/foreman_api.json
305
+ - test/data/3.14/foreman_api.json
306
+ - test/data/3.15/foreman_api.json
307
+ - test/data/3.16/foreman_api.json
308
+ - test/data/3.17/foreman_api.json
309
+ - test/data/3.18/foreman_api.json
310
+ - test/data/3.19/foreman_api.json
311
+ - test/data/3.2/foreman_api.json
312
+ - test/data/3.4/foreman_api.json
313
+ - test/data/3.5/foreman_api.json
314
+ - test/data/3.6/foreman_api.json
315
+ - test/data/3.7/foreman_api.json
316
+ - test/data/3.8/foreman_api.json
317
+ - test/data/3.9/foreman_api.json
318
+ - test/data/4.0/foreman_api.json
319
+ - test/data/4.1/foreman_api.json
320
+ - test/data/Readme.md
321
+ - test/functional/activation_key/add_host_collection_test.rb
322
+ - test/functional/activation_key/content_override_test.rb
323
+ - test/functional/activation_key/create_test.rb
324
+ - test/functional/activation_key/data/activation_key.json
325
+ - test/functional/activation_key/info_test.rb
326
+ - test/functional/activation_key/list_test.rb
327
+ - test/functional/activation_key/product_content_test.rb
328
+ - test/functional/activation_key/remove_host_collection_test.rb
329
+ - test/functional/activation_key/subscriptions_test.rb
330
+ - test/functional/activation_key/update_test.rb
331
+ - test/functional/apipie_helper_test.rb
332
+ - test/functional/capsule/capsule_helpers.rb
333
+ - test/functional/capsule/content/add_lifecycle_environment_test.rb
334
+ - test/functional/capsule/content/cancel_synchronization_test.rb
335
+ - test/functional/capsule/content/capsule_content_helpers.rb
336
+ - test/functional/capsule/content/data/library_env.json
337
+ - test/functional/capsule/content/data/sync_status.json
338
+ - test/functional/capsule/content/data/sync_tasks.json
339
+ - test/functional/capsule/content/info_test.rb
340
+ - test/functional/capsule/content/lifecycle_environments_test.rb
341
+ - test/functional/capsule/content/remove_lifecycle_environment_test.rb
342
+ - test/functional/capsule/content/synchronization_status_test.rb
343
+ - test/functional/capsule/info_test.rb
344
+ - test/functional/capsule/list_test.rb
345
+ - test/functional/content_credentials/create_test.rb
346
+ - test/functional/content_credentials/data/test_cert.json
347
+ - test/functional/content_credentials/info_test.rb
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
360
+ - test/functional/content_view/add_content_view_version_test.rb
361
+ - test/functional/content_view/add_repository_test.rb
362
+ - test/functional/content_view/component/add_test.rb
363
+ - test/functional/content_view/component/list_test.rb
364
+ - test/functional/content_view/component/remove_test.rb
365
+ - test/functional/content_view/component/update_test.rb
366
+ - test/functional/content_view/content_view_helpers.rb
367
+ - test/functional/content_view/copy_test.rb
368
+ - test/functional/content_view/create_test.rb
369
+ - test/functional/content_view/delete_test.rb
370
+ - test/functional/content_view/filter/create_test.rb
371
+ - test/functional/content_view/filter/delete_test.rb
372
+ - test/functional/content_view/filter/info_test.rb
373
+ - test/functional/content_view/filter/list_test.rb
374
+ - test/functional/content_view/filter/update_test.rb
375
+ - test/functional/content_view/list_test.rb
376
+ - test/functional/content_view/publish_test.rb
377
+ - test/functional/content_view/purge_test.rb
378
+ - test/functional/content_view/remove_content_view_version_test.rb
379
+ - test/functional/content_view/remove_test.rb
380
+ - test/functional/content_view/update_test.rb
381
+ - test/functional/content_view/version/incremental_update_test.rb
382
+ - test/functional/content_view/version/list_test.rb
383
+ - test/functional/content_view/version/promote_test.rb
384
+ - test/functional/content_view/version/republish_repositories_test.rb
385
+ - test/functional/content_view/version/update_test.rb
386
+ - test/functional/erratum/erratum_helpers.rb
387
+ - test/functional/erratum/info_test.rb
388
+ - test/functional/erratum/list_test.rb
389
+ - test/functional/file/file_helpers.rb
390
+ - test/functional/file/info_test.rb
391
+ - test/functional/file/list_test.rb
392
+ - test/functional/filter_rule/create_test.rb
393
+ - test/functional/filter_rule/delete_test.rb
394
+ - test/functional/filter_rule/filter_rule_helpers.rb
395
+ - test/functional/filter_rule/info_test.rb
396
+ - test/functional/filter_rule/list_test.rb
397
+ - test/functional/filter_rule/update_test.rb
398
+ - test/functional/host/errata/apply_test.rb
399
+ - test/functional/host/errata/info_test.rb
400
+ - test/functional/host/errata/list_test.rb
401
+ - test/functional/host/errata/recalculate_test.rb
402
+ - test/functional/host/extensions/create_test.rb
403
+ - test/functional/host/extensions/data/host.json
404
+ - test/functional/host/extensions/data/host_list.json
405
+ - test/functional/host/extensions/info_test.rb
406
+ - test/functional/host/extensions/list_test.rb
407
+ - test/functional/host/extensions/update_test.rb
408
+ - test/functional/host/host_helpers.rb
409
+ - test/functional/host/subscription/attach_test.rb
410
+ - test/functional/host/subscription/auto_attach_test.rb
411
+ - test/functional/host/subscription/content_override_test.rb
412
+ - test/functional/host/subscription/product_content_test.rb
413
+ - test/functional/host/subscription/register_test.rb
414
+ - test/functional/host/subscription/remove_test.rb
415
+ - test/functional/host/subscription/unregister_test.rb
416
+ - test/functional/host/traces/list_test.rb
417
+ - test/functional/host/traces/resolve_test.rb
418
+ - test/functional/host_collection/add_host_test.rb
419
+ - test/functional/host_collection/content_api_expectations.rb
420
+ - test/functional/host_collection/content_install_test.rb
421
+ - test/functional/host_collection/content_remove_test.rb
422
+ - test/functional/host_collection/content_update_test.rb
423
+ - test/functional/host_collection/copy_test.rb
424
+ - test/functional/host_collection/create_test.rb
425
+ - test/functional/host_collection/delete_test.rb
426
+ - test/functional/host_collection/hosts_test.rb
427
+ - test/functional/host_collection/info_test.rb
428
+ - test/functional/host_collection/list_test.rb
429
+ - test/functional/host_collection/remove_host_test.rb
430
+ - test/functional/host_collection/update_test.rb
431
+ - test/functional/hostgroup/create_test.rb
432
+ - test/functional/hostgroup/data/hostgroup.json
433
+ - test/functional/hostgroup/info_test.rb
434
+ - test/functional/hostgroup/update_test.rb
435
+ - test/functional/lifecycle_environment/create_test.rb
436
+ - test/functional/lifecycle_environment/lifecycle_environment_helpers.rb
437
+ - test/functional/lifecycle_environment/list_test.rb
438
+ - test/functional/lifecycle_environment/update_test.rb
439
+ - test/functional/local_helper_test.rb
440
+ - test/functional/module_stream/info_test.rb
441
+ - test/functional/module_stream/list_test.rb
442
+ - test/functional/organization/delete_test.rb
443
+ - test/functional/organization/info_test.rb
444
+ - test/functional/organization/organization_helpers.rb
445
+ - test/functional/package/list_test.rb
446
+ - test/functional/package_group/list_test.rb
447
+ - test/functional/ping_test.rb
448
+ - test/functional/product/create_test.rb
449
+ - test/functional/product/delete_test.rb
450
+ - test/functional/product/info_test.rb
451
+ - test/functional/product/list_test.rb
452
+ - test/functional/product/product_helpers.rb
453
+ - test/functional/product/remove_sync_plan_test.rb
454
+ - test/functional/product/set_sync_plan_test.rb
455
+ - test/functional/product/update_proxy.rb
456
+ - test/functional/product/update_test.rb
457
+ - test/functional/repository/create_test.rb
458
+ - test/functional/repository/delete_test.rb
459
+ - test/functional/repository/info_test.rb
460
+ - test/functional/repository/list_test.rb
461
+ - test/functional/repository/remove_content_test.rb
462
+ - test/functional/repository/repository_helpers.rb
463
+ - test/functional/repository/synchronize_test.rb
464
+ - test/functional/repository/update_test.rb
465
+ - test/functional/repository/upload_test.rb
466
+ - test/functional/repository_set/available_repositories_test.rb
467
+ - test/functional/repository_set/disable_test.rb
468
+ - test/functional/repository_set/enable_test.rb
469
+ - test/functional/repository_set/info_test.rb
470
+ - test/functional/repository_set/list_test.rb
471
+ - test/functional/repository_set/repository_set_helpers.rb
472
+ - test/functional/search_helpers.rb
473
+ - test/functional/simple_content_access/disable_test.rb
474
+ - test/functional/simple_content_access/enable_test.rb
475
+ - test/functional/srpm/list_test.rb
476
+ - test/functional/subscription/list_test.rb
477
+ - test/functional/sync_plan/create_test.rb
478
+ - test/functional/sync_plan/delete_test.rb
479
+ - test/functional/sync_plan/info_test.rb
480
+ - test/functional/sync_plan/list_test.rb
481
+ - test/functional/sync_plan/sync_plan_helpers.rb
482
+ - test/functional/sync_plan/update_test.rb
483
+ - test/functional/test_helper.rb
484
+ - test/task_helper.rb
485
+ - test/test_helper.rb
486
+ - test/unit/id_name_options_validator_test.rb
487
+ - test/unit/id_resolver_test.rb
488
+ - test/unit/messages_test.rb
489
+ - test/unit/search_options_creators_test.rb
299
490
  homepage: https://github.com/Katello/hammer-cli-katello
300
491
  licenses:
301
492
  - GPL-3.0
302
493
  metadata: {}
303
- post_install_message:
494
+ post_install_message:
304
495
  rdoc_options: []
305
496
  require_paths:
306
497
  - lib
@@ -316,7 +507,198 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
507
  version: '0'
317
508
  requirements: []
318
509
  rubygems_version: 3.1.6
319
- signing_key:
510
+ signing_key:
320
511
  specification_version: 4
321
512
  summary: Katello commands for Hammer
322
- test_files: []
513
+ test_files:
514
+ - test/data/2.5/foreman_api.json
515
+ - test/data/3.0/foreman_api.json
516
+ - test/data/3.10/foreman_api.json
517
+ - test/data/3.11/foreman_api.json
518
+ - test/data/3.12/foreman_api.json
519
+ - test/data/3.13/foreman_api.json
520
+ - test/data/3.14/foreman_api.json
521
+ - test/data/3.15/foreman_api.json
522
+ - test/data/3.16/foreman_api.json
523
+ - test/data/3.17/foreman_api.json
524
+ - test/data/3.18/foreman_api.json
525
+ - test/data/3.19/foreman_api.json
526
+ - test/data/3.2/foreman_api.json
527
+ - test/data/3.4/foreman_api.json
528
+ - test/data/3.5/foreman_api.json
529
+ - test/data/3.6/foreman_api.json
530
+ - test/data/3.7/foreman_api.json
531
+ - test/data/3.8/foreman_api.json
532
+ - test/data/3.9/foreman_api.json
533
+ - test/data/4.0/foreman_api.json
534
+ - test/data/4.1/foreman_api.json
535
+ - test/data/Readme.md
536
+ - test/functional/activation_key/add_host_collection_test.rb
537
+ - test/functional/activation_key/content_override_test.rb
538
+ - test/functional/activation_key/create_test.rb
539
+ - test/functional/activation_key/data/activation_key.json
540
+ - test/functional/activation_key/info_test.rb
541
+ - test/functional/activation_key/list_test.rb
542
+ - test/functional/activation_key/product_content_test.rb
543
+ - test/functional/activation_key/remove_host_collection_test.rb
544
+ - test/functional/activation_key/subscriptions_test.rb
545
+ - test/functional/activation_key/update_test.rb
546
+ - test/functional/apipie_helper_test.rb
547
+ - test/functional/capsule/capsule_helpers.rb
548
+ - test/functional/capsule/content/add_lifecycle_environment_test.rb
549
+ - test/functional/capsule/content/cancel_synchronization_test.rb
550
+ - test/functional/capsule/content/capsule_content_helpers.rb
551
+ - test/functional/capsule/content/data/library_env.json
552
+ - test/functional/capsule/content/data/sync_status.json
553
+ - test/functional/capsule/content/data/sync_tasks.json
554
+ - test/functional/capsule/content/info_test.rb
555
+ - test/functional/capsule/content/lifecycle_environments_test.rb
556
+ - test/functional/capsule/content/remove_lifecycle_environment_test.rb
557
+ - test/functional/capsule/content/synchronization_status_test.rb
558
+ - test/functional/capsule/info_test.rb
559
+ - test/functional/capsule/list_test.rb
560
+ - test/functional/content_credentials/create_test.rb
561
+ - test/functional/content_credentials/data/test_cert.json
562
+ - test/functional/content_credentials/info_test.rb
563
+ - test/functional/content_credentials/list_test.rb
564
+ - test/functional/content_export/complete/library_test.rb
565
+ - test/functional/content_export/complete/version_test.rb
566
+ - test/functional/content_export/content_export_helpers.rb
567
+ - test/functional/content_export/generate_metadata_test.rb
568
+ - test/functional/content_export/incremental/library_test.rb
569
+ - test/functional/content_export/incremental/version_test.rb
570
+ - test/functional/content_export/list_test.rb
571
+ - test/functional/content_import/library_test.rb
572
+ - test/functional/content_import/list_test.rb
573
+ - test/functional/content_import/metadata.json
574
+ - test/functional/content_import/version_test.rb
575
+ - test/functional/content_view/add_content_view_version_test.rb
576
+ - test/functional/content_view/add_repository_test.rb
577
+ - test/functional/content_view/component/add_test.rb
578
+ - test/functional/content_view/component/list_test.rb
579
+ - test/functional/content_view/component/remove_test.rb
580
+ - test/functional/content_view/component/update_test.rb
581
+ - test/functional/content_view/content_view_helpers.rb
582
+ - test/functional/content_view/copy_test.rb
583
+ - test/functional/content_view/create_test.rb
584
+ - test/functional/content_view/delete_test.rb
585
+ - test/functional/content_view/filter/create_test.rb
586
+ - test/functional/content_view/filter/delete_test.rb
587
+ - test/functional/content_view/filter/info_test.rb
588
+ - test/functional/content_view/filter/list_test.rb
589
+ - test/functional/content_view/filter/update_test.rb
590
+ - test/functional/content_view/list_test.rb
591
+ - test/functional/content_view/publish_test.rb
592
+ - test/functional/content_view/purge_test.rb
593
+ - test/functional/content_view/remove_content_view_version_test.rb
594
+ - test/functional/content_view/remove_test.rb
595
+ - test/functional/content_view/update_test.rb
596
+ - test/functional/content_view/version/incremental_update_test.rb
597
+ - test/functional/content_view/version/list_test.rb
598
+ - test/functional/content_view/version/promote_test.rb
599
+ - test/functional/content_view/version/republish_repositories_test.rb
600
+ - test/functional/content_view/version/update_test.rb
601
+ - test/functional/erratum/erratum_helpers.rb
602
+ - test/functional/erratum/info_test.rb
603
+ - test/functional/erratum/list_test.rb
604
+ - test/functional/file/file_helpers.rb
605
+ - test/functional/file/info_test.rb
606
+ - test/functional/file/list_test.rb
607
+ - test/functional/filter_rule/create_test.rb
608
+ - test/functional/filter_rule/delete_test.rb
609
+ - test/functional/filter_rule/filter_rule_helpers.rb
610
+ - test/functional/filter_rule/info_test.rb
611
+ - test/functional/filter_rule/list_test.rb
612
+ - test/functional/filter_rule/update_test.rb
613
+ - test/functional/host/errata/apply_test.rb
614
+ - test/functional/host/errata/info_test.rb
615
+ - test/functional/host/errata/list_test.rb
616
+ - test/functional/host/errata/recalculate_test.rb
617
+ - test/functional/host/extensions/create_test.rb
618
+ - test/functional/host/extensions/data/host.json
619
+ - test/functional/host/extensions/data/host_list.json
620
+ - test/functional/host/extensions/info_test.rb
621
+ - test/functional/host/extensions/list_test.rb
622
+ - test/functional/host/extensions/update_test.rb
623
+ - test/functional/host/host_helpers.rb
624
+ - test/functional/host/subscription/attach_test.rb
625
+ - test/functional/host/subscription/auto_attach_test.rb
626
+ - test/functional/host/subscription/content_override_test.rb
627
+ - test/functional/host/subscription/product_content_test.rb
628
+ - test/functional/host/subscription/register_test.rb
629
+ - test/functional/host/subscription/remove_test.rb
630
+ - test/functional/host/subscription/unregister_test.rb
631
+ - test/functional/host/traces/list_test.rb
632
+ - test/functional/host/traces/resolve_test.rb
633
+ - test/functional/host_collection/add_host_test.rb
634
+ - test/functional/host_collection/content_api_expectations.rb
635
+ - test/functional/host_collection/content_install_test.rb
636
+ - test/functional/host_collection/content_remove_test.rb
637
+ - test/functional/host_collection/content_update_test.rb
638
+ - test/functional/host_collection/copy_test.rb
639
+ - test/functional/host_collection/create_test.rb
640
+ - test/functional/host_collection/delete_test.rb
641
+ - test/functional/host_collection/hosts_test.rb
642
+ - test/functional/host_collection/info_test.rb
643
+ - test/functional/host_collection/list_test.rb
644
+ - test/functional/host_collection/remove_host_test.rb
645
+ - test/functional/host_collection/update_test.rb
646
+ - test/functional/hostgroup/create_test.rb
647
+ - test/functional/hostgroup/data/hostgroup.json
648
+ - test/functional/hostgroup/info_test.rb
649
+ - test/functional/hostgroup/update_test.rb
650
+ - test/functional/lifecycle_environment/create_test.rb
651
+ - test/functional/lifecycle_environment/lifecycle_environment_helpers.rb
652
+ - test/functional/lifecycle_environment/list_test.rb
653
+ - test/functional/lifecycle_environment/update_test.rb
654
+ - test/functional/local_helper_test.rb
655
+ - test/functional/module_stream/info_test.rb
656
+ - test/functional/module_stream/list_test.rb
657
+ - test/functional/organization/delete_test.rb
658
+ - test/functional/organization/info_test.rb
659
+ - test/functional/organization/organization_helpers.rb
660
+ - test/functional/package/list_test.rb
661
+ - test/functional/package_group/list_test.rb
662
+ - test/functional/ping_test.rb
663
+ - test/functional/product/create_test.rb
664
+ - test/functional/product/delete_test.rb
665
+ - test/functional/product/info_test.rb
666
+ - test/functional/product/list_test.rb
667
+ - test/functional/product/product_helpers.rb
668
+ - test/functional/product/remove_sync_plan_test.rb
669
+ - test/functional/product/set_sync_plan_test.rb
670
+ - test/functional/product/update_proxy.rb
671
+ - test/functional/product/update_test.rb
672
+ - test/functional/repository/create_test.rb
673
+ - test/functional/repository/delete_test.rb
674
+ - test/functional/repository/info_test.rb
675
+ - test/functional/repository/list_test.rb
676
+ - test/functional/repository/remove_content_test.rb
677
+ - test/functional/repository/repository_helpers.rb
678
+ - test/functional/repository/synchronize_test.rb
679
+ - test/functional/repository/update_test.rb
680
+ - test/functional/repository/upload_test.rb
681
+ - test/functional/repository_set/available_repositories_test.rb
682
+ - test/functional/repository_set/disable_test.rb
683
+ - test/functional/repository_set/enable_test.rb
684
+ - test/functional/repository_set/info_test.rb
685
+ - test/functional/repository_set/list_test.rb
686
+ - test/functional/repository_set/repository_set_helpers.rb
687
+ - test/functional/search_helpers.rb
688
+ - test/functional/simple_content_access/disable_test.rb
689
+ - test/functional/simple_content_access/enable_test.rb
690
+ - test/functional/srpm/list_test.rb
691
+ - test/functional/subscription/list_test.rb
692
+ - test/functional/sync_plan/create_test.rb
693
+ - test/functional/sync_plan/delete_test.rb
694
+ - test/functional/sync_plan/info_test.rb
695
+ - test/functional/sync_plan/list_test.rb
696
+ - test/functional/sync_plan/sync_plan_helpers.rb
697
+ - test/functional/sync_plan/update_test.rb
698
+ - test/functional/test_helper.rb
699
+ - test/task_helper.rb
700
+ - test/test_helper.rb
701
+ - test/unit/id_name_options_validator_test.rb
702
+ - test/unit/id_resolver_test.rb
703
+ - test/unit/messages_test.rb
704
+ - test/unit/search_options_creators_test.rb