1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-16 00:00:06 +02:00
copilot/packages/cp-frontend/test/unit/mocks/data.js

32 lines
890 B
JavaScript
Raw Normal View History

export const instance = {
2017-08-28 22:21:08 +03:00
id: '309ecd9f-ac03-474b-aff7-4bd2e743296c',
name: 'wordpress_01',
serviceId: 'be227788-74f1-4e5b-a85f-b5c71cbae8d8',
deploymentGroupId: 'e0ea0c02-55cc-45fe-8064-3e5176a59401',
machineId: '011f7479-2d45-442d-99bf-7f6216954cc8',
status: 'RUNNING',
healthy: 'HEALTHY'
};
export const service = {
2017-08-28 22:21:08 +03:00
id: '081a792c-47e0-4439-924b-2efa9788ae9e',
slug: 'nginx',
name: 'Nginx',
deploymentGroupId: 'e0ea0c02-55cc-45fe-8064-3e5176a59401',
connections: ['be227788-74f1-4e5b-a85f-b5c71cbae8d8'],
instances: [instance],
instanceStatuses: [{ status: 'RUNNING', count: 1 }]
};
export const deploymentGroup = {
2017-08-28 22:21:08 +03:00
id: 'e0ea0c02-55cc-45fe-8064-3e5176a59401',
slug: 'wordpress-blog-example',
name: 'Wordpress Blog Example'
};
2017-08-28 22:21:08 +03:00
export const services = [service];
2017-08-28 22:21:08 +03:00
export const instances = [instance];
2017-08-28 22:21:08 +03:00
export const deploymentGroups = [deploymentGroup];