hammer_cli_foreman_rh_cloud 1.0.7 → 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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_foreman_rh_cloud/insights.rb +0 -5
  3. data/lib/hammer_cli_foreman_rh_cloud/version.rb +1 -1
  4. data/locale/bn/hammer_cli_foreman_rh_cloud.po +17 -11
  5. data/locale/bn_IN/hammer_cli_foreman_rh_cloud.po +19 -13
  6. data/locale/bqi/hammer_cli_foreman_rh_cloud.po +19 -13
  7. data/locale/ca/hammer_cli_foreman_rh_cloud.po +17 -11
  8. data/locale/cs_CZ/hammer_cli_foreman_rh_cloud.po +22 -16
  9. data/locale/de/hammer_cli_foreman_rh_cloud.po +18 -12
  10. data/locale/de_AT/hammer_cli_foreman_rh_cloud.po +19 -13
  11. data/locale/de_DE/hammer_cli_foreman_rh_cloud.po +19 -13
  12. data/locale/el/hammer_cli_foreman_rh_cloud.po +18 -12
  13. data/locale/en/hammer_cli_foreman_rh_cloud.po +17 -10
  14. data/locale/en_GB/hammer_cli_foreman_rh_cloud.po +23 -21
  15. data/locale/en_US/hammer_cli_foreman_rh_cloud.po +19 -13
  16. data/locale/es/hammer_cli_foreman_rh_cloud.po +20 -14
  17. data/locale/et_EE/hammer_cli_foreman_rh_cloud.po +19 -13
  18. data/locale/fr/hammer_cli_foreman_rh_cloud.po +27 -23
  19. data/locale/gl/hammer_cli_foreman_rh_cloud.po +17 -11
  20. data/locale/gu/hammer_cli_foreman_rh_cloud.po +17 -11
  21. data/locale/hammer_cli_foreman_rh_cloud.pot +35 -22
  22. data/locale/he_IL/hammer_cli_foreman_rh_cloud.po +21 -15
  23. data/locale/hi/hammer_cli_foreman_rh_cloud.po +17 -11
  24. data/locale/id/hammer_cli_foreman_rh_cloud.po +17 -11
  25. data/locale/it/hammer_cli_foreman_rh_cloud.po +19 -13
  26. data/locale/ja/hammer_cli_foreman_rh_cloud.po +22 -22
  27. data/locale/ka/hammer_cli_foreman_rh_cloud.po +23 -19
  28. data/locale/kn/hammer_cli_foreman_rh_cloud.po +17 -11
  29. data/locale/ko/hammer_cli_foreman_rh_cloud.po +22 -21
  30. data/locale/ml_IN/hammer_cli_foreman_rh_cloud.po +19 -13
  31. data/locale/mr/hammer_cli_foreman_rh_cloud.po +17 -11
  32. data/locale/nl_NL/hammer_cli_foreman_rh_cloud.po +19 -13
  33. data/locale/or/hammer_cli_foreman_rh_cloud.po +17 -11
  34. data/locale/pa/hammer_cli_foreman_rh_cloud.po +19 -13
  35. data/locale/pl/hammer_cli_foreman_rh_cloud.po +20 -14
  36. data/locale/pl_PL/hammer_cli_foreman_rh_cloud.po +22 -16
  37. data/locale/pt/hammer_cli_foreman_rh_cloud.po +19 -13
  38. data/locale/pt_BR/hammer_cli_foreman_rh_cloud.po +22 -16
  39. data/locale/ro/hammer_cli_foreman_rh_cloud.po +19 -13
  40. data/locale/ro_RO/hammer_cli_foreman_rh_cloud.po +21 -15
  41. data/locale/ru/hammer_cli_foreman_rh_cloud.po +20 -14
  42. data/locale/sl/hammer_cli_foreman_rh_cloud.po +19 -13
  43. data/locale/sv_SE/hammer_cli_foreman_rh_cloud.po +19 -13
  44. data/locale/ta/hammer_cli_foreman_rh_cloud.po +17 -11
  45. data/locale/ta_IN/hammer_cli_foreman_rh_cloud.po +19 -13
  46. data/locale/te/hammer_cli_foreman_rh_cloud.po +17 -11
  47. data/locale/tr/hammer_cli_foreman_rh_cloud.po +17 -11
  48. data/locale/vi/hammer_cli_foreman_rh_cloud.po +17 -11
  49. data/locale/vi_VN/hammer_cli_foreman_rh_cloud.po +19 -13
  50. data/locale/zh/hammer_cli_foreman_rh_cloud.po +17 -11
  51. data/locale/zh_CN/hammer_cli_foreman_rh_cloud.po +24 -18
  52. data/locale/zh_TW/hammer_cli_foreman_rh_cloud.po +19 -13
  53. metadata +7 -6
  54. data/lib/hammer_cli_foreman_rh_cloud/cloud_connector.rb +0 -24
  55. 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
- "+transifex@kohlvanwijngaarden.nl>, 2024\n"
19
- "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/"
20
- "zh_CN/)\n"
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 "Cloud connector enable task started"
28
- msgstr "已启动 Cloud connector 启用任务"
25
+ msgid "Duration: %sms"
26
+ msgstr ""
29
27
 
30
- msgid ""
31
- "Failed to enable cloud connector, please check server logs for more "
32
- "information"
33
- msgstr "启用云连接器失败,请检查服务器日志以了解更多信息"
28
+ msgid "Message: %s"
29
+ msgstr ""
34
30
 
35
- msgid "Task id"
36
- msgstr "任务 ID"
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
- "zh_TW/)\n"
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 "Cloud connector enable task started"
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 "Task id"
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
- "information"
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: 1.0.7
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shimon Shtein
@@ -10,9 +10,10 @@ authors:
10
10
  - Archana Kumari
11
11
  - Oleh Fedorenko
12
12
  - Partha Aji
13
+ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
- date: 1980-01-02 00:00:00.000000000 Z
16
+ date: 2026-07-06 00:00:00.000000000 Z
16
17
  dependencies:
17
18
  - !ruby/object:Gem::Dependency
18
19
  name: hammer_cli_katello
@@ -158,6 +159,7 @@ dependencies:
158
159
  - - "~>"
159
160
  - !ruby/object:Gem::Version
160
161
  version: '1.0'
162
+ description:
161
163
  email:
162
164
  - sshtein@redhat.com
163
165
  executables: []
@@ -168,7 +170,6 @@ files:
168
170
  - README.md
169
171
  - config/foreman_rh_cloud.yml
170
172
  - lib/hammer_cli_foreman_rh_cloud.rb
171
- - lib/hammer_cli_foreman_rh_cloud/cloud_connector.rb
172
173
  - lib/hammer_cli_foreman_rh_cloud/command_extensions/ping.rb
173
174
  - lib/hammer_cli_foreman_rh_cloud/i18n.rb
174
175
  - lib/hammer_cli_foreman_rh_cloud/insights.rb
@@ -272,7 +273,6 @@ files:
272
273
  - locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo
273
274
  - locale/zh_TW/hammer_cli_foreman_rh_cloud.po
274
275
  - test/data/3.15/foreman_api.json
275
- - test/functional/cloud_connector/cloud_connector_test.rb
276
276
  - test/functional/inventory/download_report_test.rb
277
277
  - test/functional/inventory/generate_report_test.rb
278
278
  - test/functional/inventory/sync_test.rb
@@ -282,6 +282,7 @@ homepage: https://github.com/theforeman/hammer-cli-foreman-rh-cloud
282
282
  licenses:
283
283
  - GPL-3.0-or-later
284
284
  metadata: {}
285
+ post_install_message:
285
286
  rdoc_options: []
286
287
  require_paths:
287
288
  - lib
@@ -299,12 +300,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
300
  - !ruby/object:Gem::Version
300
301
  version: '0'
301
302
  requirements: []
302
- rubygems_version: 4.0.6
303
+ rubygems_version: 3.2.33
304
+ signing_key:
303
305
  specification_version: 4
304
306
  summary: Foreman Rh Cloud plugin for Hammer CLI
305
307
  test_files:
306
308
  - test/data/3.15/foreman_api.json
307
- - test/functional/cloud_connector/cloud_connector_test.rb
308
309
  - test/functional/inventory/download_report_test.rb
309
310
  - test/functional/inventory/generate_report_test.rb
310
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