katello 3.8.0.rc2 → 3.8.0.rc3
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/controllers/katello/api/v2/repositories_controller.rb +37 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-subscriptions-modal.controller.js +4 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +1 -1
- data/lib/katello/version.rb +1 -1
- data/webpack/scenes/Products/ProductActions.js +24 -0
- data/webpack/scenes/Products/ProductConstants.js +3 -0
- data/webpack/scenes/Products/__tests__/ProductActions.test.js +40 -0
- data/webpack/scenes/Products/__tests__/products.fixtures.js +90 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailEnabledProducts.js +54 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailProduct.js +29 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js +29 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.js +67 -22
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.scss +5 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailEnabledProducts.test.js +18 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailProduct.test.js +13 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetails.test.js +4 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailEnabledProducts.test.js.snap +45 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProduct.test.js.snap +67 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap +497 -411
- data/webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js +4 -0
- data/webpack/scenes/Subscriptions/Details/index.js +3 -1
- metadata +12 -2
@@ -2,6 +2,7 @@ import { bindActionCreators } from 'redux';
|
|
2
2
|
import { connect } from 'react-redux';
|
3
3
|
import { withRouter } from 'react-router';
|
4
4
|
import reducer from './SubscriptionDetailReducer';
|
5
|
+
import { loadProducts } from '../../Products/ProductActions';
|
5
6
|
import * as subscriptionDetailActions from './SubscriptionDetailActions';
|
6
7
|
import SubscriptionDetails from './SubscriptionDetails';
|
7
8
|
|
@@ -11,7 +12,8 @@ const mapStateToProps = state => ({
|
|
11
12
|
});
|
12
13
|
|
13
14
|
// map action dispatchers to props
|
14
|
-
const
|
15
|
+
const actions = { ...subscriptionDetailActions, loadProducts };
|
16
|
+
const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch);
|
15
17
|
|
16
18
|
export const subscriptionDetails = reducer;
|
17
19
|
|
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.rc3
|
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-08-
|
11
|
+
date: 2018-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -2376,6 +2376,10 @@ files:
|
|
2376
2376
|
- webpack/scenes/Organizations/__tests__/OrganizationActions.test.js
|
2377
2377
|
- webpack/scenes/Organizations/__tests__/OrganizationReducer.test.js
|
2378
2378
|
- webpack/scenes/Organizations/__tests__/organizations.fixtures.js
|
2379
|
+
- webpack/scenes/Products/ProductActions.js
|
2380
|
+
- webpack/scenes/Products/ProductConstants.js
|
2381
|
+
- webpack/scenes/Products/__tests__/ProductActions.test.js
|
2382
|
+
- webpack/scenes/Products/__tests__/products.fixtures.js
|
2379
2383
|
- webpack/scenes/RedHatRepositories/components/EnabledRepository.js
|
2380
2384
|
- webpack/scenes/RedHatRepositories/components/EnabledRepository.stories.js
|
2381
2385
|
- webpack/scenes/RedHatRepositories/components/EnabledRepositoryContent.js
|
@@ -2402,19 +2406,25 @@ files:
|
|
2402
2406
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailActions.js
|
2403
2407
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailAssociations.js
|
2404
2408
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailConstants.js
|
2409
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailEnabledProducts.js
|
2405
2410
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailInfo.js
|
2411
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailProduct.js
|
2406
2412
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailProducts.js
|
2407
2413
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js
|
2408
2414
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetails.js
|
2409
2415
|
- webpack/scenes/Subscriptions/Details/SubscriptionDetails.scss
|
2410
2416
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailActions.test.js
|
2411
2417
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailAssociations.test.js
|
2418
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailEnabledProducts.test.js
|
2412
2419
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
|
2420
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailProduct.test.js
|
2413
2421
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailProducts.test.js
|
2414
2422
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailReducer.test.js
|
2415
2423
|
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetails.test.js
|
2416
2424
|
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailAssociations.test.js.snap
|
2425
|
+
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailEnabledProducts.test.js.snap
|
2417
2426
|
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailInfo.test.js.snap
|
2427
|
+
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProduct.test.js.snap
|
2418
2428
|
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProducts.test.js.snap
|
2419
2429
|
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap
|
2420
2430
|
- webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js
|