hammer_cli_foreman 2.3.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/release_notes.md +33 -3
- data/lib/hammer_cli_foreman.rb +3 -21
- data/lib/hammer_cli_foreman/associating_commands.rb +0 -24
- data/lib/hammer_cli_foreman/bookmark.rb +1 -1
- data/lib/hammer_cli_foreman/combination.rb +3 -13
- data/lib/hammer_cli_foreman/command_extensions.rb +1 -2
- data/lib/hammer_cli_foreman/command_extensions/ping.rb +21 -2
- data/lib/hammer_cli_foreman/command_extensions/status.rb +1 -1
- data/lib/hammer_cli_foreman/command_extensions/update_common.rb +14 -0
- data/lib/hammer_cli_foreman/commands.rb +16 -9
- data/lib/hammer_cli_foreman/compute_resource.rb +22 -0
- data/lib/hammer_cli_foreman/compute_resource/ovirt.rb +2 -1
- data/lib/hammer_cli_foreman/config_report.rb +2 -0
- data/lib/hammer_cli_foreman/filter.rb +2 -2
- data/lib/hammer_cli_foreman/host.rb +1 -47
- data/lib/hammer_cli_foreman/hostgroup.rb +2 -53
- data/lib/hammer_cli_foreman/hosts/common_update_options.rb +7 -28
- data/lib/hammer_cli_foreman/id_resolver.rb +0 -61
- data/lib/hammer_cli_foreman/location.rb +0 -6
- data/lib/hammer_cli_foreman/operating_system.rb +2 -1
- data/lib/hammer_cli_foreman/option_builders.rb +6 -5
- data/lib/hammer_cli_foreman/option_sources.rb +0 -1
- data/lib/hammer_cli_foreman/option_sources/id_params.rb +27 -10
- data/lib/hammer_cli_foreman/option_sources/ids_params.rb +25 -6
- data/lib/hammer_cli_foreman/organization.rb +0 -6
- data/lib/hammer_cli_foreman/ping.rb +6 -1
- data/lib/hammer_cli_foreman/references.rb +0 -16
- data/lib/hammer_cli_foreman/registration.rb +18 -0
- data/lib/hammer_cli_foreman/smart_proxy.rb +0 -52
- data/lib/hammer_cli_foreman/version.rb +1 -1
- data/lib/minitest/coverage_reporter.rb +1 -1
- data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/test/data/2.4/foreman_api.json +1 -0
- data/test/data/2.5/foreman_api.json +1 -0
- data/test/functional/architecture_test.rb +81 -0
- data/test/functional/bookmark_test.rb +24 -1
- data/test/functional/compute_profile_test.rb +56 -0
- data/test/functional/compute_resource_test.rb +37 -0
- data/test/functional/filter_test.rb +115 -47
- data/test/functional/host_test.rb +94 -13
- data/test/functional/hostgroup/create_test.rb +0 -117
- data/test/functional/hostgroup/update_test.rb +0 -79
- data/test/functional/http_proxy_test.rb +12 -0
- data/test/functional/location_test.rb +13 -3
- data/test/functional/mail_notification_test.rb +22 -0
- data/test/functional/media_test.rb +11 -0
- data/test/functional/model_test.rb +52 -0
- data/test/functional/operating_system_test.rb +53 -0
- data/test/functional/ping_test.rb +33 -0
- data/test/functional/realm_test.rb +11 -0
- data/test/functional/registration_test.rb +8 -0
- data/test/functional/report_template_test.rb +11 -0
- data/test/functional/settings_test.rb +21 -0
- data/test/functional/status_test.rb +79 -13
- data/test/functional/template_test.rb +16 -37
- data/test/functional/user_test.rb +11 -0
- data/test/functional/usergroup_test.rb +53 -0
- data/test/test_helper.rb +1 -1
- data/test/unit/apipie_resource_mock.rb +22 -39
- data/test/unit/architecture_test.rb +10 -1
- data/test/unit/bookmark_test.rb +95 -0
- data/test/unit/compute_profile_test.rb +87 -0
- data/test/unit/config_report_test.rb +1 -0
- data/test/unit/helpers/command.rb +0 -8
- data/test/unit/host_test.rb +14 -61
- data/test/unit/hostgroup_test.rb +7 -26
- data/test/unit/id_resolver_test.rb +0 -28
- data/test/unit/mail_notification_test.rb +53 -0
- data/test/unit/model_test.rb +47 -37
- data/test/unit/operating_system_test.rb +10 -3
- data/test/unit/option_sources/id_params_test.rb +9 -0
- data/test/unit/option_sources/ids_params_test.rb +9 -0
- data/test/unit/settings_test.rb +4 -0
- data/test/unit/smart_proxy_test.rb +0 -12
- data/test/unit/usergroup_test.rb +10 -0
- metadata +76 -73
- data/lib/hammer_cli_foreman/command_extensions/puppet_environment.rb +0 -29
- data/lib/hammer_cli_foreman/command_extensions/puppet_environments.rb +0 -29
- data/lib/hammer_cli_foreman/config_group.rb +0 -45
- data/lib/hammer_cli_foreman/option_sources/puppet_environment_params.rb +0 -59
- data/lib/hammer_cli_foreman/puppet_class.rb +0 -61
- data/lib/hammer_cli_foreman/puppet_environment.rb +0 -65
- data/lib/hammer_cli_foreman/smart_class_parameter.rb +0 -189
- data/test/functional/proxy_test.rb +0 -86
- data/test/functional/smart_class_parameter_test.rb +0 -97
- data/test/unit/config_group_test.rb +0 -72
- data/test/unit/puppet_class_test.rb +0 -72
- data/test/unit/puppet_environment_test.rb +0 -114
- data/test/unit/smart_class_parameter_test.rb +0 -113
@@ -26,5 +26,14 @@ describe HammerCLIForeman::OptionSources::IdParams do
|
|
26
26
|
params = id_params_source.get_options([], option_data)
|
27
27
|
_(params).must_equal expected_data
|
28
28
|
end
|
29
|
+
|
30
|
+
it 'resolves param when set but different name' do
|
31
|
+
hg_cmd.stubs(:get_resource_id).returns(nil)
|
32
|
+
hg_cmd.expects(:get_resource_id).with { |res| res.name == :domains }.returns(3)
|
33
|
+
option_data = { 'option_domain_id' => 1, 'option_domain_name' => 'test3' }
|
34
|
+
expected_data = { 'option_domain_id' => 3, 'option_domain_name' => 'test3' }
|
35
|
+
params = id_params_source.get_options([], option_data)
|
36
|
+
_(params).must_equal expected_data
|
37
|
+
end
|
29
38
|
end
|
30
39
|
end
|
@@ -26,5 +26,14 @@ describe HammerCLIForeman::OptionSources::IdsParams do
|
|
26
26
|
params = ids_params_source.get_options([], option_data)
|
27
27
|
_(params).must_equal expected_data
|
28
28
|
end
|
29
|
+
|
30
|
+
it "resolves param when set but different name" do
|
31
|
+
cmd.stubs(:get_resource_ids).returns(nil)
|
32
|
+
cmd.expects(:get_resource_ids).with { |res| res.name == :locations }.returns([3])
|
33
|
+
option_data = { 'option_location_ids' => [1], 'option_location_names' => 'test3' }
|
34
|
+
expected_data = { 'option_location_ids' => [3], 'option_location_names' => 'test3' }
|
35
|
+
params = ids_params_source.get_options([], option_data)
|
36
|
+
_(params).must_equal expected_data
|
37
|
+
end
|
29
38
|
end
|
30
39
|
end
|
data/test/unit/settings_test.rb
CHANGED
@@ -18,6 +18,8 @@ describe HammerCLIForeman::Settings do
|
|
18
18
|
context "parameters" do
|
19
19
|
it_should_accept "no arguments"
|
20
20
|
it_should_accept_search_params
|
21
|
+
it_should_accept 'organization', ['--organization-id=1']
|
22
|
+
it_should_accept 'location', ['--location-id=1']
|
21
23
|
end
|
22
24
|
|
23
25
|
context "output" do
|
@@ -38,6 +40,8 @@ describe HammerCLIForeman::Settings do
|
|
38
40
|
context "parameters" do
|
39
41
|
it_should_accept "name", ["--name=setting1", "--value=setting2"]
|
40
42
|
it_should_accept "id", ["--id=1", "--value=setting2"]
|
43
|
+
it_should_accept 'organization', %w[--id=1 --organization-id=1]
|
44
|
+
it_should_accept 'location', %w[--id=1 --location-id=1]
|
41
45
|
end
|
42
46
|
|
43
47
|
end
|
@@ -90,18 +90,6 @@ describe HammerCLIForeman::SmartProxy do
|
|
90
90
|
|
91
91
|
end
|
92
92
|
|
93
|
-
context "ImportPuppetClassesCommand" do
|
94
|
-
|
95
|
-
let(:cmd) { HammerCLIForeman::SmartProxy::ImportPuppetClassesCommand.new("", ctx) }
|
96
|
-
|
97
|
-
context "parameters" do
|
98
|
-
it_should_accept "id, environment-id and dryrun", ["--id=1", "--environment-id=1", "--dryrun"]
|
99
|
-
# it_should_fail_with "id missing", []
|
100
|
-
# TODO: temporarily disabled, parameters are checked in the id resolver
|
101
|
-
end
|
102
|
-
|
103
|
-
end
|
104
|
-
|
105
93
|
context "RefreshFeaturesCommand" do
|
106
94
|
|
107
95
|
let(:cmd) { HammerCLIForeman::SmartProxy::RefreshFeaturesCommand.new("", ctx) }
|
data/test/unit/usergroup_test.rb
CHANGED
@@ -18,6 +18,8 @@ describe HammerCLIForeman::Usergroup do
|
|
18
18
|
context "parameters" do
|
19
19
|
it_should_accept "no arguments"
|
20
20
|
it_should_accept_search_params
|
21
|
+
it_should_accept 'organization', ['--organization-id=1']
|
22
|
+
it_should_accept 'location', ['--location-id=1']
|
21
23
|
end
|
22
24
|
|
23
25
|
context "output" do
|
@@ -35,6 +37,8 @@ describe HammerCLIForeman::Usergroup do
|
|
35
37
|
context "parameters" do
|
36
38
|
it_should_accept "id", ["--id=1"]
|
37
39
|
it_should_accept "name", ["--name=ug"]
|
40
|
+
it_should_accept 'organization', %w[--id=1 --organization-id=1]
|
41
|
+
it_should_accept 'location', %w[--id=1 --location-id=1]
|
38
42
|
end
|
39
43
|
|
40
44
|
context "output" do
|
@@ -58,6 +62,8 @@ describe HammerCLIForeman::Usergroup do
|
|
58
62
|
context "parameters" do
|
59
63
|
it_should_accept "name", ["--name=ug"]
|
60
64
|
it_should_accept "name, role ids, user group ids and user ids", ["--name=ug", "--role-ids=1,2,3", "--user-group-ids=1,2,3", "--user-ids=1,2,3"]
|
65
|
+
it_should_accept 'organization', %w[--name=ug --organization-id=1]
|
66
|
+
it_should_accept 'location', %w[--name=ug --location-id=1]
|
61
67
|
end
|
62
68
|
end
|
63
69
|
|
@@ -68,6 +74,8 @@ describe HammerCLIForeman::Usergroup do
|
|
68
74
|
context "parameters" do
|
69
75
|
it_should_accept "name", ["--name=ug"]
|
70
76
|
it_should_accept "id", ["--id=1"]
|
77
|
+
it_should_accept 'organization', %w[--id=1 --organization-id=1]
|
78
|
+
it_should_accept 'location', %w[--id=1 --location-id=1]
|
71
79
|
end
|
72
80
|
end
|
73
81
|
|
@@ -80,6 +88,8 @@ describe HammerCLIForeman::Usergroup do
|
|
80
88
|
it_should_accept "id", ["--id=1"]
|
81
89
|
it_should_accept "name and new name", ["--name=ug", "--new-name=ug2"]
|
82
90
|
it_should_accept "id, new name, role ids, user group ids and user ids", ["--id=1", "--new-name=ug", "--role-ids=1,2,3", "--user-group-ids=1,2,3", "--user-ids=1,2,3"]
|
91
|
+
it_should_accept 'organization', %w[--id=1 --organization-id=1]
|
92
|
+
it_should_accept 'location', %w[--id=1 --location-id=1]
|
83
93
|
end
|
84
94
|
end
|
85
95
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomáš Strachota
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-08-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hammer_cli
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 3.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 3.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: apipie-bindings
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
34
|
+
version: 0.4.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.4.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rest-client
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,12 +81,12 @@ executables: []
|
|
81
81
|
extensions: []
|
82
82
|
extra_rdoc_files:
|
83
83
|
- doc/configuration.md
|
84
|
-
- doc/developer_docs.md
|
85
|
-
- doc/host_create.md
|
86
84
|
- doc/name_id_resolution.md
|
87
85
|
- doc/option_builder.md
|
88
|
-
- doc/plugin.md
|
89
86
|
- doc/using_hammer_cli_foreman_command.md
|
87
|
+
- doc/developer_docs.md
|
88
|
+
- doc/host_create.md
|
89
|
+
- doc/plugin.md
|
90
90
|
- doc/testing.md
|
91
91
|
- doc/release_notes.md
|
92
92
|
- README.md
|
@@ -130,10 +130,9 @@ files:
|
|
130
130
|
- lib/hammer_cli_foreman/command_extensions/hosts/help/interfaces.rb
|
131
131
|
- lib/hammer_cli_foreman/command_extensions/option_sources.rb
|
132
132
|
- lib/hammer_cli_foreman/command_extensions/ping.rb
|
133
|
-
- lib/hammer_cli_foreman/command_extensions/puppet_environment.rb
|
134
|
-
- lib/hammer_cli_foreman/command_extensions/puppet_environments.rb
|
135
133
|
- lib/hammer_cli_foreman/command_extensions/status.rb
|
136
134
|
- lib/hammer_cli_foreman/command_extensions/subnet.rb
|
135
|
+
- lib/hammer_cli_foreman/command_extensions/update_common.rb
|
137
136
|
- lib/hammer_cli_foreman/command_extensions/user.rb
|
138
137
|
- lib/hammer_cli_foreman/commands.rb
|
139
138
|
- lib/hammer_cli_foreman/common_parameter.rb
|
@@ -150,7 +149,6 @@ files:
|
|
150
149
|
- lib/hammer_cli_foreman/compute_resource/register_compute_resources.rb
|
151
150
|
- lib/hammer_cli_foreman/compute_resource/utils.rb
|
152
151
|
- lib/hammer_cli_foreman/compute_resource/vmware.rb
|
153
|
-
- lib/hammer_cli_foreman/config_group.rb
|
154
152
|
- lib/hammer_cli_foreman/config_report.rb
|
155
153
|
- lib/hammer_cli_foreman/defaults.rb
|
156
154
|
- lib/hammer_cli_foreman/dependency_resolver.rb
|
@@ -181,7 +179,6 @@ files:
|
|
181
179
|
- lib/hammer_cli_foreman/option_sources/id_params.rb
|
182
180
|
- lib/hammer_cli_foreman/option_sources/ids_params.rb
|
183
181
|
- lib/hammer_cli_foreman/option_sources/new_params.rb
|
184
|
-
- lib/hammer_cli_foreman/option_sources/puppet_environment_params.rb
|
185
182
|
- lib/hammer_cli_foreman/option_sources/referenced_resource_id_params.rb
|
186
183
|
- lib/hammer_cli_foreman/option_sources/self_param.rb
|
187
184
|
- lib/hammer_cli_foreman/option_sources/user_params.rb
|
@@ -194,16 +191,14 @@ files:
|
|
194
191
|
- lib/hammer_cli_foreman/partition_table.rb
|
195
192
|
- lib/hammer_cli_foreman/personal_access_token.rb
|
196
193
|
- lib/hammer_cli_foreman/ping.rb
|
197
|
-
- lib/hammer_cli_foreman/puppet_class.rb
|
198
|
-
- lib/hammer_cli_foreman/puppet_environment.rb
|
199
194
|
- lib/hammer_cli_foreman/realm.rb
|
200
195
|
- lib/hammer_cli_foreman/references.rb
|
196
|
+
- lib/hammer_cli_foreman/registration.rb
|
201
197
|
- lib/hammer_cli_foreman/report_template.rb
|
202
198
|
- lib/hammer_cli_foreman/resource_supported_test.rb
|
203
199
|
- lib/hammer_cli_foreman/role.rb
|
204
200
|
- lib/hammer_cli_foreman/sessions.rb
|
205
201
|
- lib/hammer_cli_foreman/settings.rb
|
206
|
-
- lib/hammer_cli_foreman/smart_class_parameter.rb
|
207
202
|
- lib/hammer_cli_foreman/smart_proxy.rb
|
208
203
|
- lib/hammer_cli_foreman/ssh_keys.rb
|
209
204
|
- lib/hammer_cli_foreman/status.rb
|
@@ -245,7 +240,10 @@ files:
|
|
245
240
|
- test/data/1.24/foreman_api.json
|
246
241
|
- test/data/2.0/foreman_api.json
|
247
242
|
- test/data/2.1/foreman_api.json
|
243
|
+
- test/data/2.4/foreman_api.json
|
244
|
+
- test/data/2.5/foreman_api.json
|
248
245
|
- test/data/README.md
|
246
|
+
- test/functional/architecture_test.rb
|
249
247
|
- test/functional/associating_commands_test.rb
|
250
248
|
- test/functional/audit_test.rb
|
251
249
|
- test/functional/auth_source_test.rb
|
@@ -262,15 +260,16 @@ files:
|
|
262
260
|
- test/functional/location_test.rb
|
263
261
|
- test/functional/mail_notification_test.rb
|
264
262
|
- test/functional/media_test.rb
|
263
|
+
- test/functional/model_test.rb
|
264
|
+
- test/functional/operating_system_test.rb
|
265
265
|
- test/functional/organization_test.rb
|
266
266
|
- test/functional/personal_access_token_test.rb
|
267
267
|
- test/functional/ping_test.rb
|
268
|
-
- test/functional/proxy_test.rb
|
269
268
|
- test/functional/realm_test.rb
|
269
|
+
- test/functional/registration_test.rb
|
270
270
|
- test/functional/report_template_test.rb
|
271
271
|
- test/functional/role_test.rb
|
272
272
|
- test/functional/settings_test.rb
|
273
|
-
- test/functional/smart_class_parameter_test.rb
|
274
273
|
- test/functional/ssh_keys_test.rb
|
275
274
|
- test/functional/status_test.rb
|
276
275
|
- test/functional/subnet/create_test.rb
|
@@ -279,6 +278,7 @@ files:
|
|
279
278
|
- test/functional/test_helper.rb
|
280
279
|
- test/functional/user_mail_notification_test.rb
|
281
280
|
- test/functional/user_test.rb
|
281
|
+
- test/functional/usergroup_test.rb
|
282
282
|
- test/functional/virtual_machine_test.rb
|
283
283
|
- test/test_helper.rb
|
284
284
|
- test/unit/api/interactive_basic_auth_test.rb
|
@@ -292,10 +292,11 @@ files:
|
|
292
292
|
- test/unit/audit_test.rb
|
293
293
|
- test/unit/auth_source_external.rb
|
294
294
|
- test/unit/auth_source_ldap_test.rb
|
295
|
+
- test/unit/bookmark_test.rb
|
295
296
|
- test/unit/commands_test.rb
|
296
297
|
- test/unit/common_parameter_test.rb
|
298
|
+
- test/unit/compute_profile_test.rb
|
297
299
|
- test/unit/compute_resource_test.rb
|
298
|
-
- test/unit/config_group_test.rb
|
299
300
|
- test/unit/config_report_test.rb
|
300
301
|
- test/unit/data/test_api.json
|
301
302
|
- test/unit/defaults_test.rb
|
@@ -313,6 +314,7 @@ files:
|
|
313
314
|
- test/unit/id_resolver_test.rb
|
314
315
|
- test/unit/image_test.rb
|
315
316
|
- test/unit/location_test.rb
|
317
|
+
- test/unit/mail_notification_test.rb
|
316
318
|
- test/unit/media_test.rb
|
317
319
|
- test/unit/messages_test.rb
|
318
320
|
- test/unit/model_test.rb
|
@@ -324,13 +326,10 @@ files:
|
|
324
326
|
- test/unit/output/formatters_test.rb
|
325
327
|
- test/unit/param_filters_test.rb
|
326
328
|
- test/unit/partition_table_test.rb
|
327
|
-
- test/unit/puppet_class_test.rb
|
328
|
-
- test/unit/puppet_environment_test.rb
|
329
329
|
- test/unit/realm_test.rb
|
330
330
|
- test/unit/role_test.rb
|
331
331
|
- test/unit/sessions_test.rb
|
332
332
|
- test/unit/settings_test.rb
|
333
|
-
- test/unit/smart_class_parameter_test.rb
|
334
333
|
- test/unit/smart_proxy_test.rb
|
335
334
|
- test/unit/subnet_test.rb
|
336
335
|
- test/unit/template_test.rb
|
@@ -357,7 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
357
356
|
- !ruby/object:Gem::Version
|
358
357
|
version: '0'
|
359
358
|
requirements: []
|
360
|
-
rubygems_version: 3.
|
359
|
+
rubygems_version: 3.1.2
|
361
360
|
signing_key:
|
362
361
|
specification_version: 4
|
363
362
|
summary: Foreman commands for Hammer
|
@@ -376,96 +375,100 @@ test_files:
|
|
376
375
|
- test/data/1.24/foreman_api.json
|
377
376
|
- test/data/2.0/foreman_api.json
|
378
377
|
- test/data/2.1/foreman_api.json
|
378
|
+
- test/data/2.4/foreman_api.json
|
379
|
+
- test/data/2.5/foreman_api.json
|
379
380
|
- test/data/README.md
|
380
|
-
- test/functional/associating_commands_test.rb
|
381
381
|
- test/functional/auth_source_test.rb
|
382
382
|
- test/functional/commands/list_test.rb
|
383
|
-
- test/functional/
|
383
|
+
- test/functional/compute_profile_test.rb
|
384
384
|
- test/functional/hostgroup/create_test.rb
|
385
385
|
- test/functional/hostgroup/update_test.rb
|
386
|
-
- test/functional/
|
387
|
-
- test/functional/personal_access_token_test.rb
|
388
|
-
- test/functional/proxy_test.rb
|
389
|
-
- test/functional/report_template_test.rb
|
390
|
-
- test/functional/smart_class_parameter_test.rb
|
386
|
+
- test/functional/template_test.rb
|
391
387
|
- test/functional/ssh_keys_test.rb
|
392
|
-
- test/functional/subnet/create_test.rb
|
393
388
|
- test/functional/subnet/update_test.rb
|
394
|
-
- test/functional/
|
389
|
+
- test/functional/subnet/create_test.rb
|
395
390
|
- test/functional/test_helper.rb
|
396
|
-
- test/functional/
|
397
|
-
- test/functional/
|
398
|
-
- test/functional/location_test.rb
|
391
|
+
- test/functional/filter_test.rb
|
392
|
+
- test/functional/http_proxy_test.rb
|
399
393
|
- test/functional/media_test.rb
|
400
|
-
- test/functional/
|
401
|
-
- test/functional/role_test.rb
|
402
|
-
- test/functional/settings_test.rb
|
394
|
+
- test/functional/registration_test.rb
|
403
395
|
- test/functional/bookmark_test.rb
|
404
|
-
- test/functional/
|
396
|
+
- test/functional/mail_notification_test.rb
|
397
|
+
- test/functional/settings_test.rb
|
398
|
+
- test/functional/user_mail_notification_test.rb
|
405
399
|
- test/functional/compute_resource_test.rb
|
406
|
-
- test/functional/ping_test.rb
|
407
|
-
- test/functional/status_test.rb
|
408
|
-
- test/functional/audit_test.rb
|
409
400
|
- test/functional/organization_test.rb
|
401
|
+
- test/functional/report_template_test.rb
|
410
402
|
- test/functional/user_test.rb
|
411
|
-
- test/functional/
|
403
|
+
- test/functional/virtual_machine_test.rb
|
404
|
+
- test/functional/architecture_test.rb
|
405
|
+
- test/functional/model_test.rb
|
406
|
+
- test/functional/compute_attribute_test.rb
|
412
407
|
- test/functional/host_test.rb
|
413
|
-
- test/functional/
|
408
|
+
- test/functional/associating_commands_test.rb
|
409
|
+
- test/functional/audit_test.rb
|
410
|
+
- test/functional/ping_test.rb
|
411
|
+
- test/functional/realm_test.rb
|
412
|
+
- test/functional/role_test.rb
|
413
|
+
- test/functional/status_test.rb
|
414
|
+
- test/functional/operating_system_test.rb
|
415
|
+
- test/functional/usergroup_test.rb
|
416
|
+
- test/functional/personal_access_token_test.rb
|
417
|
+
- test/functional/location_test.rb
|
418
|
+
- test/unit/api/void_auth_test.rb
|
419
|
+
- test/unit/api/interactive_basic_auth_test.rb
|
414
420
|
- test/unit/api/oauth/oauth_authentication_code_grant_test.rb
|
415
421
|
- test/unit/api/oauth/oauth_password_grant_test.rb
|
416
422
|
- test/unit/api/session_authenticator_wrapper_test.rb
|
417
|
-
- test/unit/
|
418
|
-
- test/unit/
|
419
|
-
- test/unit/audit_test.rb
|
420
|
-
- test/unit/auth_source_external.rb
|
423
|
+
- test/unit/test_output_adapter.rb
|
424
|
+
- test/unit/host_test.rb
|
421
425
|
- test/unit/auth_source_ldap_test.rb
|
426
|
+
- test/unit/config_report_test.rb
|
422
427
|
- test/unit/compute_resource_test.rb
|
423
428
|
- test/unit/data/test_api.json
|
424
429
|
- test/unit/defaults_test.rb
|
425
|
-
- test/unit/
|
430
|
+
- test/unit/architecture_test.rb
|
426
431
|
- test/unit/external_usergroup_test.rb
|
427
432
|
- test/unit/fact_test.rb
|
428
|
-
- test/unit/filter_test.rb
|
429
433
|
- test/unit/helpers/fake_searchables.rb
|
430
|
-
- test/unit/helpers/command.rb
|
431
434
|
- test/unit/helpers/resource_disabled.rb
|
432
|
-
- test/unit/
|
435
|
+
- test/unit/helpers/command.rb
|
433
436
|
- test/unit/image_test.rb
|
434
437
|
- test/unit/location_test.rb
|
435
438
|
- test/unit/messages_test.rb
|
439
|
+
- test/unit/bookmark_test.rb
|
436
440
|
- test/unit/option_sources/id_params_test.rb
|
437
441
|
- test/unit/option_sources/ids_params_test.rb
|
438
442
|
- test/unit/organization_test.rb
|
439
443
|
- test/unit/output/formatters_test.rb
|
440
|
-
- test/unit/
|
441
|
-
- test/unit/puppet_environment_test.rb
|
444
|
+
- test/unit/common_parameter_test.rb
|
442
445
|
- test/unit/realm_test.rb
|
443
|
-
- test/unit/
|
444
|
-
- test/unit/
|
446
|
+
- test/unit/usergroup_test.rb
|
447
|
+
- test/unit/option_builders_test.rb
|
445
448
|
- test/unit/subnet_test.rb
|
446
449
|
- test/unit/test_helper.rb
|
447
|
-
- test/unit/test_output_adapter.rb
|
448
450
|
- test/unit/user_test.rb
|
449
|
-
- test/unit/api_test.rb
|
450
|
-
- test/unit/commands_test.rb
|
451
|
-
- test/unit/common_parameter_test.rb
|
452
|
-
- test/unit/dependency_resolver_test.rb
|
453
|
-
- test/unit/exception_handler_test.rb
|
454
|
-
- test/unit/host_test.rb
|
455
|
-
- test/unit/id_resolver_test.rb
|
456
|
-
- test/unit/media_test.rb
|
457
|
-
- test/unit/option_builders_test.rb
|
458
451
|
- test/unit/param_filters_test.rb
|
459
452
|
- test/unit/partition_table_test.rb
|
460
453
|
- test/unit/role_test.rb
|
454
|
+
- test/unit/hostgroup_test.rb
|
455
|
+
- test/unit/mail_notification_test.rb
|
456
|
+
- test/unit/model_test.rb
|
457
|
+
- test/unit/operating_system_test.rb
|
458
|
+
- test/unit/audit_test.rb
|
459
|
+
- test/unit/auth_source_external.rb
|
460
|
+
- test/unit/dependency_resolver_test.rb
|
461
|
+
- test/unit/exception_handler_test.rb
|
462
|
+
- test/unit/filter_test.rb
|
463
|
+
- test/unit/media_test.rb
|
461
464
|
- test/unit/sessions_test.rb
|
462
|
-
- test/unit/template_test.rb
|
463
465
|
- test/unit/apipie_resource_mock.rb
|
464
|
-
- test/unit/
|
465
|
-
- test/unit/
|
466
|
-
- test/unit/operating_system_test.rb
|
466
|
+
- test/unit/api_test.rb
|
467
|
+
- test/unit/smart_proxy_test.rb
|
467
468
|
- test/unit/settings_test.rb
|
468
|
-
- test/unit/
|
469
|
-
- test/unit/
|
470
|
-
- test/unit/
|
469
|
+
- test/unit/commands_test.rb
|
470
|
+
- test/unit/id_resolver_test.rb
|
471
|
+
- test/unit/template_test.rb
|
472
|
+
- test/unit/compute_profile_test.rb
|
473
|
+
- test/unit/domain_test.rb
|
471
474
|
- test/test_helper.rb
|