diff --git a/profile.graphql b/profile.graphqls similarity index 89% rename from profile.graphql rename to profile.graphqls index c70e1a2a318d3afd655fce35fc133b95004c62f7..599859a79205cb5260a9444c83b1e0f03998f410 100644 --- a/profile.graphql +++ b/profile.graphqls @@ -33,7 +33,7 @@ input ThreadMonitorTaskCreationRequest { } # Thread monitor task create result -input ThreadMonitorTaskCreationResult { +type ThreadMonitorTaskCreationResult { # if null or empty means the task create success, otherwise get create error reason errorReason: String @@ -60,10 +60,10 @@ type ThreadMonitorTask { extend type Mutation { # crate new thread monitor task - createTask(creationRequest: ThreadMonitorTaskCreationRequest): ThreadMonitorTaskCreationResult! + createThreadMonitorTask(creationRequest: ThreadMonitorTaskCreationRequest): ThreadMonitorTaskCreationResult! } extend type Query { # query task list - getTaskList(serviceId: ID, endpointName: String, duration: Duration!): [ThreadMonitorTask!]! + getThreadMonitorTaskList(serviceId: ID, endpointName: String, duration: Duration!): [ThreadMonitorTask!]! }