diff --git a/spikes/graphql/graphql-server/src/schema.js b/spikes/graphql/graphql-server/src/schema.js index b9f451de..12ebdc0c 100644 --- a/spikes/graphql/graphql-server/src/schema.js +++ b/spikes/graphql/graphql-server/src/schema.js @@ -1,5 +1,4 @@ import { makeExecutableSchema } from 'graphql-tools'; - import resolvers from './resolvers'; const schema = ` @@ -46,7 +45,6 @@ type Service { hash: String! version: Version! name: String! - project: String! instances: [Instance]! metrics: [MetricType]! package: Package! # we don't have this in current mock data @@ -75,7 +73,6 @@ type Package { type Instance { uuid: String! name: String! - service: String! metrics: [InstanceMetric]! } @@ -109,6 +106,10 @@ type Query { datacenters: [Datacenter] } +type Mutation { + createDeployment: Deployment +} + `; export default makeExecutableSchema({