katello 3.8.0.rc1 → 3.8.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/katello/common/index.js +1 -0
- data/app/assets/javascripts/katello/sync_management/index.js +1 -0
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +1 -1
- data/app/controllers/katello/api/v2/environments_controller.rb +0 -1
- data/app/controllers/katello/api/v2/ostree_branches_controller.rb +1 -1
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +10 -1
- data/app/controllers/katello/remote_execution_controller.rb +6 -6
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +37 -9
- data/app/lib/katello/resources/registry.rb +4 -4
- data/app/models/katello/authorization/repository.rb +2 -1
- data/app/models/katello/content_view.rb +12 -4
- data/app/models/katello/glue/candlepin/owner.rb +0 -8
- data/app/models/katello/glue/candlepin/pool.rb +11 -11
- data/app/models/katello/kt_environment.rb +0 -6
- data/app/models/katello/product_content.rb +4 -1
- data/app/models/katello/rpm.rb +13 -5
- data/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb +3 -1
- data/app/views/overrides/activation_keys/_host_environment_select.html.erb +2 -3
- data/config/katello.yaml.example +5 -0
- data/config/routes.rb +1 -0
- data/db/seeds.d/75-job_templates.rb +5 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-details.html +43 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +17 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery-create.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html +1 -1
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss +5 -0
- data/lib/katello/version.rb +1 -1
- data/package.json +11 -7
- data/webpack/__mocks__/foremanReact/components/BreadcrumbBar.js +3 -0
- data/webpack/__mocks__/foremanReact/redux/actions/toasts.js +8 -0
- data/webpack/__mocks__/foremanReact/redux.js +3 -0
- data/webpack/components/Search/Search.test.js +3 -1
- data/webpack/components/SelectOrg/SelectOrg.scss +3 -0
- data/webpack/components/SelectOrg/SelectOrgAction.js +41 -0
- data/webpack/components/SelectOrg/SelectOrgReducer.js +33 -0
- data/webpack/components/SelectOrg/SetOrganization.js +116 -0
- data/webpack/components/WithOrganization/withOrganization.js +28 -0
- data/webpack/containers/Application/config.js +9 -2
- data/webpack/containers/Application/index.js +4 -2
- data/webpack/global_test_setup.js +6 -0
- data/webpack/helpers/caret.js +6 -0
- data/webpack/mockRequest.js +3 -3
- data/webpack/move_to_foreman/common/helpers.js +45 -8
- data/webpack/move_to_foreman/components/common/{emptyState → EmptyState}/index.js +16 -3
- data/webpack/move_to_foreman/components/common/table/components/Table.js +1 -1
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/CollapseSubscriptionGroupButton.test.js.snap +2 -2
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionCell.test.js.snap +1 -1
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionHeaderCell.test.js.snap +1 -1
- data/webpack/move_to_pf/LoadingState/LoadingState.js +27 -14
- data/webpack/move_to_pf/LoadingState/LoadingState.test.js +8 -4
- data/webpack/move_to_pf/Select/Select.js +40 -0
- data/webpack/move_to_pf/react-bootstrap-select/index.js +12 -1
- data/webpack/redux/actions/RedHatRepositories/enabled.js +0 -1
- data/webpack/redux/actions/RedHatRepositories/helpers.js +5 -5
- data/webpack/redux/actions/RedHatRepositories/sets.js +1 -1
- data/webpack/redux/consts.js +6 -0
- data/webpack/redux/reducers/index.js +2 -0
- data/webpack/scenes/RedHatRepositories/components/EnabledRepository.js +14 -23
- data/webpack/scenes/RedHatRepositories/components/EnabledRepositoryContent.js +34 -0
- data/webpack/scenes/RedHatRepositories/components/RepositorySetRepository.js +1 -1
- data/webpack/scenes/RedHatRepositories/components/SearchBar.js +1 -0
- data/webpack/scenes/RedHatRepositories/components/__tests__/EnabledRepository.test.js +36 -0
- data/webpack/scenes/RedHatRepositories/components/__tests__/EnabledRepositoryContent.test.js +27 -0
- data/webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/EnabledRepository.test.js.snap +25 -0
- data/webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/EnabledRepositoryContent.test.js.snap +47 -0
- data/webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/RecommendedRepositorySetsToggler.test.js.snap +3 -1
- data/webpack/scenes/RedHatRepositories/index.js +7 -3
- data/webpack/scenes/RedHatRepositories/index.scss +1 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailActions.js +3 -8
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailProducts.js +5 -3
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js +1 -1
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.js +44 -6
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.scss +4 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailReducer.test.js +3 -1
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetails.test.js +2 -1
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProducts.test.js.snap +113 -23
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap +23 -14
- data/webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js +3 -4
- data/webpack/scenes/Subscriptions/Details/index.js +2 -2
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +78 -34
- data/webpack/scenes/Subscriptions/Manifest/ManifestActions.js +5 -24
- data/webpack/scenes/Subscriptions/Manifest/ManifestHistoryReducer.js +9 -1
- data/webpack/scenes/Subscriptions/Manifest/__tests__/ManageManifestModal.test.js +3 -0
- data/webpack/scenes/Subscriptions/Manifest/__tests__/ManifestActions.test.js +20 -8
- data/webpack/scenes/Subscriptions/Manifest/__tests__/ManifestHistoryReducer.test.js +3 -1
- data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +34 -7
- data/webpack/scenes/Subscriptions/Manifest/__tests__/manifest.fixtures.js +9 -16
- data/webpack/scenes/Subscriptions/Manifest/index.js +1 -0
- data/webpack/scenes/Subscriptions/SubscriptionActions.js +5 -26
- data/webpack/scenes/Subscriptions/SubscriptionConstants.js +1 -0
- data/webpack/scenes/Subscriptions/SubscriptionHelpers.js +3 -0
- data/webpack/scenes/Subscriptions/SubscriptionReducer.js +11 -4
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +31 -36
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js +3 -12
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js +57 -27
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsReducer.js +2 -3
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsTableSchema.js +10 -5
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/UpstreamSubscriptionsActions.test.js +10 -5
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/UpstreamSubscriptionsPage.test.js +50 -5
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/UpstreamSubscriptionsReducer.test.js +8 -3
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/__snapshots__/UpstreamSubscriptionsPage.test.js.snap +21 -11
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/upstreamSubscriptions.fixtures.js +5 -8
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js +2 -0
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsReducer.test.js +9 -3
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +14 -2
- data/webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js +11 -17
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/EntitlementsInlineEditFormatter.js +8 -5
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTable.js +45 -58
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js +11 -4
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js +2 -2
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/EntitlementsInlineEditFormatter.test.js +110 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/SubscriptionsTable.test.js +16 -3
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/EntitlementsInlineEditFormatter.test.js.snap +228 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionsTable.test.js.snap +392 -365
- data/webpack/scenes/Subscriptions/index.js +1 -0
- data/webpack/scenes/Tasks/helpers.js +52 -0
- data/webpack/services/api/index.js +17 -1
- data/webpack/services/api/testHelpers.js +28 -0
- data/webpack/test_setup.js +2 -0
- metadata +24 -5
- data/config/katello.yaml +0 -89
- data/webpack/services/api/fixtures.js +0 -353
@@ -11,6 +11,7 @@ import SubscriptionsPage from './SubscriptionsPage';
|
|
11
11
|
|
12
12
|
// map state to props
|
13
13
|
const mapStateToProps = state => ({
|
14
|
+
organization: state.katello.organization,
|
14
15
|
subscriptions: state.katello.subscriptions,
|
15
16
|
tasks: state.katello.subscriptions.tasks,
|
16
17
|
});
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import ReactDOMServer from 'react-dom/server';
|
3
|
+
import { sprintf } from 'jed';
|
4
|
+
import helpers from '../../move_to_foreman/common/helpers';
|
5
|
+
import { notify } from '../../move_to_foreman/foreman_toast_notifications';
|
6
|
+
|
7
|
+
const getErrors = task => (
|
8
|
+
<ul>
|
9
|
+
{task.humanized.errors.map(error => (
|
10
|
+
<li key={error}> {error} </li>
|
11
|
+
))}
|
12
|
+
</ul>
|
13
|
+
);
|
14
|
+
|
15
|
+
export const renderTaskStartedToast = (task) => {
|
16
|
+
const message = (
|
17
|
+
<span>
|
18
|
+
<span>
|
19
|
+
{sprintf('Task %s has started.', task.humanized.action)}
|
20
|
+
{' '}
|
21
|
+
</span>
|
22
|
+
<a href={helpers.urlBuilder('foreman_tasks/tasks', '', task.id)}>
|
23
|
+
{__('Click here to go to the tasks page for the task.')}
|
24
|
+
</a>
|
25
|
+
</span>
|
26
|
+
);
|
27
|
+
|
28
|
+
notify({
|
29
|
+
message: ReactDOMServer.renderToStaticMarkup(message),
|
30
|
+
type: 'info',
|
31
|
+
});
|
32
|
+
};
|
33
|
+
|
34
|
+
export const renderTaskFinishedToast = (task) => {
|
35
|
+
const message = (
|
36
|
+
<span>
|
37
|
+
<span>
|
38
|
+
{`${__(`Task ${task.humanized.action} completed with a result of ${task.result}.`)}`}
|
39
|
+
{' '}
|
40
|
+
</span>
|
41
|
+
{task.errors ? getErrors(task) : ''}
|
42
|
+
<a href={helpers.urlBuilder('foreman_tasks/tasks', '', task.id)}>
|
43
|
+
{__('Click here to go to the tasks page for the task.')}
|
44
|
+
</a>
|
45
|
+
</span>
|
46
|
+
);
|
47
|
+
|
48
|
+
notify({
|
49
|
+
message: ReactDOMServer.renderToStaticMarkup(message),
|
50
|
+
type: task.result,
|
51
|
+
});
|
52
|
+
};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import axios from 'axios';
|
2
2
|
import Immutable from 'seamless-immutable';
|
3
|
+
import store from 'foremanReact/redux';
|
3
4
|
|
4
5
|
const getcsrfToken = () => {
|
5
6
|
const token = document.querySelector('meta[name="csrf-token"]');
|
@@ -99,7 +100,22 @@ class ForemanTasksApi extends Api {
|
|
99
100
|
|
100
101
|
export const foremanTasksApi = new ForemanTasksApi();
|
101
102
|
|
103
|
+
class ForemanEndpoint extends Api {
|
104
|
+
constructor() {
|
105
|
+
super();
|
106
|
+
this.baseApiPath = '/';
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
export const foremanEndpoint = new ForemanEndpoint();
|
111
|
+
|
102
112
|
// eslint-disable-next-line import/prefer-default-export
|
103
113
|
const orgNode = () => document.getElementById('organization-id');
|
104
114
|
// This node does not exist while testing
|
105
|
-
export const orgId = () =>
|
115
|
+
export const orgId = () => {
|
116
|
+
const node = orgNode();
|
117
|
+
const id = node && node.dataset.id;
|
118
|
+
const { katello: { setOrganization: { currentId } } } = store.getState();
|
119
|
+
|
120
|
+
return id === '' ? currentId : id;
|
121
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
export const failureAction = (type, message = 'Request failed with status code 422') => (
|
3
|
+
{
|
4
|
+
type,
|
5
|
+
payload: {
|
6
|
+
messages: [message],
|
7
|
+
result: new Error(message),
|
8
|
+
},
|
9
|
+
}
|
10
|
+
);
|
11
|
+
|
12
|
+
export const toastErrorAction = (message = 'Request failed with status code 422') => (
|
13
|
+
{
|
14
|
+
payload: {
|
15
|
+
message: {
|
16
|
+
message,
|
17
|
+
sticky: true,
|
18
|
+
type: 'error',
|
19
|
+
},
|
20
|
+
},
|
21
|
+
type: 'TOASTS_ADD',
|
22
|
+
}
|
23
|
+
);
|
24
|
+
|
25
|
+
export default {
|
26
|
+
failureAction,
|
27
|
+
toastErrorAction,
|
28
|
+
};
|
data/webpack/test_setup.js
CHANGED
@@ -3,8 +3,10 @@
|
|
3
3
|
import 'babel-polyfill';
|
4
4
|
import { configure } from 'enzyme';
|
5
5
|
import Adapter from 'enzyme-adapter-react-16';
|
6
|
+
import * as Services from './services/api';
|
6
7
|
|
7
8
|
configure({ adapter: new Adapter() });
|
8
9
|
|
9
10
|
// Mocking translation function
|
10
11
|
global.__ = text => text; // eslint-disable-line
|
12
|
+
Services.orgId = () => 1;
|
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: 3.8.0.
|
4
|
+
version: 3.8.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -1345,7 +1345,6 @@ files:
|
|
1345
1345
|
- config/initializers/pagelets.rb
|
1346
1346
|
- config/initializers/rabl_init.rb
|
1347
1347
|
- config/initializers/runcible.rb
|
1348
|
-
- config/katello.yaml
|
1349
1348
|
- config/katello.yaml.example
|
1350
1349
|
- config/locales/README
|
1351
1350
|
- config/locales/bn.yml
|
@@ -2265,7 +2264,10 @@ files:
|
|
2265
2264
|
- vendor/assets/stylesheets/katello/jquery.treeTable.css.scss
|
2266
2265
|
- vendor/assets/stylesheets/katello/ui.spinner.css.scss
|
2267
2266
|
- webpack/__mocks__/foremanReact/common/helpers.js
|
2267
|
+
- webpack/__mocks__/foremanReact/components/BreadcrumbBar.js
|
2268
2268
|
- webpack/__mocks__/foremanReact/components/common/table.js
|
2269
|
+
- webpack/__mocks__/foremanReact/redux.js
|
2270
|
+
- webpack/__mocks__/foremanReact/redux/actions/toasts.js
|
2269
2271
|
- webpack/__mocks__/react-bootstrap-tooltip-button.js
|
2270
2272
|
- webpack/components/MultiSelect/index.js
|
2271
2273
|
- webpack/components/PaginationRow/PaginationRow.test.js
|
@@ -2275,10 +2277,17 @@ files:
|
|
2275
2277
|
- webpack/components/Search/__snapshots__/Search.test.js.snap
|
2276
2278
|
- webpack/components/Search/helpers.js
|
2277
2279
|
- webpack/components/Search/index.js
|
2280
|
+
- webpack/components/SelectOrg/SelectOrg.scss
|
2281
|
+
- webpack/components/SelectOrg/SelectOrgAction.js
|
2282
|
+
- webpack/components/SelectOrg/SelectOrgReducer.js
|
2283
|
+
- webpack/components/SelectOrg/SetOrganization.js
|
2284
|
+
- webpack/components/WithOrganization/withOrganization.js
|
2278
2285
|
- webpack/containers/Application/Routes.js
|
2279
2286
|
- webpack/containers/Application/config.js
|
2280
2287
|
- webpack/containers/Application/index.js
|
2281
2288
|
- webpack/containers/Application/overrides.scss
|
2289
|
+
- webpack/global_test_setup.js
|
2290
|
+
- webpack/helpers/caret.js
|
2282
2291
|
- webpack/index.js
|
2283
2292
|
- webpack/mockRequest.js
|
2284
2293
|
- webpack/move_to_foreman/Settings/SettingsActions.js
|
@@ -2295,12 +2304,12 @@ files:
|
|
2295
2304
|
- webpack/move_to_foreman/components/common/Dialog/__tests__/Dialog.test.js
|
2296
2305
|
- webpack/move_to_foreman/components/common/Dialog/__tests__/__snapshots__/Dialog.test.js.snap
|
2297
2306
|
- webpack/move_to_foreman/components/common/Dialog/index.js
|
2307
|
+
- webpack/move_to_foreman/components/common/EmptyState/index.js
|
2298
2308
|
- webpack/move_to_foreman/components/common/ModalProgressBar/ModalProgressBar.js
|
2299
2309
|
- webpack/move_to_foreman/components/common/ModalProgressBar/ModalProgressBar.scss
|
2300
2310
|
- webpack/move_to_foreman/components/common/ModalProgressBar/__tests__/ModalProgressBar.test.js
|
2301
2311
|
- webpack/move_to_foreman/components/common/ModalProgressBar/__tests__/__snapshots__/ModalProgressBar.test.js.snap
|
2302
2312
|
- webpack/move_to_foreman/components/common/ModalProgressBar/index.js
|
2303
|
-
- webpack/move_to_foreman/components/common/emptyState/index.js
|
2304
2313
|
- webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.js
|
2305
2314
|
- webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.test.js
|
2306
2315
|
- webpack/move_to_foreman/components/common/table/components/Table.js
|
@@ -2335,6 +2344,7 @@ files:
|
|
2335
2344
|
- webpack/move_to_pf/LoadingState/LoadingState.test.js
|
2336
2345
|
- webpack/move_to_pf/LoadingState/__snapshots__/LoadingState.test.js.snap
|
2337
2346
|
- webpack/move_to_pf/LoadingState/index.js
|
2347
|
+
- webpack/move_to_pf/Select/Select.js
|
2338
2348
|
- webpack/move_to_pf/TypeAhead/TypeAhead.js
|
2339
2349
|
- webpack/move_to_pf/TypeAhead/TypeAhead.scss
|
2340
2350
|
- webpack/move_to_pf/TypeAhead/TypeAheadInput.js
|
@@ -2368,6 +2378,7 @@ files:
|
|
2368
2378
|
- webpack/scenes/Organizations/__tests__/organizations.fixtures.js
|
2369
2379
|
- webpack/scenes/RedHatRepositories/components/EnabledRepository.js
|
2370
2380
|
- webpack/scenes/RedHatRepositories/components/EnabledRepository.stories.js
|
2381
|
+
- webpack/scenes/RedHatRepositories/components/EnabledRepositoryContent.js
|
2371
2382
|
- webpack/scenes/RedHatRepositories/components/RecommendedRepositorySetsToggler.js
|
2372
2383
|
- webpack/scenes/RedHatRepositories/components/RecommendedRepositorySetsToggler.scss
|
2373
2384
|
- webpack/scenes/RedHatRepositories/components/RepositorySet.js
|
@@ -2376,8 +2387,12 @@ files:
|
|
2376
2387
|
- webpack/scenes/RedHatRepositories/components/RepositoryTypeIcon.js
|
2377
2388
|
- webpack/scenes/RedHatRepositories/components/Search.js
|
2378
2389
|
- webpack/scenes/RedHatRepositories/components/SearchBar.js
|
2390
|
+
- webpack/scenes/RedHatRepositories/components/__tests__/EnabledRepository.test.js
|
2391
|
+
- webpack/scenes/RedHatRepositories/components/__tests__/EnabledRepositoryContent.test.js
|
2379
2392
|
- webpack/scenes/RedHatRepositories/components/__tests__/RecommendedRepositorySetsToggler.test.js
|
2380
2393
|
- webpack/scenes/RedHatRepositories/components/__tests__/RepositoryTypeIcon.test.js
|
2394
|
+
- webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/EnabledRepository.test.js.snap
|
2395
|
+
- webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/EnabledRepositoryContent.test.js.snap
|
2381
2396
|
- webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/RecommendedRepositorySetsToggler.test.js.snap
|
2382
2397
|
- webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/RepositoryTypeIcon.test.js.snap
|
2383
2398
|
- webpack/scenes/RedHatRepositories/helpers.js
|
@@ -2391,6 +2406,7 @@ files:
|
|
2391
2406
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailProducts.js
|
2392
2407
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js
|
2393
2408
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetails.js
|
2409
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetails.scss
|
2394
2410
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailActions.test.js
|
2395
2411
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailAssociations.test.js
|
2396
2412
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
|
@@ -2444,7 +2460,9 @@ files:
|
|
2444
2460
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTable.js
|
2445
2461
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js
|
2446
2462
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js
|
2463
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/EntitlementsInlineEditFormatter.test.js
|
2447
2464
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/SubscriptionsTable.test.js
|
2465
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/EntitlementsInlineEditFormatter.test.js.snap
|
2448
2466
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionsTable.test.js.snap
|
2449
2467
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/index.js
|
2450
2468
|
- webpack/scenes/Subscriptions/index.js
|
@@ -2452,9 +2470,10 @@ files:
|
|
2452
2470
|
- webpack/scenes/Tasks/TaskConstants.js
|
2453
2471
|
- webpack/scenes/Tasks/__tests__/TaskActions.test.js
|
2454
2472
|
- webpack/scenes/Tasks/__tests__/task.fixtures.js
|
2455
|
-
- webpack/
|
2473
|
+
- webpack/scenes/Tasks/helpers.js
|
2456
2474
|
- webpack/services/api/index.js
|
2457
2475
|
- webpack/services/api/setupMocks.js
|
2476
|
+
- webpack/services/api/testHelpers.js
|
2458
2477
|
- webpack/services/index.js
|
2459
2478
|
- webpack/stories/index.js
|
2460
2479
|
- webpack/test_setup.js
|
data/config/katello.yaml
DELETED
@@ -1,89 +0,0 @@
|
|
1
|
-
:katello:
|
2
|
-
#if this block is not define, all types are enabled
|
3
|
-
#types are defined in lib/katello/repository_types/*.rb
|
4
|
-
:content_types:
|
5
|
-
:yum: true
|
6
|
-
:file: true
|
7
|
-
:deb: true
|
8
|
-
:puppet: true
|
9
|
-
:docker: true
|
10
|
-
:ostree: true
|
11
|
-
|
12
|
-
:use_cp: true # set to true/false if you want to override default
|
13
|
-
:use_pulp: true # set to true/false if you want to override default
|
14
|
-
|
15
|
-
:rest_client_timeout: 30
|
16
|
-
:gpg_strict_validation: false
|
17
|
-
|
18
|
-
:puppet_repo_root: '/etc/puppet/environments/'
|
19
|
-
|
20
|
-
:post_sync_url: "http://localhost:3000/katello/api/v2/repositories/sync_complete?token=katello"
|
21
|
-
|
22
|
-
:redhat_repository_url: https://cdn.redhat.com
|
23
|
-
|
24
|
-
:consumer_cert_rpm: 'katello-ca-consumer-latest.noarch.rpm'
|
25
|
-
:consumer_cert_sh: 'katello-rhsm-consumer'
|
26
|
-
|
27
|
-
# Setup your candlepin environment here
|
28
|
-
:candlepin:
|
29
|
-
# refers to the url of the candlepin
|
30
|
-
# example https://localhost:8443/candlepin
|
31
|
-
:url: https://192.168.42.116:31329/candlepin
|
32
|
-
|
33
|
-
# Specify your oauth key and secret used to authenticate between Katello and Candlepin
|
34
|
-
:oauth_key: katello
|
35
|
-
:oauth_secret: katello
|
36
|
-
|
37
|
-
# refers to the candlepin-ca.crt location that is needed
|
38
|
-
# to connect to candlepin over https.This is not necessary
|
39
|
-
# if the candlepin server is running on the same machine as katello
|
40
|
-
# but required if the server is on a different machine.
|
41
|
-
# In the different machine case the katello host needs to have a
|
42
|
-
# copy of /etc/candlepin/certs/candlepin-ca.crt copied from
|
43
|
-
# the candlepin host and the location of the copied file needs to be
|
44
|
-
# specified here..
|
45
|
-
:ca_cert_file:
|
46
|
-
# :bulk_load_size: 1000
|
47
|
-
# Setup your pulp environment here
|
48
|
-
:pulp:
|
49
|
-
# refers to the url of the pulp
|
50
|
-
# example https://localhost/pulp/api
|
51
|
-
:url: https://192.168.42.116:30133/pulp/api/v2/
|
52
|
-
|
53
|
-
:sync_threads: 4
|
54
|
-
:bulk_load_size: 100
|
55
|
-
# refers to the apache certificate
|
56
|
-
# (typically /etc/pki/tls/certs/localhost.crt) location that is needed
|
57
|
-
# to connect to pulp over https.
|
58
|
-
:ca_cert_file:
|
59
|
-
:default_login: admin
|
60
|
-
:sync_KBlimit:
|
61
|
-
:upload_chunk_size: 1048575 # upload size in bytes to pulp. see SSLRenegBufferSize in apache
|
62
|
-
:skip_checksum_validation: false
|
63
|
-
|
64
|
-
:qpid:
|
65
|
-
:url: amqp:ssl:katello-devel.example.com:5671
|
66
|
-
:subscriptions_queue_address: katello_event_queue
|
67
|
-
|
68
|
-
:cdn_proxy:
|
69
|
-
# :host: localhost
|
70
|
-
# :port: 3128
|
71
|
-
# :user: login
|
72
|
-
# :password: password
|
73
|
-
|
74
|
-
# Logging configuration can be changed by uncommenting the loggers
|
75
|
-
# section and the logger configuration desired.
|
76
|
-
#
|
77
|
-
# :loggers:
|
78
|
-
# :glue:
|
79
|
-
# :enabled: true
|
80
|
-
# :pulp_rest:
|
81
|
-
# :enabled: true
|
82
|
-
# :cp_rest:
|
83
|
-
# :enabled: true
|
84
|
-
# :cp_proxy:
|
85
|
-
# :enabled: true
|
86
|
-
# :action:
|
87
|
-
# :enabled: true
|
88
|
-
# :manifest_import_logger:
|
89
|
-
# :enabled: true
|