hammer_cli_katello 1.11.2 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hammer_cli_katello/capsule.rb +48 -14
- data/lib/hammer_cli_katello/command_extensions/kickstart_repository.rb +1 -1
- data/lib/hammer_cli_katello/content_view.rb +56 -9
- data/lib/hammer_cli_katello/content_view_version.rb +13 -0
- data/lib/hammer_cli_katello/host_extensions.rb +6 -2
- data/lib/hammer_cli_katello/organization.rb +0 -23
- data/lib/hammer_cli_katello/product.rb +17 -0
- data/lib/hammer_cli_katello/repository.rb +70 -15
- data/lib/hammer_cli_katello/subscription.rb +2 -2
- data/lib/hammer_cli_katello/version.rb +1 -1
- data/lib/hammer_cli_katello.rb +0 -6
- data/locale/bn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/bn/hammer-cli-katello.edit.po +3255 -0
- data/locale/bn/hammer-cli-katello.po +1 -94
- data/locale/bn/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/bn_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/bn_IN/hammer-cli-katello.edit.po +3255 -0
- data/locale/bn_IN/hammer-cli-katello.po +1 -94
- data/locale/bn_IN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/bqi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/bqi/hammer-cli-katello.edit.po +3251 -0
- data/locale/bqi/hammer-cli-katello.po +2133 -0
- data/locale/bqi/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ca/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ca/hammer-cli-katello.edit.po +3255 -0
- data/locale/ca/hammer-cli-katello.po +1 -94
- data/locale/ca/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/cs_CZ/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/cs_CZ/hammer-cli-katello.edit.po +3256 -0
- data/locale/cs_CZ/hammer-cli-katello.po +1 -94
- data/locale/cs_CZ/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/de/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/de/hammer-cli-katello.edit.po +3329 -0
- data/locale/de/hammer-cli-katello.po +1 -94
- data/locale/de/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/de_AT/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/de_AT/hammer-cli-katello.edit.po +3251 -0
- data/locale/de_AT/hammer-cli-katello.po +1 -94
- data/locale/de_AT/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/de_DE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/de_DE/hammer-cli-katello.edit.po +3257 -0
- data/locale/de_DE/hammer-cli-katello.po +1 -94
- data/locale/de_DE/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/el/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/el/hammer-cli-katello.edit.po +3255 -0
- data/locale/el/hammer-cli-katello.po +1 -94
- data/locale/el/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/en/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en/hammer-cli-katello.edit.po +2745 -0
- data/locale/en/hammer-cli-katello.po +134 -125
- data/locale/en/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en_GB/hammer-cli-katello.edit.po +3256 -0
- data/locale/en_GB/hammer-cli-katello.po +1 -94
- data/locale/en_GB/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/en_US/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/en_US/hammer-cli-katello.edit.po +3251 -0
- data/locale/en_US/hammer-cli-katello.po +1 -94
- data/locale/en_US/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/es/hammer-cli-katello.edit.po +3323 -0
- data/locale/es/hammer-cli-katello.po +5 -96
- data/locale/es/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/et_EE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/et_EE/hammer-cli-katello.edit.po +3251 -0
- data/locale/et_EE/hammer-cli-katello.po +1 -94
- data/locale/et_EE/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/fr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/fr/hammer-cli-katello.edit.po +3347 -0
- data/locale/fr/hammer-cli-katello.po +12 -106
- data/locale/fr/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/gl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/gl/hammer-cli-katello.edit.po +3255 -0
- data/locale/gl/hammer-cli-katello.po +1 -94
- data/locale/gl/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/gu/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/gu/hammer-cli-katello.edit.po +3255 -0
- data/locale/gu/hammer-cli-katello.po +1 -94
- data/locale/gu/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/hammer-cli-katello.pot +304 -312
- data/locale/he_IL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/he_IL/hammer-cli-katello.edit.po +3255 -0
- data/locale/he_IL/hammer-cli-katello.po +3 -96
- data/locale/he_IL/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/hi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/hi/hammer-cli-katello.edit.po +3255 -0
- data/locale/hi/hammer-cli-katello.po +1 -94
- data/locale/hi/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/id/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/id/hammer-cli-katello.edit.po +3255 -0
- data/locale/id/hammer-cli-katello.po +13 -102
- data/locale/id/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/it/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/it/hammer-cli-katello.edit.po +3261 -0
- data/locale/it/hammer-cli-katello.po +1 -94
- data/locale/it/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ja/hammer-cli-katello.edit.po +3273 -0
- data/locale/ja/hammer-cli-katello.po +4 -97
- data/locale/ja/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ka/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ka/hammer-cli-katello.edit.po +3351 -0
- data/locale/ka/hammer-cli-katello.po +1 -94
- data/locale/ka/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/kn/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/kn/hammer-cli-katello.edit.po +3255 -0
- data/locale/kn/hammer-cli-katello.po +1 -94
- data/locale/kn/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ko/hammer-cli-katello.edit.po +3258 -0
- data/locale/ko/hammer-cli-katello.po +1 -94
- data/locale/ko/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ml_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ml_IN/hammer-cli-katello.edit.po +3251 -0
- data/locale/ml_IN/hammer-cli-katello.po +1 -94
- data/locale/ml_IN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/mr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/mr/hammer-cli-katello.edit.po +3255 -0
- data/locale/mr/hammer-cli-katello.po +1 -94
- data/locale/mr/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/nl_NL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/nl_NL/hammer-cli-katello.edit.po +3259 -0
- data/locale/nl_NL/hammer-cli-katello.po +1 -94
- data/locale/nl_NL/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/or/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/or/hammer-cli-katello.edit.po +3255 -0
- data/locale/or/hammer-cli-katello.po +1 -94
- data/locale/or/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pa/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pa/hammer-cli-katello.edit.po +3255 -0
- data/locale/pa/hammer-cli-katello.po +1 -94
- data/locale/pa/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pl/hammer-cli-katello.edit.po +3256 -0
- data/locale/pl/hammer-cli-katello.po +1 -94
- data/locale/pl/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pl_PL/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pl_PL/hammer-cli-katello.edit.po +3251 -0
- data/locale/pl_PL/hammer-cli-katello.po +1 -94
- data/locale/pl_PL/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pt/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pt/hammer-cli-katello.edit.po +3255 -0
- data/locale/pt/hammer-cli-katello.po +1 -94
- data/locale/pt/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/pt_BR/hammer-cli-katello.edit.po +3315 -0
- data/locale/pt_BR/hammer-cli-katello.po +5 -96
- data/locale/pt_BR/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ro/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ro/hammer-cli-katello.edit.po +3251 -0
- data/locale/ro/hammer-cli-katello.po +1 -94
- data/locale/ro/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ro_RO/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ro_RO/hammer-cli-katello.edit.po +3251 -0
- data/locale/ro_RO/hammer-cli-katello.po +1 -94
- data/locale/ro_RO/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ru/hammer-cli-katello.edit.po +3260 -0
- data/locale/ru/hammer-cli-katello.po +1 -94
- data/locale/ru/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/sl/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/sl/hammer-cli-katello.edit.po +3255 -0
- data/locale/sl/hammer-cli-katello.po +1 -94
- data/locale/sl/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/sv_SE/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/sv_SE/hammer-cli-katello.edit.po +3256 -0
- data/locale/sv_SE/hammer-cli-katello.po +1 -94
- data/locale/sv_SE/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ta/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ta/hammer-cli-katello.edit.po +3255 -0
- data/locale/ta/hammer-cli-katello.po +1 -94
- data/locale/ta/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/ta_IN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/ta_IN/hammer-cli-katello.edit.po +3255 -0
- data/locale/ta_IN/hammer-cli-katello.po +1 -94
- data/locale/ta_IN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/te/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/te/hammer-cli-katello.edit.po +3255 -0
- data/locale/te/hammer-cli-katello.po +1 -94
- data/locale/te/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/tr/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/tr/hammer-cli-katello.edit.po +3255 -0
- data/locale/tr/hammer-cli-katello.po +1 -94
- data/locale/tr/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/vi/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/vi/hammer-cli-katello.edit.po +3251 -0
- data/locale/vi/hammer-cli-katello.po +1 -94
- data/locale/vi/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/vi_VN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/vi_VN/hammer-cli-katello.edit.po +3251 -0
- data/locale/vi_VN/hammer-cli-katello.po +1 -94
- data/locale/vi_VN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/zh/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh/hammer-cli-katello.edit.po +3251 -0
- data/locale/zh/hammer-cli-katello.po +1 -94
- data/locale/zh/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh_CN/hammer-cli-katello.edit.po +3268 -0
- data/locale/zh_CN/hammer-cli-katello.po +4 -97
- data/locale/zh_CN/hammer-cli-katello.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-katello.mo +0 -0
- data/locale/zh_TW/hammer-cli-katello.edit.po +3257 -0
- data/locale/zh_TW/hammer-cli-katello.po +1 -94
- data/locale/zh_TW/hammer-cli-katello.po.time_stamp +0 -0
- data/test/functional/acs/create_test.rb +3 -3
- data/test/functional/content_credentials/create_test.rb +2 -2
- data/test/functional/content_export/complete/repository_test.rb +7 -7
- data/test/functional/content_export/incremental/repository_test.rb +6 -6
- data/test/functional/content_import/library_test.rb +5 -3
- data/test/functional/content_import/version_test.rb +5 -3
- data/test/functional/content_view/component/add_test.rb +4 -4
- data/test/functional/content_view/component/remove_test.rb +6 -6
- data/test/functional/content_view/component/update_test.rb +5 -5
- data/test/functional/content_view/create_test.rb +3 -3
- data/test/functional/organization/info_test.rb +0 -14
- data/test/functional/product/{update_proxy.rb → update_proxy_test.rb} +8 -14
- data/test/functional/product/verify_checksum_test.rb +31 -0
- data/test/functional/repository/create_test.rb +3 -3
- data/test/functional/repository/info_test.rb +2 -2
- data/test/functional/repository/verify_checksum_test.rb +105 -0
- data/test/functional/sync_plan/create_test.rb +9 -9
- data/test/functional/sync_plan/delete_test.rb +3 -3
- data/test/functional/sync_plan/update_test.rb +5 -5
- data/test/test_helper.rb +1 -0
- metadata +118 -146
- data/lib/hammer_cli_katello/simple_content_access.rb +0 -59
- data/test/functional/simple_content_access/disable_test.rb +0 -48
- data/test/functional/simple_content_access/enable_test.rb +0 -46
- data/test/functional/simple_content_access/status_test.rb +0 -29
@@ -2,7 +2,7 @@ require_relative '../test_helper'
|
|
2
2
|
|
3
3
|
describe "create sync plan" do
|
4
4
|
let(:org_id) { 1 }
|
5
|
-
let(:
|
5
|
+
let(:sync_plan_name) { "sync_plan1" }
|
6
6
|
let(:hourly) { "hourly" }
|
7
7
|
let(:custom) { "custom cron" }
|
8
8
|
let(:cron) { "10 * * * *" }
|
@@ -11,11 +11,11 @@ describe "create sync plan" do
|
|
11
11
|
it 'with organization ID,name,interval,date and enabled' do
|
12
12
|
api_expects(:sync_plans, :create, 'create a sync plan').
|
13
13
|
with_params('organization_id' => org_id,
|
14
|
-
'name' =>
|
14
|
+
'name' => sync_plan_name,
|
15
15
|
'interval' => hourly,
|
16
16
|
'sync_date' => date,
|
17
17
|
'enabled' => true)
|
18
|
-
command = %W(sync-plan create --organization-id #{org_id} --name #{
|
18
|
+
command = %W(sync-plan create --organization-id #{org_id} --name #{sync_plan_name}
|
19
19
|
--interval #{hourly} --enabled 1 --sync-date #{date})
|
20
20
|
assert_equal(0, run_cmd(command).exit_code)
|
21
21
|
end
|
@@ -23,19 +23,19 @@ describe "create sync plan" do
|
|
23
23
|
it 'with custom cron' do
|
24
24
|
api_expects(:sync_plans, :create, 'create a sync plan').
|
25
25
|
with_params('organization_id' => org_id,
|
26
|
-
'name' =>
|
26
|
+
'name' => sync_plan_name,
|
27
27
|
'interval' => custom,
|
28
28
|
'cron_expression' => cron,
|
29
29
|
'sync_date' => date,
|
30
30
|
'enabled' => true)
|
31
31
|
# end
|
32
|
-
command = %W(sync-plan create --organization-id #{org_id} --name #{
|
33
|
-
--cron-expression #{cron} --enabled 1 --sync-date #{date})
|
32
|
+
command = %W(sync-plan create --organization-id #{org_id} --name #{sync_plan_name}
|
33
|
+
--interval #{custom} --cron-expression #{cron} --enabled 1 --sync-date #{date})
|
34
34
|
assert_equal(0, run_cmd(command).exit_code)
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'fails without organization-id' do
|
38
|
-
command = %w(sync-plan create --name #{
|
38
|
+
command = %w(sync-plan create --name #{sync_plan_name}
|
39
39
|
--interval #{hourly} --enabled 1 --sync-date #{date})
|
40
40
|
refute_equal(0, run_cmd(command).exit_code)
|
41
41
|
end
|
@@ -47,13 +47,13 @@ describe "create sync plan" do
|
|
47
47
|
end
|
48
48
|
|
49
49
|
it 'fails without interval' do
|
50
|
-
command = %w(sync-plan create --organization-id #{org_id} --name #{
|
50
|
+
command = %w(sync-plan create --organization-id #{org_id} --name #{sync_plan_name}
|
51
51
|
--enabled 1 --sync-date #{date})
|
52
52
|
refute_equal(0, run_cmd(command).exit_code)
|
53
53
|
end
|
54
54
|
|
55
55
|
it 'fails without enabled' do
|
56
|
-
command = %w(sync-plan create --organization-id #{org_id} --name #{
|
56
|
+
command = %w(sync-plan create --organization-id #{org_id} --name #{sync_plan_name}
|
57
57
|
--interval #{hourly} --sync-date #{date})
|
58
58
|
refute_equal(0, run_cmd(command).exit_code)
|
59
59
|
end
|
@@ -8,7 +8,7 @@ describe 'delete a sync plan' do
|
|
8
8
|
|
9
9
|
let(:org_id) { 1 }
|
10
10
|
let(:id) { 1 }
|
11
|
-
let(:
|
11
|
+
let(:sync_plan_name) { "sync_plan1" }
|
12
12
|
let(:org_name) { "org1" }
|
13
13
|
|
14
14
|
it 'by organization ID and sync plan id' do
|
@@ -23,7 +23,7 @@ describe 'delete a sync plan' do
|
|
23
23
|
expect_sync_plan_search(1, 'sync_plan1', 1)
|
24
24
|
api_expects(:sync_plans, :destroy, 'delete a sync plan').
|
25
25
|
with_params('id' => id)
|
26
|
-
command = %W(sync-plan delete --organization-id #{org_id} --name #{
|
26
|
+
command = %W(sync-plan delete --organization-id #{org_id} --name #{sync_plan_name})
|
27
27
|
assert_equal(0, run_cmd(command).exit_code)
|
28
28
|
end
|
29
29
|
|
@@ -32,7 +32,7 @@ describe 'delete a sync plan' do
|
|
32
32
|
expect_sync_plan_search(1, 'sync_plan1', 1)
|
33
33
|
api_expects(:sync_plans, :destroy, 'delete a sync plan').
|
34
34
|
with_params('id' => id)
|
35
|
-
command = %W(sync-plan delete --organization #{org_name} --name #{
|
35
|
+
command = %W(sync-plan delete --organization #{org_name} --name #{sync_plan_name})
|
36
36
|
assert_equal(0, run_cmd(command).exit_code)
|
37
37
|
end
|
38
38
|
|
@@ -8,7 +8,7 @@ describe 'update a sync plan' do
|
|
8
8
|
|
9
9
|
let(:org_id) { 1 }
|
10
10
|
let(:id) { 1 }
|
11
|
-
let(:
|
11
|
+
let(:sync_plan_name) { "sync_plan1" }
|
12
12
|
let(:org_name) { "org1" }
|
13
13
|
let(:desc) { "New Description" }
|
14
14
|
|
@@ -22,22 +22,22 @@ describe 'update a sync plan' do
|
|
22
22
|
end
|
23
23
|
|
24
24
|
it 'with organization ID and sync plan name' do
|
25
|
-
expect_sync_plan_search(org_id,
|
25
|
+
expect_sync_plan_search(org_id, sync_plan_name, id)
|
26
26
|
api_expects(:sync_plans, :update, 'update a sync plan').
|
27
27
|
with_params('description' => desc,
|
28
28
|
'id' => id)
|
29
|
-
command = %W(sync-plan update --organization-id #{org_id} --name #{
|
29
|
+
command = %W(sync-plan update --organization-id #{org_id} --name #{sync_plan_name}
|
30
30
|
--description #{desc})
|
31
31
|
assert_equal(0, run_cmd(command).exit_code)
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'with organization name and sync plan name' do
|
35
35
|
expect_organization_search(org_name, org_id)
|
36
|
-
expect_sync_plan_search(org_id,
|
36
|
+
expect_sync_plan_search(org_id, sync_plan_name, id)
|
37
37
|
api_expects(:sync_plans, :update, 'update a sync plan').
|
38
38
|
with_params('description' => desc,
|
39
39
|
'id' => id)
|
40
|
-
command = %W(sync-plan update --organization #{org_name} --name #{
|
40
|
+
command = %W(sync-plan update --organization #{org_name} --name #{sync_plan_name}
|
41
41
|
--description #{desc})
|
42
42
|
assert_equal(0, run_cmd(command).exit_code)
|
43
43
|
end
|
data/test/test_helper.rb
CHANGED
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.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Price
|
@@ -37,162 +37,36 @@ authors:
|
|
37
37
|
autorequire:
|
38
38
|
bindir: bin
|
39
39
|
cert_chain: []
|
40
|
-
date: 2024-
|
40
|
+
date: 2024-05-22 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: hammer_cli_foreman
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '3.9'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '3.9'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: hammer_cli_foreman_tasks
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 0.0.20
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rake
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :development
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - ">="
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: thor
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: minitest
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - '='
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 4.7.4
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - '='
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: 4.7.4
|
112
|
-
- !ruby/object:Gem::Dependency
|
113
|
-
name: minitest-spec-context
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - ">="
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0'
|
119
|
-
type: :development
|
120
|
-
prerelease: false
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
requirements:
|
123
|
-
- - ">="
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: simplecov
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0'
|
133
|
-
type: :development
|
134
|
-
prerelease: false
|
135
|
-
version_requirements: !ruby/object:Gem::Requirement
|
136
|
-
requirements:
|
137
|
-
- - ">="
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: '0'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: mocha
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - ">="
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '0'
|
147
|
-
type: :development
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - ">="
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '0'
|
154
|
-
- !ruby/object:Gem::Dependency
|
155
|
-
name: ci_reporter
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
157
|
-
requirements:
|
158
|
-
- - ">="
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
version: '0'
|
161
|
-
type: :development
|
162
|
-
prerelease: false
|
163
|
-
version_requirements: !ruby/object:Gem::Requirement
|
164
|
-
requirements:
|
165
|
-
- - ">="
|
166
|
-
- !ruby/object:Gem::Version
|
167
|
-
version: '0'
|
168
|
-
- !ruby/object:Gem::Dependency
|
169
|
-
name: rubocop
|
170
|
-
requirement: !ruby/object:Gem::Requirement
|
171
|
-
requirements:
|
172
|
-
- - '='
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '0.42'
|
175
|
-
type: :development
|
176
|
-
prerelease: false
|
177
|
-
version_requirements: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - '='
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0.42'
|
182
|
-
- !ruby/object:Gem::Dependency
|
183
|
-
name: rubocop-checkstyle_formatter
|
184
|
-
requirement: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - ">="
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: '0'
|
189
|
-
type: :development
|
190
|
-
prerelease: false
|
191
|
-
version_requirements: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - ">="
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '0'
|
69
|
+
version: 0.0.20
|
196
70
|
description: Hammer-CLI-Katello is a plugin for Hammer to provide connectivity to
|
197
71
|
a Katello server.
|
198
72
|
email:
|
@@ -278,7 +152,6 @@ files:
|
|
278
152
|
- lib/hammer_cli_katello/repository_scoped_to_product.rb
|
279
153
|
- lib/hammer_cli_katello/repository_set.rb
|
280
154
|
- lib/hammer_cli_katello/search_options_creators.rb
|
281
|
-
- lib/hammer_cli_katello/simple_content_access.rb
|
282
155
|
- lib/hammer_cli_katello/srpm.rb
|
283
156
|
- lib/hammer_cli_katello/status.rb
|
284
157
|
- lib/hammer_cli_katello/subscription.rb
|
@@ -288,101 +161,199 @@ files:
|
|
288
161
|
- locale/Makefile
|
289
162
|
- locale/README.md
|
290
163
|
- locale/bn/LC_MESSAGES/hammer-cli-katello.mo
|
164
|
+
- locale/bn/hammer-cli-katello.edit.po
|
291
165
|
- locale/bn/hammer-cli-katello.po
|
166
|
+
- locale/bn/hammer-cli-katello.po.time_stamp
|
292
167
|
- locale/bn_IN/LC_MESSAGES/hammer-cli-katello.mo
|
168
|
+
- locale/bn_IN/hammer-cli-katello.edit.po
|
293
169
|
- locale/bn_IN/hammer-cli-katello.po
|
170
|
+
- locale/bn_IN/hammer-cli-katello.po.time_stamp
|
171
|
+
- locale/bqi/LC_MESSAGES/hammer-cli-katello.mo
|
172
|
+
- locale/bqi/hammer-cli-katello.edit.po
|
173
|
+
- locale/bqi/hammer-cli-katello.po
|
174
|
+
- locale/bqi/hammer-cli-katello.po.time_stamp
|
294
175
|
- locale/ca/LC_MESSAGES/hammer-cli-katello.mo
|
176
|
+
- locale/ca/hammer-cli-katello.edit.po
|
295
177
|
- locale/ca/hammer-cli-katello.po
|
178
|
+
- locale/ca/hammer-cli-katello.po.time_stamp
|
296
179
|
- locale/cs_CZ/LC_MESSAGES/hammer-cli-katello.mo
|
180
|
+
- locale/cs_CZ/hammer-cli-katello.edit.po
|
297
181
|
- locale/cs_CZ/hammer-cli-katello.po
|
182
|
+
- locale/cs_CZ/hammer-cli-katello.po.time_stamp
|
298
183
|
- locale/de/LC_MESSAGES/hammer-cli-katello.mo
|
184
|
+
- locale/de/hammer-cli-katello.edit.po
|
299
185
|
- locale/de/hammer-cli-katello.po
|
186
|
+
- locale/de/hammer-cli-katello.po.time_stamp
|
300
187
|
- locale/de_AT/LC_MESSAGES/hammer-cli-katello.mo
|
188
|
+
- locale/de_AT/hammer-cli-katello.edit.po
|
301
189
|
- locale/de_AT/hammer-cli-katello.po
|
190
|
+
- locale/de_AT/hammer-cli-katello.po.time_stamp
|
302
191
|
- locale/de_DE/LC_MESSAGES/hammer-cli-katello.mo
|
192
|
+
- locale/de_DE/hammer-cli-katello.edit.po
|
303
193
|
- locale/de_DE/hammer-cli-katello.po
|
194
|
+
- locale/de_DE/hammer-cli-katello.po.time_stamp
|
304
195
|
- locale/el/LC_MESSAGES/hammer-cli-katello.mo
|
196
|
+
- locale/el/hammer-cli-katello.edit.po
|
305
197
|
- locale/el/hammer-cli-katello.po
|
198
|
+
- locale/el/hammer-cli-katello.po.time_stamp
|
306
199
|
- locale/en/LC_MESSAGES/hammer-cli-katello.mo
|
200
|
+
- locale/en/hammer-cli-katello.edit.po
|
307
201
|
- locale/en/hammer-cli-katello.po
|
202
|
+
- locale/en/hammer-cli-katello.po.time_stamp
|
308
203
|
- locale/en_GB/LC_MESSAGES/hammer-cli-katello.mo
|
204
|
+
- locale/en_GB/hammer-cli-katello.edit.po
|
309
205
|
- locale/en_GB/hammer-cli-katello.po
|
206
|
+
- locale/en_GB/hammer-cli-katello.po.time_stamp
|
310
207
|
- locale/en_US/LC_MESSAGES/hammer-cli-katello.mo
|
208
|
+
- locale/en_US/hammer-cli-katello.edit.po
|
311
209
|
- locale/en_US/hammer-cli-katello.po
|
210
|
+
- locale/en_US/hammer-cli-katello.po.time_stamp
|
312
211
|
- locale/es/LC_MESSAGES/hammer-cli-katello.mo
|
212
|
+
- locale/es/hammer-cli-katello.edit.po
|
313
213
|
- locale/es/hammer-cli-katello.po
|
214
|
+
- locale/es/hammer-cli-katello.po.time_stamp
|
314
215
|
- locale/et_EE/LC_MESSAGES/hammer-cli-katello.mo
|
216
|
+
- locale/et_EE/hammer-cli-katello.edit.po
|
315
217
|
- locale/et_EE/hammer-cli-katello.po
|
218
|
+
- locale/et_EE/hammer-cli-katello.po.time_stamp
|
316
219
|
- locale/fr/LC_MESSAGES/hammer-cli-katello.mo
|
220
|
+
- locale/fr/hammer-cli-katello.edit.po
|
317
221
|
- locale/fr/hammer-cli-katello.po
|
222
|
+
- locale/fr/hammer-cli-katello.po.time_stamp
|
318
223
|
- locale/gl/LC_MESSAGES/hammer-cli-katello.mo
|
224
|
+
- locale/gl/hammer-cli-katello.edit.po
|
319
225
|
- locale/gl/hammer-cli-katello.po
|
226
|
+
- locale/gl/hammer-cli-katello.po.time_stamp
|
320
227
|
- locale/gu/LC_MESSAGES/hammer-cli-katello.mo
|
228
|
+
- locale/gu/hammer-cli-katello.edit.po
|
321
229
|
- locale/gu/hammer-cli-katello.po
|
230
|
+
- locale/gu/hammer-cli-katello.po.time_stamp
|
322
231
|
- locale/hammer-cli-katello.pot
|
323
232
|
- locale/he_IL/LC_MESSAGES/hammer-cli-katello.mo
|
233
|
+
- locale/he_IL/hammer-cli-katello.edit.po
|
324
234
|
- locale/he_IL/hammer-cli-katello.po
|
235
|
+
- locale/he_IL/hammer-cli-katello.po.time_stamp
|
325
236
|
- locale/hi/LC_MESSAGES/hammer-cli-katello.mo
|
237
|
+
- locale/hi/hammer-cli-katello.edit.po
|
326
238
|
- locale/hi/hammer-cli-katello.po
|
239
|
+
- locale/hi/hammer-cli-katello.po.time_stamp
|
327
240
|
- locale/id/LC_MESSAGES/hammer-cli-katello.mo
|
241
|
+
- locale/id/hammer-cli-katello.edit.po
|
328
242
|
- locale/id/hammer-cli-katello.po
|
243
|
+
- locale/id/hammer-cli-katello.po.time_stamp
|
329
244
|
- locale/it/LC_MESSAGES/hammer-cli-katello.mo
|
245
|
+
- locale/it/hammer-cli-katello.edit.po
|
330
246
|
- locale/it/hammer-cli-katello.po
|
247
|
+
- locale/it/hammer-cli-katello.po.time_stamp
|
331
248
|
- locale/ja/LC_MESSAGES/hammer-cli-katello.mo
|
249
|
+
- locale/ja/hammer-cli-katello.edit.po
|
332
250
|
- locale/ja/hammer-cli-katello.po
|
251
|
+
- locale/ja/hammer-cli-katello.po.time_stamp
|
333
252
|
- locale/ka/LC_MESSAGES/hammer-cli-katello.mo
|
253
|
+
- locale/ka/hammer-cli-katello.edit.po
|
334
254
|
- locale/ka/hammer-cli-katello.po
|
255
|
+
- locale/ka/hammer-cli-katello.po.time_stamp
|
335
256
|
- locale/kn/LC_MESSAGES/hammer-cli-katello.mo
|
257
|
+
- locale/kn/hammer-cli-katello.edit.po
|
336
258
|
- locale/kn/hammer-cli-katello.po
|
259
|
+
- locale/kn/hammer-cli-katello.po.time_stamp
|
337
260
|
- locale/ko/LC_MESSAGES/hammer-cli-katello.mo
|
261
|
+
- locale/ko/hammer-cli-katello.edit.po
|
338
262
|
- locale/ko/hammer-cli-katello.po
|
263
|
+
- locale/ko/hammer-cli-katello.po.time_stamp
|
339
264
|
- locale/ml_IN/LC_MESSAGES/hammer-cli-katello.mo
|
265
|
+
- locale/ml_IN/hammer-cli-katello.edit.po
|
340
266
|
- locale/ml_IN/hammer-cli-katello.po
|
267
|
+
- locale/ml_IN/hammer-cli-katello.po.time_stamp
|
341
268
|
- locale/mr/LC_MESSAGES/hammer-cli-katello.mo
|
269
|
+
- locale/mr/hammer-cli-katello.edit.po
|
342
270
|
- locale/mr/hammer-cli-katello.po
|
271
|
+
- locale/mr/hammer-cli-katello.po.time_stamp
|
343
272
|
- locale/nl_NL/LC_MESSAGES/hammer-cli-katello.mo
|
273
|
+
- locale/nl_NL/hammer-cli-katello.edit.po
|
344
274
|
- locale/nl_NL/hammer-cli-katello.po
|
275
|
+
- locale/nl_NL/hammer-cli-katello.po.time_stamp
|
345
276
|
- locale/or/LC_MESSAGES/hammer-cli-katello.mo
|
277
|
+
- locale/or/hammer-cli-katello.edit.po
|
346
278
|
- locale/or/hammer-cli-katello.po
|
279
|
+
- locale/or/hammer-cli-katello.po.time_stamp
|
347
280
|
- locale/pa/LC_MESSAGES/hammer-cli-katello.mo
|
281
|
+
- locale/pa/hammer-cli-katello.edit.po
|
348
282
|
- locale/pa/hammer-cli-katello.po
|
283
|
+
- locale/pa/hammer-cli-katello.po.time_stamp
|
349
284
|
- locale/pl/LC_MESSAGES/hammer-cli-katello.mo
|
285
|
+
- locale/pl/hammer-cli-katello.edit.po
|
350
286
|
- locale/pl/hammer-cli-katello.po
|
287
|
+
- locale/pl/hammer-cli-katello.po.time_stamp
|
351
288
|
- locale/pl_PL/LC_MESSAGES/hammer-cli-katello.mo
|
289
|
+
- locale/pl_PL/hammer-cli-katello.edit.po
|
352
290
|
- locale/pl_PL/hammer-cli-katello.po
|
291
|
+
- locale/pl_PL/hammer-cli-katello.po.time_stamp
|
353
292
|
- locale/pt/LC_MESSAGES/hammer-cli-katello.mo
|
293
|
+
- locale/pt/hammer-cli-katello.edit.po
|
354
294
|
- locale/pt/hammer-cli-katello.po
|
295
|
+
- locale/pt/hammer-cli-katello.po.time_stamp
|
355
296
|
- locale/pt_BR/LC_MESSAGES/hammer-cli-katello.mo
|
297
|
+
- locale/pt_BR/hammer-cli-katello.edit.po
|
356
298
|
- locale/pt_BR/hammer-cli-katello.po
|
299
|
+
- locale/pt_BR/hammer-cli-katello.po.time_stamp
|
357
300
|
- locale/ro/LC_MESSAGES/hammer-cli-katello.mo
|
301
|
+
- locale/ro/hammer-cli-katello.edit.po
|
358
302
|
- locale/ro/hammer-cli-katello.po
|
303
|
+
- locale/ro/hammer-cli-katello.po.time_stamp
|
359
304
|
- locale/ro_RO/LC_MESSAGES/hammer-cli-katello.mo
|
305
|
+
- locale/ro_RO/hammer-cli-katello.edit.po
|
360
306
|
- locale/ro_RO/hammer-cli-katello.po
|
307
|
+
- locale/ro_RO/hammer-cli-katello.po.time_stamp
|
361
308
|
- locale/ru/LC_MESSAGES/hammer-cli-katello.mo
|
309
|
+
- locale/ru/hammer-cli-katello.edit.po
|
362
310
|
- locale/ru/hammer-cli-katello.po
|
311
|
+
- locale/ru/hammer-cli-katello.po.time_stamp
|
363
312
|
- locale/sl/LC_MESSAGES/hammer-cli-katello.mo
|
313
|
+
- locale/sl/hammer-cli-katello.edit.po
|
364
314
|
- locale/sl/hammer-cli-katello.po
|
315
|
+
- locale/sl/hammer-cli-katello.po.time_stamp
|
365
316
|
- locale/sv_SE/LC_MESSAGES/hammer-cli-katello.mo
|
317
|
+
- locale/sv_SE/hammer-cli-katello.edit.po
|
366
318
|
- locale/sv_SE/hammer-cli-katello.po
|
319
|
+
- locale/sv_SE/hammer-cli-katello.po.time_stamp
|
367
320
|
- locale/ta/LC_MESSAGES/hammer-cli-katello.mo
|
321
|
+
- locale/ta/hammer-cli-katello.edit.po
|
368
322
|
- locale/ta/hammer-cli-katello.po
|
323
|
+
- locale/ta/hammer-cli-katello.po.time_stamp
|
369
324
|
- locale/ta_IN/LC_MESSAGES/hammer-cli-katello.mo
|
325
|
+
- locale/ta_IN/hammer-cli-katello.edit.po
|
370
326
|
- locale/ta_IN/hammer-cli-katello.po
|
327
|
+
- locale/ta_IN/hammer-cli-katello.po.time_stamp
|
371
328
|
- locale/te/LC_MESSAGES/hammer-cli-katello.mo
|
329
|
+
- locale/te/hammer-cli-katello.edit.po
|
372
330
|
- locale/te/hammer-cli-katello.po
|
331
|
+
- locale/te/hammer-cli-katello.po.time_stamp
|
373
332
|
- locale/tr/LC_MESSAGES/hammer-cli-katello.mo
|
333
|
+
- locale/tr/hammer-cli-katello.edit.po
|
374
334
|
- locale/tr/hammer-cli-katello.po
|
335
|
+
- locale/tr/hammer-cli-katello.po.time_stamp
|
375
336
|
- locale/vi/LC_MESSAGES/hammer-cli-katello.mo
|
337
|
+
- locale/vi/hammer-cli-katello.edit.po
|
376
338
|
- locale/vi/hammer-cli-katello.po
|
339
|
+
- locale/vi/hammer-cli-katello.po.time_stamp
|
377
340
|
- locale/vi_VN/LC_MESSAGES/hammer-cli-katello.mo
|
341
|
+
- locale/vi_VN/hammer-cli-katello.edit.po
|
378
342
|
- locale/vi_VN/hammer-cli-katello.po
|
343
|
+
- locale/vi_VN/hammer-cli-katello.po.time_stamp
|
379
344
|
- locale/zanata.xml
|
380
345
|
- locale/zh/LC_MESSAGES/hammer-cli-katello.mo
|
346
|
+
- locale/zh/hammer-cli-katello.edit.po
|
381
347
|
- locale/zh/hammer-cli-katello.po
|
348
|
+
- locale/zh/hammer-cli-katello.po.time_stamp
|
382
349
|
- locale/zh_CN/LC_MESSAGES/hammer-cli-katello.mo
|
350
|
+
- locale/zh_CN/hammer-cli-katello.edit.po
|
383
351
|
- locale/zh_CN/hammer-cli-katello.po
|
352
|
+
- locale/zh_CN/hammer-cli-katello.po.time_stamp
|
384
353
|
- locale/zh_TW/LC_MESSAGES/hammer-cli-katello.mo
|
354
|
+
- locale/zh_TW/hammer-cli-katello.edit.po
|
385
355
|
- locale/zh_TW/hammer-cli-katello.po
|
356
|
+
- locale/zh_TW/hammer-cli-katello.po.time_stamp
|
386
357
|
- test/data/2.5/foreman_api.json
|
387
358
|
- test/data/3.0/foreman_api.json
|
388
359
|
- test/data/3.10/foreman_api.json
|
@@ -561,8 +532,9 @@ files:
|
|
561
532
|
- test/functional/product/product_helpers.rb
|
562
533
|
- test/functional/product/remove_sync_plan_test.rb
|
563
534
|
- test/functional/product/set_sync_plan_test.rb
|
564
|
-
- test/functional/product/
|
535
|
+
- test/functional/product/update_proxy_test.rb
|
565
536
|
- test/functional/product/update_test.rb
|
537
|
+
- test/functional/product/verify_checksum_test.rb
|
566
538
|
- test/functional/repository/create_test.rb
|
567
539
|
- test/functional/repository/delete_test.rb
|
568
540
|
- test/functional/repository/info_test.rb
|
@@ -575,6 +547,7 @@ files:
|
|
575
547
|
- test/functional/repository/types_test.rb
|
576
548
|
- test/functional/repository/update_test.rb
|
577
549
|
- test/functional/repository/upload_test.rb
|
550
|
+
- test/functional/repository/verify_checksum_test.rb
|
578
551
|
- test/functional/repository_set/available_repositories_test.rb
|
579
552
|
- test/functional/repository_set/disable_test.rb
|
580
553
|
- test/functional/repository_set/enable_test.rb
|
@@ -582,9 +555,6 @@ files:
|
|
582
555
|
- test/functional/repository_set/list_test.rb
|
583
556
|
- test/functional/repository_set/repository_set_helpers.rb
|
584
557
|
- test/functional/search_helpers.rb
|
585
|
-
- test/functional/simple_content_access/disable_test.rb
|
586
|
-
- test/functional/simple_content_access/enable_test.rb
|
587
|
-
- test/functional/simple_content_access/status_test.rb
|
588
558
|
- test/functional/srpm/list_test.rb
|
589
559
|
- test/functional/subscription/list_test.rb
|
590
560
|
- test/functional/sync_plan/create_test.rb
|
@@ -612,7 +582,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
612
582
|
requirements:
|
613
583
|
- - ">="
|
614
584
|
- !ruby/object:Gem::Version
|
615
|
-
version: '
|
585
|
+
version: '2.7'
|
586
|
+
- - "<"
|
587
|
+
- !ruby/object:Gem::Version
|
588
|
+
version: '3.2'
|
616
589
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
617
590
|
requirements:
|
618
591
|
- - ">="
|
@@ -802,8 +775,9 @@ test_files:
|
|
802
775
|
- test/functional/product/product_helpers.rb
|
803
776
|
- test/functional/product/remove_sync_plan_test.rb
|
804
777
|
- test/functional/product/set_sync_plan_test.rb
|
805
|
-
- test/functional/product/
|
778
|
+
- test/functional/product/update_proxy_test.rb
|
806
779
|
- test/functional/product/update_test.rb
|
780
|
+
- test/functional/product/verify_checksum_test.rb
|
807
781
|
- test/functional/repository/create_test.rb
|
808
782
|
- test/functional/repository/delete_test.rb
|
809
783
|
- test/functional/repository/info_test.rb
|
@@ -816,6 +790,7 @@ test_files:
|
|
816
790
|
- test/functional/repository/types_test.rb
|
817
791
|
- test/functional/repository/update_test.rb
|
818
792
|
- test/functional/repository/upload_test.rb
|
793
|
+
- test/functional/repository/verify_checksum_test.rb
|
819
794
|
- test/functional/repository_set/available_repositories_test.rb
|
820
795
|
- test/functional/repository_set/disable_test.rb
|
821
796
|
- test/functional/repository_set/enable_test.rb
|
@@ -823,9 +798,6 @@ test_files:
|
|
823
798
|
- test/functional/repository_set/list_test.rb
|
824
799
|
- test/functional/repository_set/repository_set_helpers.rb
|
825
800
|
- test/functional/search_helpers.rb
|
826
|
-
- test/functional/simple_content_access/disable_test.rb
|
827
|
-
- test/functional/simple_content_access/enable_test.rb
|
828
|
-
- test/functional/simple_content_access/status_test.rb
|
829
801
|
- test/functional/srpm/list_test.rb
|
830
802
|
- test/functional/subscription/list_test.rb
|
831
803
|
- test/functional/sync_plan/create_test.rb
|
@@ -1,59 +0,0 @@
|
|
1
|
-
module HammerCLIKatello
|
2
|
-
class SimpleContentAccess < HammerCLIKatello::Command
|
3
|
-
resource :simple_content_access
|
4
|
-
|
5
|
-
desc "Toggle simple content access mode across organization"
|
6
|
-
|
7
|
-
module EligibleCheck
|
8
|
-
include ApipieHelper
|
9
|
-
def request_params
|
10
|
-
super.tap do |opts|
|
11
|
-
unless call(:eligible, :simple_content_access, opts)["simple_content_access_eligible"]
|
12
|
-
raise _("This organization is not eligible for Simple Content Access")
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
class StatusCommand < HammerCLIKatello::ListCommand
|
19
|
-
resource :simple_content_access, :status
|
20
|
-
command_name "status"
|
21
|
-
output do
|
22
|
-
field :simple_content_access, _('Simple Content Access'), Fields::Boolean
|
23
|
-
end
|
24
|
-
|
25
|
-
build_options
|
26
|
-
end
|
27
|
-
|
28
|
-
class EnableCommand < HammerCLIKatello::SingleResourceCommand
|
29
|
-
include EligibleCheck
|
30
|
-
include HammerCLIForemanTasks::Async
|
31
|
-
resource :simple_content_access, :enable
|
32
|
-
command_name "enable"
|
33
|
-
|
34
|
-
success_message _("Simple Content Access Enabled.")
|
35
|
-
failure_message _("Could not enable Simple Content Access for this organization")
|
36
|
-
|
37
|
-
build_options
|
38
|
-
end
|
39
|
-
|
40
|
-
class DisableCommand < HammerCLIKatello::SingleResourceCommand
|
41
|
-
include EligibleCheck
|
42
|
-
include HammerCLIForemanTasks::Async
|
43
|
-
resource :simple_content_access, :disable
|
44
|
-
command_name "disable"
|
45
|
-
|
46
|
-
success_message _("Simple Content Access Disabled.")
|
47
|
-
failure_message _("Could not disable Simple Content Access for this organization")
|
48
|
-
|
49
|
-
build_options
|
50
|
-
|
51
|
-
def execute
|
52
|
-
warn _("Simple Content Access will be required for all organizations in the next release.")
|
53
|
-
super
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
autoload_subcommands
|
58
|
-
end
|
59
|
-
end
|