hammer_cli_foreman 2.3.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/release_notes.md +27 -0
- data/lib/hammer_cli_foreman.rb +3 -0
- data/lib/hammer_cli_foreman/architecture.rb +5 -5
- data/lib/hammer_cli_foreman/bookmark.rb +6 -6
- data/lib/hammer_cli_foreman/command_extensions.rb +1 -0
- 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 +14 -0
- data/lib/hammer_cli_foreman/compute_profile.rb +5 -5
- 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_group.rb +5 -5
- 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 -11
- data/lib/hammer_cli_foreman/hosts/common_update_options.rb +6 -5
- data/lib/hammer_cli_foreman/mail_notification.rb +2 -2
- data/lib/hammer_cli_foreman/model.rb +5 -5
- data/lib/hammer_cli_foreman/operating_system.rb +10 -9
- data/lib/hammer_cli_foreman/option_builders.rb +27 -7
- data/lib/hammer_cli_foreman/ping.rb +6 -1
- data/lib/hammer_cli_foreman/registration.rb +18 -0
- data/lib/hammer_cli_foreman/settings.rb +3 -3
- data/lib/hammer_cli_foreman/usergroup.rb +5 -5
- data/lib/hammer_cli_foreman/version.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 +79 -0
- data/test/functional/bookmark_test.rb +22 -1
- data/test/functional/compute_profile_test.rb +54 -0
- data/test/functional/compute_resource_test.rb +37 -0
- data/test/functional/config_group_test.rb +50 -0
- data/test/functional/filter_test.rb +115 -47
- data/test/functional/host_test.rb +99 -3
- data/test/functional/http_proxy_test.rb +12 -0
- data/test/functional/location_test.rb +13 -0
- data/test/functional/mail_notification_test.rb +20 -0
- data/test/functional/media_test.rb +11 -0
- data/test/functional/model_test.rb +50 -0
- data/test/functional/operating_system_test.rb +51 -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 +12 -0
- data/test/functional/user_test.rb +11 -0
- data/test/functional/usergroup_test.rb +51 -0
- data/test/test_helper.rb +1 -1
- data/test/unit/apipie_resource_mock.rb +21 -0
- data/test/unit/architecture_test.rb +10 -1
- data/test/unit/bookmark_test.rb +99 -0
- data/test/unit/compute_profile_test.rb +87 -0
- data/test/unit/config_group_test.rb +10 -0
- data/test/unit/config_report_test.rb +1 -0
- data/test/unit/host_test.rb +0 -23
- data/test/unit/mail_notification_test.rb +53 -0
- data/test/unit/model_test.rb +10 -0
- data/test/unit/operating_system_test.rb +14 -1
- data/test/unit/settings_test.rb +4 -0
- data/test/unit/usergroup_test.rb +10 -0
- metadata +129 -107
- data/test/reports/TEST-Minitest-Result.xml +0 -4344
data/test/unit/model_test.rb
CHANGED
@@ -17,6 +17,8 @@ describe HammerCLIForeman::Model do
|
|
17
17
|
context "parameters" do
|
18
18
|
it_should_accept "no arguments"
|
19
19
|
it_should_accept_search_params
|
20
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
21
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
20
22
|
end
|
21
23
|
|
22
24
|
context "output" do
|
@@ -38,6 +40,8 @@ describe HammerCLIForeman::Model do
|
|
38
40
|
context "parameters" do
|
39
41
|
it_should_accept "id", ["--id=1"]
|
40
42
|
it_should_accept "name", ["--name=model"]
|
43
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
44
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
41
45
|
# it_should_fail_with "no arguments" # TODO: temporarily disabled, parameters are checked in the id resolver
|
42
46
|
end
|
43
47
|
|
@@ -63,6 +67,8 @@ describe HammerCLIForeman::Model do
|
|
63
67
|
|
64
68
|
context "parameters" do
|
65
69
|
it_should_accept "name", ["--name=model", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
70
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
71
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
66
72
|
# it_should_fail_with "name missing", ["--info=description", "--vendor-class=class", "--hardware-model=model"]
|
67
73
|
# TODO: temporarily disabled, parameters are checked in the api
|
68
74
|
end
|
@@ -77,6 +83,8 @@ describe HammerCLIForeman::Model do
|
|
77
83
|
context "parameters" do
|
78
84
|
it_should_accept "name", ["--name=model"]
|
79
85
|
it_should_accept "id", ["--id=1"]
|
86
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
87
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
80
88
|
# it_should_fail_with "name or id missing", [] # TODO: temporarily disabled, parameters are checked in the id resolver
|
81
89
|
end
|
82
90
|
|
@@ -90,6 +98,8 @@ describe HammerCLIForeman::Model do
|
|
90
98
|
context "parameters" do
|
91
99
|
it_should_accept "name", ["--name=model", "--new-name=model2", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
92
100
|
it_should_accept "id", ["--id=1", "--new-name=model2", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
101
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
102
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
93
103
|
# it_should_fail_with "no params", []
|
94
104
|
# it_should_fail_with "name or id missing", ["--new-name=model2", "--info=description", "--vendor-class=class", "--hardware-model=model"]
|
95
105
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
@@ -18,6 +18,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
18
18
|
context "parameters" do
|
19
19
|
it_should_accept "no arguments"
|
20
20
|
it_should_accept_search_params
|
21
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
22
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
21
23
|
end
|
22
24
|
|
23
25
|
context "output" do
|
@@ -40,6 +42,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
40
42
|
context "parameters" do
|
41
43
|
it_should_accept "id", ["--id=1"]
|
42
44
|
it_should_accept "title", ["--title=Rhel 6.5"]
|
45
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
46
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
43
47
|
# it_should_fail_with "no arguments" # TODO: temporarily disabled, parameters are checked in the id resolver
|
44
48
|
end
|
45
49
|
|
@@ -70,6 +74,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
70
74
|
|
71
75
|
context "parameters" do
|
72
76
|
it_should_accept "name, major, minor, family, release name", ["--name=media", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
77
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
78
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
73
79
|
# it_should_fail_with "name missing", ["--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
74
80
|
# TODO: temporarily disabled, parameters are checked in the api
|
75
81
|
end
|
@@ -87,6 +93,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
87
93
|
context "parameters" do
|
88
94
|
it_should_accept "id", ["--id=1"]
|
89
95
|
it_should_accept "title", ["--title=Rhel 6.5"]
|
96
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
97
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
90
98
|
# it_should_fail_with "name or id missing", [] # TODO: temporarily disabled, parameters are checked in the id resolver
|
91
99
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
92
100
|
end
|
@@ -102,6 +110,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
102
110
|
it_should_accept "id", ["--id=1"]
|
103
111
|
it_should_accept "title", ["--title=Rhel 6.5"]
|
104
112
|
it_should_accept "name, major, minor, family, release name", ["--id=83", "--name=os", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
113
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
114
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
105
115
|
# it_should_fail_with "no params", []
|
106
116
|
# it_should_fail_with "label or id missing", ["--name=os", "--major=1", "--minor=2", "--family=Red Hat", "--release-name=awesome"]
|
107
117
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
@@ -126,6 +136,8 @@ describe HammerCLIForeman::OperatingSystem do
|
|
126
136
|
it_should_accept "name, value and os id", ["--name=domain", "--value=val", "--operatingsystem-id=1"]
|
127
137
|
it_should_accept "name, value and os title", ["--name=domain", "--value=val", "--operatingsystem=Rhel 6.5"]
|
128
138
|
it_should_accept "name, value, type and os id", ["--name=domain", "--value=val", "--parameter-type=string", "--operatingsystem-id=1"]
|
139
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
140
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
129
141
|
# it_should_fail_with "name missing", ["--value=val", "--operatingsystem-id=id"]
|
130
142
|
# it_should_fail_with "value missing", ["--name=name", "--operatingsystem-id=id"]
|
131
143
|
# it_should_fail_with "os id missing", ["--name=name", "--value=val"]
|
@@ -142,11 +154,12 @@ describe HammerCLIForeman::OperatingSystem do
|
|
142
154
|
context "parameters" do
|
143
155
|
it_should_accept "name and os id", ["--name=domain", "--operatingsystem-id=1"]
|
144
156
|
it_should_accept "name and os title", ["--name=domain", "--operatingsystem=Rhel 6.5"]
|
157
|
+
it_should_fail_with 'organization param', ['--organization-id=1']
|
158
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
145
159
|
# it_should_fail_with "name missing", ["--operatingsystem-id=id"]
|
146
160
|
# it_should_fail_with "os id missing", ["--name=name"]
|
147
161
|
# TODO: temporarily disabled, parameters are checked in the id resolver
|
148
162
|
end
|
149
163
|
|
150
164
|
end
|
151
|
-
|
152
165
|
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_fail_with 'organization param', ['--organization-id=1']
|
22
|
+
it_should_fail_with 'location param', ['--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_fail_with 'organization param', ['--organization-id=1']
|
44
|
+
it_should_fail_with 'location param', ['--location-id=1']
|
41
45
|
end
|
42
46
|
|
43
47
|
end
|
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_fail_with 'organization param', ['--organization-id=1']
|
22
|
+
it_should_fail_with 'location param', ['--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_fail_with 'organization param', ['--organization-id=1']
|
41
|
+
it_should_fail_with 'location param', ['--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_fail_with 'organization param', ['--organization-id=1']
|
66
|
+
it_should_fail_with 'location param', ['--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_fail_with 'organization param', ['--organization-id=1']
|
78
|
+
it_should_fail_with 'location param', ['--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_fail_with 'organization param', ['--organization-id=1']
|
92
|
+
it_should_fail_with 'location param', ['--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: 2.
|
4
|
+
version: 2.5.1
|
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:
|
12
|
+
date: 2021-06-08 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: 2.
|
20
|
+
version: 2.5.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: 2.
|
27
|
+
version: 2.5.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
|
@@ -75,20 +75,20 @@ dependencies:
|
|
75
75
|
version: 2.2.1
|
76
76
|
description: 'Foreman commands for Hammer CLI
|
77
77
|
|
78
|
-
|
78
|
+
'
|
79
79
|
email: tstracho@redhat.com
|
80
80
|
executables: []
|
81
81
|
extensions: []
|
82
82
|
extra_rdoc_files:
|
83
|
-
- doc/host_create.md
|
84
|
-
- doc/release_notes.md
|
85
|
-
- doc/plugin.md
|
86
83
|
- doc/configuration.md
|
87
|
-
- doc/name_id_resolution.md
|
88
84
|
- doc/developer_docs.md
|
89
|
-
- doc/
|
90
|
-
- doc/
|
85
|
+
- doc/host_create.md
|
86
|
+
- doc/name_id_resolution.md
|
91
87
|
- doc/option_builder.md
|
88
|
+
- doc/plugin.md
|
89
|
+
- doc/testing.md
|
90
|
+
- doc/using_hammer_cli_foreman_command.md
|
91
|
+
- doc/release_notes.md
|
92
92
|
- README.md
|
93
93
|
files:
|
94
94
|
- LICENSE
|
@@ -134,6 +134,7 @@ files:
|
|
134
134
|
- lib/hammer_cli_foreman/command_extensions/puppet_environments.rb
|
135
135
|
- lib/hammer_cli_foreman/command_extensions/status.rb
|
136
136
|
- lib/hammer_cli_foreman/command_extensions/subnet.rb
|
137
|
+
- lib/hammer_cli_foreman/command_extensions/update_common.rb
|
137
138
|
- lib/hammer_cli_foreman/command_extensions/user.rb
|
138
139
|
- lib/hammer_cli_foreman/commands.rb
|
139
140
|
- lib/hammer_cli_foreman/common_parameter.rb
|
@@ -198,6 +199,7 @@ files:
|
|
198
199
|
- lib/hammer_cli_foreman/puppet_environment.rb
|
199
200
|
- lib/hammer_cli_foreman/realm.rb
|
200
201
|
- lib/hammer_cli_foreman/references.rb
|
202
|
+
- lib/hammer_cli_foreman/registration.rb
|
201
203
|
- lib/hammer_cli_foreman/report_template.rb
|
202
204
|
- lib/hammer_cli_foreman/resource_supported_test.rb
|
203
205
|
- lib/hammer_cli_foreman/role.rb
|
@@ -245,7 +247,10 @@ files:
|
|
245
247
|
- test/data/1.24/foreman_api.json
|
246
248
|
- test/data/2.0/foreman_api.json
|
247
249
|
- test/data/2.1/foreman_api.json
|
250
|
+
- test/data/2.4/foreman_api.json
|
251
|
+
- test/data/2.5/foreman_api.json
|
248
252
|
- test/data/README.md
|
253
|
+
- test/functional/architecture_test.rb
|
249
254
|
- test/functional/associating_commands_test.rb
|
250
255
|
- test/functional/audit_test.rb
|
251
256
|
- test/functional/auth_source_test.rb
|
@@ -254,6 +259,7 @@ files:
|
|
254
259
|
- test/functional/compute_attribute_test.rb
|
255
260
|
- test/functional/compute_profile_test.rb
|
256
261
|
- test/functional/compute_resource_test.rb
|
262
|
+
- test/functional/config_group_test.rb
|
257
263
|
- test/functional/filter_test.rb
|
258
264
|
- test/functional/host_test.rb
|
259
265
|
- test/functional/hostgroup/create_test.rb
|
@@ -262,11 +268,14 @@ files:
|
|
262
268
|
- test/functional/location_test.rb
|
263
269
|
- test/functional/mail_notification_test.rb
|
264
270
|
- test/functional/media_test.rb
|
271
|
+
- test/functional/model_test.rb
|
272
|
+
- test/functional/operating_system_test.rb
|
265
273
|
- test/functional/organization_test.rb
|
266
274
|
- test/functional/personal_access_token_test.rb
|
267
275
|
- test/functional/ping_test.rb
|
268
276
|
- test/functional/proxy_test.rb
|
269
277
|
- test/functional/realm_test.rb
|
278
|
+
- test/functional/registration_test.rb
|
270
279
|
- test/functional/report_template_test.rb
|
271
280
|
- test/functional/role_test.rb
|
272
281
|
- test/functional/settings_test.rb
|
@@ -279,8 +288,8 @@ files:
|
|
279
288
|
- test/functional/test_helper.rb
|
280
289
|
- test/functional/user_mail_notification_test.rb
|
281
290
|
- test/functional/user_test.rb
|
291
|
+
- test/functional/usergroup_test.rb
|
282
292
|
- test/functional/virtual_machine_test.rb
|
283
|
-
- test/reports/TEST-Minitest-Result.xml
|
284
293
|
- test/test_helper.rb
|
285
294
|
- test/unit/api/interactive_basic_auth_test.rb
|
286
295
|
- test/unit/api/oauth/oauth_authentication_code_grant_test.rb
|
@@ -293,8 +302,10 @@ files:
|
|
293
302
|
- test/unit/audit_test.rb
|
294
303
|
- test/unit/auth_source_external.rb
|
295
304
|
- test/unit/auth_source_ldap_test.rb
|
305
|
+
- test/unit/bookmark_test.rb
|
296
306
|
- test/unit/commands_test.rb
|
297
307
|
- test/unit/common_parameter_test.rb
|
308
|
+
- test/unit/compute_profile_test.rb
|
298
309
|
- test/unit/compute_resource_test.rb
|
299
310
|
- test/unit/config_group_test.rb
|
300
311
|
- test/unit/config_report_test.rb
|
@@ -314,6 +325,7 @@ files:
|
|
314
325
|
- test/unit/id_resolver_test.rb
|
315
326
|
- test/unit/image_test.rb
|
316
327
|
- test/unit/location_test.rb
|
328
|
+
- test/unit/mail_notification_test.rb
|
317
329
|
- test/unit/media_test.rb
|
318
330
|
- test/unit/messages_test.rb
|
319
331
|
- test/unit/model_test.rb
|
@@ -358,116 +370,126 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
358
370
|
- !ruby/object:Gem::Version
|
359
371
|
version: '0'
|
360
372
|
requirements: []
|
361
|
-
rubygems_version: 3.
|
373
|
+
rubygems_version: 3.1.2
|
362
374
|
signing_key:
|
363
375
|
specification_version: 4
|
364
376
|
summary: Foreman commands for Hammer
|
365
377
|
test_files:
|
366
|
-
- test/unit/image_test.rb
|
367
|
-
- test/unit/helpers/resource_disabled.rb
|
368
|
-
- test/unit/helpers/fake_searchables.rb
|
369
|
-
- test/unit/helpers/command.rb
|
370
|
-
- test/unit/messages_test.rb
|
371
|
-
- test/unit/config_group_test.rb
|
372
|
-
- test/unit/option_sources/id_params_test.rb
|
373
|
-
- test/unit/option_sources/ids_params_test.rb
|
374
|
-
- test/unit/exception_handler_test.rb
|
375
|
-
- test/unit/user_test.rb
|
376
|
-
- test/unit/api/session_authenticator_wrapper_test.rb
|
377
|
-
- test/unit/api/interactive_basic_auth_test.rb
|
378
|
-
- test/unit/api/oauth/oauth_authentication_code_grant_test.rb
|
379
|
-
- test/unit/api/oauth/oauth_password_grant_test.rb
|
380
|
-
- test/unit/api/void_auth_test.rb
|
381
|
-
- test/unit/hostgroup_test.rb
|
382
|
-
- test/unit/realm_test.rb
|
383
|
-
- test/unit/auth_source_external.rb
|
384
|
-
- test/unit/data/test_api.json
|
385
|
-
- test/unit/auth_source_ldap_test.rb
|
386
|
-
- test/unit/audit_test.rb
|
387
|
-
- test/unit/test_helper.rb
|
388
|
-
- test/unit/smart_class_parameter_test.rb
|
389
|
-
- test/unit/partition_table_test.rb
|
390
|
-
- test/unit/operating_system_test.rb
|
391
|
-
- test/unit/media_test.rb
|
392
|
-
- test/unit/architecture_test.rb
|
393
|
-
- test/unit/usergroup_test.rb
|
394
|
-
- test/unit/role_test.rb
|
395
|
-
- test/unit/location_test.rb
|
396
|
-
- test/unit/param_filters_test.rb
|
397
|
-
- test/unit/apipie_resource_mock.rb
|
398
|
-
- test/unit/option_builders_test.rb
|
399
|
-
- test/unit/api_test.rb
|
400
|
-
- test/unit/test_output_adapter.rb
|
401
|
-
- test/unit/sessions_test.rb
|
402
|
-
- test/unit/organization_test.rb
|
403
|
-
- test/unit/settings_test.rb
|
404
|
-
- test/unit/template_test.rb
|
405
|
-
- test/unit/dependency_resolver_test.rb
|
406
|
-
- test/unit/smart_proxy_test.rb
|
407
|
-
- test/unit/domain_test.rb
|
408
|
-
- test/unit/defaults_test.rb
|
409
|
-
- test/unit/model_test.rb
|
410
|
-
- test/unit/puppet_class_test.rb
|
411
|
-
- test/unit/compute_resource_test.rb
|
412
|
-
- test/unit/id_resolver_test.rb
|
413
|
-
- test/unit/filter_test.rb
|
414
|
-
- test/unit/puppet_environment_test.rb
|
415
|
-
- test/unit/output/formatters_test.rb
|
416
|
-
- test/unit/host_test.rb
|
417
|
-
- test/unit/config_report_test.rb
|
418
|
-
- test/unit/fact_test.rb
|
419
|
-
- test/unit/external_usergroup_test.rb
|
420
|
-
- test/unit/commands_test.rb
|
421
|
-
- test/unit/common_parameter_test.rb
|
422
|
-
- test/unit/subnet_test.rb
|
423
|
-
- test/data/2.1/foreman_api.json
|
424
|
-
- test/data/2.0/foreman_api.json
|
425
|
-
- test/data/1.24/foreman_api.json
|
426
|
-
- test/data/1.18/foreman_api.json
|
427
|
-
- test/data/1.11/foreman_api.json
|
428
378
|
- test/data/1.10/foreman_api.json
|
429
|
-
- test/data/1.
|
430
|
-
- test/data/1.15/foreman_api.json
|
379
|
+
- test/data/1.11/foreman_api.json
|
431
380
|
- test/data/1.14/_foreman_api.json
|
432
381
|
- test/data/1.14/foreman_api.json
|
382
|
+
- test/data/1.15/foreman_api.json
|
383
|
+
- test/data/1.16/foreman_api.json
|
384
|
+
- test/data/1.17/foreman_api.json
|
385
|
+
- test/data/1.18/foreman_api.json
|
386
|
+
- test/data/1.20/foreman_api.json
|
433
387
|
- test/data/1.21/foreman_api.json
|
434
388
|
- test/data/1.22/foreman_api.json
|
435
|
-
- test/data/1.
|
389
|
+
- test/data/1.24/foreman_api.json
|
390
|
+
- test/data/2.0/foreman_api.json
|
391
|
+
- test/data/2.1/foreman_api.json
|
392
|
+
- test/data/2.4/foreman_api.json
|
393
|
+
- test/data/2.5/foreman_api.json
|
436
394
|
- test/data/README.md
|
437
|
-
- test/
|
438
|
-
- test/functional/http_proxy_test.rb
|
439
|
-
- test/functional/commands/list_test.rb
|
440
|
-
- test/functional/user_mail_notification_test.rb
|
441
|
-
- test/functional/user_test.rb
|
442
|
-
- test/functional/realm_test.rb
|
443
|
-
- test/functional/personal_access_token_test.rb
|
395
|
+
- test/functional/associating_commands_test.rb
|
444
396
|
- test/functional/audit_test.rb
|
445
|
-
- test/functional/
|
446
|
-
- test/functional/
|
447
|
-
- test/functional/
|
448
|
-
- test/functional/
|
449
|
-
- test/functional/
|
450
|
-
- test/functional/
|
451
|
-
- test/functional/location_test.rb
|
397
|
+
- test/functional/auth_source_test.rb
|
398
|
+
- test/functional/commands/list_test.rb
|
399
|
+
- test/functional/compute_attribute_test.rb
|
400
|
+
- test/functional/compute_resource_test.rb
|
401
|
+
- test/functional/config_group_test.rb
|
402
|
+
- test/functional/filter_test.rb
|
452
403
|
- test/functional/hostgroup/create_test.rb
|
453
404
|
- test/functional/hostgroup/update_test.rb
|
454
|
-
- test/functional/
|
455
|
-
- test/functional/
|
405
|
+
- test/functional/mail_notification_test.rb
|
406
|
+
- test/functional/model_test.rb
|
407
|
+
- test/functional/operating_system_test.rb
|
456
408
|
- test/functional/organization_test.rb
|
457
|
-
- test/functional/
|
458
|
-
- test/functional/
|
409
|
+
- test/functional/personal_access_token_test.rb
|
410
|
+
- test/functional/ping_test.rb
|
459
411
|
- test/functional/proxy_test.rb
|
460
|
-
- test/functional/
|
461
|
-
- test/functional/
|
462
|
-
- test/functional/
|
463
|
-
- test/functional/
|
464
|
-
- test/functional/compute_profile_test.rb
|
465
|
-
- test/functional/host_test.rb
|
412
|
+
- test/functional/registration_test.rb
|
413
|
+
- test/functional/role_test.rb
|
414
|
+
- test/functional/settings_test.rb
|
415
|
+
- test/functional/smart_class_parameter_test.rb
|
466
416
|
- test/functional/ssh_keys_test.rb
|
467
417
|
- test/functional/status_test.rb
|
468
|
-
- test/functional/
|
469
|
-
- test/functional/
|
418
|
+
- test/functional/subnet/create_test.rb
|
419
|
+
- test/functional/subnet/update_test.rb
|
420
|
+
- test/functional/test_helper.rb
|
421
|
+
- test/functional/user_mail_notification_test.rb
|
422
|
+
- test/functional/usergroup_test.rb
|
470
423
|
- test/functional/virtual_machine_test.rb
|
424
|
+
- test/functional/architecture_test.rb
|
471
425
|
- test/functional/bookmark_test.rb
|
426
|
+
- test/functional/compute_profile_test.rb
|
427
|
+
- test/functional/host_test.rb
|
428
|
+
- test/functional/http_proxy_test.rb
|
429
|
+
- test/functional/location_test.rb
|
430
|
+
- test/functional/media_test.rb
|
431
|
+
- test/functional/realm_test.rb
|
432
|
+
- test/functional/report_template_test.rb
|
433
|
+
- test/functional/user_test.rb
|
434
|
+
- test/functional/template_test.rb
|
472
435
|
- test/test_helper.rb
|
473
|
-
- test/
|
436
|
+
- test/unit/api/interactive_basic_auth_test.rb
|
437
|
+
- test/unit/api/oauth/oauth_authentication_code_grant_test.rb
|
438
|
+
- test/unit/api/oauth/oauth_password_grant_test.rb
|
439
|
+
- test/unit/api/session_authenticator_wrapper_test.rb
|
440
|
+
- test/unit/api/void_auth_test.rb
|
441
|
+
- test/unit/api_test.rb
|
442
|
+
- test/unit/apipie_resource_mock.rb
|
443
|
+
- test/unit/architecture_test.rb
|
444
|
+
- test/unit/audit_test.rb
|
445
|
+
- test/unit/auth_source_external.rb
|
446
|
+
- test/unit/auth_source_ldap_test.rb
|
447
|
+
- test/unit/bookmark_test.rb
|
448
|
+
- test/unit/commands_test.rb
|
449
|
+
- test/unit/common_parameter_test.rb
|
450
|
+
- test/unit/compute_profile_test.rb
|
451
|
+
- test/unit/compute_resource_test.rb
|
452
|
+
- test/unit/config_group_test.rb
|
453
|
+
- test/unit/config_report_test.rb
|
454
|
+
- test/unit/data/test_api.json
|
455
|
+
- test/unit/defaults_test.rb
|
456
|
+
- test/unit/dependency_resolver_test.rb
|
457
|
+
- test/unit/domain_test.rb
|
458
|
+
- test/unit/exception_handler_test.rb
|
459
|
+
- test/unit/external_usergroup_test.rb
|
460
|
+
- test/unit/fact_test.rb
|
461
|
+
- test/unit/filter_test.rb
|
462
|
+
- test/unit/helpers/command.rb
|
463
|
+
- test/unit/helpers/fake_searchables.rb
|
464
|
+
- test/unit/helpers/resource_disabled.rb
|
465
|
+
- test/unit/id_resolver_test.rb
|
466
|
+
- test/unit/image_test.rb
|
467
|
+
- test/unit/location_test.rb
|
468
|
+
- test/unit/mail_notification_test.rb
|
469
|
+
- test/unit/media_test.rb
|
470
|
+
- test/unit/messages_test.rb
|
471
|
+
- test/unit/model_test.rb
|
472
|
+
- test/unit/operating_system_test.rb
|
473
|
+
- test/unit/option_builders_test.rb
|
474
|
+
- test/unit/option_sources/id_params_test.rb
|
475
|
+
- test/unit/option_sources/ids_params_test.rb
|
476
|
+
- test/unit/organization_test.rb
|
477
|
+
- test/unit/output/formatters_test.rb
|
478
|
+
- test/unit/param_filters_test.rb
|
479
|
+
- test/unit/partition_table_test.rb
|
480
|
+
- test/unit/puppet_class_test.rb
|
481
|
+
- test/unit/realm_test.rb
|
482
|
+
- test/unit/role_test.rb
|
483
|
+
- test/unit/sessions_test.rb
|
484
|
+
- test/unit/settings_test.rb
|
485
|
+
- test/unit/subnet_test.rb
|
486
|
+
- test/unit/template_test.rb
|
487
|
+
- test/unit/test_helper.rb
|
488
|
+
- test/unit/test_output_adapter.rb
|
489
|
+
- test/unit/user_test.rb
|
490
|
+
- test/unit/usergroup_test.rb
|
491
|
+
- test/unit/host_test.rb
|
492
|
+
- test/unit/hostgroup_test.rb
|
493
|
+
- test/unit/puppet_environment_test.rb
|
494
|
+
- test/unit/smart_class_parameter_test.rb
|
495
|
+
- test/unit/smart_proxy_test.rb
|