katello 4.18.0.rc2 → 4.18.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.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/katello/locale/bn/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/bn_IN/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/ca/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/cs/katello.js +280 -16
- data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +282 -18
- data/app/assets/javascripts/katello/locale/de/katello.js +290 -26
- data/app/assets/javascripts/katello/locale/de_AT/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/de_DE/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/el/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/en/katello.js +280 -16
- data/app/assets/javascripts/katello/locale/en_GB/katello.js +280 -16
- data/app/assets/javascripts/katello/locale/en_US/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/es/katello.js +445 -181
- data/app/assets/javascripts/katello/locale/et_EE/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/fr/katello.js +1097 -833
- data/app/assets/javascripts/katello/locale/gl/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/gu/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/he_IL/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/hi/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/id/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/it/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/ja/katello.js +826 -562
- data/app/assets/javascripts/katello/locale/ka/katello.js +677 -413
- data/app/assets/javascripts/katello/locale/kn/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/ko/katello.js +2325 -2062
- data/app/assets/javascripts/katello/locale/ml_IN/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/mr/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/nl_NL/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/or/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/pa/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/pl/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/pl_PL/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/pt/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/pt_BR/katello.js +458 -194
- data/app/assets/javascripts/katello/locale/ro/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/ro_RO/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/ru/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/sl/katello.js +281 -17
- data/app/assets/javascripts/katello/locale/sv_SE/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/ta/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/ta_IN/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/te/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/tr/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/vi/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/vi_VN/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/zh/katello.js +279 -15
- data/app/assets/javascripts/katello/locale/zh_CN/katello.js +831 -567
- data/app/assets/javascripts/katello/locale/zh_TW/katello.js +281 -17
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +2 -2
- data/app/controllers/katello/api/v2/content_export_incrementals_controller.rb +69 -19
- data/app/controllers/katello/api/v2/exports_controller.rb +14 -7
- data/app/controllers/katello/api/v2/flatpak_remote_repositories_controller.rb +9 -0
- data/app/controllers/katello/api/v2/host_errata_controller.rb +24 -2
- data/app/controllers/katello/api/v2/organizations_controller.rb +10 -4
- data/app/controllers/katello/api/v2/repositories_controller.rb +12 -3
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +36 -8
- data/app/lib/actions/katello/content_view/remove_rolling_repo_clone.rb +9 -1
- data/app/lib/actions/katello/repository/destroy.rb +3 -2
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_library.rb +1 -2
- data/app/lib/actions/pulp3/orchestration/content_view_version/export_repository.rb +1 -2
- data/app/lib/katello/errors.rb +2 -0
- data/app/models/katello/content_view_environment.rb +3 -0
- data/app/models/katello/rhel_lifecycle_status.rb +3 -1
- data/app/services/katello/pulp3/content_view_version/export.rb +32 -25
- data/app/services/katello/pulp3/content_view_version/export_validator.rb +1 -1
- data/app/views/katello/api/v2/content_facet/base.json.rabl +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-type.filter.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +8 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/bn.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/bn_IN.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ca.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/cs_CZ.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de_AT.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de_DE.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/el.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/en_GB.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/en_US.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/et_EE.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/gl.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/gu.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/he_IL.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/hi.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/id.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ka.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/kn.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ml_IN.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/mr.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/nl_NL.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/or.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pa.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pl.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pl_PL.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ro.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ro_RO.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/sl.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/sv_SE.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ta.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ta_IN.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/te.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/tr.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/vi.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/vi_VN.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +6 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +11 -11
- data/lib/katello/plugin.rb +6 -0
- data/lib/katello/tasks/repository.rake +67 -0
- data/lib/katello/version.rb +1 -1
- data/locale/bn/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn/katello.po +279 -15
- data/locale/bn_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn_IN/katello.po +279 -15
- data/locale/ca/LC_MESSAGES/katello.mo +0 -0
- data/locale/ca/katello.po +282 -18
- data/locale/cs/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs/katello.po +280 -17
- data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs_CZ/katello.po +283 -19
- data/locale/de/LC_MESSAGES/katello.mo +0 -0
- data/locale/de/katello.po +295 -31
- data/locale/de_AT/LC_MESSAGES/katello.mo +0 -0
- data/locale/de_AT/katello.po +279 -15
- data/locale/de_DE/LC_MESSAGES/katello.mo +0 -0
- data/locale/de_DE/katello.po +282 -18
- data/locale/el/LC_MESSAGES/katello.mo +0 -0
- data/locale/el/katello.po +282 -18
- data/locale/en/LC_MESSAGES/katello.mo +0 -0
- data/locale/en/katello.po +280 -17
- data/locale/en_GB/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_GB/katello.po +280 -16
- data/locale/en_US/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_US/katello.po +279 -15
- data/locale/es/LC_MESSAGES/katello.mo +0 -0
- data/locale/es/katello.po +449 -184
- data/locale/et_EE/LC_MESSAGES/katello.mo +0 -0
- data/locale/et_EE/katello.po +279 -15
- data/locale/fr/LC_MESSAGES/katello.mo +0 -0
- data/locale/fr/katello.po +1103 -840
- data/locale/gl/LC_MESSAGES/katello.mo +0 -0
- data/locale/gl/katello.po +279 -15
- data/locale/gu/LC_MESSAGES/katello.mo +0 -0
- data/locale/gu/katello.po +279 -15
- data/locale/he_IL/LC_MESSAGES/katello.mo +0 -0
- data/locale/he_IL/katello.po +279 -15
- data/locale/hi/LC_MESSAGES/katello.mo +0 -0
- data/locale/hi/katello.po +279 -15
- data/locale/id/LC_MESSAGES/katello.mo +0 -0
- data/locale/id/katello.po +279 -15
- data/locale/it/LC_MESSAGES/katello.mo +0 -0
- data/locale/it/katello.po +282 -18
- data/locale/ja/LC_MESSAGES/katello.mo +0 -0
- data/locale/ja/katello.po +833 -568
- data/locale/ka/LC_MESSAGES/katello.mo +0 -0
- data/locale/ka/katello.po +679 -413
- data/locale/katello.pot +775 -359
- data/locale/kn/LC_MESSAGES/katello.mo +0 -0
- data/locale/kn/katello.po +279 -15
- data/locale/ko/LC_MESSAGES/katello.mo +0 -0
- data/locale/ko/katello.po +2334 -2058
- data/locale/ml_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/ml_IN/katello.po +279 -15
- data/locale/mr/LC_MESSAGES/katello.mo +0 -0
- data/locale/mr/katello.po +279 -15
- data/locale/nl_NL/LC_MESSAGES/katello.mo +0 -0
- data/locale/nl_NL/katello.po +279 -15
- data/locale/or/LC_MESSAGES/katello.mo +0 -0
- data/locale/or/katello.po +279 -15
- data/locale/pa/LC_MESSAGES/katello.mo +0 -0
- data/locale/pa/katello.po +279 -15
- data/locale/pl/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl/katello.po +282 -18
- data/locale/pl_PL/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl_PL/katello.po +279 -15
- data/locale/pt/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt/katello.po +279 -15
- data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt_BR/katello.po +462 -197
- data/locale/ro/LC_MESSAGES/katello.mo +0 -0
- data/locale/ro/katello.po +279 -15
- data/locale/ro_RO/LC_MESSAGES/katello.mo +0 -0
- data/locale/ro_RO/katello.po +279 -15
- data/locale/ru/LC_MESSAGES/katello.mo +0 -0
- data/locale/ru/katello.po +282 -18
- data/locale/sl/LC_MESSAGES/katello.mo +0 -0
- data/locale/sl/katello.po +282 -18
- data/locale/sv_SE/LC_MESSAGES/katello.mo +0 -0
- data/locale/sv_SE/katello.po +279 -15
- data/locale/ta/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta/katello.po +279 -15
- data/locale/ta_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta_IN/katello.po +279 -15
- data/locale/te/LC_MESSAGES/katello.mo +0 -0
- data/locale/te/katello.po +279 -15
- data/locale/tr/LC_MESSAGES/katello.mo +0 -0
- data/locale/tr/katello.po +279 -15
- data/locale/vi/LC_MESSAGES/katello.mo +0 -0
- data/locale/vi/katello.po +279 -15
- data/locale/vi_VN/LC_MESSAGES/katello.mo +0 -0
- data/locale/vi_VN/katello.po +279 -15
- data/locale/zh/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh/katello.po +279 -15
- data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_CN/katello.po +836 -567
- data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_TW/katello.po +282 -18
- data/webpack/components/Errata/index.js +18 -0
- data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/HostErrataConstants.js +3 -0
- data/webpack/global_index.js +0 -4
- data/webpack/redux/actions/RedHatRepositories/helpers.js +3 -3
- data/webpack/redux/reducers/index.js +0 -2
- metadata +4 -16
- data/webpack/components/extensions/about/SystemStatuses.js +0 -55
- data/webpack/components/extensions/about/SystemStatusesActions.js +0 -16
- data/webpack/components/extensions/about/SystemStatusesConsts.js +0 -3
- data/webpack/components/extensions/about/SystemStatusesReducer.js +0 -26
- data/webpack/components/extensions/about/SystemStatusesSelectors.js +0 -3
- data/webpack/components/extensions/about/__tests__/SystemStatuses.fixtures.js +0 -20
- data/webpack/components/extensions/about/__tests__/SystemStatuses.test.js +0 -14
- data/webpack/components/extensions/about/__tests__/SystemStatusesReducer.test.js +0 -32
- data/webpack/components/extensions/about/__tests__/__snapshots__/SystemStatuses.test.js.snap +0 -156
- data/webpack/components/extensions/about/__tests__/__snapshots__/SystemStatusesReducer.test.js.snap +0 -47
- data/webpack/components/extensions/about/index.js +0 -19
- data/webpack/components/extensions/reducers.js +0 -6
@@ -14,6 +14,7 @@ import {
|
|
14
14
|
SecurityIcon,
|
15
15
|
EnhancementIcon,
|
16
16
|
SquareIcon,
|
17
|
+
QuestionCircleIcon,
|
17
18
|
} from '@patternfly/react-icons';
|
18
19
|
import { TranslatedAnchor } from '../Table/components/TranslatedPlural';
|
19
20
|
|
@@ -81,6 +82,21 @@ export const ErrataSummary = ({ type, count, errataCategory }) => {
|
|
81
82
|
);
|
82
83
|
break;
|
83
84
|
default:
|
85
|
+
label = __('Other');
|
86
|
+
ErrataIcon = QuestionCircleIcon;
|
87
|
+
color = '#6a6e73';
|
88
|
+
url = (
|
89
|
+
<TranslatedAnchor
|
90
|
+
id="errata-card-other-count"
|
91
|
+
style={{ marginLeft: '0.4rem' }}
|
92
|
+
href={`#/Content/errata?type=other&show=${errataCategory}`}
|
93
|
+
count={count}
|
94
|
+
plural="others"
|
95
|
+
singular="other"
|
96
|
+
zeroMsg="# others"
|
97
|
+
ariaLabel={`${count} others`}
|
98
|
+
/>
|
99
|
+
);
|
84
100
|
}
|
85
101
|
if (!ErrataIcon) return null;
|
86
102
|
|
@@ -126,6 +142,8 @@ export const ErrataType = ({ type }) => {
|
|
126
142
|
ErrataIcon = EnhancementIcon;
|
127
143
|
break;
|
128
144
|
default:
|
145
|
+
label = __('Other');
|
146
|
+
ErrataIcon = QuestionCircleIcon;
|
129
147
|
}
|
130
148
|
if (!ErrataIcon) return null;
|
131
149
|
|
@@ -5,6 +5,7 @@ export const ERRATA_TYPES = {
|
|
5
5
|
SECURITY: 'Security',
|
6
6
|
BUGFIX: 'Bugfix',
|
7
7
|
ENHANCEMENT: 'Enhancement',
|
8
|
+
OTHER: 'Other',
|
8
9
|
};
|
9
10
|
export const ERRATA_SEVERITIES = {
|
10
11
|
NOT_APPLICABLE: 'N/A',
|
@@ -18,6 +19,7 @@ export const TYPES_TO_PARAM = {
|
|
18
19
|
[ERRATA_TYPES.SECURITY]: 'security',
|
19
20
|
[ERRATA_TYPES.BUGFIX]: 'bugfix',
|
20
21
|
[ERRATA_TYPES.ENHANCEMENT]: 'enhancement',
|
22
|
+
[ERRATA_TYPES.OTHER]: 'other',
|
21
23
|
};
|
22
24
|
|
23
25
|
export const SEVERITIES_TO_PARAM = {
|
@@ -32,6 +34,7 @@ export const PARAM_TO_FRIENDLY_NAME = {
|
|
32
34
|
security: 'Security',
|
33
35
|
bugfix: 'Bugfix',
|
34
36
|
enhancement: 'Enhancement',
|
37
|
+
other: 'Other',
|
35
38
|
none: 'N/A',
|
36
39
|
low: 'Low',
|
37
40
|
moderate: 'Moderate',
|
data/webpack/global_index.js
CHANGED
@@ -8,7 +8,6 @@ import { registerGetActions } from 'foremanReact/components/HostsIndex/TableRowA
|
|
8
8
|
|
9
9
|
import hostsIndexColumnExtensions from './ForemanColumnExtensions/index';
|
10
10
|
import hostTableRowActions from './components/extensions/Hosts/TableRowActions';
|
11
|
-
import SystemStatuses from './components/extensions/about';
|
12
11
|
import {
|
13
12
|
RegistrationCommands,
|
14
13
|
RegistrationActivationKeys,
|
@@ -22,7 +21,6 @@ import HwPropertiesCard from './components/extensions/HostDetails/DetailsTabCard
|
|
22
21
|
import ImageModeCard from './components/extensions/HostDetails/DetailsTabCards/ImageModeCard';
|
23
22
|
|
24
23
|
import TracesTab from './components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js';
|
25
|
-
import extendReducer from './components/extensions/reducers';
|
26
24
|
import rootReducer from './redux/reducers';
|
27
25
|
import HostCollectionsCard from './components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard';
|
28
26
|
import { hostIsNotRegistered } from './components/extensions/HostDetails/hostDetailsHelpers';
|
@@ -42,10 +40,8 @@ import BulkRepositorySetsWizardModal from './components/extensions/Hosts/BulkAct
|
|
42
40
|
import ActivationKeysSearch from './components/ActivationKeysSearch';
|
43
41
|
import { CVEDetailsCard } from './scenes/ActivationKeys/Details/components/CVEDetailsCard.js';
|
44
42
|
|
45
|
-
registerReducer('katelloExtends', extendReducer);
|
46
43
|
registerReducer('katello', rootReducer);
|
47
44
|
|
48
|
-
addGlobalFill('aboutFooterSlot', '[katello]AboutSystemStatuses', <SystemStatuses key="katello-system-statuses" />, 100);
|
49
45
|
addGlobalFill('registrationAdvanced', '[katello]RegistrationCommands', <RegistrationCommands key="katello-reg" />, 100);
|
50
46
|
addGlobalFill('registrationGeneral', '[katello]RegistrationActivationKeys', <RegistrationActivationKeys key="katello-reg-ak" />, 100);
|
51
47
|
|
@@ -40,9 +40,9 @@ const recommendedRepositoriesSatTools = [
|
|
40
40
|
];
|
41
41
|
|
42
42
|
const recommendedRepositoriesMisc = [
|
43
|
-
'satellite-utils-6.
|
44
|
-
'satellite-maintenance-6.
|
45
|
-
'satellite-capsule-6.
|
43
|
+
'satellite-utils-6.18-for-rhel-9-x86_64-rpms',
|
44
|
+
'satellite-maintenance-6.18-for-rhel-9-x86_64-rpms',
|
45
|
+
'satellite-capsule-6.18-for-rhel-9-x86_64-rpms',
|
46
46
|
];
|
47
47
|
|
48
48
|
const recommendedRepositorySetLables = recommendedRepositoriesRHEL
|
@@ -9,7 +9,6 @@ import { setOrganization } from '../../components/SelectOrg/SetOrganization';
|
|
9
9
|
import { moduleStreams } from '../../scenes/ModuleStreams';
|
10
10
|
import { reducers as organizationProductsReducers } from '../OrganizationProducts';
|
11
11
|
import { moduleStreamDetails } from '../../scenes/ModuleStreams/Details';
|
12
|
-
import { reducers as systemStatuses } from '../../components/extensions/about';
|
13
12
|
import { contentViewDetails } from '../../scenes/ContentViews/Details';
|
14
13
|
import hostDetails from '../../components/extensions/HostDetails/HostDetailsReducer';
|
15
14
|
import searchBar from '../../components/extensions/SearchBar/SearchBarReducer';
|
@@ -28,5 +27,4 @@ export default combineReducers({
|
|
28
27
|
hostDetails,
|
29
28
|
searchBar,
|
30
29
|
...organizationProductsReducers,
|
31
|
-
...systemStatuses,
|
32
30
|
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.18.0
|
4
|
+
version: 4.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -4912,18 +4912,6 @@ files:
|
|
4912
4912
|
- webpack/components/extensions/SearchBar/SearchBarHooks.js
|
4913
4913
|
- webpack/components/extensions/SearchBar/SearchBarReducer.js
|
4914
4914
|
- webpack/components/extensions/SearchBar/SearchBarSelectors.js
|
4915
|
-
- webpack/components/extensions/about/SystemStatuses.js
|
4916
|
-
- webpack/components/extensions/about/SystemStatusesActions.js
|
4917
|
-
- webpack/components/extensions/about/SystemStatusesConsts.js
|
4918
|
-
- webpack/components/extensions/about/SystemStatusesReducer.js
|
4919
|
-
- webpack/components/extensions/about/SystemStatusesSelectors.js
|
4920
|
-
- webpack/components/extensions/about/__tests__/SystemStatuses.fixtures.js
|
4921
|
-
- webpack/components/extensions/about/__tests__/SystemStatuses.test.js
|
4922
|
-
- webpack/components/extensions/about/__tests__/SystemStatusesReducer.test.js
|
4923
|
-
- webpack/components/extensions/about/__tests__/__snapshots__/SystemStatuses.test.js.snap
|
4924
|
-
- webpack/components/extensions/about/__tests__/__snapshots__/SystemStatusesReducer.test.js.snap
|
4925
|
-
- webpack/components/extensions/about/index.js
|
4926
|
-
- webpack/components/extensions/reducers.js
|
4927
4915
|
- webpack/components/pf3Table/components/CollapseSubscriptionGroupButton.js
|
4928
4916
|
- webpack/components/pf3Table/components/CollapseSubscriptionGroupButton.test.js
|
4929
4917
|
- webpack/components/pf3Table/components/Table.js
|
@@ -5611,9 +5599,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
5611
5599
|
version: '4'
|
5612
5600
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
5613
5601
|
requirements:
|
5614
|
-
- - "
|
5602
|
+
- - ">="
|
5615
5603
|
- !ruby/object:Gem::Version
|
5616
|
-
version:
|
5604
|
+
version: '0'
|
5617
5605
|
requirements: []
|
5618
5606
|
rubygems_version: 3.2.33
|
5619
5607
|
signing_key:
|
@@ -1,55 +0,0 @@
|
|
1
|
-
import React, { Component } from 'react';
|
2
|
-
import PropTypes from 'prop-types';
|
3
|
-
import { translate as __ } from 'foremanReact/common/I18n';
|
4
|
-
import { LoadingState } from 'patternfly-react';
|
5
|
-
|
6
|
-
class SystemStatuses extends Component {
|
7
|
-
componentDidMount() {
|
8
|
-
this.props.getSystemStatuses('/katello/api/ping');
|
9
|
-
}
|
10
|
-
|
11
|
-
render() {
|
12
|
-
const { services, status } = this.props;
|
13
|
-
const isLoading = status === 'PENDING';
|
14
|
-
|
15
|
-
return (
|
16
|
-
<div className="col-md-7">
|
17
|
-
<div className="stats-well">
|
18
|
-
<h4>{__('Backend System Status')}</h4>
|
19
|
-
<LoadingState loading={isLoading} loadingText="">
|
20
|
-
<table className="table table-striped">
|
21
|
-
<tbody>
|
22
|
-
<tr>
|
23
|
-
<th>{__('Component')}</th>
|
24
|
-
<th>{__('Status')}</th>
|
25
|
-
<th>{__('Message')}</th>
|
26
|
-
</tr>
|
27
|
-
|
28
|
-
{Object.entries(services).map(([key, value]) => (
|
29
|
-
<tr key={key}>
|
30
|
-
<td> {key} </td>
|
31
|
-
<td>{value.status.toUpperCase()}</td>
|
32
|
-
<td> {value.message}</td>
|
33
|
-
</tr>
|
34
|
-
))}
|
35
|
-
</tbody>
|
36
|
-
</table>
|
37
|
-
</LoadingState>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
);
|
41
|
-
}
|
42
|
-
}
|
43
|
-
|
44
|
-
SystemStatuses.propTypes = {
|
45
|
-
getSystemStatuses: PropTypes.func.isRequired,
|
46
|
-
services: PropTypes.shape({}),
|
47
|
-
status: PropTypes.string,
|
48
|
-
};
|
49
|
-
|
50
|
-
SystemStatuses.defaultProps = {
|
51
|
-
services: {},
|
52
|
-
status: '',
|
53
|
-
};
|
54
|
-
|
55
|
-
export default SystemStatuses;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { ajaxRequestAction } from 'foremanReact/redux/actions/common';
|
2
|
-
import {
|
3
|
-
SYSTEM_STATUSES_FAILURE,
|
4
|
-
SYSTEM_STATUSES_SUCCESS,
|
5
|
-
SYSTEM_STATUSES_REQUEST,
|
6
|
-
} from './SystemStatusesConsts';
|
7
|
-
|
8
|
-
// eslint-disable-next-line import/prefer-default-export
|
9
|
-
export const getSystemStatuses = url => dispatch =>
|
10
|
-
ajaxRequestAction({
|
11
|
-
dispatch,
|
12
|
-
requestAction: SYSTEM_STATUSES_REQUEST,
|
13
|
-
successAction: SYSTEM_STATUSES_SUCCESS,
|
14
|
-
failedAction: SYSTEM_STATUSES_FAILURE,
|
15
|
-
url,
|
16
|
-
});
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import Immutable from 'seamless-immutable';
|
2
|
-
import {
|
3
|
-
SYSTEM_STATUSES_FAILURE,
|
4
|
-
SYSTEM_STATUSES_SUCCESS,
|
5
|
-
SYSTEM_STATUSES_REQUEST,
|
6
|
-
} from './SystemStatusesConsts';
|
7
|
-
|
8
|
-
const initialState = Immutable({
|
9
|
-
services: {},
|
10
|
-
loaderStatus: '',
|
11
|
-
});
|
12
|
-
|
13
|
-
export default (state = initialState, action) => {
|
14
|
-
switch (action.type) {
|
15
|
-
case SYSTEM_STATUSES_REQUEST:
|
16
|
-
return state.set('loaderStatus', 'PENDING');
|
17
|
-
case SYSTEM_STATUSES_SUCCESS:
|
18
|
-
return state
|
19
|
-
.set('services', action.payload.services)
|
20
|
-
.set('loaderStatus', 'RESOLVED');
|
21
|
-
case SYSTEM_STATUSES_FAILURE:
|
22
|
-
return state.set('loaderStatus', 'ERROR');
|
23
|
-
default:
|
24
|
-
return state;
|
25
|
-
}
|
26
|
-
};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
export const services = {
|
3
|
-
candlepin: { status: 'ok', message: 'a message' },
|
4
|
-
candlepin_auth: { status: 'error', message: 'error message' },
|
5
|
-
foreman_tasks: { status: 'ok' },
|
6
|
-
pulp: { status: 'ok' },
|
7
|
-
pulp_auth: { status: 'ok' },
|
8
|
-
};
|
9
|
-
|
10
|
-
export const withServices = {
|
11
|
-
status: 'RESOLVED',
|
12
|
-
services,
|
13
|
-
getSystemStatuses: jest.fn(),
|
14
|
-
};
|
15
|
-
|
16
|
-
export const pending = {
|
17
|
-
status: 'PENDING',
|
18
|
-
services: {},
|
19
|
-
getSystemStatuses: jest.fn(),
|
20
|
-
};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
|
2
|
-
|
3
|
-
import SystemStatuses from '../SystemStatuses';
|
4
|
-
import { withServices, pending } from './SystemStatuses.fixtures';
|
5
|
-
|
6
|
-
jest.unmock('../../../../components/LoadingState');
|
7
|
-
|
8
|
-
const fixtures = {
|
9
|
-
'renders a table': withServices,
|
10
|
-
'renders a loader': pending,
|
11
|
-
};
|
12
|
-
|
13
|
-
describe('SystemStatuses', () =>
|
14
|
-
testComponentSnapshotsWithFixtures(SystemStatuses, fixtures));
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { testReducerSnapshotWithFixtures } from 'react-redux-test-utils';
|
2
|
-
import {
|
3
|
-
SYSTEM_STATUSES_FAILURE,
|
4
|
-
SYSTEM_STATUSES_SUCCESS,
|
5
|
-
SYSTEM_STATUSES_REQUEST,
|
6
|
-
} from '../SystemStatusesConsts';
|
7
|
-
import reducer from '../SystemStatusesReducer';
|
8
|
-
import { services } from './SystemStatuses.fixtures';
|
9
|
-
|
10
|
-
const fixtures = {
|
11
|
-
'should return the initial state': {},
|
12
|
-
'should return PENDING': {
|
13
|
-
action: {
|
14
|
-
type: SYSTEM_STATUSES_REQUEST,
|
15
|
-
},
|
16
|
-
},
|
17
|
-
'should handle success': {
|
18
|
-
action: {
|
19
|
-
type: SYSTEM_STATUSES_SUCCESS,
|
20
|
-
payload: { services },
|
21
|
-
},
|
22
|
-
},
|
23
|
-
'should handle SYSTEM_STATUSES_FAILURE': {
|
24
|
-
action: {
|
25
|
-
type: SYSTEM_STATUSES_FAILURE,
|
26
|
-
},
|
27
|
-
},
|
28
|
-
};
|
29
|
-
|
30
|
-
describe('AutoComplete reducer', () =>
|
31
|
-
testReducerSnapshotWithFixtures(reducer, fixtures));
|
32
|
-
|
data/webpack/components/extensions/about/__tests__/__snapshots__/SystemStatuses.test.js.snap
DELETED
@@ -1,156 +0,0 @@
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
-
|
3
|
-
exports[`SystemStatuses renders a loader 1`] = `
|
4
|
-
<div
|
5
|
-
className="col-md-7"
|
6
|
-
>
|
7
|
-
<div
|
8
|
-
className="stats-well"
|
9
|
-
>
|
10
|
-
<h4>
|
11
|
-
Backend System Status
|
12
|
-
</h4>
|
13
|
-
<LoadingState
|
14
|
-
additionalClasses=""
|
15
|
-
loading={true}
|
16
|
-
loadingText=""
|
17
|
-
size="lg"
|
18
|
-
timeout={300}
|
19
|
-
>
|
20
|
-
<table
|
21
|
-
className="table table-striped"
|
22
|
-
>
|
23
|
-
<tbody>
|
24
|
-
<tr>
|
25
|
-
<th>
|
26
|
-
Component
|
27
|
-
</th>
|
28
|
-
<th>
|
29
|
-
Status
|
30
|
-
</th>
|
31
|
-
<th>
|
32
|
-
Message
|
33
|
-
</th>
|
34
|
-
</tr>
|
35
|
-
</tbody>
|
36
|
-
</table>
|
37
|
-
</LoadingState>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
`;
|
41
|
-
|
42
|
-
exports[`SystemStatuses renders a table 1`] = `
|
43
|
-
<div
|
44
|
-
className="col-md-7"
|
45
|
-
>
|
46
|
-
<div
|
47
|
-
className="stats-well"
|
48
|
-
>
|
49
|
-
<h4>
|
50
|
-
Backend System Status
|
51
|
-
</h4>
|
52
|
-
<LoadingState
|
53
|
-
additionalClasses=""
|
54
|
-
loading={false}
|
55
|
-
loadingText=""
|
56
|
-
size="lg"
|
57
|
-
timeout={300}
|
58
|
-
>
|
59
|
-
<table
|
60
|
-
className="table table-striped"
|
61
|
-
>
|
62
|
-
<tbody>
|
63
|
-
<tr>
|
64
|
-
<th>
|
65
|
-
Component
|
66
|
-
</th>
|
67
|
-
<th>
|
68
|
-
Status
|
69
|
-
</th>
|
70
|
-
<th>
|
71
|
-
Message
|
72
|
-
</th>
|
73
|
-
</tr>
|
74
|
-
<tr
|
75
|
-
key="candlepin"
|
76
|
-
>
|
77
|
-
<td>
|
78
|
-
|
79
|
-
candlepin
|
80
|
-
|
81
|
-
</td>
|
82
|
-
<td>
|
83
|
-
OK
|
84
|
-
</td>
|
85
|
-
<td>
|
86
|
-
|
87
|
-
a message
|
88
|
-
</td>
|
89
|
-
</tr>
|
90
|
-
<tr
|
91
|
-
key="candlepin_auth"
|
92
|
-
>
|
93
|
-
<td>
|
94
|
-
|
95
|
-
candlepin_auth
|
96
|
-
|
97
|
-
</td>
|
98
|
-
<td>
|
99
|
-
ERROR
|
100
|
-
</td>
|
101
|
-
<td>
|
102
|
-
|
103
|
-
error message
|
104
|
-
</td>
|
105
|
-
</tr>
|
106
|
-
<tr
|
107
|
-
key="foreman_tasks"
|
108
|
-
>
|
109
|
-
<td>
|
110
|
-
|
111
|
-
foreman_tasks
|
112
|
-
|
113
|
-
</td>
|
114
|
-
<td>
|
115
|
-
OK
|
116
|
-
</td>
|
117
|
-
<td>
|
118
|
-
|
119
|
-
</td>
|
120
|
-
</tr>
|
121
|
-
<tr
|
122
|
-
key="pulp"
|
123
|
-
>
|
124
|
-
<td>
|
125
|
-
|
126
|
-
pulp
|
127
|
-
|
128
|
-
</td>
|
129
|
-
<td>
|
130
|
-
OK
|
131
|
-
</td>
|
132
|
-
<td>
|
133
|
-
|
134
|
-
</td>
|
135
|
-
</tr>
|
136
|
-
<tr
|
137
|
-
key="pulp_auth"
|
138
|
-
>
|
139
|
-
<td>
|
140
|
-
|
141
|
-
pulp_auth
|
142
|
-
|
143
|
-
</td>
|
144
|
-
<td>
|
145
|
-
OK
|
146
|
-
</td>
|
147
|
-
<td>
|
148
|
-
|
149
|
-
</td>
|
150
|
-
</tr>
|
151
|
-
</tbody>
|
152
|
-
</table>
|
153
|
-
</LoadingState>
|
154
|
-
</div>
|
155
|
-
</div>
|
156
|
-
`;
|
data/webpack/components/extensions/about/__tests__/__snapshots__/SystemStatusesReducer.test.js.snap
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
-
|
3
|
-
exports[`AutoComplete reducer should handle SYSTEM_STATUSES_FAILURE 1`] = `
|
4
|
-
Object {
|
5
|
-
"loaderStatus": "ERROR",
|
6
|
-
"services": Object {},
|
7
|
-
}
|
8
|
-
`;
|
9
|
-
|
10
|
-
exports[`AutoComplete reducer should handle success 1`] = `
|
11
|
-
Object {
|
12
|
-
"loaderStatus": "RESOLVED",
|
13
|
-
"services": Object {
|
14
|
-
"candlepin": Object {
|
15
|
-
"message": "a message",
|
16
|
-
"status": "ok",
|
17
|
-
},
|
18
|
-
"candlepin_auth": Object {
|
19
|
-
"message": "error message",
|
20
|
-
"status": "error",
|
21
|
-
},
|
22
|
-
"foreman_tasks": Object {
|
23
|
-
"status": "ok",
|
24
|
-
},
|
25
|
-
"pulp": Object {
|
26
|
-
"status": "ok",
|
27
|
-
},
|
28
|
-
"pulp_auth": Object {
|
29
|
-
"status": "ok",
|
30
|
-
},
|
31
|
-
},
|
32
|
-
}
|
33
|
-
`;
|
34
|
-
|
35
|
-
exports[`AutoComplete reducer should return PENDING 1`] = `
|
36
|
-
Object {
|
37
|
-
"loaderStatus": "PENDING",
|
38
|
-
"services": Object {},
|
39
|
-
}
|
40
|
-
`;
|
41
|
-
|
42
|
-
exports[`AutoComplete reducer should return the initial state 1`] = `
|
43
|
-
Object {
|
44
|
-
"loaderStatus": "",
|
45
|
-
"services": Object {},
|
46
|
-
}
|
47
|
-
`;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { connect } from 'react-redux';
|
2
|
-
import * as actions from './SystemStatusesActions';
|
3
|
-
import { selectAllServices, selectStatus } from './SystemStatusesSelectors';
|
4
|
-
import reducer from './SystemStatusesReducer';
|
5
|
-
|
6
|
-
import SystemStatuses from './SystemStatuses';
|
7
|
-
|
8
|
-
const mapStateToProps = ({ katelloExtends }) => ({
|
9
|
-
services: selectAllServices(katelloExtends),
|
10
|
-
status: selectStatus(katelloExtends),
|
11
|
-
});
|
12
|
-
|
13
|
-
// export reducers
|
14
|
-
export const reducers = { systemServices: reducer };
|
15
|
-
|
16
|
-
export default connect(
|
17
|
-
mapStateToProps,
|
18
|
-
actions,
|
19
|
-
)(SystemStatuses);
|