hammer_cli_foreman_rh_cloud 1.0.7 → 5.0.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/lib/hammer_cli_foreman_rh_cloud/insights.rb +0 -5
- data/lib/hammer_cli_foreman_rh_cloud/version.rb +1 -1
- data/locale/bn/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/bn/hammer_cli_foreman_rh_cloud.po +22 -8
- data/locale/bn_IN/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/bn_IN/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/bqi/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/bqi/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/ca/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ca/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/cs_CZ/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/cs_CZ/hammer_cli_foreman_rh_cloud.po +23 -12
- data/locale/de/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/de/hammer_cli_foreman_rh_cloud.po +23 -12
- data/locale/de_AT/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/de_AT/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/de_DE/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/de_DE/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/el/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/el/hammer_cli_foreman_rh_cloud.po +22 -12
- data/locale/en/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/en/hammer_cli_foreman_rh_cloud.po +19 -9
- data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/en_GB/hammer_cli_foreman_rh_cloud.po +22 -14
- data/locale/en_US/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/en_US/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/es/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/es/hammer_cli_foreman_rh_cloud.po +22 -12
- data/locale/et_EE/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/et_EE/hammer_cli_foreman_rh_cloud.po +20 -10
- data/locale/fr/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/fr/hammer_cli_foreman_rh_cloud.po +26 -17
- data/locale/gl/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/gl/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/gu/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/gu/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/hammer_cli_foreman_rh_cloud.pot +33 -18
- data/locale/he_IL/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/he_IL/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/hi/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/hi/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/id/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/id/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/it/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/it/hammer_cli_foreman_rh_cloud.po +22 -8
- data/locale/ja/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ja/hammer_cli_foreman_rh_cloud.po +26 -17
- data/locale/ka/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ka/hammer_cli_foreman_rh_cloud.po +23 -15
- data/locale/kn/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/kn/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/ko/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ko/hammer_cli_foreman_rh_cloud.po +25 -16
- data/locale/ml_IN/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ml_IN/hammer_cli_foreman_rh_cloud.po +20 -10
- data/locale/mr/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/mr/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/nl_NL/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/nl_NL/hammer_cli_foreman_rh_cloud.po +20 -10
- data/locale/or/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/or/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/pa/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/pa/hammer_cli_foreman_rh_cloud.po +20 -10
- data/locale/pl/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/pl/hammer_cli_foreman_rh_cloud.po +21 -11
- data/locale/pl_PL/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/pl_PL/hammer_cli_foreman_rh_cloud.po +21 -11
- data/locale/pt/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/pt/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/pt_BR/hammer_cli_foreman_rh_cloud.po +25 -14
- data/locale/ro/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ro/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/ro_RO/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ro_RO/hammer_cli_foreman_rh_cloud.po +20 -10
- data/locale/ru/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ru/hammer_cli_foreman_rh_cloud.po +25 -11
- data/locale/sl/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/sl/hammer_cli_foreman_rh_cloud.po +20 -10
- data/locale/sv_SE/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/sv_SE/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/ta/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ta/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/ta_IN/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/ta_IN/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/te/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/te/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/tr/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/tr/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/vi/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/vi/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/vi_VN/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/vi_VN/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/zh/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/zh/hammer_cli_foreman_rh_cloud.po +18 -8
- data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/zh_CN/hammer_cli_foreman_rh_cloud.po +26 -15
- data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_rh_cloud.mo +0 -0
- data/locale/zh_TW/hammer_cli_foreman_rh_cloud.po +23 -9
- metadata +7 -6
- data/lib/hammer_cli_foreman_rh_cloud/cloud_connector.rb +0 -24
- data/test/functional/cloud_connector/cloud_connector_test.rb +0 -21
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|
3
|
-
# This file is distributed under the same license as the
|
|
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
|
+
# Translators:
|
|
7
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2026
|
|
8
|
+
#
|
|
6
9
|
#, fuzzy
|
|
7
10
|
msgid ""
|
|
8
11
|
msgstr ""
|
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_rh_cloud
|
|
12
|
+
"Project-Id-Version: hammer_cli_foreman_rh_cloud 5.0.0\n"
|
|
10
13
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date:
|
|
14
|
+
"POT-Creation-Date: 2026-07-01 03:42-0400\n"
|
|
12
15
|
"PO-Revision-Date: 2023-10-05 11:01+0000\n"
|
|
16
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2026\n"
|
|
13
17
|
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/foreman/teams/114/"
|
|
14
18
|
"zh_TW/)\n"
|
|
15
19
|
"MIME-Version: 1.0\n"
|
|
@@ -18,17 +22,18 @@ msgstr ""
|
|
|
18
22
|
"Language: zh_TW\n"
|
|
19
23
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
20
24
|
|
|
21
|
-
msgid "
|
|
25
|
+
msgid "Duration: %sms"
|
|
22
26
|
msgstr ""
|
|
23
27
|
|
|
24
|
-
msgid ""
|
|
25
|
-
|
|
26
|
-
"information"
|
|
27
|
-
msgstr ""
|
|
28
|
+
msgid "Message: %s"
|
|
29
|
+
msgstr "訊息:%s"
|
|
28
30
|
|
|
29
|
-
msgid "
|
|
31
|
+
msgid "Status"
|
|
30
32
|
msgstr ""
|
|
31
33
|
|
|
34
|
+
msgid "Server Response"
|
|
35
|
+
msgstr "伺服器反應"
|
|
36
|
+
|
|
32
37
|
msgid "Inventory sync task started successfully"
|
|
33
38
|
msgstr ""
|
|
34
39
|
|
|
@@ -37,9 +42,18 @@ msgid ""
|
|
|
37
42
|
"information"
|
|
38
43
|
msgstr ""
|
|
39
44
|
|
|
45
|
+
msgid "Task id"
|
|
46
|
+
msgstr ""
|
|
47
|
+
|
|
48
|
+
msgid "Path to download report."
|
|
49
|
+
msgstr ""
|
|
50
|
+
|
|
40
51
|
msgid "Failed to download report"
|
|
41
52
|
msgstr ""
|
|
42
53
|
|
|
54
|
+
msgid "Generate the report, but do not upload"
|
|
55
|
+
msgstr ""
|
|
56
|
+
|
|
43
57
|
msgid "Report generation started successfully"
|
|
44
58
|
msgstr ""
|
|
45
59
|
|
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.1
|
|
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:
|
|
16
|
+
date: 2026-09-29 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:
|
|
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
|