hammer_cli_foreman_rh_cloud 1.0.6 → 5.0.0
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/lib/hammer_cli_foreman_rh_cloud/insights.rb +0 -5
- data/lib/hammer_cli_foreman_rh_cloud/version.rb +1 -1
- data/locale/bn/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/bn_IN/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/bqi/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/ca/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/cs_CZ/hammer_cli_foreman_rh_cloud.po +22 -16
- data/locale/de/hammer_cli_foreman_rh_cloud.po +18 -12
- data/locale/de_AT/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/de_DE/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/el/hammer_cli_foreman_rh_cloud.po +18 -12
- data/locale/en/hammer_cli_foreman_rh_cloud.po +17 -10
- data/locale/en_GB/hammer_cli_foreman_rh_cloud.po +23 -21
- data/locale/en_US/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/es/hammer_cli_foreman_rh_cloud.po +20 -14
- data/locale/et_EE/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/fr/hammer_cli_foreman_rh_cloud.po +27 -23
- data/locale/gl/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/gu/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/hammer_cli_foreman_rh_cloud.pot +35 -22
- data/locale/he_IL/hammer_cli_foreman_rh_cloud.po +21 -15
- data/locale/hi/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/id/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/it/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/ja/hammer_cli_foreman_rh_cloud.po +22 -22
- data/locale/ka/hammer_cli_foreman_rh_cloud.po +23 -19
- data/locale/kn/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/ko/hammer_cli_foreman_rh_cloud.po +22 -21
- data/locale/ml_IN/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/mr/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/nl_NL/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/or/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/pa/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/pl/hammer_cli_foreman_rh_cloud.po +20 -14
- data/locale/pl_PL/hammer_cli_foreman_rh_cloud.po +22 -16
- data/locale/pt/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/pt_BR/hammer_cli_foreman_rh_cloud.po +22 -16
- data/locale/ro/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/ro_RO/hammer_cli_foreman_rh_cloud.po +21 -15
- data/locale/ru/hammer_cli_foreman_rh_cloud.po +20 -14
- data/locale/sl/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/sv_SE/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/ta/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/ta_IN/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/te/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/tr/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/vi/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/vi_VN/hammer_cli_foreman_rh_cloud.po +19 -13
- data/locale/zh/hammer_cli_foreman_rh_cloud.po +17 -11
- data/locale/zh_CN/hammer_cli_foreman_rh_cloud.po +24 -18
- data/locale/zh_TW/hammer_cli_foreman_rh_cloud.po +19 -13
- metadata +10 -7
- data/lib/hammer_cli_foreman_rh_cloud/cloud_connector.rb +0 -24
- data/test/functional/cloud_connector/cloud_connector_test.rb +0 -21
|
@@ -7,49 +7,55 @@
|
|
|
7
7
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2023
|
|
8
8
|
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
|
|
9
9
|
#
|
|
10
|
-
#, fuzzy
|
|
11
10
|
msgid ""
|
|
12
11
|
msgstr ""
|
|
13
12
|
"Project-Id-Version: hammer_cli_foreman_rh_cloud 1.0.5\n"
|
|
14
13
|
"Report-Msgid-Bugs-To: \n"
|
|
15
|
-
"POT-Creation-Date: 2023-07-12 16:17+0000\n"
|
|
16
14
|
"PO-Revision-Date: 2023-10-05 11:01+0000\n"
|
|
17
|
-
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud"
|
|
18
|
-
"
|
|
19
|
-
"Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/"
|
|
20
|
-
"
|
|
15
|
+
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
|
16
|
+
"n.nl>, 2024\n"
|
|
17
|
+
"Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
|
|
18
|
+
"_CN/)\n"
|
|
21
19
|
"MIME-Version: 1.0\n"
|
|
22
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
23
21
|
"Content-Transfer-Encoding: 8bit\n"
|
|
24
22
|
"Language: zh_CN\n"
|
|
25
23
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
26
24
|
|
|
27
|
-
msgid "
|
|
28
|
-
msgstr "
|
|
25
|
+
msgid "Duration: %sms"
|
|
26
|
+
msgstr ""
|
|
29
27
|
|
|
30
|
-
msgid ""
|
|
31
|
-
|
|
32
|
-
"information"
|
|
33
|
-
msgstr "启用云连接器失败,请检查服务器日志以了解更多信息"
|
|
28
|
+
msgid "Message: %s"
|
|
29
|
+
msgstr ""
|
|
34
30
|
|
|
35
|
-
msgid "
|
|
36
|
-
msgstr "
|
|
31
|
+
msgid "Status"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgid "Server Response"
|
|
35
|
+
msgstr ""
|
|
37
36
|
|
|
38
37
|
msgid "Inventory sync task started successfully"
|
|
39
38
|
msgstr "清单同步任务已成功启动"
|
|
40
39
|
|
|
41
40
|
msgid ""
|
|
42
|
-
"Failed to start inventory sync task, please check server logs for more "
|
|
43
|
-
"information"
|
|
41
|
+
"Failed to start inventory sync task, please check server logs for more information"
|
|
44
42
|
msgstr "启用云连接器失败,请检查服务器日志以了解更多信息"
|
|
45
43
|
|
|
44
|
+
msgid "Task id"
|
|
45
|
+
msgstr "任务 ID"
|
|
46
|
+
|
|
47
|
+
msgid "Path to download report."
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
46
50
|
msgid "Failed to download report"
|
|
47
51
|
msgstr "下载报告失败。"
|
|
48
52
|
|
|
53
|
+
msgid "Generate the report, but do not upload"
|
|
54
|
+
msgstr ""
|
|
55
|
+
|
|
49
56
|
msgid "Report generation started successfully"
|
|
50
57
|
msgstr "生成报告成功启动"
|
|
51
58
|
|
|
52
59
|
msgid ""
|
|
53
|
-
"Failed to start report generation task, please check server logs for more "
|
|
54
|
-
"information."
|
|
60
|
+
"Failed to start report generation task, please check server logs for more information."
|
|
55
61
|
msgstr "启动生成报告任务失败,请检查服务器日志以了解更多信息"
|
|
@@ -3,47 +3,53 @@
|
|
|
3
3
|
# This file is distributed under the same license as the hammer-cli-foreman-rh-cloud package.
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
|
-
#, fuzzy
|
|
7
6
|
msgid ""
|
|
8
7
|
msgstr ""
|
|
9
8
|
"Project-Id-Version: hammer_cli_foreman_rh_cloud 1.0.5\n"
|
|
10
9
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date: 2023-07-12 16:17+0000\n"
|
|
12
10
|
"PO-Revision-Date: 2023-10-05 11:01+0000\n"
|
|
13
|
-
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/"
|
|
14
|
-
"
|
|
11
|
+
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/z"
|
|
12
|
+
"h_TW/)\n"
|
|
15
13
|
"MIME-Version: 1.0\n"
|
|
16
14
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
17
15
|
"Content-Transfer-Encoding: 8bit\n"
|
|
18
16
|
"Language: zh_TW\n"
|
|
19
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
20
18
|
|
|
21
|
-
msgid "
|
|
19
|
+
msgid "Duration: %sms"
|
|
22
20
|
msgstr ""
|
|
23
21
|
|
|
24
|
-
msgid ""
|
|
25
|
-
"Failed to enable cloud connector, please check server logs for more "
|
|
26
|
-
"information"
|
|
22
|
+
msgid "Message: %s"
|
|
27
23
|
msgstr ""
|
|
28
24
|
|
|
29
|
-
msgid "
|
|
25
|
+
msgid "Status"
|
|
26
|
+
msgstr ""
|
|
27
|
+
|
|
28
|
+
msgid "Server Response"
|
|
30
29
|
msgstr ""
|
|
31
30
|
|
|
32
31
|
msgid "Inventory sync task started successfully"
|
|
33
32
|
msgstr ""
|
|
34
33
|
|
|
35
34
|
msgid ""
|
|
36
|
-
"Failed to start inventory sync task, please check server logs for more "
|
|
37
|
-
"
|
|
35
|
+
"Failed to start inventory sync task, please check server logs for more information"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgid "Task id"
|
|
39
|
+
msgstr ""
|
|
40
|
+
|
|
41
|
+
msgid "Path to download report."
|
|
38
42
|
msgstr ""
|
|
39
43
|
|
|
40
44
|
msgid "Failed to download report"
|
|
41
45
|
msgstr ""
|
|
42
46
|
|
|
47
|
+
msgid "Generate the report, but do not upload"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
43
50
|
msgid "Report generation started successfully"
|
|
44
51
|
msgstr ""
|
|
45
52
|
|
|
46
53
|
msgid ""
|
|
47
|
-
"Failed to start report generation task, please check server logs for more "
|
|
48
|
-
"information."
|
|
54
|
+
"Failed to start report generation task, please check server logs for more information."
|
|
49
55
|
msgstr ""
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hammer_cli_foreman_rh_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 5.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shimon Shtein
|
|
@@ -13,22 +13,28 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date:
|
|
16
|
+
date: 2026-07-06 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: hammer_cli_katello
|
|
20
20
|
requirement: !ruby/object:Gem::Requirement
|
|
21
21
|
requirements:
|
|
22
|
+
- - ">="
|
|
23
|
+
- !ruby/object:Gem::Version
|
|
24
|
+
version: '1.19'
|
|
22
25
|
- - "<"
|
|
23
26
|
- !ruby/object:Gem::Version
|
|
24
|
-
version: '
|
|
27
|
+
version: '6.0'
|
|
25
28
|
type: :runtime
|
|
26
29
|
prerelease: false
|
|
27
30
|
version_requirements: !ruby/object:Gem::Requirement
|
|
28
31
|
requirements:
|
|
32
|
+
- - ">="
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '1.19'
|
|
29
35
|
- - "<"
|
|
30
36
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: '
|
|
37
|
+
version: '6.0'
|
|
32
38
|
- !ruby/object:Gem::Dependency
|
|
33
39
|
name: ci_reporter
|
|
34
40
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -164,7 +170,6 @@ files:
|
|
|
164
170
|
- README.md
|
|
165
171
|
- config/foreman_rh_cloud.yml
|
|
166
172
|
- lib/hammer_cli_foreman_rh_cloud.rb
|
|
167
|
-
- lib/hammer_cli_foreman_rh_cloud/cloud_connector.rb
|
|
168
173
|
- lib/hammer_cli_foreman_rh_cloud/command_extensions/ping.rb
|
|
169
174
|
- lib/hammer_cli_foreman_rh_cloud/i18n.rb
|
|
170
175
|
- lib/hammer_cli_foreman_rh_cloud/insights.rb
|
|
@@ -268,7 +273,6 @@ files:
|
|
|
268
273
|
- locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo
|
|
269
274
|
- locale/zh_TW/hammer_cli_foreman_rh_cloud.po
|
|
270
275
|
- test/data/3.15/foreman_api.json
|
|
271
|
-
- test/functional/cloud_connector/cloud_connector_test.rb
|
|
272
276
|
- test/functional/inventory/download_report_test.rb
|
|
273
277
|
- test/functional/inventory/generate_report_test.rb
|
|
274
278
|
- test/functional/inventory/sync_test.rb
|
|
@@ -302,7 +306,6 @@ specification_version: 4
|
|
|
302
306
|
summary: Foreman Rh Cloud plugin for Hammer CLI
|
|
303
307
|
test_files:
|
|
304
308
|
- test/data/3.15/foreman_api.json
|
|
305
|
-
- test/functional/cloud_connector/cloud_connector_test.rb
|
|
306
309
|
- test/functional/inventory/download_report_test.rb
|
|
307
310
|
- test/functional/inventory/generate_report_test.rb
|
|
308
311
|
- test/functional/inventory/sync_test.rb
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module HammerCLIForemanRhCloud
|
|
2
|
-
class CloudConnectorCommand < HammerCLIForeman::Command
|
|
3
|
-
desc 'Manage cloud connector setup'
|
|
4
|
-
resource :inventory
|
|
5
|
-
command_name 'cloud-connector'
|
|
6
|
-
|
|
7
|
-
class EnableCommand < HammerCLIForeman::Command
|
|
8
|
-
command_name 'enable'
|
|
9
|
-
action :enable_cloud_connector
|
|
10
|
-
desc 'Enable cloud connector'
|
|
11
|
-
|
|
12
|
-
success_message _('Cloud connector enable task started')
|
|
13
|
-
failure_message _('Failed to enable cloud connector, please check server logs for more information')
|
|
14
|
-
|
|
15
|
-
output do
|
|
16
|
-
field :task_id, _('Task id')
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
build_options
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
autoload_subcommands
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
require File.join(File.dirname(__FILE__), '../../test_helper')
|
|
2
|
-
|
|
3
|
-
describe 'insights inventory cloud-connector enable' do
|
|
4
|
-
include ForemanTaskHelpers
|
|
5
|
-
before do
|
|
6
|
-
@cmd = %w[insights cloud-connector enable]
|
|
7
|
-
end
|
|
8
|
-
let(:task_id) { '5' }
|
|
9
|
-
let(:response) do
|
|
10
|
-
{
|
|
11
|
-
'id' => task_id,
|
|
12
|
-
'state' => 'planned',
|
|
13
|
-
}
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
it 'succeeds on sync with organization-id' do
|
|
17
|
-
api_expects(:inventory, :enable_cloud_connector).returns(response)
|
|
18
|
-
result = run_cmd(@cmd)
|
|
19
|
-
assert_match(/Cloud connector enable task started/, result.out)
|
|
20
|
-
end
|
|
21
|
-
end
|