foreman_scc_manager 5.3.0 → 5.4.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/app/assets/javascripts/foreman_scc_manager/locale/de/foreman_scc_manager.js +3 -3
- data/app/assets/javascripts/foreman_scc_manager/locale/el/foreman_scc_manager.js +3 -3
- data/app/assets/javascripts/foreman_scc_manager/locale/en/foreman_scc_manager.js +2 -2
- data/app/assets/javascripts/foreman_scc_manager/locale/fr/foreman_scc_manager.js +3 -3
- data/app/assets/javascripts/foreman_scc_manager/locale/ja/foreman_scc_manager.js +3 -3
- data/app/assets/javascripts/foreman_scc_manager/locale/ka/foreman_scc_manager.js +3 -3
- data/app/assets/javascripts/foreman_scc_manager/locale/ko/foreman_scc_manager.js +3 -3
- data/app/assets/javascripts/foreman_scc_manager/locale/zh_CN/foreman_scc_manager.js +3 -3
- data/app/lib/actions/scc_manager/sync_products.rb +1 -1
- data/app/lib/scc_manager.rb +1 -7
- data/lib/foreman_scc_manager/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/de/foreman_scc_manager.po +4 -4
- data/locale/el/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/el/foreman_scc_manager.po +4 -4
- data/locale/en/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/en/foreman_scc_manager.po +3 -2
- data/locale/foreman_scc_manager.pot +2 -2
- data/locale/fr/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/fr/foreman_scc_manager.po +4 -4
- data/locale/ja/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ja/foreman_scc_manager.po +4 -4
- data/locale/ka/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ka/foreman_scc_manager.po +4 -4
- data/locale/ko/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/ko/foreman_scc_manager.po +5 -4
- data/locale/zh_CN/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/zh_CN/foreman_scc_manager.po +4 -4
- data/test/lib/scc_manager_test.rb +29 -0
- data/webpack/components/SCCAccountForm/components/DateTimeField.js +4 -1
- data/webpack/components/SCCAccountIndex/SCCAccountIndexActions.js +3 -1
- data/webpack/components/SCCProductPage/SCCProductPage.js +5 -18
- data/webpack/components/SCCProductPage/SCCProductPageConstants.js +0 -1
- data/webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCGenericPicker/index.js +3 -2
- data/webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCTreePicker/components/SCCRepoPicker/index.js +1 -0
- data/webpack/components/SCCProductPage/components/SCCProductPickerModal/SCCProductPickerModal.test.js +69 -0
- data/webpack/components/SCCProductPage/components/SCCProductPickerModal/index.js +46 -39
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b52bcdb6e07b2cdef965068534e58d4c8774aaa6324c07313e9f1b6826601cda
|
|
4
|
+
data.tar.gz: 1af1c59be010d873fa65aa70ba4d9d893abee2fcc8cc22ceb5c994cc310ec903
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e2c0ea23ca1bc8fb2f63a9965c7d0f29e80e27c9a9b033354e5f2132e4e3ef07ed13b2034cedfcc86c8a7c4e994731f4a0d679829d972f9b9bb011179a2ae0c0
|
|
7
|
+
data.tar.gz: 51a87268a1fea3e5e6ac7b99330c835feb57ad551185bce8e7f79777fb7caf133011337f4c510dc5faff11bd9ab09bd30862670e28fc2c41cece01112f04120c
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "
|
|
9
|
+
"Last-Translator": "Bryan Kearney <bryan.kearney@gmail.com>, 2026",
|
|
10
10
|
"Language-Team": "German (https://app.transifex.com/foreman/teams/114/de/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"Relativ zu diesem Zeitpunkt wird die Synchronisation ausgeführt"
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"Löschen"
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "Efstathios Iosifidis <eiosifidis@gmail.com>,
|
|
9
|
+
"Last-Translator": "Efstathios Iosifidis <eiosifidis@gmail.com>, 2026",
|
|
10
10
|
"Language-Team": "Greek (https://app.transifex.com/foreman/teams/114/el/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
""
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"Διαγραφή"
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 1.0.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
|
-
"PO-Revision-Date": "2026-
|
|
8
|
+
"PO-Revision-Date": "2026-03-10 13:27+0100",
|
|
9
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
|
10
10
|
"Language-Team": "LANGUAGE <LL@li.org>",
|
|
11
11
|
"Language": "",
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "
|
|
9
|
+
"Last-Translator": "Bryan Kearney <bryan.kearney@gmail.com>, 2026",
|
|
10
10
|
"Language-Team": "French (https://app.transifex.com/foreman/teams/114/fr/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"Date et heure par rapport auxquelles l'intervalle de synchronisation est exécuté"
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"Supprimer"
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>,
|
|
9
|
+
"Last-Translator": "Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2026",
|
|
10
10
|
"Language-Team": "Japanese (https://app.transifex.com/foreman/teams/114/ja/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"同期の実行関連の日時"
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"削除"
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "Temuri Doghonadze <temuri.doghonadze@gmail.com>,
|
|
9
|
+
"Last-Translator": "Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2026",
|
|
10
10
|
"Language-Team": "Georgian (https://app.transifex.com/foreman/teams/114/ka/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"თარიღი და დრო იმ მომენტიდან, როცა სინქი ბოლოს გაეშვა"
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"წაშლა"
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "
|
|
9
|
+
"Last-Translator": "Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2026",
|
|
10
10
|
"Language-Team": "Korean (https://app.transifex.com/foreman/teams/114/ko/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
""
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"삭제 "
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"locale_data": {
|
|
4
4
|
"foreman_scc_manager": {
|
|
5
5
|
"": {
|
|
6
|
-
"Project-Id-Version": "foreman_scc_manager 5.
|
|
6
|
+
"Project-Id-Version": "foreman_scc_manager 5.3.0",
|
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
|
8
8
|
"PO-Revision-Date": "2019-10-17 13:28+0000",
|
|
9
|
-
"Last-Translator": "
|
|
9
|
+
"Last-Translator": "Amit Upadhye <aupadhye@redhat.com>, 2026",
|
|
10
10
|
"Language-Team": "Chinese (China) (https://app.transifex.com/foreman/teams/114/zh_CN/)",
|
|
11
11
|
"MIME-Version": "1.0",
|
|
12
12
|
"Content-Type": "text/plain; charset=UTF-8",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"运行同步间隔的日期和时间"
|
|
94
94
|
],
|
|
95
95
|
"Delete": [
|
|
96
|
-
""
|
|
96
|
+
"刪除"
|
|
97
97
|
],
|
|
98
98
|
"Delete SCC Account": [
|
|
99
99
|
""
|
|
@@ -19,7 +19,7 @@ module Actions
|
|
|
19
19
|
decrypt_field(input.fetch(:password)))
|
|
20
20
|
output[:data] = ::SccManager.sanitize_products(products).values
|
|
21
21
|
rescue StandardError => e
|
|
22
|
-
::Foreman::Logging.logger('foreman_scc_manager').error "Error while
|
|
22
|
+
::Foreman::Logging.logger('foreman_scc_manager').error "Error while synchronizing SCC products: #{e}"
|
|
23
23
|
error! e.to_s
|
|
24
24
|
end
|
|
25
25
|
|
data/app/lib/scc_manager.rb
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
module SccManager
|
|
2
2
|
# adapted from https://github.com/SUSE/connect
|
|
3
3
|
def self.get_scc_data(base_url, rest_url, login, password)
|
|
4
|
-
|
|
5
|
-
uri = URI(proxy_config[:url])
|
|
6
|
-
uri.user = proxy_config[:username]
|
|
7
|
-
uri.password = proxy_config[:password] if uri.user.present?
|
|
8
|
-
|
|
9
|
-
RestClient.proxy = uri.to_s
|
|
10
|
-
end
|
|
4
|
+
RestClient.proxy = ::HttpProxy.default_global_content_proxy.full_url if ::HttpProxy.default_global_content_proxy
|
|
11
5
|
|
|
12
6
|
url = base_url + rest_url
|
|
13
7
|
credentials = Base64.encode64("#{login}:#{password}").chomp
|
|
Binary file
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
# Bernhard Suttner <bernhard.suttner@atix.de>, 2019
|
|
10
10
|
# Nadja Heitmann <nadjah@atix.de>, 2021
|
|
11
11
|
# Alexander Stoll <Alexander.Stoll@netways.de>, 2022
|
|
12
|
-
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
|
13
12
|
# Markus Bucher <bucher@atix.de>, 2022
|
|
14
13
|
# Ettore Atalan <atalanttore@googlemail.com>, 2023
|
|
15
14
|
# pdolinic, 2025
|
|
16
15
|
# Wiederoder <stefanwiederoder@googlemail.com>, 2025
|
|
16
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2026
|
|
17
17
|
#
|
|
18
18
|
msgid ""
|
|
19
19
|
msgstr ""
|
|
20
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
20
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
21
21
|
"Report-Msgid-Bugs-To: \n"
|
|
22
22
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
23
|
-
"Last-Translator:
|
|
23
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2026\n"
|
|
24
24
|
"Language-Team: German (https://app.transifex.com/foreman/teams/114/de/)\n"
|
|
25
25
|
"MIME-Version: 1.0\n"
|
|
26
26
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -104,7 +104,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
104
104
|
msgstr "Relativ zu diesem Zeitpunkt wird die Synchronisation ausgeführt"
|
|
105
105
|
|
|
106
106
|
msgid "Delete"
|
|
107
|
-
msgstr ""
|
|
107
|
+
msgstr "Löschen"
|
|
108
108
|
|
|
109
109
|
msgid "Delete SCC Account"
|
|
110
110
|
msgstr ""
|
|
Binary file
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
6
|
# Translators:
|
|
7
|
-
# Efstathios Iosifidis <eiosifidis@gmail.com>,
|
|
7
|
+
# Efstathios Iosifidis <eiosifidis@gmail.com>, 2026
|
|
8
8
|
#
|
|
9
9
|
msgid ""
|
|
10
10
|
msgstr ""
|
|
11
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
11
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
|
13
13
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
14
|
-
"Last-Translator: Efstathios Iosifidis <eiosifidis@gmail.com>,
|
|
14
|
+
"Last-Translator: Efstathios Iosifidis <eiosifidis@gmail.com>, 2026\n"
|
|
15
15
|
"Language-Team: Greek (https://app.transifex.com/foreman/teams/114/el/)\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -95,7 +95,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
95
95
|
msgstr ""
|
|
96
96
|
|
|
97
97
|
msgid "Delete"
|
|
98
|
-
msgstr ""
|
|
98
|
+
msgstr "Διαγραφή"
|
|
99
99
|
|
|
100
100
|
msgid "Delete SCC Account"
|
|
101
101
|
msgstr ""
|
|
Binary file
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
# This file is distributed under the same license as the foreman_scc_manager package.
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
|
+
#, fuzzy
|
|
6
7
|
msgid ""
|
|
7
8
|
msgstr ""
|
|
8
|
-
"Project-Id-Version: foreman_scc_manager
|
|
9
|
+
"Project-Id-Version: foreman_scc_manager 1.0.0\n"
|
|
9
10
|
"Report-Msgid-Bugs-To: \n"
|
|
10
|
-
"PO-Revision-Date: 2026-
|
|
11
|
+
"PO-Revision-Date: 2026-03-10 13:27+0100\n"
|
|
11
12
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
12
13
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
13
14
|
"Language: \n"
|
|
@@ -8,8 +8,8 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: foreman_scc_manager 1.0.0\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date: 2026-
|
|
12
|
-
"PO-Revision-Date: 2026-
|
|
11
|
+
"POT-Creation-Date: 2026-03-10 13:27+0100\n"
|
|
12
|
+
"PO-Revision-Date: 2026-03-10 13:27+0100\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
15
15
|
"Language: \n"
|
|
Binary file
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
# Claer <transiblu@claer.hammock.fr>, 2019
|
|
8
8
|
# Baptiste Agasse <baptiste.agasse@gmail.com>, 2025
|
|
9
9
|
# 21966816214bc546c1fc8a185e75ca1c, 2025
|
|
10
|
-
# Bryan Kearney <bryan.kearney@gmail.com>, 2025
|
|
11
10
|
# Amit Upadhye <aupadhye@redhat.com>, 2025
|
|
11
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2026
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
15
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
16
16
|
"Report-Msgid-Bugs-To: \n"
|
|
17
17
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
18
|
-
"Last-Translator:
|
|
18
|
+
"Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2026\n"
|
|
19
19
|
"Language-Team: French (https://app.transifex.com/foreman/teams/114/fr/)\n"
|
|
20
20
|
"MIME-Version: 1.0\n"
|
|
21
21
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -100,7 +100,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
100
100
|
msgstr "Date et heure par rapport auxquelles l'intervalle de synchronisation est exécuté"
|
|
101
101
|
|
|
102
102
|
msgid "Delete"
|
|
103
|
-
msgstr ""
|
|
103
|
+
msgstr "Supprimer"
|
|
104
104
|
|
|
105
105
|
msgid "Delete SCC Account"
|
|
106
106
|
msgstr ""
|
|
Binary file
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
# Amit Upadhye <aupadhye@redhat.com>, 2022
|
|
11
11
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
|
12
12
|
# Ondřej Gajdušek, 2025
|
|
13
|
-
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>,
|
|
13
|
+
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2026
|
|
14
14
|
#
|
|
15
15
|
msgid ""
|
|
16
16
|
msgstr ""
|
|
17
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
17
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
18
18
|
"Report-Msgid-Bugs-To: \n"
|
|
19
19
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
20
20
|
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
|
21
|
-
"n.nl>,
|
|
21
|
+
"n.nl>, 2026\n"
|
|
22
22
|
"Language-Team: Japanese (https://app.transifex.com/foreman/teams/114/ja/)\n"
|
|
23
23
|
"MIME-Version: 1.0\n"
|
|
24
24
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -102,7 +102,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
102
102
|
msgstr "同期の実行関連の日時"
|
|
103
103
|
|
|
104
104
|
msgid "Delete"
|
|
105
|
-
msgstr ""
|
|
105
|
+
msgstr "削除"
|
|
106
106
|
|
|
107
107
|
msgid "Delete SCC Account"
|
|
108
108
|
msgstr ""
|
|
Binary file
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
6
|
# Translators:
|
|
7
|
-
# Temuri Doghonadze <temuri.doghonadze@gmail.com>,
|
|
7
|
+
# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2026
|
|
8
8
|
#
|
|
9
9
|
msgid ""
|
|
10
10
|
msgstr ""
|
|
11
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
11
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
|
13
13
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
14
|
-
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>,
|
|
14
|
+
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2026\n"
|
|
15
15
|
"Language-Team: Georgian (https://app.transifex.com/foreman/teams/114/ka/)\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -95,7 +95,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
95
95
|
msgstr "თარიღი და დრო იმ მომენტიდან, როცა სინქი ბოლოს გაეშვა"
|
|
96
96
|
|
|
97
97
|
msgid "Delete"
|
|
98
|
-
msgstr ""
|
|
98
|
+
msgstr "წაშლა"
|
|
99
99
|
|
|
100
100
|
msgid "Delete SCC Account"
|
|
101
101
|
msgstr ""
|
|
Binary file
|
|
@@ -7,15 +7,16 @@
|
|
|
7
7
|
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2019
|
|
8
8
|
# 진선재, 2022
|
|
9
9
|
# Ondřej Gajdušek, 2025
|
|
10
|
-
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
|
|
11
10
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2025
|
|
11
|
+
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2026
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
15
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
16
16
|
"Report-Msgid-Bugs-To: \n"
|
|
17
17
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
18
|
-
"Last-Translator:
|
|
18
|
+
"Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
|
|
19
|
+
"n.nl>, 2026\n"
|
|
19
20
|
"Language-Team: Korean (https://app.transifex.com/foreman/teams/114/ko/)\n"
|
|
20
21
|
"MIME-Version: 1.0\n"
|
|
21
22
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -99,7 +100,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
99
100
|
msgstr ""
|
|
100
101
|
|
|
101
102
|
msgid "Delete"
|
|
102
|
-
msgstr ""
|
|
103
|
+
msgstr "삭제 "
|
|
103
104
|
|
|
104
105
|
msgid "Delete SCC Account"
|
|
105
106
|
msgstr ""
|
|
Binary file
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
5
5
|
#
|
|
6
6
|
# Translators:
|
|
7
|
-
# Amit Upadhye <aupadhye@redhat.com>, 2022
|
|
8
7
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
|
9
8
|
# Ondřej Gajdušek, 2025
|
|
10
9
|
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
|
|
11
10
|
# tim123, 2025
|
|
11
|
+
# Amit Upadhye <aupadhye@redhat.com>, 2026
|
|
12
12
|
#
|
|
13
13
|
msgid ""
|
|
14
14
|
msgstr ""
|
|
15
|
-
"Project-Id-Version: foreman_scc_manager 5.
|
|
15
|
+
"Project-Id-Version: foreman_scc_manager 5.3.0\n"
|
|
16
16
|
"Report-Msgid-Bugs-To: \n"
|
|
17
17
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
|
18
|
-
"Last-Translator:
|
|
18
|
+
"Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2026\n"
|
|
19
19
|
"Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
|
|
20
20
|
"_CN/)\n"
|
|
21
21
|
"MIME-Version: 1.0\n"
|
|
@@ -100,7 +100,7 @@ msgid "Date and time relative to which the sync interval is run"
|
|
|
100
100
|
msgstr "运行同步间隔的日期和时间"
|
|
101
101
|
|
|
102
102
|
msgid "Delete"
|
|
103
|
-
msgstr ""
|
|
103
|
+
msgstr "刪除"
|
|
104
104
|
|
|
105
105
|
msgid "Delete SCC Account"
|
|
106
106
|
msgstr ""
|
|
@@ -60,5 +60,34 @@ class SccManagerTest < ActiveSupport::TestCase
|
|
|
60
60
|
@dummy_password)
|
|
61
61
|
end
|
|
62
62
|
end
|
|
63
|
+
|
|
64
|
+
test 'uses HTTP-Proxy' do
|
|
65
|
+
::HttpProxy.any_instance.stubs(:encryption_key).returns('25d224dd383e92a7e0c82b8bf7c985e8')
|
|
66
|
+
proxy = FactoryBot.build(:http_proxy)
|
|
67
|
+
proxy.username = 'dummy'
|
|
68
|
+
proxy.password = 'secret'
|
|
69
|
+
proxy.save!
|
|
70
|
+
default_global_proxy_backup = Setting[:content_default_http_proxy]
|
|
71
|
+
Setting[:content_default_http_proxy] = proxy.name
|
|
72
|
+
|
|
73
|
+
# ensure password is saved encrypted and decrypted before use
|
|
74
|
+
assert_not_equal 'secret', proxy[:password]
|
|
75
|
+
assert_include proxy.full_url, 'secret'
|
|
76
|
+
RestClient.expects(:proxy=).with(proxy.full_url)
|
|
77
|
+
RestClient.expects(:proxy=).with('')
|
|
78
|
+
stub_request(:get, "#{@dummy_base_url}#{@dummy_path}")
|
|
79
|
+
.with(@default_headers)
|
|
80
|
+
.to_return(status: 200,
|
|
81
|
+
body: '[{ "foo": "bar" }]',
|
|
82
|
+
headers: {})
|
|
83
|
+
|
|
84
|
+
results = ::SccManager.get_scc_data(@dummy_base_url,
|
|
85
|
+
@dummy_path,
|
|
86
|
+
@dummy_login,
|
|
87
|
+
@dummy_password)
|
|
88
|
+
assert_equal results[0]['foo'], 'bar'
|
|
89
|
+
|
|
90
|
+
Setting[:content_default_http_proxy] = default_global_proxy_backup
|
|
91
|
+
end
|
|
63
92
|
end
|
|
64
93
|
end
|
|
@@ -8,6 +8,8 @@ import {
|
|
|
8
8
|
} from '@patternfly/react-core';
|
|
9
9
|
import { translate as __ } from 'foremanReact/common/I18n';
|
|
10
10
|
|
|
11
|
+
const HOURS_DAY_MAX = 12;
|
|
12
|
+
|
|
11
13
|
export const formatDateTime = (dateStr, timeStr) => {
|
|
12
14
|
if (!dateStr || !timeStr) return undefined;
|
|
13
15
|
|
|
@@ -16,7 +18,8 @@ export const formatDateTime = (dateStr, timeStr) => {
|
|
|
16
18
|
|
|
17
19
|
const [, hourStr, minuteStr, ampm] = match;
|
|
18
20
|
const hour24 =
|
|
19
|
-
(parseInt(hourStr, 10) %
|
|
21
|
+
(parseInt(hourStr, 10) % HOURS_DAY_MAX) +
|
|
22
|
+
(ampm.toUpperCase() === 'PM' ? HOURS_DAY_MAX : 0);
|
|
20
23
|
|
|
21
24
|
const [year, month, day] = dateStr.split('-').map(Number);
|
|
22
25
|
if (!year || !month || !day) return undefined;
|
|
@@ -3,6 +3,8 @@ import { translate as __ } from 'foremanReact/common/I18n';
|
|
|
3
3
|
|
|
4
4
|
import { INITIAL_DELAY, MAX_DELAY, BACKOFF } from './SCCAccountIndexConstants';
|
|
5
5
|
|
|
6
|
+
const TIMEOUT_API_MSEC = 15000;
|
|
7
|
+
|
|
6
8
|
const isDone = (state, result) =>
|
|
7
9
|
state === 'stopped' || result === 'success' || result === 'error';
|
|
8
10
|
|
|
@@ -157,7 +159,7 @@ export const syncSccAccountAction = (
|
|
|
157
159
|
taskTimeoutRef,
|
|
158
160
|
lastStateRef
|
|
159
161
|
);
|
|
160
|
-
},
|
|
162
|
+
}, TIMEOUT_API_MSEC);
|
|
161
163
|
},
|
|
162
164
|
handleError: () => {
|
|
163
165
|
setAccounts((prev) =>
|
|
@@ -1,35 +1,22 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
import { Stack, StackItem } from '@patternfly/react-core';
|
|
4
|
-
import { useDispatch } from 'react-redux';
|
|
5
|
-
import { translate as __ } from 'foremanReact/common/I18n';
|
|
6
|
-
import { useForemanModal } from 'foremanReact/components/ForemanModal/ForemanModalHooks';
|
|
7
4
|
import SCCProductView from './components/SCCProductView';
|
|
8
5
|
import { EmptySccProducts } from './EmptySccProducts';
|
|
9
6
|
import SCCProductPicker from './components/SCCProductPicker';
|
|
10
7
|
import SCCProductPickerModal from './components/SCCProductPickerModal';
|
|
11
|
-
import { SCCPRODUCTPAGE_SUMMARY_MODAL_ID } from './SCCProductPageConstants';
|
|
12
8
|
import './sccProductPage.scss';
|
|
13
9
|
|
|
14
|
-
const SCCProductPage = ({
|
|
15
|
-
canCreate,
|
|
16
|
-
sccAccountId,
|
|
17
|
-
sccProductsInit,
|
|
18
|
-
...props
|
|
19
|
-
}) => {
|
|
20
|
-
const dispatch = useDispatch();
|
|
10
|
+
const SCCProductPage = ({ canCreate, sccAccountId, sccProductsInit }) => {
|
|
21
11
|
const [productToEdit, setProductToEdit] = useState(0);
|
|
22
12
|
const [reposToSubscribe, setReposToSubscribe] = useState([]);
|
|
23
13
|
const [subscriptionTaskId, setSubscriptionTaskId] = useState();
|
|
14
|
+
const [isSummaryModalOpen, setIsSummaryModalOpen] = useState(false);
|
|
24
15
|
|
|
25
16
|
const editProductTree = (productId) => {
|
|
26
17
|
setProductToEdit(productId);
|
|
27
18
|
};
|
|
28
19
|
|
|
29
|
-
const { setModalOpen } = useForemanModal({
|
|
30
|
-
id: SCCPRODUCTPAGE_SUMMARY_MODAL_ID,
|
|
31
|
-
});
|
|
32
|
-
|
|
33
20
|
const handleSubscribeCallback = (
|
|
34
21
|
subscriptionTaskIdFromAction,
|
|
35
22
|
reposToSubscribeFromAction
|
|
@@ -44,15 +31,15 @@ const SCCProductPage = ({
|
|
|
44
31
|
newReposToSubscribe.push(repo);
|
|
45
32
|
});
|
|
46
33
|
setReposToSubscribe(newReposToSubscribe);
|
|
47
|
-
|
|
34
|
+
setIsSummaryModalOpen(true);
|
|
48
35
|
};
|
|
49
36
|
|
|
50
37
|
return sccProductsInit.length > 0 ? (
|
|
51
38
|
<Stack>
|
|
52
39
|
<StackItem>
|
|
53
40
|
<SCCProductPickerModal
|
|
54
|
-
|
|
55
|
-
|
|
41
|
+
isOpen={isSummaryModalOpen}
|
|
42
|
+
onClose={() => setIsSummaryModalOpen(false)}
|
|
56
43
|
taskId={subscriptionTaskId}
|
|
57
44
|
reposToSubscribe={reposToSubscribe}
|
|
58
45
|
/>
|
|
@@ -16,6 +16,8 @@ import { TimesIcon } from '@patternfly/react-icons';
|
|
|
16
16
|
import { translate as __ } from 'foremanReact/common/I18n';
|
|
17
17
|
import '../../../SCCProductPicker/styles.scss';
|
|
18
18
|
|
|
19
|
+
const NO_RESULTS = __('no results');
|
|
20
|
+
|
|
19
21
|
const GenericSelector = ({
|
|
20
22
|
initialSelectOptions,
|
|
21
23
|
setSelected,
|
|
@@ -34,7 +36,6 @@ const GenericSelector = ({
|
|
|
34
36
|
);
|
|
35
37
|
const [focusedItemIndex, setFocusedItemIndex] = useState(null);
|
|
36
38
|
const [activeItemId, setActiveItemId] = useState(null);
|
|
37
|
-
const NO_RESULTS = __('no results');
|
|
38
39
|
|
|
39
40
|
useEffect(() => {
|
|
40
41
|
let newSelectOptions = initialSelectOptions.map((option) => ({
|
|
@@ -61,7 +62,7 @@ const GenericSelector = ({
|
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
setSelectOptions(newSelectOptions);
|
|
64
|
-
}, [filterValue, initialSelectOptions]);
|
|
65
|
+
}, [filterValue, initialSelectOptions, isOpen]);
|
|
65
66
|
const createItemId = (value) =>
|
|
66
67
|
`select-typeahead-${value?.replace(' ', '-')}`;
|
|
67
68
|
const setActiveAndFocusedItem = (itemIndex) => {
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* eslint-disable react/prop-types, import/no-unresolved */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import '@testing-library/jest-dom';
|
|
4
|
+
import { fireEvent, render, screen, within } from '@testing-library/react';
|
|
5
|
+
|
|
6
|
+
import SCCProductPickerModal from './index';
|
|
7
|
+
|
|
8
|
+
describe('SCCProductPickerModal', () => {
|
|
9
|
+
const defaultProps = {
|
|
10
|
+
isOpen: true,
|
|
11
|
+
onClose: jest.fn(),
|
|
12
|
+
taskId: 'task-123',
|
|
13
|
+
reposToSubscribe: [
|
|
14
|
+
{
|
|
15
|
+
productName: 'SLES',
|
|
16
|
+
repoNames: ['Repo A', 'Repo B'],
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
productName: 'Tools',
|
|
20
|
+
repoNames: ['Repo C'],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
beforeEach(() => {
|
|
26
|
+
jest.clearAllMocks();
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
it('does not render when closed', () => {
|
|
30
|
+
render(<SCCProductPickerModal {...defaultProps} isOpen={false} />);
|
|
31
|
+
|
|
32
|
+
expect(
|
|
33
|
+
screen.queryByRole('dialog', {
|
|
34
|
+
name: 'Summary of SCC product subscription',
|
|
35
|
+
})
|
|
36
|
+
).not.toBeInTheDocument();
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
it('renders the subscription summary, task link, and imported products', () => {
|
|
40
|
+
render(<SCCProductPickerModal {...defaultProps} />);
|
|
41
|
+
|
|
42
|
+
const dialog = screen.getByRole('dialog', {
|
|
43
|
+
name: 'Summary of SCC product subscription',
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
expect(
|
|
47
|
+
within(dialog).getByText(/The subscription task with id/i)
|
|
48
|
+
).toBeInTheDocument();
|
|
49
|
+
expect(
|
|
50
|
+
within(dialog).getByRole('link', { name: 'task-123' })
|
|
51
|
+
).toHaveAttribute('href', '/foreman_tasks/tasks/task-123');
|
|
52
|
+
expect(
|
|
53
|
+
within(dialog).getByText('The following products will be imported:')
|
|
54
|
+
).toBeInTheDocument();
|
|
55
|
+
expect(within(dialog).getByText('SLES')).toBeInTheDocument();
|
|
56
|
+
expect(within(dialog).getByText('Repo A')).toBeInTheDocument();
|
|
57
|
+
expect(within(dialog).getByText('Repo B')).toBeInTheDocument();
|
|
58
|
+
expect(within(dialog).getByText('Tools')).toBeInTheDocument();
|
|
59
|
+
expect(within(dialog).getByText('Repo C')).toBeInTheDocument();
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it('calls onClose when the modal is closed', () => {
|
|
63
|
+
render(<SCCProductPickerModal {...defaultProps} />);
|
|
64
|
+
|
|
65
|
+
fireEvent.click(screen.getByRole('button', { name: 'Close' }));
|
|
66
|
+
|
|
67
|
+
expect(defaultProps.onClose).toHaveBeenCalledTimes(1);
|
|
68
|
+
});
|
|
69
|
+
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import ForemanModal from 'foremanReact/components/ForemanModal';
|
|
4
3
|
|
|
5
4
|
import { sprintf, translate as __ } from 'foremanReact/common/I18n';
|
|
6
5
|
import {
|
|
7
6
|
Card,
|
|
8
7
|
CardBody,
|
|
8
|
+
Modal,
|
|
9
9
|
TextContent,
|
|
10
10
|
Text,
|
|
11
11
|
TextList,
|
|
@@ -34,55 +34,62 @@ const generateProductList = (reposToSubscribe) => (
|
|
|
34
34
|
</TextList>
|
|
35
35
|
);
|
|
36
36
|
|
|
37
|
-
const SCCProductPickerModal = ({
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
>
|
|
59
|
-
{sprintf('%s', taskId)}
|
|
60
|
-
</Text>
|
|
61
|
-
{__(' has started successfully.')}
|
|
62
|
-
</Text>
|
|
37
|
+
const SCCProductPickerModal = ({
|
|
38
|
+
isOpen,
|
|
39
|
+
onClose,
|
|
40
|
+
taskId,
|
|
41
|
+
reposToSubscribe,
|
|
42
|
+
}) => (
|
|
43
|
+
<Modal
|
|
44
|
+
ouiaId="scc-product-picker-modal"
|
|
45
|
+
title={__('Summary of SCC product subscription')}
|
|
46
|
+
isOpen={isOpen}
|
|
47
|
+
onClose={onClose}
|
|
48
|
+
variant="medium"
|
|
49
|
+
>
|
|
50
|
+
<Card ouiaId="scc-product-picker-modal-card">
|
|
51
|
+
<CardBody>
|
|
52
|
+
<TextContent key={taskId}>
|
|
53
|
+
<Text
|
|
54
|
+
ouiaId={'scc-subscription-task-message-'.concat(taskId)}
|
|
55
|
+
key={'scc-subscription-task-message-'.concat(taskId)}
|
|
56
|
+
>
|
|
57
|
+
{__('The subscription task with id ')}
|
|
63
58
|
<Text
|
|
64
|
-
ouiaId={'
|
|
65
|
-
key={'
|
|
59
|
+
ouiaId={'scc-subscription-task-link-'.concat(taskId)}
|
|
60
|
+
key={'scc-subscription-task-link-'.concat(taskId)}
|
|
61
|
+
component={TextVariants.a}
|
|
62
|
+
target="_blank"
|
|
63
|
+
href={sprintf('/foreman_tasks/tasks/%s', taskId)}
|
|
66
64
|
>
|
|
67
|
-
{
|
|
65
|
+
{sprintf('%s', taskId)}
|
|
68
66
|
</Text>
|
|
69
|
-
{
|
|
70
|
-
</
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
{__(' has started successfully.')}
|
|
68
|
+
</Text>
|
|
69
|
+
<Text
|
|
70
|
+
ouiaId={'scc-subscription-import-summary-'.concat(taskId)}
|
|
71
|
+
key={'scc-subscription-import-summary-'.concat(taskId)}
|
|
72
|
+
>
|
|
73
|
+
{__('The following products will be imported:')}
|
|
74
|
+
</Text>
|
|
75
|
+
{generateProductList(reposToSubscribe)}
|
|
76
|
+
</TextContent>
|
|
77
|
+
</CardBody>
|
|
78
|
+
</Card>
|
|
79
|
+
</Modal>
|
|
75
80
|
);
|
|
76
81
|
SCCProductPickerModal.propTypes = {
|
|
77
|
-
|
|
82
|
+
isOpen: PropTypes.bool,
|
|
83
|
+
onClose: PropTypes.func,
|
|
78
84
|
taskId: PropTypes.string,
|
|
79
85
|
reposToSubscribe: PropTypes.array,
|
|
80
86
|
};
|
|
81
87
|
|
|
82
88
|
SCCProductPickerModal.defaultProps = {
|
|
83
|
-
|
|
89
|
+
isOpen: false,
|
|
90
|
+
onClose: () => {},
|
|
84
91
|
taskId: '',
|
|
85
|
-
reposToSubscribe:
|
|
92
|
+
reposToSubscribe: [],
|
|
86
93
|
};
|
|
87
94
|
|
|
88
95
|
export default SCCProductPickerModal;
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_scc_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ATIX AG
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-08-05 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rdoc
|
|
@@ -220,6 +220,7 @@ files:
|
|
|
220
220
|
- webpack/components/SCCProductPage/components/SCCProductPicker/components/SCCTreePicker/index.js
|
|
221
221
|
- webpack/components/SCCProductPage/components/SCCProductPicker/index.js
|
|
222
222
|
- webpack/components/SCCProductPage/components/SCCProductPicker/styles.scss
|
|
223
|
+
- webpack/components/SCCProductPage/components/SCCProductPickerModal/SCCProductPickerModal.test.js
|
|
223
224
|
- webpack/components/SCCProductPage/components/SCCProductPickerModal/index.js
|
|
224
225
|
- webpack/components/SCCProductPage/components/SCCProductView/components/SCCRepoView/index.js
|
|
225
226
|
- webpack/components/SCCProductPage/components/SCCProductView/components/SCCRepoView/styles.scss
|
|
@@ -250,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
250
251
|
- !ruby/object:Gem::Version
|
|
251
252
|
version: '0'
|
|
252
253
|
requirements: []
|
|
253
|
-
rubygems_version: 4.0.
|
|
254
|
+
rubygems_version: 4.0.16
|
|
254
255
|
specification_version: 4
|
|
255
256
|
summary: Suse Customer Center plugin for Foreman
|
|
256
257
|
test_files:
|