Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
killuaz丶x
SkyWalking
提交
231ff105
S
SkyWalking
项目概览
killuaz丶x
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
231ff105
编写于
9月 03, 2018
作者:
wu-sheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Bind v6 query to query-protocol git repo.
上级
f2811800
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
7 deletion
+11
-7
.gitmodules
.gitmodules
+3
-0
oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/GraphQLQueryProvider.java
...he/skywalking/oap/query/graphql/GraphQLQueryProvider.java
+7
-7
oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol
...in/query-graphql-plugin/src/main/resources/query-protocol
+1
-0
未找到文件。
.gitmodules
浏览文件 @
231ff105
...
...
@@ -4,3 +4,6 @@
[submodule "apm-protocol/apm-network/src/main/proto"]
path = apm-protocol/apm-network/src/main/proto
url = https://github.com/apache/incubator-skywalking-data-collect-protocol.git
[submodule "oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol"]
path = oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol
url = https://github.com/apache/incubator-skywalking-query-protocol.git
oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/GraphQLQueryProvider.java
浏览文件 @
231ff105
...
...
@@ -63,19 +63,19 @@ public class GraphQLQueryProvider extends ModuleProvider {
@Override
public
void
prepare
()
throws
ServiceNotProvidedException
,
ModuleStartException
{
GraphQLSchema
schema
=
SchemaParser
.
newParser
()
.
file
(
"
ui-graphql-v6
/common.graphqls"
)
.
file
(
"
query-protocol
/common.graphqls"
)
.
resolvers
(
new
Query
(),
new
Mutation
())
.
file
(
"
ui-graphql-v6
/metadata.graphqls"
)
.
file
(
"
query-protocol
/metadata.graphqls"
)
.
resolvers
(
new
MetadataQuery
())
.
file
(
"
ui-graphql-v6
/metric.graphqls"
)
.
file
(
"
query-protocol
/metric.graphqls"
)
.
resolvers
(
new
MetricQuery
())
.
file
(
"
ui-graphql-v6
/topology.graphqls"
)
.
file
(
"
query-protocol
/topology.graphqls"
)
.
resolvers
(
new
TopologyQuery
())
.
file
(
"
ui-graphql-v6
/trace.graphqls"
)
.
file
(
"
query-protocol
/trace.graphqls"
)
.
resolvers
(
new
TraceQuery
())
.
file
(
"
ui-graphql-v6
/aggregation.graphqls"
)
.
file
(
"
query-protocol
/aggregation.graphqls"
)
.
resolvers
(
new
AggregationQuery
())
.
file
(
"
ui-graphql-v6
/alarm.graphqls"
)
.
file
(
"
query-protocol
/alarm.graphqls"
)
.
resolvers
(
new
AlarmQuery
())
.
build
()
.
makeExecutableSchema
();
...
...
query-protocol
@
ebbeb721
Subproject commit ebbeb721d95bba8ee63bc2e706e877ee3a56433e
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录