This is an automated email from the ASF dual-hosted git repository. ywang pushed a commit to branch new in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-query-protocol.git
commit 99681cd92c573b2f8074e313e5b0d99e1132e51f Author: TinyAllen <allen.wang....@outlook.com> AuthorDate: Thu Jan 31 12:55:24 2019 +0800 Update: update database-query-protocol --- database.graphqls | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/database.graphqls b/database.graphqls new file mode 100644 index 0000000..1e4d888 --- /dev/null +++ b/database.graphqls @@ -0,0 +1,29 @@ +# 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. + +# Query the cluster brief based on the given duration + +type Database { + id: ID! + name: String! +} + +extend type Query { + + # Database related meta info. + getAllDatabases(duration: Duration!): [Database!]! + +}