hammer_cli_katello 1.0.1 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_katello/content_import.rb +16 -1
  3. data/lib/hammer_cli_katello/content_view_version.rb +0 -273
  4. data/lib/hammer_cli_katello/docker.rb +13 -0
  5. data/lib/hammer_cli_katello/docker_manifest.rb +53 -0
  6. data/lib/hammer_cli_katello/docker_tag.rb +40 -0
  7. data/lib/hammer_cli_katello/foreman_search_options_creators.rb +12 -0
  8. data/lib/hammer_cli_katello/host_collection_erratum.rb +10 -0
  9. data/lib/hammer_cli_katello/host_collection_package.rb +30 -0
  10. data/lib/hammer_cli_katello/host_collection_package_group.rb +30 -0
  11. data/lib/hammer_cli_katello/host_errata.rb +8 -0
  12. data/lib/hammer_cli_katello/host_package.rb +32 -0
  13. data/lib/hammer_cli_katello/host_package_group.rb +16 -0
  14. data/lib/hammer_cli_katello/id_resolver.rb +3 -1
  15. data/lib/hammer_cli_katello/organization.rb +10 -0
  16. data/lib/hammer_cli_katello/ping.rb +13 -5
  17. data/lib/hammer_cli_katello/repository.rb +21 -0
  18. data/lib/hammer_cli_katello/simple_content_access.rb +2 -0
  19. data/lib/hammer_cli_katello/version.rb +1 -1
  20. data/lib/hammer_cli_katello.rb +5 -1
  21. data/locale/hammer-cli-katello.pot +0 -25
  22. metadata +7 -419
  23. data/lib/hammer_cli_katello/cv_import_export_helper.rb +0 -187
  24. data/test/data/2.5/foreman_api.json +0 -1
  25. data/test/data/3.0/foreman_api.json +0 -1
  26. data/test/data/3.10/foreman_api.json +0 -1
  27. data/test/data/3.11/foreman_api.json +0 -1
  28. data/test/data/3.12/foreman_api.json +0 -1
  29. data/test/data/3.13/foreman_api.json +0 -1
  30. data/test/data/3.14/foreman_api.json +0 -1
  31. data/test/data/3.15/foreman_api.json +0 -1
  32. data/test/data/3.16/foreman_api.json +0 -1
  33. data/test/data/3.17/foreman_api.json +0 -1
  34. data/test/data/3.18/foreman_api.json +0 -1
  35. data/test/data/3.19/foreman_api.json +0 -1
  36. data/test/data/3.2/foreman_api.json +0 -1
  37. data/test/data/3.4/foreman_api.json +0 -1
  38. data/test/data/3.5/foreman_api.json +0 -1
  39. data/test/data/3.6/foreman_api.json +0 -1
  40. data/test/data/3.7/foreman_api.json +0 -1
  41. data/test/data/3.8/foreman_api.json +0 -1
  42. data/test/data/3.9/foreman_api.json +0 -1
  43. data/test/data/4.0/foreman_api.json +0 -1
  44. data/test/data/Readme.md +0 -5
  45. data/test/functional/activation_key/add_host_collection_test.rb +0 -62
  46. data/test/functional/activation_key/content_override_test.rb +0 -92
  47. data/test/functional/activation_key/create_test.rb +0 -33
  48. data/test/functional/activation_key/data/activation_key.json +0 -17
  49. data/test/functional/activation_key/info_test.rb +0 -29
  50. data/test/functional/activation_key/list_test.rb +0 -68
  51. data/test/functional/activation_key/product_content_test.rb +0 -23
  52. data/test/functional/activation_key/remove_host_collection_test.rb +0 -62
  53. data/test/functional/activation_key/subscriptions_test.rb +0 -71
  54. data/test/functional/activation_key/update_test.rb +0 -26
  55. data/test/functional/apipie_helper_test.rb +0 -31
  56. data/test/functional/capsule/capsule_helpers.rb +0 -13
  57. data/test/functional/capsule/content/add_lifecycle_environment_test.rb +0 -40
  58. data/test/functional/capsule/content/cancel_synchronization_test.rb +0 -42
  59. data/test/functional/capsule/content/capsule_content_helpers.rb +0 -24
  60. data/test/functional/capsule/content/data/library_env.json +0 -47
  61. data/test/functional/capsule/content/data/sync_status.json +0 -6
  62. data/test/functional/capsule/content/data/sync_tasks.json +0 -62
  63. data/test/functional/capsule/content/info_test.rb +0 -61
  64. data/test/functional/capsule/content/lifecycle_environments_test.rb +0 -19
  65. data/test/functional/capsule/content/remove_lifecycle_environment_test.rb +0 -40
  66. data/test/functional/capsule/content/synchronization_status_test.rb +0 -107
  67. data/test/functional/capsule/info_test.rb +0 -25
  68. data/test/functional/capsule/list_test.rb +0 -24
  69. data/test/functional/content_credentials/create_test.rb +0 -32
  70. data/test/functional/content_credentials/data/test_cert.json +0 -43
  71. data/test/functional/content_credentials/info_test.rb +0 -50
  72. data/test/functional/content_credentials/list_test.rb +0 -66
  73. data/test/functional/content_export/complete/library_test.rb +0 -155
  74. data/test/functional/content_export/complete/version_test.rb +0 -217
  75. data/test/functional/content_export/content_export_helpers.rb +0 -26
  76. data/test/functional/content_export/generate_metadata_test.rb +0 -64
  77. data/test/functional/content_export/incremental/library_test.rb +0 -172
  78. data/test/functional/content_export/incremental/version_test.rb +0 -268
  79. data/test/functional/content_export/list_test.rb +0 -64
  80. data/test/functional/content_import/library_test.rb +0 -85
  81. data/test/functional/content_import/metadata.json +0 -1
  82. data/test/functional/content_import/version_test.rb +0 -85
  83. data/test/functional/content_view/add_content_view_version_test.rb +0 -88
  84. data/test/functional/content_view/add_repository_test.rb +0 -21
  85. data/test/functional/content_view/component/add_test.rb +0 -177
  86. data/test/functional/content_view/component/list_test.rb +0 -55
  87. data/test/functional/content_view/component/remove_test.rb +0 -107
  88. data/test/functional/content_view/component/update_test.rb +0 -134
  89. data/test/functional/content_view/content_view_helpers.rb +0 -20
  90. data/test/functional/content_view/copy_test.rb +0 -53
  91. data/test/functional/content_view/create_test.rb +0 -34
  92. data/test/functional/content_view/delete_test.rb +0 -62
  93. data/test/functional/content_view/filter/create_test.rb +0 -57
  94. data/test/functional/content_view/filter/delete_test.rb +0 -90
  95. data/test/functional/content_view/filter/info_test.rb +0 -89
  96. data/test/functional/content_view/filter/list_test.rb +0 -98
  97. data/test/functional/content_view/filter/update_test.rb +0 -91
  98. data/test/functional/content_view/list_test.rb +0 -68
  99. data/test/functional/content_view/publish_test.rb +0 -24
  100. data/test/functional/content_view/purge_test.rb +0 -97
  101. data/test/functional/content_view/remove_content_view_version_test.rb +0 -88
  102. data/test/functional/content_view/remove_test.rb +0 -79
  103. data/test/functional/content_view/update_test.rb +0 -53
  104. data/test/functional/content_view/version/cv_import_export_helper_test.rb +0 -20
  105. data/test/functional/content_view/version/default_export_test.rb +0 -40
  106. data/test/functional/content_view/version/export_test.rb +0 -148
  107. data/test/functional/content_view/version/import_test.rb +0 -346
  108. data/test/functional/content_view/version/incremental_update_test.rb +0 -108
  109. data/test/functional/content_view/version/list_test.rb +0 -44
  110. data/test/functional/content_view/version/promote_test.rb +0 -34
  111. data/test/functional/content_view/version/republish_repositories_test.rb +0 -34
  112. data/test/functional/content_view/version/update_test.rb +0 -48
  113. data/test/functional/erratum/erratum_helpers.rb +0 -91
  114. data/test/functional/erratum/info_test.rb +0 -29
  115. data/test/functional/erratum/list_test.rb +0 -108
  116. data/test/functional/file/file_helpers.rb +0 -13
  117. data/test/functional/file/info_test.rb +0 -162
  118. data/test/functional/file/list_test.rb +0 -112
  119. data/test/functional/filter_rule/create_test.rb +0 -99
  120. data/test/functional/filter_rule/delete_test.rb +0 -104
  121. data/test/functional/filter_rule/filter_rule_helpers.rb +0 -12
  122. data/test/functional/filter_rule/info_test.rb +0 -104
  123. data/test/functional/filter_rule/list_test.rb +0 -91
  124. data/test/functional/filter_rule/update_test.rb +0 -104
  125. data/test/functional/host/errata/apply_test.rb +0 -45
  126. data/test/functional/host/errata/info_test.rb +0 -27
  127. data/test/functional/host/errata/list_test.rb +0 -49
  128. data/test/functional/host/errata/recalculate_test.rb +0 -40
  129. data/test/functional/host/extensions/create_test.rb +0 -95
  130. data/test/functional/host/extensions/data/host.json +0 -320
  131. data/test/functional/host/extensions/data/host_list.json +0 -117
  132. data/test/functional/host/extensions/info_test.rb +0 -35
  133. data/test/functional/host/extensions/list_test.rb +0 -21
  134. data/test/functional/host/extensions/update_test.rb +0 -70
  135. data/test/functional/host/host_helpers.rb +0 -8
  136. data/test/functional/host/subscription/attach_test.rb +0 -54
  137. data/test/functional/host/subscription/auto_attach_test.rb +0 -35
  138. data/test/functional/host/subscription/content_override_test.rb +0 -96
  139. data/test/functional/host/subscription/product_content_test.rb +0 -27
  140. data/test/functional/host/subscription/register_test.rb +0 -53
  141. data/test/functional/host/subscription/remove_test.rb +0 -52
  142. data/test/functional/host/subscription/unregister_test.rb +0 -37
  143. data/test/functional/host/traces/list_test.rb +0 -37
  144. data/test/functional/host/traces/resolve_test.rb +0 -31
  145. data/test/functional/host_collection/add_host_test.rb +0 -90
  146. data/test/functional/host_collection/content_api_expectations.rb +0 -35
  147. data/test/functional/host_collection/content_install_test.rb +0 -62
  148. data/test/functional/host_collection/content_remove_test.rb +0 -37
  149. data/test/functional/host_collection/content_update_test.rb +0 -37
  150. data/test/functional/host_collection/copy_test.rb +0 -64
  151. data/test/functional/host_collection/create_test.rb +0 -43
  152. data/test/functional/host_collection/delete_test.rb +0 -57
  153. data/test/functional/host_collection/hosts_test.rb +0 -39
  154. data/test/functional/host_collection/info_test.rb +0 -57
  155. data/test/functional/host_collection/list_test.rb +0 -63
  156. data/test/functional/host_collection/remove_host_test.rb +0 -90
  157. data/test/functional/host_collection/update_test.rb +0 -57
  158. data/test/functional/hostgroup/create_test.rb +0 -112
  159. data/test/functional/hostgroup/data/hostgroup.json +0 -50
  160. data/test/functional/hostgroup/info_test.rb +0 -33
  161. data/test/functional/hostgroup/update_test.rb +0 -120
  162. data/test/functional/lifecycle_environment/create_test.rb +0 -14
  163. data/test/functional/lifecycle_environment/lifecycle_environment_helpers.rb +0 -18
  164. data/test/functional/lifecycle_environment/list_test.rb +0 -38
  165. data/test/functional/lifecycle_environment/update_test.rb +0 -14
  166. data/test/functional/local_helper_test.rb +0 -30
  167. data/test/functional/module_stream/info_test.rb +0 -58
  168. data/test/functional/module_stream/list_test.rb +0 -53
  169. data/test/functional/organization/delete_test.rb +0 -26
  170. data/test/functional/organization/organization_helpers.rb +0 -10
  171. data/test/functional/package/list_test.rb +0 -158
  172. data/test/functional/package_group/list_test.rb +0 -38
  173. data/test/functional/ping_test.rb +0 -20
  174. data/test/functional/product/create_test.rb +0 -54
  175. data/test/functional/product/delete_test.rb +0 -41
  176. data/test/functional/product/info_test.rb +0 -33
  177. data/test/functional/product/list_test.rb +0 -58
  178. data/test/functional/product/product_helpers.rb +0 -24
  179. data/test/functional/product/remove_sync_plan_test.rb +0 -35
  180. data/test/functional/product/set_sync_plan_test.rb +0 -49
  181. data/test/functional/product/update_proxy.rb +0 -48
  182. data/test/functional/product/update_test.rb +0 -46
  183. data/test/functional/repository/create_test.rb +0 -21
  184. data/test/functional/repository/delete_test.rb +0 -95
  185. data/test/functional/repository/export_test.rb +0 -121
  186. data/test/functional/repository/info_test.rb +0 -156
  187. data/test/functional/repository/list_test.rb +0 -68
  188. data/test/functional/repository/remove_content_test.rb +0 -108
  189. data/test/functional/repository/repository_helpers.rb +0 -18
  190. data/test/functional/repository/synchronize_test.rb +0 -57
  191. data/test/functional/repository/update_test.rb +0 -149
  192. data/test/functional/repository/upload_test.rb +0 -345
  193. data/test/functional/repository_set/available_repositories_test.rb +0 -18
  194. data/test/functional/repository_set/disable_test.rb +0 -42
  195. data/test/functional/repository_set/enable_test.rb +0 -42
  196. data/test/functional/repository_set/info_test.rb +0 -17
  197. data/test/functional/repository_set/list_test.rb +0 -18
  198. data/test/functional/repository_set/repository_set_helpers.rb +0 -20
  199. data/test/functional/search_helpers.rb +0 -17
  200. data/test/functional/simple_content_access/disable_test.rb +0 -48
  201. data/test/functional/simple_content_access/enable_test.rb +0 -46
  202. data/test/functional/srpm/list_test.rb +0 -92
  203. data/test/functional/subscription/list_test.rb +0 -86
  204. data/test/functional/sync_plan/create_test.rb +0 -60
  205. data/test/functional/sync_plan/delete_test.rb +0 -46
  206. data/test/functional/sync_plan/info_test.rb +0 -37
  207. data/test/functional/sync_plan/list_test.rb +0 -31
  208. data/test/functional/sync_plan/sync_plan_helpers.rb +0 -8
  209. data/test/functional/sync_plan/update_test.rb +0 -44
  210. data/test/functional/test_helper.rb +0 -24
  211. data/test/task_helper.rb +0 -7
  212. data/test/test_helper.rb +0 -38
  213. data/test/unit/id_name_options_validator_test.rb +0 -96
  214. data/test/unit/id_resolver_test.rb +0 -58
  215. data/test/unit/messages_test.rb +0 -7
  216. data/test/unit/search_options_creators_test.rb +0 -145
@@ -28,7 +28,9 @@ module HammerCLIKatello
28
28
  :subscription => [s_name(_("Subscription name to search by"))],
29
29
  :sync_plan => [s_name(_("Sync plan name to search by"))],
30
30
  :task => [s_name(_("Task name to search by"))],
31
- :content_view_version => [s("version", _("Content view version number"))]
31
+ :content_view_version => [s("version", _("Content view version number"))],
32
+ :content_export => [],
33
+ :content_import => []
32
34
  }.freeze
33
35
 
34
36
  DEFAULT_SEARCHABLES = [s_name(_("Name to search by"))].freeze
@@ -21,9 +21,19 @@ module HammerCLIKatello
21
21
  field :label, _("Label")
22
22
  field :description, _("Description")
23
23
  field :redhat_repository_url, _("Red Hat Repository URL")
24
+ field :simple_content_access_label, _("Simple Content Access")
24
25
  field :service_levels, _("Service Levels"), Fields::List
25
26
  end
26
27
 
28
+ def extend_data(data)
29
+ data["simple_content_access_label"] = if data["simple_content_access"]
30
+ _("Enabled")
31
+ else
32
+ _("Disabled")
33
+ end
34
+ data
35
+ end
36
+
27
37
  build_options
28
38
  end
29
39
 
@@ -6,6 +6,14 @@ module HammerCLIKatello
6
6
 
7
7
  output do
8
8
  from "services" do
9
+ label "katello_agent", hide_blank: true do
10
+ from "katello_agent" do
11
+ field "status", _("Status"), Fields::Field, hide_blank: true
12
+ field "message", _("message"), Fields::Field, hide_blank: true
13
+ field "_response", _("Server Response"), Fields::Field, hide_blank: true
14
+ end
15
+ end
16
+
9
17
  label "candlepin" do
10
18
  from "candlepin" do
11
19
  field "status", _("Status")
@@ -13,17 +21,17 @@ module HammerCLIKatello
13
21
  end
14
22
  end
15
23
 
16
- label "candlepin_events" do
17
- from "candlepin_events" do
24
+ label "candlepin_auth" do
25
+ from "candlepin_auth" do
18
26
  field "status", _("Status")
19
- field "message", _("message")
20
27
  field "_response", _("Server Response")
21
28
  end
22
29
  end
23
30
 
24
- label "candlepin_auth" do
25
- from "candlepin_auth" do
31
+ label "candlepin_events" do
32
+ from "candlepin_events" do
26
33
  field "status", _("Status")
34
+ field "message", _("message")
27
35
  field "_response", _("Server Response")
28
36
  end
29
37
  end
@@ -2,6 +2,25 @@ module HammerCLIKatello
2
2
  class Repository < HammerCLIKatello::Command
3
3
  resource :repositories
4
4
 
5
+ module AnsibleCollectionRequirementsHelper
6
+ def self.included(base)
7
+ base.option "--ansible-collection-requirements-file",
8
+ "REQUIREMENTS_FILE", _("Location of the ansible collections "\
9
+ "requirements.yml file. "),
10
+ :attribute_name => :option_ansible_collection_requirements_file,
11
+ :required => false
12
+ end
13
+
14
+ def request_params
15
+ super.tap do |opts|
16
+ requirements_file = option_ansible_collection_requirements_file
17
+ if requirements_file
18
+ opts["ansible_collection_requirements"] = File.read(requirements_file)
19
+ end
20
+ end
21
+ end
22
+ end
23
+
5
24
  class ListCommand < HammerCLIKatello::ListCommand
6
25
  include LifecycleEnvironmentNameMapping
7
26
 
@@ -192,6 +211,7 @@ module HammerCLIKatello
192
211
  end
193
212
 
194
213
  class CreateCommand < HammerCLIKatello::CreateCommand
214
+ include AnsibleCollectionRequirementsHelper
195
215
  success_message _("Repository created.")
196
216
  failure_message _("Could not create the repository")
197
217
 
@@ -204,6 +224,7 @@ module HammerCLIKatello
204
224
 
205
225
  class UpdateCommand < HammerCLIKatello::UpdateCommand
206
226
  extend RepositoryScopedToProduct
227
+ include AnsibleCollectionRequirementsHelper
207
228
 
208
229
  validate_repo_name_requires_product_options
209
230
  include OrganizationOptions
@@ -15,6 +15,7 @@ module HammerCLIKatello
15
15
 
16
16
  class EnableCommand < HammerCLIKatello::SingleResourceCommand
17
17
  include EligibleCheck
18
+ include HammerCLIForemanTasks::Async
18
19
  resource :simple_content_access, :enable
19
20
  command_name "enable"
20
21
 
@@ -26,6 +27,7 @@ module HammerCLIKatello
26
27
 
27
28
  class DisableCommand < HammerCLIKatello::SingleResourceCommand
28
29
  include EligibleCheck
30
+ include HammerCLIForemanTasks::Async
29
31
  resource :simple_content_access, :disable
30
32
  command_name "disable"
31
33
 
@@ -1,5 +1,5 @@
1
1
  module HammerCLIKatello
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.0.1')
3
+ @version ||= Gem::Version.new('1.1.3')
4
4
  end
5
5
  end
@@ -30,7 +30,6 @@ module HammerCLIKatello
30
30
  require 'hammer_cli_katello/id_name_options_validator'
31
31
  require 'hammer_cli_katello/local_helper'
32
32
  require 'hammer_cli_katello/apipie_helper'
33
- require 'hammer_cli_katello/cv_import_export_helper'
34
33
  require 'hammer_cli_katello/content_export_helper'
35
34
 
36
35
  # commands
@@ -156,6 +155,11 @@ module HammerCLIKatello
156
155
  'hammer_cli_katello/simple_content_access'
157
156
  )
158
157
 
158
+ HammerCLI::MainCommand.lazy_subcommand("docker", _("Manipulate docker content"),
159
+ 'HammerCLIKatello::DockerCommand',
160
+ 'hammer_cli_katello/docker'
161
+ )
162
+
159
163
  # subcommands to hammer_cli_foreman commands
160
164
  require 'hammer_cli_katello/host'
161
165
  require 'hammer_cli_katello/hostgroup'
@@ -1195,31 +1195,6 @@ msgstr ""
1195
1195
  msgid "Unable to sync repositories, no library repository found for %s"
1196
1196
  msgstr ""
1197
1197
 
1198
- #: ../lib/hammer_cli_katello/cv_import_export_helper.rb:19
1199
- msgid ""
1200
- "Unable to find CV version %{cvv} on system. Please ensure it is already import"
1201
- "ed."
1202
- msgstr ""
1203
-
1204
- #: ../lib/hammer_cli_katello/cv_import_export_helper.rb:29
1205
- msgid ""
1206
- "The Content View #{cv['name']} is not present on this server, please create th"
1207
- "e Content View and try the import again."
1208
- msgstr ""
1209
-
1210
- #: ../lib/hammer_cli_katello/cv_import_export_helper.rb:34
1211
- msgid ""
1212
- "The latest version (#{import_cv['latest_version']}) of the Content View '#{cv["
1213
- "'name']}' is greater or equal to the version you are trying to import (#{versi"
1214
- "on})"
1215
- msgstr ""
1216
-
1217
- #: ../lib/hammer_cli_katello/cv_import_export_helper.rb:45
1218
- msgid ""
1219
- "The Repository '#{repo['name']}' is set with Mirror-on-Sync to YES. Please cha"
1220
- "nge Mirror-on-Sync to NO and try the import again."
1221
- msgstr ""
1222
-
1223
1198
  #: ../lib/hammer_cli_katello/erratum.rb:14
1224
1199
  #: ../lib/hammer_cli_katello/erratum_info_command.rb:11
1225
1200
  #: ../lib/hammer_cli_katello/filter.rb:47
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.0.1
4
+ version: 1.1.3
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-13 00:00:00.000000000 Z
38
+ date: 2021-09-21 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
@@ -251,8 +223,10 @@ files:
251
223
  - lib/hammer_cli_katello/content_view_name_resolvable.rb
252
224
  - lib/hammer_cli_katello/content_view_purge.rb
253
225
  - lib/hammer_cli_katello/content_view_version.rb
254
- - lib/hammer_cli_katello/cv_import_export_helper.rb
255
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
256
230
  - lib/hammer_cli_katello/erratum.rb
257
231
  - lib/hammer_cli_katello/erratum_info_command.rb
258
232
  - lib/hammer_cli_katello/exception_handler.rb
@@ -322,199 +296,6 @@ files:
322
296
  - locale/zanata.xml
323
297
  - locale/zh_CN/hammer-cli-katello.po
324
298
  - locale/zh_TW/hammer-cli-katello.po
325
- - test/data/2.5/foreman_api.json
326
- - test/data/3.0/foreman_api.json
327
- - test/data/3.10/foreman_api.json
328
- - test/data/3.11/foreman_api.json
329
- - test/data/3.12/foreman_api.json
330
- - test/data/3.13/foreman_api.json
331
- - test/data/3.14/foreman_api.json
332
- - test/data/3.15/foreman_api.json
333
- - test/data/3.16/foreman_api.json
334
- - test/data/3.17/foreman_api.json
335
- - test/data/3.18/foreman_api.json
336
- - test/data/3.19/foreman_api.json
337
- - test/data/3.2/foreman_api.json
338
- - test/data/3.4/foreman_api.json
339
- - test/data/3.5/foreman_api.json
340
- - test/data/3.6/foreman_api.json
341
- - test/data/3.7/foreman_api.json
342
- - test/data/3.8/foreman_api.json
343
- - test/data/3.9/foreman_api.json
344
- - test/data/4.0/foreman_api.json
345
- - test/data/Readme.md
346
- - test/functional/activation_key/add_host_collection_test.rb
347
- - test/functional/activation_key/content_override_test.rb
348
- - test/functional/activation_key/create_test.rb
349
- - test/functional/activation_key/data/activation_key.json
350
- - test/functional/activation_key/info_test.rb
351
- - test/functional/activation_key/list_test.rb
352
- - test/functional/activation_key/product_content_test.rb
353
- - test/functional/activation_key/remove_host_collection_test.rb
354
- - test/functional/activation_key/subscriptions_test.rb
355
- - test/functional/activation_key/update_test.rb
356
- - test/functional/apipie_helper_test.rb
357
- - test/functional/capsule/capsule_helpers.rb
358
- - test/functional/capsule/content/add_lifecycle_environment_test.rb
359
- - test/functional/capsule/content/cancel_synchronization_test.rb
360
- - test/functional/capsule/content/capsule_content_helpers.rb
361
- - test/functional/capsule/content/data/library_env.json
362
- - test/functional/capsule/content/data/sync_status.json
363
- - test/functional/capsule/content/data/sync_tasks.json
364
- - test/functional/capsule/content/info_test.rb
365
- - test/functional/capsule/content/lifecycle_environments_test.rb
366
- - test/functional/capsule/content/remove_lifecycle_environment_test.rb
367
- - test/functional/capsule/content/synchronization_status_test.rb
368
- - test/functional/capsule/info_test.rb
369
- - test/functional/capsule/list_test.rb
370
- - test/functional/content_credentials/create_test.rb
371
- - test/functional/content_credentials/data/test_cert.json
372
- - test/functional/content_credentials/info_test.rb
373
- - test/functional/content_credentials/list_test.rb
374
- - test/functional/content_export/complete/library_test.rb
375
- - test/functional/content_export/complete/version_test.rb
376
- - test/functional/content_export/content_export_helpers.rb
377
- - test/functional/content_export/generate_metadata_test.rb
378
- - test/functional/content_export/incremental/library_test.rb
379
- - test/functional/content_export/incremental/version_test.rb
380
- - test/functional/content_export/list_test.rb
381
- - test/functional/content_import/library_test.rb
382
- - test/functional/content_import/metadata.json
383
- - test/functional/content_import/version_test.rb
384
- - test/functional/content_view/add_content_view_version_test.rb
385
- - test/functional/content_view/add_repository_test.rb
386
- - test/functional/content_view/component/add_test.rb
387
- - test/functional/content_view/component/list_test.rb
388
- - test/functional/content_view/component/remove_test.rb
389
- - test/functional/content_view/component/update_test.rb
390
- - test/functional/content_view/content_view_helpers.rb
391
- - test/functional/content_view/copy_test.rb
392
- - test/functional/content_view/create_test.rb
393
- - test/functional/content_view/delete_test.rb
394
- - test/functional/content_view/filter/create_test.rb
395
- - test/functional/content_view/filter/delete_test.rb
396
- - test/functional/content_view/filter/info_test.rb
397
- - test/functional/content_view/filter/list_test.rb
398
- - test/functional/content_view/filter/update_test.rb
399
- - test/functional/content_view/list_test.rb
400
- - test/functional/content_view/publish_test.rb
401
- - test/functional/content_view/purge_test.rb
402
- - test/functional/content_view/remove_content_view_version_test.rb
403
- - test/functional/content_view/remove_test.rb
404
- - test/functional/content_view/update_test.rb
405
- - test/functional/content_view/version/cv_import_export_helper_test.rb
406
- - test/functional/content_view/version/default_export_test.rb
407
- - test/functional/content_view/version/export_test.rb
408
- - test/functional/content_view/version/import_test.rb
409
- - test/functional/content_view/version/incremental_update_test.rb
410
- - test/functional/content_view/version/list_test.rb
411
- - test/functional/content_view/version/promote_test.rb
412
- - test/functional/content_view/version/republish_repositories_test.rb
413
- - test/functional/content_view/version/update_test.rb
414
- - test/functional/erratum/erratum_helpers.rb
415
- - test/functional/erratum/info_test.rb
416
- - test/functional/erratum/list_test.rb
417
- - test/functional/file/file_helpers.rb
418
- - test/functional/file/info_test.rb
419
- - test/functional/file/list_test.rb
420
- - test/functional/filter_rule/create_test.rb
421
- - test/functional/filter_rule/delete_test.rb
422
- - test/functional/filter_rule/filter_rule_helpers.rb
423
- - test/functional/filter_rule/info_test.rb
424
- - test/functional/filter_rule/list_test.rb
425
- - test/functional/filter_rule/update_test.rb
426
- - test/functional/host/errata/apply_test.rb
427
- - test/functional/host/errata/info_test.rb
428
- - test/functional/host/errata/list_test.rb
429
- - test/functional/host/errata/recalculate_test.rb
430
- - test/functional/host/extensions/create_test.rb
431
- - test/functional/host/extensions/data/host.json
432
- - test/functional/host/extensions/data/host_list.json
433
- - test/functional/host/extensions/info_test.rb
434
- - test/functional/host/extensions/list_test.rb
435
- - test/functional/host/extensions/update_test.rb
436
- - test/functional/host/host_helpers.rb
437
- - test/functional/host/subscription/attach_test.rb
438
- - test/functional/host/subscription/auto_attach_test.rb
439
- - test/functional/host/subscription/content_override_test.rb
440
- - test/functional/host/subscription/product_content_test.rb
441
- - test/functional/host/subscription/register_test.rb
442
- - test/functional/host/subscription/remove_test.rb
443
- - test/functional/host/subscription/unregister_test.rb
444
- - test/functional/host/traces/list_test.rb
445
- - test/functional/host/traces/resolve_test.rb
446
- - test/functional/host_collection/add_host_test.rb
447
- - test/functional/host_collection/content_api_expectations.rb
448
- - test/functional/host_collection/content_install_test.rb
449
- - test/functional/host_collection/content_remove_test.rb
450
- - test/functional/host_collection/content_update_test.rb
451
- - test/functional/host_collection/copy_test.rb
452
- - test/functional/host_collection/create_test.rb
453
- - test/functional/host_collection/delete_test.rb
454
- - test/functional/host_collection/hosts_test.rb
455
- - test/functional/host_collection/info_test.rb
456
- - test/functional/host_collection/list_test.rb
457
- - test/functional/host_collection/remove_host_test.rb
458
- - test/functional/host_collection/update_test.rb
459
- - test/functional/hostgroup/create_test.rb
460
- - test/functional/hostgroup/data/hostgroup.json
461
- - test/functional/hostgroup/info_test.rb
462
- - test/functional/hostgroup/update_test.rb
463
- - test/functional/lifecycle_environment/create_test.rb
464
- - test/functional/lifecycle_environment/lifecycle_environment_helpers.rb
465
- - test/functional/lifecycle_environment/list_test.rb
466
- - test/functional/lifecycle_environment/update_test.rb
467
- - test/functional/local_helper_test.rb
468
- - test/functional/module_stream/info_test.rb
469
- - test/functional/module_stream/list_test.rb
470
- - test/functional/organization/delete_test.rb
471
- - test/functional/organization/organization_helpers.rb
472
- - test/functional/package/list_test.rb
473
- - test/functional/package_group/list_test.rb
474
- - test/functional/ping_test.rb
475
- - test/functional/product/create_test.rb
476
- - test/functional/product/delete_test.rb
477
- - test/functional/product/info_test.rb
478
- - test/functional/product/list_test.rb
479
- - test/functional/product/product_helpers.rb
480
- - test/functional/product/remove_sync_plan_test.rb
481
- - test/functional/product/set_sync_plan_test.rb
482
- - test/functional/product/update_proxy.rb
483
- - test/functional/product/update_test.rb
484
- - test/functional/repository/create_test.rb
485
- - test/functional/repository/delete_test.rb
486
- - test/functional/repository/export_test.rb
487
- - test/functional/repository/info_test.rb
488
- - test/functional/repository/list_test.rb
489
- - test/functional/repository/remove_content_test.rb
490
- - test/functional/repository/repository_helpers.rb
491
- - test/functional/repository/synchronize_test.rb
492
- - test/functional/repository/update_test.rb
493
- - test/functional/repository/upload_test.rb
494
- - test/functional/repository_set/available_repositories_test.rb
495
- - test/functional/repository_set/disable_test.rb
496
- - test/functional/repository_set/enable_test.rb
497
- - test/functional/repository_set/info_test.rb
498
- - test/functional/repository_set/list_test.rb
499
- - test/functional/repository_set/repository_set_helpers.rb
500
- - test/functional/search_helpers.rb
501
- - test/functional/simple_content_access/disable_test.rb
502
- - test/functional/simple_content_access/enable_test.rb
503
- - test/functional/srpm/list_test.rb
504
- - test/functional/subscription/list_test.rb
505
- - test/functional/sync_plan/create_test.rb
506
- - test/functional/sync_plan/delete_test.rb
507
- - test/functional/sync_plan/info_test.rb
508
- - test/functional/sync_plan/list_test.rb
509
- - test/functional/sync_plan/sync_plan_helpers.rb
510
- - test/functional/sync_plan/update_test.rb
511
- - test/functional/test_helper.rb
512
- - test/task_helper.rb
513
- - test/test_helper.rb
514
- - test/unit/id_name_options_validator_test.rb
515
- - test/unit/id_resolver_test.rb
516
- - test/unit/messages_test.rb
517
- - test/unit/search_options_creators_test.rb
518
299
  homepage: https://github.com/Katello/hammer-cli-katello
519
300
  licenses:
520
301
  - GPL-3.0
@@ -534,201 +315,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
534
315
  - !ruby/object:Gem::Version
535
316
  version: '0'
536
317
  requirements: []
537
- rubygems_version: 3.1.2
318
+ rubygems_version: 3.1.6
538
319
  signing_key:
539
320
  specification_version: 4
540
321
  summary: Katello commands for Hammer
541
- test_files:
542
- - test/data/2.5/foreman_api.json
543
- - test/data/3.0/foreman_api.json
544
- - test/data/3.10/foreman_api.json
545
- - test/data/3.11/foreman_api.json
546
- - test/data/3.12/foreman_api.json
547
- - test/data/3.13/foreman_api.json
548
- - test/data/3.14/foreman_api.json
549
- - test/data/3.15/foreman_api.json
550
- - test/data/3.16/foreman_api.json
551
- - test/data/3.17/foreman_api.json
552
- - test/data/3.18/foreman_api.json
553
- - test/data/3.19/foreman_api.json
554
- - test/data/3.2/foreman_api.json
555
- - test/data/3.4/foreman_api.json
556
- - test/data/3.5/foreman_api.json
557
- - test/data/3.6/foreman_api.json
558
- - test/data/3.7/foreman_api.json
559
- - test/data/3.8/foreman_api.json
560
- - test/data/3.9/foreman_api.json
561
- - test/data/4.0/foreman_api.json
562
- - test/data/Readme.md
563
- - test/functional/activation_key/add_host_collection_test.rb
564
- - test/functional/activation_key/content_override_test.rb
565
- - test/functional/activation_key/create_test.rb
566
- - test/functional/activation_key/data/activation_key.json
567
- - test/functional/activation_key/info_test.rb
568
- - test/functional/activation_key/list_test.rb
569
- - test/functional/activation_key/product_content_test.rb
570
- - test/functional/activation_key/remove_host_collection_test.rb
571
- - test/functional/activation_key/subscriptions_test.rb
572
- - test/functional/activation_key/update_test.rb
573
- - test/functional/apipie_helper_test.rb
574
- - test/functional/capsule/capsule_helpers.rb
575
- - test/functional/capsule/content/add_lifecycle_environment_test.rb
576
- - test/functional/capsule/content/cancel_synchronization_test.rb
577
- - test/functional/capsule/content/capsule_content_helpers.rb
578
- - test/functional/capsule/content/data/library_env.json
579
- - test/functional/capsule/content/data/sync_status.json
580
- - test/functional/capsule/content/data/sync_tasks.json
581
- - test/functional/capsule/content/info_test.rb
582
- - test/functional/capsule/content/lifecycle_environments_test.rb
583
- - test/functional/capsule/content/remove_lifecycle_environment_test.rb
584
- - test/functional/capsule/content/synchronization_status_test.rb
585
- - test/functional/capsule/info_test.rb
586
- - test/functional/capsule/list_test.rb
587
- - test/functional/content_credentials/create_test.rb
588
- - test/functional/content_credentials/data/test_cert.json
589
- - test/functional/content_credentials/info_test.rb
590
- - test/functional/content_credentials/list_test.rb
591
- - test/functional/content_export/complete/library_test.rb
592
- - test/functional/content_export/complete/version_test.rb
593
- - test/functional/content_export/content_export_helpers.rb
594
- - test/functional/content_export/generate_metadata_test.rb
595
- - test/functional/content_export/incremental/library_test.rb
596
- - test/functional/content_export/incremental/version_test.rb
597
- - test/functional/content_export/list_test.rb
598
- - test/functional/content_import/library_test.rb
599
- - test/functional/content_import/metadata.json
600
- - test/functional/content_import/version_test.rb
601
- - test/functional/content_view/add_content_view_version_test.rb
602
- - test/functional/content_view/add_repository_test.rb
603
- - test/functional/content_view/component/add_test.rb
604
- - test/functional/content_view/component/list_test.rb
605
- - test/functional/content_view/component/remove_test.rb
606
- - test/functional/content_view/component/update_test.rb
607
- - test/functional/content_view/content_view_helpers.rb
608
- - test/functional/content_view/copy_test.rb
609
- - test/functional/content_view/create_test.rb
610
- - test/functional/content_view/delete_test.rb
611
- - test/functional/content_view/filter/create_test.rb
612
- - test/functional/content_view/filter/delete_test.rb
613
- - test/functional/content_view/filter/info_test.rb
614
- - test/functional/content_view/filter/list_test.rb
615
- - test/functional/content_view/filter/update_test.rb
616
- - test/functional/content_view/list_test.rb
617
- - test/functional/content_view/publish_test.rb
618
- - test/functional/content_view/purge_test.rb
619
- - test/functional/content_view/remove_content_view_version_test.rb
620
- - test/functional/content_view/remove_test.rb
621
- - test/functional/content_view/update_test.rb
622
- - test/functional/content_view/version/cv_import_export_helper_test.rb
623
- - test/functional/content_view/version/default_export_test.rb
624
- - test/functional/content_view/version/export_test.rb
625
- - test/functional/content_view/version/import_test.rb
626
- - test/functional/content_view/version/incremental_update_test.rb
627
- - test/functional/content_view/version/list_test.rb
628
- - test/functional/content_view/version/promote_test.rb
629
- - test/functional/content_view/version/republish_repositories_test.rb
630
- - test/functional/content_view/version/update_test.rb
631
- - test/functional/erratum/erratum_helpers.rb
632
- - test/functional/erratum/info_test.rb
633
- - test/functional/erratum/list_test.rb
634
- - test/functional/file/file_helpers.rb
635
- - test/functional/file/info_test.rb
636
- - test/functional/file/list_test.rb
637
- - test/functional/filter_rule/create_test.rb
638
- - test/functional/filter_rule/delete_test.rb
639
- - test/functional/filter_rule/filter_rule_helpers.rb
640
- - test/functional/filter_rule/info_test.rb
641
- - test/functional/filter_rule/list_test.rb
642
- - test/functional/filter_rule/update_test.rb
643
- - test/functional/host/errata/apply_test.rb
644
- - test/functional/host/errata/info_test.rb
645
- - test/functional/host/errata/list_test.rb
646
- - test/functional/host/errata/recalculate_test.rb
647
- - test/functional/host/extensions/create_test.rb
648
- - test/functional/host/extensions/data/host.json
649
- - test/functional/host/extensions/data/host_list.json
650
- - test/functional/host/extensions/info_test.rb
651
- - test/functional/host/extensions/list_test.rb
652
- - test/functional/host/extensions/update_test.rb
653
- - test/functional/host/host_helpers.rb
654
- - test/functional/host/subscription/attach_test.rb
655
- - test/functional/host/subscription/auto_attach_test.rb
656
- - test/functional/host/subscription/content_override_test.rb
657
- - test/functional/host/subscription/product_content_test.rb
658
- - test/functional/host/subscription/register_test.rb
659
- - test/functional/host/subscription/remove_test.rb
660
- - test/functional/host/subscription/unregister_test.rb
661
- - test/functional/host/traces/list_test.rb
662
- - test/functional/host/traces/resolve_test.rb
663
- - test/functional/host_collection/add_host_test.rb
664
- - test/functional/host_collection/content_api_expectations.rb
665
- - test/functional/host_collection/content_install_test.rb
666
- - test/functional/host_collection/content_remove_test.rb
667
- - test/functional/host_collection/content_update_test.rb
668
- - test/functional/host_collection/copy_test.rb
669
- - test/functional/host_collection/create_test.rb
670
- - test/functional/host_collection/delete_test.rb
671
- - test/functional/host_collection/hosts_test.rb
672
- - test/functional/host_collection/info_test.rb
673
- - test/functional/host_collection/list_test.rb
674
- - test/functional/host_collection/remove_host_test.rb
675
- - test/functional/host_collection/update_test.rb
676
- - test/functional/hostgroup/create_test.rb
677
- - test/functional/hostgroup/data/hostgroup.json
678
- - test/functional/hostgroup/info_test.rb
679
- - test/functional/hostgroup/update_test.rb
680
- - test/functional/lifecycle_environment/create_test.rb
681
- - test/functional/lifecycle_environment/lifecycle_environment_helpers.rb
682
- - test/functional/lifecycle_environment/list_test.rb
683
- - test/functional/lifecycle_environment/update_test.rb
684
- - test/functional/local_helper_test.rb
685
- - test/functional/module_stream/info_test.rb
686
- - test/functional/module_stream/list_test.rb
687
- - test/functional/organization/delete_test.rb
688
- - test/functional/organization/organization_helpers.rb
689
- - test/functional/package/list_test.rb
690
- - test/functional/package_group/list_test.rb
691
- - test/functional/ping_test.rb
692
- - test/functional/product/create_test.rb
693
- - test/functional/product/delete_test.rb
694
- - test/functional/product/info_test.rb
695
- - test/functional/product/list_test.rb
696
- - test/functional/product/product_helpers.rb
697
- - test/functional/product/remove_sync_plan_test.rb
698
- - test/functional/product/set_sync_plan_test.rb
699
- - test/functional/product/update_proxy.rb
700
- - test/functional/product/update_test.rb
701
- - test/functional/repository/create_test.rb
702
- - test/functional/repository/delete_test.rb
703
- - test/functional/repository/export_test.rb
704
- - test/functional/repository/info_test.rb
705
- - test/functional/repository/list_test.rb
706
- - test/functional/repository/remove_content_test.rb
707
- - test/functional/repository/repository_helpers.rb
708
- - test/functional/repository/synchronize_test.rb
709
- - test/functional/repository/update_test.rb
710
- - test/functional/repository/upload_test.rb
711
- - test/functional/repository_set/available_repositories_test.rb
712
- - test/functional/repository_set/disable_test.rb
713
- - test/functional/repository_set/enable_test.rb
714
- - test/functional/repository_set/info_test.rb
715
- - test/functional/repository_set/list_test.rb
716
- - test/functional/repository_set/repository_set_helpers.rb
717
- - test/functional/search_helpers.rb
718
- - test/functional/simple_content_access/disable_test.rb
719
- - test/functional/simple_content_access/enable_test.rb
720
- - test/functional/srpm/list_test.rb
721
- - test/functional/subscription/list_test.rb
722
- - test/functional/sync_plan/create_test.rb
723
- - test/functional/sync_plan/delete_test.rb
724
- - test/functional/sync_plan/info_test.rb
725
- - test/functional/sync_plan/list_test.rb
726
- - test/functional/sync_plan/sync_plan_helpers.rb
727
- - test/functional/sync_plan/update_test.rb
728
- - test/functional/test_helper.rb
729
- - test/task_helper.rb
730
- - test/test_helper.rb
731
- - test/unit/id_name_options_validator_test.rb
732
- - test/unit/id_resolver_test.rb
733
- - test/unit/messages_test.rb
734
- - test/unit/search_options_creators_test.rb
322
+ test_files: []