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.

Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/katello/api/v2/repositories_controller.rb +37 -24
  3. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-subscriptions-modal.controller.js +4 -1
  4. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +1 -1
  5. data/lib/katello/version.rb +1 -1
  6. data/webpack/scenes/Products/ProductActions.js +24 -0
  7. data/webpack/scenes/Products/ProductConstants.js +3 -0
  8. data/webpack/scenes/Products/__tests__/ProductActions.test.js +40 -0
  9. data/webpack/scenes/Products/__tests__/products.fixtures.js +90 -0
  10. data/webpack/scenes/Subscriptions/Details/SubscriptionDetailEnabledProducts.js +54 -0
  11. data/webpack/scenes/Subscriptions/Details/SubscriptionDetailProduct.js +29 -0
  12. data/webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js +29 -0
  13. data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.js +67 -22
  14. data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.scss +5 -0
  15. data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailEnabledProducts.test.js +18 -0
  16. data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailProduct.test.js +13 -0
  17. data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetails.test.js +4 -0
  18. data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailEnabledProducts.test.js.snap +45 -0
  19. data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProduct.test.js.snap +67 -0
  20. data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap +497 -411
  21. data/webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js +4 -0
  22. data/webpack/scenes/Subscriptions/Details/index.js +3 -1
  23. metadata +12 -2
@@ -3,6 +3,10 @@ import { toastErrorAction, failureAction } from '../../../../services/api/testHe
3
3
 
4
4
  export const initialState = Immutable({
5
5
  loading: false,
6
+ enabledProducts: {
7
+ results: [],
8
+ total: 0,
9
+ },
6
10
  });
7
11
 
8
12
 
@@ -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 mapDispatchToProps = dispatch => bindActionCreators(subscriptionDetailActions, dispatch);
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.rc2
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-08 00:00:00.000000000 Z
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