You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by kd...@apache.org on 2019/09/22 03:29:20 UTC

[skywalking-query-protocol] branch query-server-time-info created (now 386b419)

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

kdump pushed a change to branch query-server-time-info
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git.


      at 386b419  add query server time info

This branch includes the following new commits:

     new c39bc9f  add query server time info
     new 386b419  add query server time info

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-query-protocol] 01/02: add query server time info

Posted by kd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kdump pushed a commit to branch query-server-time-info
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git

commit c39bc9f3f174f87fa6a830ac13f13719cf8129e1
Author: x22x22 <ro...@gmail.com>
AuthorDate: Sun Sep 22 11:28:15 2019 +0800

    add query server time info
---
 .graphqlconfig | 15 +++++++++++++++
 scalar.graphql |  1 +
 time.graphqls  | 24 ++++++++++++++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/.graphqlconfig b/.graphqlconfig
new file mode 100644
index 0000000..a5d6356
--- /dev/null
+++ b/.graphqlconfig
@@ -0,0 +1,15 @@
+{
+  "name": "Skywalking GraphQL Schema",
+  "schemaPath": "schema.graphql",
+  "extensions": {
+    "endpoints": {
+      "Dev GraphQL Endpoint": {
+        "url": "http://localhost:12800/graphql",
+        "headers": {
+          "user-agent": "JS GraphQL"
+        },
+        "introspect": false
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/scalar.graphql b/scalar.graphql
new file mode 100644
index 0000000..2113d07
--- /dev/null
+++ b/scalar.graphql
@@ -0,0 +1 @@
+scalar Long
\ No newline at end of file
diff --git a/time.graphqls b/time.graphqls
new file mode 100644
index 0000000..9a5c536
--- /dev/null
+++ b/time.graphqls
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+type TimeInfo {
+    timezone: String
+    timestamp: Long
+}
+
+extend type Query {
+    getTimeInfo: TimeInfo
+}


[skywalking-query-protocol] 02/02: add query server time info

Posted by kd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kdump pushed a commit to branch query-server-time-info
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git

commit 386b419ab3a472053d5b82190d4c4b23834344c2
Author: x22x22 <ro...@gmail.com>
AuthorDate: Sun Sep 22 11:29:02 2019 +0800

    add query server time info
---
 scalar.graphql | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/scalar.graphql b/scalar.graphql
index 2113d07..b77c388 100644
--- a/scalar.graphql
+++ b/scalar.graphql
@@ -1 +1,17 @@
-scalar Long
\ No newline at end of file
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+scalar Long