提交 1ce1c1e3 编写于 作者: 静夜思朝颜's avatar 静夜思朝颜 提交者: wu-sheng

Profile bug fix (#22)

* rename profile GraphQL file name

* 1. change ThreadMonitorTaskCreationResult data type
2. change method name
上级 15246fa4
......@@ -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!]!
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册