From 1ce1c1e32254d5cc0e360c5ecc959dc944216b82 Mon Sep 17 00:00:00 2001 From: mrproliu <741550557@qq.com> Date: Sat, 28 Dec 2019 23:35:15 +0800 Subject: [PATCH] Profile bug fix (#22) * rename profile GraphQL file name * 1. change ThreadMonitorTaskCreationResult data type 2. change method name --- profile.graphql => profile.graphqls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename profile.graphql => profile.graphqls (89%) diff --git a/profile.graphql b/profile.graphqls similarity index 89% rename from profile.graphql rename to profile.graphqls index c70e1a2..599859a 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!]! } -- GitLab