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
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import TestRenderer from 'react-test-renderer';
|
3
|
+
import { ListView } from 'patternfly-react';
|
4
|
+
import SubscriptionDetailEnabledProducts from '../SubscriptionDetailEnabledProducts';
|
5
|
+
import { availableContent, product } from '../../../Products/__tests__/products.fixtures.js';
|
6
|
+
|
7
|
+
describe('subscription detail enabled products page', () => {
|
8
|
+
it('renders correctly', () => {
|
9
|
+
const testRenderer = TestRenderer
|
10
|
+
.create(<SubscriptionDetailEnabledProducts
|
11
|
+
enabledProducts={{ results: [product([availableContent])] }}
|
12
|
+
/>);
|
13
|
+
const testInstance = testRenderer.root;
|
14
|
+
|
15
|
+
expect(testRenderer.toJSON()).toMatchSnapshot();
|
16
|
+
expect(testInstance.findAllByType(ListView.Item)).toHaveLength(1);
|
17
|
+
});
|
18
|
+
});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import TestRenderer from 'react-test-renderer';
|
3
|
+
import SubscriptionDetailProduct from '../SubscriptionDetailProduct';
|
4
|
+
import { availableContent } from '../../../Products/__tests__/products.fixtures.js';
|
5
|
+
|
6
|
+
describe('subscription detail enabled product component', () => {
|
7
|
+
it('renders correctly', () => {
|
8
|
+
const testRenderer = TestRenderer
|
9
|
+
.create(<SubscriptionDetailProduct content={availableContent.content} />);
|
10
|
+
|
11
|
+
expect(testRenderer.toJSON()).toMatchSnapshot();
|
12
|
+
});
|
13
|
+
});
|
@@ -5,7 +5,9 @@ import SubscriptionDetails from '../SubscriptionDetails';
|
|
5
5
|
import SubscriptionDetailAssociations from '../SubscriptionDetailAssociations';
|
6
6
|
import SubscriptionDetailInfo from '../SubscriptionDetailInfo';
|
7
7
|
import SubscriptionDetailProducts from '../SubscriptionDetailProducts';
|
8
|
+
import SubscriptionDetailEnabledProducts from '../SubscriptionDetailEnabledProducts';
|
8
9
|
import { loadSubscriptionDetails } from '../SubscriptionDetailActions';
|
10
|
+
import { loadProducts } from '../../../Products/ProductActions';
|
9
11
|
import { successState } from './subscriptionDetails.fixtures';
|
10
12
|
|
11
13
|
jest.mock('../../../../move_to_foreman/foreman_toast_notifications');
|
@@ -17,6 +19,7 @@ describe('subscriptions details page', () => {
|
|
17
19
|
|
18
20
|
const wrapper = shallow(<SubscriptionDetails
|
19
21
|
loadSubscriptionDetails={loadSubscriptionDetails}
|
22
|
+
loadProducts={loadProducts}
|
20
23
|
subscriptionDetails={successState}
|
21
24
|
history={{ push: noop }}
|
22
25
|
match={match}
|
@@ -24,6 +27,7 @@ describe('subscriptions details page', () => {
|
|
24
27
|
expect(wrapper.find(SubscriptionDetailAssociations)).toHaveLength(1);
|
25
28
|
expect(wrapper.find(SubscriptionDetailInfo)).toHaveLength(1);
|
26
29
|
expect(wrapper.find(SubscriptionDetailProducts)).toHaveLength(1);
|
30
|
+
expect(wrapper.find(SubscriptionDetailEnabledProducts)).toHaveLength(1);
|
27
31
|
expect(toJson(wrapper)).toMatchSnapshot();
|
28
32
|
});
|
29
33
|
});
|
@@ -0,0 +1,45 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`subscription detail enabled products page renders correctly 1`] = `
|
4
|
+
<div
|
5
|
+
className="list-group list-view-pf list-view-pf-view"
|
6
|
+
>
|
7
|
+
<div
|
8
|
+
className="list-group-item"
|
9
|
+
>
|
10
|
+
<div
|
11
|
+
className="list-group-item-header"
|
12
|
+
onClick={[Function]}
|
13
|
+
>
|
14
|
+
<div
|
15
|
+
className="list-view-pf-expand"
|
16
|
+
onClick={[Function]}
|
17
|
+
>
|
18
|
+
<span
|
19
|
+
className="fa fa-angle-right"
|
20
|
+
/>
|
21
|
+
</div>
|
22
|
+
<div
|
23
|
+
className="list-view-pf-main-info"
|
24
|
+
>
|
25
|
+
<div
|
26
|
+
className="list-view-pf-body"
|
27
|
+
>
|
28
|
+
<div
|
29
|
+
className="list-view-pf-description"
|
30
|
+
>
|
31
|
+
<div
|
32
|
+
className="list-group-item-heading"
|
33
|
+
>
|
34
|
+
Red Hat Enterprise Linux Server
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
<div
|
41
|
+
className="list-group-item-container container-fluid hidden"
|
42
|
+
/>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
`;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`subscription detail enabled product component renders correctly 1`] = `
|
4
|
+
<div
|
5
|
+
className="row"
|
6
|
+
>
|
7
|
+
<div
|
8
|
+
className="col-sm-12"
|
9
|
+
>
|
10
|
+
<div
|
11
|
+
className="row"
|
12
|
+
>
|
13
|
+
<u>
|
14
|
+
Red Hat Enterprise Linux 7 Server (RPMs)
|
15
|
+
</u>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div
|
19
|
+
className="col-sm-3"
|
20
|
+
>
|
21
|
+
<div
|
22
|
+
className="row"
|
23
|
+
>
|
24
|
+
Content Download URL
|
25
|
+
</div>
|
26
|
+
<div
|
27
|
+
className="row"
|
28
|
+
>
|
29
|
+
GPG Key URL
|
30
|
+
</div>
|
31
|
+
<div
|
32
|
+
className="row"
|
33
|
+
>
|
34
|
+
Repo Type
|
35
|
+
</div>
|
36
|
+
<div
|
37
|
+
className="row"
|
38
|
+
>
|
39
|
+
Enabled?
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
<div
|
43
|
+
className="col-sm-9"
|
44
|
+
>
|
45
|
+
<div
|
46
|
+
className="row"
|
47
|
+
>
|
48
|
+
/content/dist/rhel/server/7/$releasever/$basearch/os
|
49
|
+
</div>
|
50
|
+
<div
|
51
|
+
className="row"
|
52
|
+
>
|
53
|
+
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
|
54
|
+
</div>
|
55
|
+
<div
|
56
|
+
className="row"
|
57
|
+
>
|
58
|
+
yum
|
59
|
+
</div>
|
60
|
+
<div
|
61
|
+
className="row"
|
62
|
+
>
|
63
|
+
no
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
`;
|
data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
2
|
|
3
3
|
exports[`subscriptions details page should render and contain appropiate components 1`] = `
|
4
|
-
<
|
5
|
-
bsClass="container-fluid"
|
6
|
-
componentClass="div"
|
7
|
-
fluid={false}
|
8
|
-
>
|
4
|
+
<div>
|
9
5
|
<BreadcrumbsBar
|
10
6
|
data={
|
11
7
|
Object {
|
@@ -28,414 +24,504 @@ exports[`subscriptions details page should render and contain appropiate compone
|
|
28
24
|
}
|
29
25
|
onSwitcherItemClick={[Function]}
|
30
26
|
/>
|
31
|
-
<
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
27
|
+
<Uncontrolled(TabContainer)
|
28
|
+
defaultActiveKey={1}
|
29
|
+
id="subscription-tabs-container"
|
30
|
+
>
|
31
|
+
<div>
|
32
|
+
<LoadingState
|
33
|
+
loading={false}
|
34
|
+
loadingText="Loading"
|
35
|
+
timeout={300}
|
40
36
|
>
|
41
|
-
<
|
42
|
-
bsClass="
|
43
|
-
|
44
|
-
|
37
|
+
<Nav
|
38
|
+
bsClass="nav nav-tabs"
|
39
|
+
justified={false}
|
40
|
+
pullLeft={false}
|
41
|
+
pullRight={false}
|
42
|
+
stacked={false}
|
45
43
|
>
|
46
|
-
<
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
"product_name": "OpenShift Employee Subscription",
|
68
|
-
"provided_products": Array [
|
69
|
-
Object {
|
70
|
-
"id": 1,
|
71
|
-
"name": "Red Hat OpenShift Container Platform",
|
72
|
-
},
|
73
|
-
Object {
|
74
|
-
"id": 2,
|
75
|
-
"name": "Oracle Java for RHEL Server",
|
76
|
-
},
|
77
|
-
Object {
|
78
|
-
"id": 3,
|
79
|
-
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
80
|
-
},
|
81
|
-
Object {
|
82
|
-
"id": 4,
|
83
|
-
"name": "Red Hat CloudForms Beta",
|
84
|
-
},
|
85
|
-
Object {
|
86
|
-
"id": 5,
|
87
|
-
"name": "Red Hat CloudForms",
|
88
|
-
},
|
89
|
-
Object {
|
90
|
-
"id": 6,
|
91
|
-
"name": "Red Hat OpenShift Enterprise Client Tools",
|
92
|
-
},
|
93
|
-
Object {
|
94
|
-
"id": 7,
|
95
|
-
"name": "Red Hat Enterprise Linux Atomic Host",
|
96
|
-
},
|
97
|
-
Object {
|
98
|
-
"id": 8,
|
99
|
-
"name": "JBoss Enterprise Application Platform",
|
100
|
-
},
|
101
|
-
Object {
|
102
|
-
"id": 9,
|
103
|
-
"name": "Red Hat JBoss AMQ Clients",
|
104
|
-
},
|
105
|
-
Object {
|
106
|
-
"id": 10,
|
107
|
-
"name": "Red Hat Beta",
|
108
|
-
},
|
109
|
-
Object {
|
110
|
-
"id": 11,
|
111
|
-
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
112
|
-
},
|
113
|
-
Object {
|
114
|
-
"id": 12,
|
115
|
-
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
116
|
-
},
|
117
|
-
Object {
|
118
|
-
"id": 13,
|
119
|
-
"name": "Red Hat Ansible Engine",
|
120
|
-
},
|
121
|
-
Object {
|
122
|
-
"id": 14,
|
123
|
-
"name": "Red Hat OpenShift Enterprise Application Node",
|
124
|
-
},
|
125
|
-
Object {
|
126
|
-
"id": 15,
|
127
|
-
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
128
|
-
},
|
129
|
-
Object {
|
130
|
-
"id": 16,
|
131
|
-
"name": "Red Hat Software Collections Beta for RHEL Server",
|
132
|
-
},
|
133
|
-
Object {
|
134
|
-
"id": 17,
|
135
|
-
"name": "Red Hat Software Collections for RHEL Server",
|
136
|
-
},
|
137
|
-
Object {
|
138
|
-
"id": 18,
|
139
|
-
"name": "Red Hat Enterprise Linux Fast Datapath",
|
140
|
-
},
|
141
|
-
Object {
|
142
|
-
"id": 19,
|
143
|
-
"name": "Red Hat Enterprise Linux Server",
|
144
|
-
},
|
145
|
-
Object {
|
146
|
-
"id": 20,
|
147
|
-
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
148
|
-
},
|
149
|
-
Object {
|
150
|
-
"id": 21,
|
151
|
-
"name": "JBoss Enterprise Web Server",
|
152
|
-
},
|
153
|
-
Object {
|
154
|
-
"id": 22,
|
155
|
-
"name": "Red Hat JBoss Core Services",
|
156
|
-
},
|
157
|
-
],
|
158
|
-
"quantity": 1,
|
159
|
-
"ram": null,
|
160
|
-
"sockets": null,
|
161
|
-
"stacking_id": "SER0421",
|
162
|
-
"start_date": "2013-03-01 00:00:00 -0500",
|
163
|
-
"subscription_id": 3,
|
164
|
-
"support_level": "Self-Support",
|
165
|
-
"support_type": "L1-L3",
|
166
|
-
"type": "NORMAL",
|
167
|
-
"unmapped_guest": false,
|
168
|
-
"upstream": true,
|
169
|
-
"virt_only": false,
|
170
|
-
"virt_who": false,
|
171
|
-
}
|
172
|
-
}
|
173
|
-
/>
|
174
|
-
</Col>
|
175
|
-
<Col
|
176
|
-
bsClass="col"
|
44
|
+
<NavItem
|
45
|
+
active={false}
|
46
|
+
disabled={false}
|
47
|
+
eventKey={1}
|
48
|
+
>
|
49
|
+
<div>
|
50
|
+
Details
|
51
|
+
</div>
|
52
|
+
</NavItem>
|
53
|
+
<NavItem
|
54
|
+
active={false}
|
55
|
+
disabled={false}
|
56
|
+
eventKey={2}
|
57
|
+
>
|
58
|
+
<div>
|
59
|
+
Enabled Products
|
60
|
+
</div>
|
61
|
+
</NavItem>
|
62
|
+
</Nav>
|
63
|
+
<Grid
|
64
|
+
bsClass="container-fluid"
|
177
65
|
componentClass="div"
|
178
|
-
|
66
|
+
fluid={false}
|
179
67
|
>
|
180
|
-
<
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
"
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
68
|
+
<TabContent
|
69
|
+
animation={false}
|
70
|
+
bsClass="tab"
|
71
|
+
componentClass="div"
|
72
|
+
mountOnEnter={false}
|
73
|
+
unmountOnExit={false}
|
74
|
+
>
|
75
|
+
<TabPane
|
76
|
+
bsClass="tab-pane"
|
77
|
+
eventKey={1}
|
78
|
+
>
|
79
|
+
<div>
|
80
|
+
<Row
|
81
|
+
bsClass="row"
|
82
|
+
componentClass="div"
|
83
|
+
>
|
84
|
+
<Col
|
85
|
+
bsClass="col"
|
86
|
+
componentClass="div"
|
87
|
+
sm={6}
|
88
|
+
>
|
89
|
+
<SubscriptionDetailInfo
|
90
|
+
subscriptionDetails={
|
91
|
+
Object {
|
92
|
+
"account_number": 1212729,
|
93
|
+
"activation_keys": Array [],
|
94
|
+
"arch": "ia64,ppc,ppc64,ppc64le,s390,s390x,x86,x86_64",
|
95
|
+
"available": 1,
|
96
|
+
"consumed": 0,
|
97
|
+
"contract_number": 10126160,
|
98
|
+
"cores": 4,
|
99
|
+
"cp_id": "4028f92a6317cfbd0163b419377f3bee",
|
100
|
+
"description": "OpenShift Enterprise",
|
101
|
+
"enabledProducts": Object {
|
102
|
+
"results": Array [],
|
103
|
+
"total": 0,
|
104
|
+
},
|
105
|
+
"end_date": "2021-12-31 23:59:59 -0500",
|
106
|
+
"error": null,
|
107
|
+
"host_count": 0,
|
108
|
+
"id": 48,
|
109
|
+
"instance_multiplier": 1,
|
110
|
+
"loading": false,
|
111
|
+
"multi_entitlement": true,
|
112
|
+
"name": "OpenShift Employee Subscription",
|
113
|
+
"product_id": "SER0421",
|
114
|
+
"product_name": "OpenShift Employee Subscription",
|
115
|
+
"provided_products": Array [
|
116
|
+
Object {
|
117
|
+
"id": 1,
|
118
|
+
"name": "Red Hat OpenShift Container Platform",
|
119
|
+
},
|
120
|
+
Object {
|
121
|
+
"id": 2,
|
122
|
+
"name": "Oracle Java for RHEL Server",
|
123
|
+
},
|
124
|
+
Object {
|
125
|
+
"id": 3,
|
126
|
+
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
127
|
+
},
|
128
|
+
Object {
|
129
|
+
"id": 4,
|
130
|
+
"name": "Red Hat CloudForms Beta",
|
131
|
+
},
|
132
|
+
Object {
|
133
|
+
"id": 5,
|
134
|
+
"name": "Red Hat CloudForms",
|
135
|
+
},
|
136
|
+
Object {
|
137
|
+
"id": 6,
|
138
|
+
"name": "Red Hat OpenShift Enterprise Client Tools",
|
139
|
+
},
|
140
|
+
Object {
|
141
|
+
"id": 7,
|
142
|
+
"name": "Red Hat Enterprise Linux Atomic Host",
|
143
|
+
},
|
144
|
+
Object {
|
145
|
+
"id": 8,
|
146
|
+
"name": "JBoss Enterprise Application Platform",
|
147
|
+
},
|
148
|
+
Object {
|
149
|
+
"id": 9,
|
150
|
+
"name": "Red Hat JBoss AMQ Clients",
|
151
|
+
},
|
152
|
+
Object {
|
153
|
+
"id": 10,
|
154
|
+
"name": "Red Hat Beta",
|
155
|
+
},
|
156
|
+
Object {
|
157
|
+
"id": 11,
|
158
|
+
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
159
|
+
},
|
160
|
+
Object {
|
161
|
+
"id": 12,
|
162
|
+
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
163
|
+
},
|
164
|
+
Object {
|
165
|
+
"id": 13,
|
166
|
+
"name": "Red Hat Ansible Engine",
|
167
|
+
},
|
168
|
+
Object {
|
169
|
+
"id": 14,
|
170
|
+
"name": "Red Hat OpenShift Enterprise Application Node",
|
171
|
+
},
|
172
|
+
Object {
|
173
|
+
"id": 15,
|
174
|
+
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
175
|
+
},
|
176
|
+
Object {
|
177
|
+
"id": 16,
|
178
|
+
"name": "Red Hat Software Collections Beta for RHEL Server",
|
179
|
+
},
|
180
|
+
Object {
|
181
|
+
"id": 17,
|
182
|
+
"name": "Red Hat Software Collections for RHEL Server",
|
183
|
+
},
|
184
|
+
Object {
|
185
|
+
"id": 18,
|
186
|
+
"name": "Red Hat Enterprise Linux Fast Datapath",
|
187
|
+
},
|
188
|
+
Object {
|
189
|
+
"id": 19,
|
190
|
+
"name": "Red Hat Enterprise Linux Server",
|
191
|
+
},
|
192
|
+
Object {
|
193
|
+
"id": 20,
|
194
|
+
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
195
|
+
},
|
196
|
+
Object {
|
197
|
+
"id": 21,
|
198
|
+
"name": "JBoss Enterprise Web Server",
|
199
|
+
},
|
200
|
+
Object {
|
201
|
+
"id": 22,
|
202
|
+
"name": "Red Hat JBoss Core Services",
|
203
|
+
},
|
204
|
+
],
|
205
|
+
"quantity": 1,
|
206
|
+
"ram": null,
|
207
|
+
"sockets": null,
|
208
|
+
"stacking_id": "SER0421",
|
209
|
+
"start_date": "2013-03-01 00:00:00 -0500",
|
210
|
+
"subscription_id": 3,
|
211
|
+
"support_level": "Self-Support",
|
212
|
+
"support_type": "L1-L3",
|
213
|
+
"type": "NORMAL",
|
214
|
+
"unmapped_guest": false,
|
215
|
+
"upstream": true,
|
216
|
+
"virt_only": false,
|
217
|
+
"virt_who": false,
|
218
|
+
}
|
219
|
+
}
|
220
|
+
/>
|
221
|
+
</Col>
|
222
|
+
<Col
|
223
|
+
bsClass="col"
|
224
|
+
componentClass="div"
|
225
|
+
sm={6}
|
226
|
+
>
|
227
|
+
<SubscriptionDetailAssociations
|
228
|
+
subscriptionDetails={
|
229
|
+
Object {
|
230
|
+
"account_number": 1212729,
|
231
|
+
"activation_keys": Array [],
|
232
|
+
"arch": "ia64,ppc,ppc64,ppc64le,s390,s390x,x86,x86_64",
|
233
|
+
"available": 1,
|
234
|
+
"consumed": 0,
|
235
|
+
"contract_number": 10126160,
|
236
|
+
"cores": 4,
|
237
|
+
"cp_id": "4028f92a6317cfbd0163b419377f3bee",
|
238
|
+
"description": "OpenShift Enterprise",
|
239
|
+
"enabledProducts": Object {
|
240
|
+
"results": Array [],
|
241
|
+
"total": 0,
|
242
|
+
},
|
243
|
+
"end_date": "2021-12-31 23:59:59 -0500",
|
244
|
+
"error": null,
|
245
|
+
"host_count": 0,
|
246
|
+
"id": 48,
|
247
|
+
"instance_multiplier": 1,
|
248
|
+
"loading": false,
|
249
|
+
"multi_entitlement": true,
|
250
|
+
"name": "OpenShift Employee Subscription",
|
251
|
+
"product_id": "SER0421",
|
252
|
+
"product_name": "OpenShift Employee Subscription",
|
253
|
+
"provided_products": Array [
|
254
|
+
Object {
|
255
|
+
"id": 1,
|
256
|
+
"name": "Red Hat OpenShift Container Platform",
|
257
|
+
},
|
258
|
+
Object {
|
259
|
+
"id": 2,
|
260
|
+
"name": "Oracle Java for RHEL Server",
|
261
|
+
},
|
262
|
+
Object {
|
263
|
+
"id": 3,
|
264
|
+
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
265
|
+
},
|
266
|
+
Object {
|
267
|
+
"id": 4,
|
268
|
+
"name": "Red Hat CloudForms Beta",
|
269
|
+
},
|
270
|
+
Object {
|
271
|
+
"id": 5,
|
272
|
+
"name": "Red Hat CloudForms",
|
273
|
+
},
|
274
|
+
Object {
|
275
|
+
"id": 6,
|
276
|
+
"name": "Red Hat OpenShift Enterprise Client Tools",
|
277
|
+
},
|
278
|
+
Object {
|
279
|
+
"id": 7,
|
280
|
+
"name": "Red Hat Enterprise Linux Atomic Host",
|
281
|
+
},
|
282
|
+
Object {
|
283
|
+
"id": 8,
|
284
|
+
"name": "JBoss Enterprise Application Platform",
|
285
|
+
},
|
286
|
+
Object {
|
287
|
+
"id": 9,
|
288
|
+
"name": "Red Hat JBoss AMQ Clients",
|
289
|
+
},
|
290
|
+
Object {
|
291
|
+
"id": 10,
|
292
|
+
"name": "Red Hat Beta",
|
293
|
+
},
|
294
|
+
Object {
|
295
|
+
"id": 11,
|
296
|
+
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
297
|
+
},
|
298
|
+
Object {
|
299
|
+
"id": 12,
|
300
|
+
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
301
|
+
},
|
302
|
+
Object {
|
303
|
+
"id": 13,
|
304
|
+
"name": "Red Hat Ansible Engine",
|
305
|
+
},
|
306
|
+
Object {
|
307
|
+
"id": 14,
|
308
|
+
"name": "Red Hat OpenShift Enterprise Application Node",
|
309
|
+
},
|
310
|
+
Object {
|
311
|
+
"id": 15,
|
312
|
+
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
313
|
+
},
|
314
|
+
Object {
|
315
|
+
"id": 16,
|
316
|
+
"name": "Red Hat Software Collections Beta for RHEL Server",
|
317
|
+
},
|
318
|
+
Object {
|
319
|
+
"id": 17,
|
320
|
+
"name": "Red Hat Software Collections for RHEL Server",
|
321
|
+
},
|
322
|
+
Object {
|
323
|
+
"id": 18,
|
324
|
+
"name": "Red Hat Enterprise Linux Fast Datapath",
|
325
|
+
},
|
326
|
+
Object {
|
327
|
+
"id": 19,
|
328
|
+
"name": "Red Hat Enterprise Linux Server",
|
329
|
+
},
|
330
|
+
Object {
|
331
|
+
"id": 20,
|
332
|
+
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
333
|
+
},
|
334
|
+
Object {
|
335
|
+
"id": 21,
|
336
|
+
"name": "JBoss Enterprise Web Server",
|
337
|
+
},
|
338
|
+
Object {
|
339
|
+
"id": 22,
|
340
|
+
"name": "Red Hat JBoss Core Services",
|
341
|
+
},
|
342
|
+
],
|
343
|
+
"quantity": 1,
|
344
|
+
"ram": null,
|
345
|
+
"sockets": null,
|
346
|
+
"stacking_id": "SER0421",
|
347
|
+
"start_date": "2013-03-01 00:00:00 -0500",
|
348
|
+
"subscription_id": 3,
|
349
|
+
"support_level": "Self-Support",
|
350
|
+
"support_type": "L1-L3",
|
351
|
+
"type": "NORMAL",
|
352
|
+
"unmapped_guest": false,
|
353
|
+
"upstream": true,
|
354
|
+
"virt_only": false,
|
355
|
+
"virt_who": false,
|
356
|
+
}
|
357
|
+
}
|
358
|
+
/>
|
359
|
+
<SubscriptionDetailProducts
|
360
|
+
subscriptionDetails={
|
361
|
+
Object {
|
362
|
+
"account_number": 1212729,
|
363
|
+
"activation_keys": Array [],
|
364
|
+
"arch": "ia64,ppc,ppc64,ppc64le,s390,s390x,x86,x86_64",
|
365
|
+
"available": 1,
|
366
|
+
"consumed": 0,
|
367
|
+
"contract_number": 10126160,
|
368
|
+
"cores": 4,
|
369
|
+
"cp_id": "4028f92a6317cfbd0163b419377f3bee",
|
370
|
+
"description": "OpenShift Enterprise",
|
371
|
+
"enabledProducts": Object {
|
372
|
+
"results": Array [],
|
373
|
+
"total": 0,
|
374
|
+
},
|
375
|
+
"end_date": "2021-12-31 23:59:59 -0500",
|
376
|
+
"error": null,
|
377
|
+
"host_count": 0,
|
378
|
+
"id": 48,
|
379
|
+
"instance_multiplier": 1,
|
380
|
+
"loading": false,
|
381
|
+
"multi_entitlement": true,
|
382
|
+
"name": "OpenShift Employee Subscription",
|
383
|
+
"product_id": "SER0421",
|
384
|
+
"product_name": "OpenShift Employee Subscription",
|
385
|
+
"provided_products": Array [
|
386
|
+
Object {
|
387
|
+
"id": 1,
|
388
|
+
"name": "Red Hat OpenShift Container Platform",
|
389
|
+
},
|
390
|
+
Object {
|
391
|
+
"id": 2,
|
392
|
+
"name": "Oracle Java for RHEL Server",
|
393
|
+
},
|
394
|
+
Object {
|
395
|
+
"id": 3,
|
396
|
+
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
397
|
+
},
|
398
|
+
Object {
|
399
|
+
"id": 4,
|
400
|
+
"name": "Red Hat CloudForms Beta",
|
401
|
+
},
|
402
|
+
Object {
|
403
|
+
"id": 5,
|
404
|
+
"name": "Red Hat CloudForms",
|
405
|
+
},
|
406
|
+
Object {
|
407
|
+
"id": 6,
|
408
|
+
"name": "Red Hat OpenShift Enterprise Client Tools",
|
409
|
+
},
|
410
|
+
Object {
|
411
|
+
"id": 7,
|
412
|
+
"name": "Red Hat Enterprise Linux Atomic Host",
|
413
|
+
},
|
414
|
+
Object {
|
415
|
+
"id": 8,
|
416
|
+
"name": "JBoss Enterprise Application Platform",
|
417
|
+
},
|
418
|
+
Object {
|
419
|
+
"id": 9,
|
420
|
+
"name": "Red Hat JBoss AMQ Clients",
|
421
|
+
},
|
422
|
+
Object {
|
423
|
+
"id": 10,
|
424
|
+
"name": "Red Hat Beta",
|
425
|
+
},
|
426
|
+
Object {
|
427
|
+
"id": 11,
|
428
|
+
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
429
|
+
},
|
430
|
+
Object {
|
431
|
+
"id": 12,
|
432
|
+
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
433
|
+
},
|
434
|
+
Object {
|
435
|
+
"id": 13,
|
436
|
+
"name": "Red Hat Ansible Engine",
|
437
|
+
},
|
438
|
+
Object {
|
439
|
+
"id": 14,
|
440
|
+
"name": "Red Hat OpenShift Enterprise Application Node",
|
441
|
+
},
|
442
|
+
Object {
|
443
|
+
"id": 15,
|
444
|
+
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
445
|
+
},
|
446
|
+
Object {
|
447
|
+
"id": 16,
|
448
|
+
"name": "Red Hat Software Collections Beta for RHEL Server",
|
449
|
+
},
|
450
|
+
Object {
|
451
|
+
"id": 17,
|
452
|
+
"name": "Red Hat Software Collections for RHEL Server",
|
453
|
+
},
|
454
|
+
Object {
|
455
|
+
"id": 18,
|
456
|
+
"name": "Red Hat Enterprise Linux Fast Datapath",
|
457
|
+
},
|
458
|
+
Object {
|
459
|
+
"id": 19,
|
460
|
+
"name": "Red Hat Enterprise Linux Server",
|
461
|
+
},
|
462
|
+
Object {
|
463
|
+
"id": 20,
|
464
|
+
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
465
|
+
},
|
466
|
+
Object {
|
467
|
+
"id": 21,
|
468
|
+
"name": "JBoss Enterprise Web Server",
|
469
|
+
},
|
470
|
+
Object {
|
471
|
+
"id": 22,
|
472
|
+
"name": "Red Hat JBoss Core Services",
|
473
|
+
},
|
474
|
+
],
|
475
|
+
"quantity": 1,
|
476
|
+
"ram": null,
|
477
|
+
"sockets": null,
|
478
|
+
"stacking_id": "SER0421",
|
479
|
+
"start_date": "2013-03-01 00:00:00 -0500",
|
480
|
+
"subscription_id": 3,
|
481
|
+
"support_level": "Self-Support",
|
482
|
+
"support_type": "L1-L3",
|
483
|
+
"type": "NORMAL",
|
484
|
+
"unmapped_guest": false,
|
485
|
+
"upstream": true,
|
486
|
+
"virt_only": false,
|
487
|
+
"virt_who": false,
|
488
|
+
}
|
489
|
+
}
|
490
|
+
/>
|
491
|
+
</Col>
|
492
|
+
</Row>
|
493
|
+
</div>
|
494
|
+
</TabPane>
|
495
|
+
<TabPane
|
496
|
+
bsClass="tab-pane"
|
497
|
+
eventKey={2}
|
498
|
+
>
|
499
|
+
<div>
|
500
|
+
<Row
|
501
|
+
bsClass="row"
|
502
|
+
componentClass="div"
|
503
|
+
>
|
504
|
+
<Col
|
505
|
+
bsClass="col"
|
506
|
+
componentClass="div"
|
507
|
+
sm={12}
|
508
|
+
>
|
509
|
+
<SubscriptionDetailEnabledProducts
|
510
|
+
enabledProducts={
|
511
|
+
Object {
|
512
|
+
"results": Array [],
|
513
|
+
"total": 0,
|
514
|
+
}
|
515
|
+
}
|
516
|
+
/>
|
517
|
+
</Col>
|
518
|
+
</Row>
|
519
|
+
</div>
|
520
|
+
</TabPane>
|
521
|
+
</TabContent>
|
522
|
+
</Grid>
|
523
|
+
</LoadingState>
|
524
|
+
</div>
|
525
|
+
</Uncontrolled(TabContainer)>
|
526
|
+
</div>
|
441
527
|
`;
|