提交 231ff105 编写于 作者: wu-sheng's avatar wu-sheng

Bind v6 query to query-protocol git repo.

上级 f2811800
......@@ -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
......@@ -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();
......
Subproject commit ebbeb721d95bba8ee63bc2e706e877ee3a56433e
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册