You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/12/28 15:35:23 UTC

[skywalking-query-protocol] branch master updated: Profile bug fix (#22)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ce1c1e  Profile bug fix (#22)
1ce1c1e is described below

commit 1ce1c1e32254d5cc0e360c5ecc959dc944216b82
Author: mrproliu <74...@qq.com>
AuthorDate: Sat Dec 28 23:35:15 2019 +0800

    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(-)

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!]!
 }