1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 23:30:05 +02:00

fix(cp-frontend): don't require metrics for topology

This commit is contained in:
Sérgio Ramos 2017-08-30 10:46:28 +01:00
parent b89d1ad686
commit b918a5bb66
2 changed files with 27 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import styled from 'styled-components';
import forceArray from 'force-array'; import forceArray from 'force-array';
import unitcalc from 'unitcalc'; import unitcalc from 'unitcalc';
import ServicesQuery from '@graphql/Services.gql'; import ServicesQuery from '@graphql/ServicesTopology.gql';
import { processServicesForTopology } from '@root/state/selectors'; import { processServicesForTopology } from '@root/state/selectors';
import { toggleServicesQuickActions } from '@root/state/actions'; import { toggleServicesQuickActions } from '@root/state/actions';
import { withNotFound, GqlPaths } from '@containers/navigation'; import { withNotFound, GqlPaths } from '@containers/navigation';

View File

@ -0,0 +1,26 @@
#import "./DeploymentGroupInfo.gql"
#import "./ServiceInfo.gql"
query Services($deploymentGroupSlug: String!) {
deploymentGroup(slug: $deploymentGroupSlug) {
...DeploymentGroupInfo
services {
...ServiceInfo
branches {
name
slug
instances {
id
status
healthy
}
}
connections
instances {
id
status
healthy
}
}
}
}