graphql.deployment.graphqls Maven / Gradle / Ivy
extend type Query {
deployments: [Deployment]!
deployment(id: ID!): Deployment!
}
extend type Mutation {
# return true if the deployment was succesfully (de)activated
activateDeployment(id: ID!): Boolean!
deactivateDeployment(id: ID!): Boolean!
# returns the deployment id if successful, or null otherwise
removeDeployment(id: ID!, cascade: Boolean!): String
}
type Deployment {
id: ID!
active: Boolean!
name: String
deploymentTime: DateTime
source: String
processDefinitions: [ProcessDefinition]!
processDefinitionsCount: Int!
processInstances: [ProcessInstance]!
processInstancesCount: Int!
}