mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
feat(cp-gql-mock-server): Add more examples of deployment groups
This commit is contained in:
parent
f5cf049fe0
commit
5c1b76c92f
2050
packages/cp-gql-mock-server/src/complex-data.json
Normal file
2050
packages/cp-gql-mock-server/src/complex-data.json
Normal file
File diff suppressed because it is too large
Load Diff
232
packages/cp-gql-mock-server/src/cp-data.json
Normal file
232
packages/cp-gql-mock-server/src/cp-data.json
Normal file
@ -0,0 +1,232 @@
|
||||
{
|
||||
"deploymentGroup": {
|
||||
"id": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"name": "cpexample",
|
||||
"slug": "cpexample",
|
||||
"imported": true,
|
||||
"status": "ACTIVE",
|
||||
"__typename": "DeploymentGroup"
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"id": "af6a5cd2-291f-490b-bf3b-141b010635db",
|
||||
"name": "frontend",
|
||||
"slug": "frontend",
|
||||
"status": null,
|
||||
"__typename": "Service",
|
||||
"branches": [],
|
||||
"connections": [
|
||||
"aea06a05-830a-46d3-bdc1-9dcba97303de"
|
||||
],
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67"
|
||||
},
|
||||
{
|
||||
"id": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql",
|
||||
"slug": "mysql",
|
||||
"status": null,
|
||||
"__typename": "Service",
|
||||
"branches": [
|
||||
{
|
||||
"name": "mysql-primary",
|
||||
"slug": "mysql-primary",
|
||||
"instances": [
|
||||
"1188dfa0-efac-4142-8a6d-615841dc04e7"
|
||||
],
|
||||
"__typename": "Service",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"id": "mysql-primary-mysql-primary"
|
||||
},
|
||||
{
|
||||
"name": "mysql",
|
||||
"slug": "mysql",
|
||||
"instances": [
|
||||
"0d757833-7912-4777-81ce-f302c653cfda",
|
||||
"3ec9132f-9093-4644-a2fd-a9749d0011ca",
|
||||
"6e460ff1-7bc3-4c9b-b093-f37b1134f37b",
|
||||
"991cbab5-b773-4651-b5b9-b95c299cf50f"
|
||||
],
|
||||
"__typename": "Service",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"id": "mysql-mysql"
|
||||
}
|
||||
],
|
||||
"connections": [],
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67"
|
||||
},
|
||||
{
|
||||
"id": "908b64d9-070b-4c9a-b7d8-757ec3c9c7f4",
|
||||
"name": "producer",
|
||||
"slug": "producer",
|
||||
"status": null,
|
||||
"__typename": "Service",
|
||||
"branches": [],
|
||||
"connections": [
|
||||
"2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"2c872d69-25d1-46e9-84d8-dcc89ea0d5a1"
|
||||
],
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67"
|
||||
},
|
||||
{
|
||||
"id": "aea06a05-830a-46d3-bdc1-9dcba97303de",
|
||||
"name": "api",
|
||||
"slug": "api",
|
||||
"status": null,
|
||||
"__typename": "Service",
|
||||
"branches": [],
|
||||
"connections": [
|
||||
"2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"908b64d9-070b-4c9a-b7d8-757ec3c9c7f4"
|
||||
],
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67"
|
||||
},
|
||||
{
|
||||
"id": "e30c9c43-5af6-4adb-b3cd-8c383d911a0a",
|
||||
"name": "consul",
|
||||
"slug": "consul",
|
||||
"status": null,
|
||||
"__typename": "Service",
|
||||
"branches": [],
|
||||
"connections": [],
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67"
|
||||
}
|
||||
],
|
||||
"instances": [
|
||||
{
|
||||
"id": "f1fb3c1d-9e0e-4538-b2ad-1124bce2459e",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "af6a5cd2-291f-490b-bf3b-141b010635db",
|
||||
"name": "frontend-0"
|
||||
},
|
||||
{
|
||||
"id": "c5c7ae33-cfe1-43cc-9e9b-6f453de3888d",
|
||||
"status": "FAILED",
|
||||
"healthy": "UNAVAILABLE",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "af6a5cd2-291f-490b-bf3b-141b010635db",
|
||||
"name": "frontend-1"
|
||||
},
|
||||
{
|
||||
"id": "1188dfa0-efac-4142-8a6d-615841dc04e7",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-primary-0"
|
||||
},
|
||||
{
|
||||
"id": "0d757833-7912-4777-81ce-f302c653cfda",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-0"
|
||||
},
|
||||
{
|
||||
"id": "3ec9132f-9093-4644-a2fd-a9749d0011ca",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-1"
|
||||
},
|
||||
{
|
||||
"id": "6e460ff1-7bc3-4c9b-b093-f37b1134f37b",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-2"
|
||||
},
|
||||
{
|
||||
"id": "991cbab5-b773-4651-b5b9-b95c299cf50f",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-3"
|
||||
},
|
||||
{
|
||||
"id": "0d757833-7912-4777-81ce-f302c653cfda",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-0"
|
||||
},
|
||||
{
|
||||
"id": "1188dfa0-efac-4142-8a6d-615841dc04e7",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-1"
|
||||
},
|
||||
{
|
||||
"id": "6e460ff1-7bc3-4c9b-b093-f37b1134f37b",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-2"
|
||||
},
|
||||
{
|
||||
"id": "3ec9132f-9093-4644-a2fd-a9749d0011ca",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-3"
|
||||
},
|
||||
{
|
||||
"id": "991cbab5-b773-4651-b5b9-b95c299cf50f",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "2c872d69-25d1-46e9-84d8-dcc89ea0d5a1",
|
||||
"name": "mysql-4"
|
||||
},
|
||||
{
|
||||
"id": "1e3dc868-8738-41b3-a70f-ea332823429c",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "908b64d9-070b-4c9a-b7d8-757ec3c9c7f4",
|
||||
"name": "producer-0"
|
||||
},
|
||||
{
|
||||
"id": "2ddf4ce0-0cc6-4df9-ac0e-7518e9fff19e",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNKNOWN",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "aea06a05-830a-46d3-bdc1-9dcba97303de",
|
||||
"name": "api-0"
|
||||
},
|
||||
{
|
||||
"id": "c9698959-eaa2-4b32-9333-fc2591702cf7",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNAVAILABLE",
|
||||
"__typename": "Instance",
|
||||
"deploymentGroupId": "24b16df5-7553-45d9-ab7f-62d541764b67",
|
||||
"serviceId": "e30c9c43-5af6-4adb-b3cd-8c383d911a0a",
|
||||
"name": "consul-0"
|
||||
}
|
||||
]
|
||||
}
|
@ -11,187 +11,5 @@
|
||||
"lastName": "Greskovits",
|
||||
"email": "name@email.com"
|
||||
}
|
||||
},
|
||||
"deploymentGroups": [
|
||||
{
|
||||
"id": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"slug": "warp-records-blog",
|
||||
"name": "WarpRecords Blog"
|
||||
},
|
||||
{
|
||||
"id": "9fcb374d-a267-4c2a-9d9c-ba469b804639",
|
||||
"slug": "forest-foundation-testing",
|
||||
"name": "Forest Foundation Testing"
|
||||
},
|
||||
{
|
||||
"id": "ac2c2498-e865-4ee3-9e26-8c75a81cbe25",
|
||||
"slug": "forest-foundation-production",
|
||||
"name": "Forest Foundation Production"
|
||||
}
|
||||
],
|
||||
"services": [
|
||||
{
|
||||
"id": "081a792c-47e0-4439-924b-2efa9788ae9e",
|
||||
"slug": "nginx",
|
||||
"name": "Nginx",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"connections": [
|
||||
"be227788-74f1-4e5b-a85f-b5c71cbae8d8"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "be227788-74f1-4e5b-a85f-b5c71cbae8d8",
|
||||
"slug": "wordpress",
|
||||
"name": "Wordpress",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"connections": [
|
||||
"6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
"6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"4ee4103e-1a52-4099-a48e-01588f597c70"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
"slug": "nfs",
|
||||
"name": "NFS",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401"
|
||||
},
|
||||
{
|
||||
"id": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"slug": "memcached",
|
||||
"name": "Memcached",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401"
|
||||
},
|
||||
{
|
||||
"id": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"slug": "percona",
|
||||
"name": "Percona",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"branches": [{
|
||||
"id": "dmklaskdls",
|
||||
"slug": "percona",
|
||||
"name": "Percona",
|
||||
"instances": ["c3ec7633-a02b-4615-86a0-9e6faeaae94b"]
|
||||
}, {
|
||||
"id": "dmklaskdls",
|
||||
"slug": "percona-primary",
|
||||
"name": "percona-primary",
|
||||
"instances": ["c2b5fec2-31e2-41a7-b7fc-cd0bb1822e76"]
|
||||
}]
|
||||
},
|
||||
{
|
||||
"id": "97c68055-db88-45c9-ad49-f26da4264777",
|
||||
"slug": "consul",
|
||||
"name": "Consul",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401"
|
||||
},
|
||||
{
|
||||
"id": "primary-consul",
|
||||
"slug": "consul",
|
||||
"name": "Consul",
|
||||
"deploymentGroupId": "9fcb374d-a267-4c2a-9d9c-ba469b804639"
|
||||
},
|
||||
{
|
||||
"id": "primary-nginx",
|
||||
"slug": "nginx",
|
||||
"name": "Nginx",
|
||||
"deploymentGroupId": "9fcb374d-a267-4c2a-9d9c-ba469b804639"
|
||||
},
|
||||
{
|
||||
"id": "primary-mongodb",
|
||||
"slug": "mongodb",
|
||||
"name": "MongoDB",
|
||||
"deploymentGroupId": "9fcb374d-a267-4c2a-9d9c-ba469b804639"
|
||||
}
|
||||
],
|
||||
"instances": [
|
||||
{
|
||||
"id": "309ecd9f-ac03-474b-aff7-4bd2e743296c",
|
||||
"name": "wordpress_01",
|
||||
"serviceId": "be227788-74f1-4e5b-a85f-b5c71cbae8d8",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "0db6db53-de6f-4378-839e-5d5b452fbaf2",
|
||||
"name": "nfs_01",
|
||||
"serviceId": "6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "250c8a6c-7d02-49a9-8abd-e1c22773041d",
|
||||
"name": "consul",
|
||||
"serviceId": "97c68055-db88-45c9-ad49-f26da4264777",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNHEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "2c921f3a-8bc3-4f57-9cd7-789ebae72061",
|
||||
"name": "memcache_01",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "68d3046e-8e34-4f5d-a0e5-db3795a250fd",
|
||||
"name": "memcache_02",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "2ea99763-3b44-4179-8393-d66d94961051",
|
||||
"name": "memcache_03",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "25f6bc62-63b8-4959-908e-1f6d7ff6341d",
|
||||
"name": "memcache_04",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "8be01042-0281-4a77-a357-25979e87bf3d",
|
||||
"name": "memcache_05",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "3d652e9d-73e8-4a6f-8171-84fa83740662",
|
||||
"name": "nginx",
|
||||
"serviceId": "081a792c-47e0-4439-924b-2efa9788ae9e",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "c3ec7633-a02b-4615-86a0-9e6faeaae94b",
|
||||
"name": "percona-primary",
|
||||
"serviceId": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNHEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "c2b5fec2-31e2-41a7-b7fc-cd0bb1822e76",
|
||||
"name": "percona-secondary",
|
||||
"serviceId": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -9,14 +9,19 @@ const random = require('lodash.random');
|
||||
const uniq = require('lodash.uniq');
|
||||
const yaml = require('js-yaml');
|
||||
|
||||
const wpData = require('./wp-data.json');
|
||||
const cpData = require('./cp-data.json');
|
||||
const complexData = require('./complex-data.json');
|
||||
|
||||
const {
|
||||
datacenter,
|
||||
portal,
|
||||
deploymentGroups,
|
||||
services,
|
||||
instances
|
||||
portal
|
||||
} = require('./data.json');
|
||||
|
||||
const deploymentGroups = [wpData.deploymentGroup, cpData.deploymentGroup, complexData.deploymentGroup];
|
||||
const services = wpData.services.concat(cpData.services).concat(complexData.services);
|
||||
const instances = wpData.instances.concat(cpData.instances).concat(complexData.instances);
|
||||
|
||||
const find = (query = {}) => item =>
|
||||
Object.keys(query).every(key => item[key] === query[key]);
|
||||
|
||||
@ -39,12 +44,12 @@ const getUnfilteredServices = query => {
|
||||
instances: instancesResolver(service),
|
||||
branches: (service.branches || []).map(service =>
|
||||
Object.assign({}, service, {
|
||||
instances: () =>
|
||||
Promise.resolve(
|
||||
instances: () => {
|
||||
return Promise.resolve(
|
||||
flatten(
|
||||
service.instances.map(id => instances.filter(find({ id })))
|
||||
)
|
||||
)
|
||||
)}
|
||||
})
|
||||
)
|
||||
});
|
||||
@ -73,7 +78,6 @@ const getServices = query => {
|
||||
({ status }) => ['DELETED', 'EXITED'].indexOf(status) < 0
|
||||
)
|
||||
);
|
||||
|
||||
// get all the serviceIds of the available instances
|
||||
// and then get the servcies with those ids
|
||||
return uniq(
|
||||
|
173
packages/cp-gql-mock-server/src/wp-data.json
Normal file
173
packages/cp-gql-mock-server/src/wp-data.json
Normal file
@ -0,0 +1,173 @@
|
||||
{
|
||||
"deploymentGroup":
|
||||
{
|
||||
"id": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"slug": "wordpress-blog-example",
|
||||
"name": "Wordpress Blog Example"
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"id": "081a792c-47e0-4439-924b-2efa9788ae9e",
|
||||
"slug": "nginx",
|
||||
"name": "Nginx",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"connections": [
|
||||
"be227788-74f1-4e5b-a85f-b5c71cbae8d8"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "be227788-74f1-4e5b-a85f-b5c71cbae8d8",
|
||||
"slug": "wordpress",
|
||||
"name": "Wordpress",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"connections": [
|
||||
"6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
"6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"4ee4103e-1a52-4099-a48e-01588f597c70"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
"slug": "nfs",
|
||||
"name": "NFS",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401"
|
||||
},
|
||||
{
|
||||
"id": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"slug": "memcached",
|
||||
"name": "Memcached",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401"
|
||||
},
|
||||
{
|
||||
"id": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"slug": "percona",
|
||||
"name": "Percona",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"branches": [{
|
||||
"id": "dmklaskdls",
|
||||
"slug": "percona",
|
||||
"name": "Percona",
|
||||
"instances": ["c3ec7633-a02b-4615-86a0-9e6faeaae94b"]
|
||||
}, {
|
||||
"id": "dmklaskdls",
|
||||
"slug": "percona-primary",
|
||||
"name": "percona-primary",
|
||||
"instances": ["c2b5fec2-31e2-41a7-b7fc-cd0bb1822e76"]
|
||||
}]
|
||||
},
|
||||
{
|
||||
"id": "97c68055-db88-45c9-ad49-f26da4264777",
|
||||
"slug": "consul",
|
||||
"name": "Consul",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401"
|
||||
},
|
||||
{
|
||||
"id": "primary-consul",
|
||||
"slug": "consul",
|
||||
"name": "Consul",
|
||||
"deploymentGroupId": "9fcb374d-a267-4c2a-9d9c-ba469b804639"
|
||||
},
|
||||
{
|
||||
"id": "primary-nginx",
|
||||
"slug": "nginx",
|
||||
"name": "Nginx",
|
||||
"deploymentGroupId": "9fcb374d-a267-4c2a-9d9c-ba469b804639"
|
||||
},
|
||||
{
|
||||
"id": "primary-mongodb",
|
||||
"slug": "mongodb",
|
||||
"name": "MongoDB",
|
||||
"deploymentGroupId": "9fcb374d-a267-4c2a-9d9c-ba469b804639"
|
||||
}
|
||||
],
|
||||
"instances": [
|
||||
{
|
||||
"id": "309ecd9f-ac03-474b-aff7-4bd2e743296c",
|
||||
"name": "wordpress_01",
|
||||
"serviceId": "be227788-74f1-4e5b-a85f-b5c71cbae8d8",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "0db6db53-de6f-4378-839e-5d5b452fbaf2",
|
||||
"name": "nfs_01",
|
||||
"serviceId": "6a0eee76-c019-413b-9d5f-44712b55b993",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "250c8a6c-7d02-49a9-8abd-e1c22773041d",
|
||||
"name": "consul",
|
||||
"serviceId": "97c68055-db88-45c9-ad49-f26da4264777",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNHEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "2c921f3a-8bc3-4f57-9cd7-789ebae72061",
|
||||
"name": "memcache_01",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "68d3046e-8e34-4f5d-a0e5-db3795a250fd",
|
||||
"name": "memcache_02",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "2ea99763-3b44-4179-8393-d66d94961051",
|
||||
"name": "memcache_03",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "25f6bc62-63b8-4959-908e-1f6d7ff6341d",
|
||||
"name": "memcache_04",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "8be01042-0281-4a77-a357-25979e87bf3d",
|
||||
"name": "memcache_05",
|
||||
"serviceId": "6d31aff4-de1e-4042-a983-fbd23d5c530c",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "3d652e9d-73e8-4a6f-8171-84fa83740662",
|
||||
"name": "nginx",
|
||||
"serviceId": "081a792c-47e0-4439-924b-2efa9788ae9e",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "c3ec7633-a02b-4615-86a0-9e6faeaae94b",
|
||||
"name": "percona-primary",
|
||||
"serviceId": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "UNHEALTHY"
|
||||
},
|
||||
{
|
||||
"id": "c2b5fec2-31e2-41a7-b7fc-cd0bb1822e76",
|
||||
"name": "percona-secondary",
|
||||
"serviceId": "4ee4103e-1a52-4099-a48e-01588f597c70",
|
||||
"deploymentGroupId": "e0ea0c02-55cc-45fe-8064-3e5176a59401",
|
||||
"status": "RUNNING",
|
||||
"healthy": "HEALTHY"
|
||||
}
|
||||
]
|
||||
}
|
@ -3723,11 +3723,11 @@ extsprintf@1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550"
|
||||
|
||||
extsprintf@1.2.0:
|
||||
extsprintf@1.2.0, extsprintf@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.2.0.tgz#5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529"
|
||||
|
||||
extsprintf@1.3.0, extsprintf@^1.2.0:
|
||||
extsprintf@1.3.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user