|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`subscriptions details page should render and contain appropiate components 1`] = `
|
|
<Grid
|
|
bsClass="container-fluid"
|
|
componentClass="div"
|
|
fluid={false}
|
|
>
|
|
<div>
|
|
<Spinner
|
|
className=""
|
|
inline={false}
|
|
inverse={false}
|
|
loading={false}
|
|
size="md"
|
|
>
|
|
<Row
|
|
bsClass="row"
|
|
componentClass="div"
|
|
>
|
|
<Col
|
|
bsClass="col"
|
|
componentClass="div"
|
|
sm={12}
|
|
>
|
|
<h1>
|
|
OpenShift Employee Subscription
|
|
</h1>
|
|
</Col>
|
|
</Row>
|
|
<Row
|
|
bsClass="row"
|
|
componentClass="div"
|
|
>
|
|
<Col
|
|
bsClass="col"
|
|
componentClass="div"
|
|
sm={6}
|
|
>
|
|
<SubscriptionDetailInfo
|
|
subscriptionDetails={
|
|
Object {
|
|
"account_number": 1212729,
|
|
"activation_keys": Array [],
|
|
"arch": "ia64,ppc,ppc64,ppc64le,s390,s390x,x86,x86_64",
|
|
"available": 1,
|
|
"consumed": 0,
|
|
"contract_number": 10126160,
|
|
"cores": 4,
|
|
"cp_id": "4028f92a6317cfbd0163b419377f3bee",
|
|
"description": "OpenShift Enterprise",
|
|
"end_date": "2021-12-31 23:59:59 -0500",
|
|
"error": null,
|
|
"host_count": 0,
|
|
"id": 48,
|
|
"instance_multiplier": 1,
|
|
"loading": false,
|
|
"multi_entitlement": true,
|
|
"name": "OpenShift Employee Subscription",
|
|
"product_id": "SER0421",
|
|
"product_name": "OpenShift Employee Subscription",
|
|
"provided_products": Array [
|
|
Object {
|
|
"id": 1,
|
|
"name": "Red Hat OpenShift Container Platform",
|
|
},
|
|
Object {
|
|
"id": 2,
|
|
"name": "Oracle Java for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 3,
|
|
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
|
},
|
|
Object {
|
|
"id": 4,
|
|
"name": "Red Hat CloudForms Beta",
|
|
},
|
|
Object {
|
|
"id": 5,
|
|
"name": "Red Hat CloudForms",
|
|
},
|
|
Object {
|
|
"id": 6,
|
|
"name": "Red Hat OpenShift Enterprise Client Tools",
|
|
},
|
|
Object {
|
|
"id": 7,
|
|
"name": "Red Hat Enterprise Linux Atomic Host",
|
|
},
|
|
Object {
|
|
"id": 8,
|
|
"name": "JBoss Enterprise Application Platform",
|
|
},
|
|
Object {
|
|
"id": 9,
|
|
"name": "Red Hat JBoss AMQ Clients",
|
|
},
|
|
Object {
|
|
"id": 10,
|
|
"name": "Red Hat Beta",
|
|
},
|
|
Object {
|
|
"id": 11,
|
|
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
|
},
|
|
Object {
|
|
"id": 12,
|
|
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
|
},
|
|
Object {
|
|
"id": 13,
|
|
"name": "Red Hat Ansible Engine",
|
|
},
|
|
Object {
|
|
"id": 14,
|
|
"name": "Red Hat OpenShift Enterprise Application Node",
|
|
},
|
|
Object {
|
|
"id": 15,
|
|
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
|
},
|
|
Object {
|
|
"id": 16,
|
|
"name": "Red Hat Software Collections Beta for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 17,
|
|
"name": "Red Hat Software Collections for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 18,
|
|
"name": "Red Hat Enterprise Linux Fast Datapath",
|
|
},
|
|
Object {
|
|
"id": 19,
|
|
"name": "Red Hat Enterprise Linux Server",
|
|
},
|
|
Object {
|
|
"id": 20,
|
|
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
|
},
|
|
Object {
|
|
"id": 21,
|
|
"name": "JBoss Enterprise Web Server",
|
|
},
|
|
Object {
|
|
"id": 22,
|
|
"name": "Red Hat JBoss Core Services",
|
|
},
|
|
],
|
|
"quantity": 1,
|
|
"ram": null,
|
|
"sockets": null,
|
|
"stacking_id": "SER0421",
|
|
"start_date": "2013-03-01 00:00:00 -0500",
|
|
"subscription_id": 3,
|
|
"support_level": "Self-Support",
|
|
"support_type": "L1-L3",
|
|
"type": "NORMAL",
|
|
"unmapped_guest": false,
|
|
"upstream": true,
|
|
"virt_only": false,
|
|
"virt_who": false,
|
|
}
|
|
}
|
|
/>
|
|
</Col>
|
|
<Col
|
|
bsClass="col"
|
|
componentClass="div"
|
|
sm={6}
|
|
>
|
|
<SubscriptionDetailAssociations
|
|
subscriptionDetails={
|
|
Object {
|
|
"account_number": 1212729,
|
|
"activation_keys": Array [],
|
|
"arch": "ia64,ppc,ppc64,ppc64le,s390,s390x,x86,x86_64",
|
|
"available": 1,
|
|
"consumed": 0,
|
|
"contract_number": 10126160,
|
|
"cores": 4,
|
|
"cp_id": "4028f92a6317cfbd0163b419377f3bee",
|
|
"description": "OpenShift Enterprise",
|
|
"end_date": "2021-12-31 23:59:59 -0500",
|
|
"error": null,
|
|
"host_count": 0,
|
|
"id": 48,
|
|
"instance_multiplier": 1,
|
|
"loading": false,
|
|
"multi_entitlement": true,
|
|
"name": "OpenShift Employee Subscription",
|
|
"product_id": "SER0421",
|
|
"product_name": "OpenShift Employee Subscription",
|
|
"provided_products": Array [
|
|
Object {
|
|
"id": 1,
|
|
"name": "Red Hat OpenShift Container Platform",
|
|
},
|
|
Object {
|
|
"id": 2,
|
|
"name": "Oracle Java for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 3,
|
|
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
|
},
|
|
Object {
|
|
"id": 4,
|
|
"name": "Red Hat CloudForms Beta",
|
|
},
|
|
Object {
|
|
"id": 5,
|
|
"name": "Red Hat CloudForms",
|
|
},
|
|
Object {
|
|
"id": 6,
|
|
"name": "Red Hat OpenShift Enterprise Client Tools",
|
|
},
|
|
Object {
|
|
"id": 7,
|
|
"name": "Red Hat Enterprise Linux Atomic Host",
|
|
},
|
|
Object {
|
|
"id": 8,
|
|
"name": "JBoss Enterprise Application Platform",
|
|
},
|
|
Object {
|
|
"id": 9,
|
|
"name": "Red Hat JBoss AMQ Clients",
|
|
},
|
|
Object {
|
|
"id": 10,
|
|
"name": "Red Hat Beta",
|
|
},
|
|
Object {
|
|
"id": 11,
|
|
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
|
},
|
|
Object {
|
|
"id": 12,
|
|
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
|
},
|
|
Object {
|
|
"id": 13,
|
|
"name": "Red Hat Ansible Engine",
|
|
},
|
|
Object {
|
|
"id": 14,
|
|
"name": "Red Hat OpenShift Enterprise Application Node",
|
|
},
|
|
Object {
|
|
"id": 15,
|
|
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
|
},
|
|
Object {
|
|
"id": 16,
|
|
"name": "Red Hat Software Collections Beta for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 17,
|
|
"name": "Red Hat Software Collections for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 18,
|
|
"name": "Red Hat Enterprise Linux Fast Datapath",
|
|
},
|
|
Object {
|
|
"id": 19,
|
|
"name": "Red Hat Enterprise Linux Server",
|
|
},
|
|
Object {
|
|
"id": 20,
|
|
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
|
},
|
|
Object {
|
|
"id": 21,
|
|
"name": "JBoss Enterprise Web Server",
|
|
},
|
|
Object {
|
|
"id": 22,
|
|
"name": "Red Hat JBoss Core Services",
|
|
},
|
|
],
|
|
"quantity": 1,
|
|
"ram": null,
|
|
"sockets": null,
|
|
"stacking_id": "SER0421",
|
|
"start_date": "2013-03-01 00:00:00 -0500",
|
|
"subscription_id": 3,
|
|
"support_level": "Self-Support",
|
|
"support_type": "L1-L3",
|
|
"type": "NORMAL",
|
|
"unmapped_guest": false,
|
|
"upstream": true,
|
|
"virt_only": false,
|
|
"virt_who": false,
|
|
}
|
|
}
|
|
/>
|
|
<SubscriptionDetailProducts
|
|
subscriptionDetails={
|
|
Object {
|
|
"account_number": 1212729,
|
|
"activation_keys": Array [],
|
|
"arch": "ia64,ppc,ppc64,ppc64le,s390,s390x,x86,x86_64",
|
|
"available": 1,
|
|
"consumed": 0,
|
|
"contract_number": 10126160,
|
|
"cores": 4,
|
|
"cp_id": "4028f92a6317cfbd0163b419377f3bee",
|
|
"description": "OpenShift Enterprise",
|
|
"end_date": "2021-12-31 23:59:59 -0500",
|
|
"error": null,
|
|
"host_count": 0,
|
|
"id": 48,
|
|
"instance_multiplier": 1,
|
|
"loading": false,
|
|
"multi_entitlement": true,
|
|
"name": "OpenShift Employee Subscription",
|
|
"product_id": "SER0421",
|
|
"product_name": "OpenShift Employee Subscription",
|
|
"provided_products": Array [
|
|
Object {
|
|
"id": 1,
|
|
"name": "Red Hat OpenShift Container Platform",
|
|
},
|
|
Object {
|
|
"id": 2,
|
|
"name": "Oracle Java for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 3,
|
|
"name": "Red Hat OpenShift Enterprise JBoss EAP add-on",
|
|
},
|
|
Object {
|
|
"id": 4,
|
|
"name": "Red Hat CloudForms Beta",
|
|
},
|
|
Object {
|
|
"id": 5,
|
|
"name": "Red Hat CloudForms",
|
|
},
|
|
Object {
|
|
"id": 6,
|
|
"name": "Red Hat OpenShift Enterprise Client Tools",
|
|
},
|
|
Object {
|
|
"id": 7,
|
|
"name": "Red Hat Enterprise Linux Atomic Host",
|
|
},
|
|
Object {
|
|
"id": 8,
|
|
"name": "JBoss Enterprise Application Platform",
|
|
},
|
|
Object {
|
|
"id": 9,
|
|
"name": "Red Hat JBoss AMQ Clients",
|
|
},
|
|
Object {
|
|
"id": 10,
|
|
"name": "Red Hat Beta",
|
|
},
|
|
Object {
|
|
"id": 11,
|
|
"name": "Red Hat OpenShift Enterprise Infrastructure",
|
|
},
|
|
Object {
|
|
"id": 12,
|
|
"name": "Red Hat Enterprise Linux Fast Datapath Beta",
|
|
},
|
|
Object {
|
|
"id": 13,
|
|
"name": "Red Hat Ansible Engine",
|
|
},
|
|
Object {
|
|
"id": 14,
|
|
"name": "Red Hat OpenShift Enterprise Application Node",
|
|
},
|
|
Object {
|
|
"id": 15,
|
|
"name": "Red Hat OpenShift Enterprise JBoss FUSE add-on",
|
|
},
|
|
Object {
|
|
"id": 16,
|
|
"name": "Red Hat Software Collections Beta for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 17,
|
|
"name": "Red Hat Software Collections for RHEL Server",
|
|
},
|
|
Object {
|
|
"id": 18,
|
|
"name": "Red Hat Enterprise Linux Fast Datapath",
|
|
},
|
|
Object {
|
|
"id": 19,
|
|
"name": "Red Hat Enterprise Linux Server",
|
|
},
|
|
Object {
|
|
"id": 20,
|
|
"name": "Red Hat OpenShift Enterprise JBoss A-MQ add-on",
|
|
},
|
|
Object {
|
|
"id": 21,
|
|
"name": "JBoss Enterprise Web Server",
|
|
},
|
|
Object {
|
|
"id": 22,
|
|
"name": "Red Hat JBoss Core Services",
|
|
},
|
|
],
|
|
"quantity": 1,
|
|
"ram": null,
|
|
"sockets": null,
|
|
"stacking_id": "SER0421",
|
|
"start_date": "2013-03-01 00:00:00 -0500",
|
|
"subscription_id": 3,
|
|
"support_level": "Self-Support",
|
|
"support_type": "L1-L3",
|
|
"type": "NORMAL",
|
|
"unmapped_guest": false,
|
|
"upstream": true,
|
|
"virt_only": false,
|
|
"virt_who": false,
|
|
}
|
|
}
|
|
/>
|
|
</Col>
|
|
</Row>
|
|
</Spinner>
|
|
</div>
|
|
</Grid>
|
|
`;
|