Skip to content

Commit

Permalink
Fixed the startup failure cause by query protocol. (apache#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
peng-yongsheng authored and wu-sheng committed Sep 4, 2018
1 parent b12a4e6 commit 73679fc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@
package org.apache.skywalking.oap.query.graphql.resolver;

import com.coxautodev.graphql.tools.GraphQLQueryResolver;
import java.util.Collections;
import java.util.List;
import org.apache.skywalking.oap.query.graphql.type.TopNCondition;
import org.apache.skywalking.oap.query.graphql.type.TopNEntity;
import java.util.*;
import org.apache.skywalking.oap.query.graphql.type.*;

public class AggregationQuery implements GraphQLQueryResolver {
public List<TopNEntity> getTopN(final TopNCondition condition) {
public List<TopNEntity> getTopN(final TopNCondition condition, final Duration duration) {
return Collections.emptyList();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
public class Call {
private String source;
private String target;
private boolean isAlert;
private String callType;
private long cpm;
private long avgResponseTime;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

public class ClusterBrief {
private int numOfService;
private int numOfServiceInstance;
private int numOfEndpoint;
private int numOfDatabase;
private int numOfCache;
private int numOfMQ;
Expand Down
2 changes: 1 addition & 1 deletion skywalking-ui

0 comments on commit 73679fc

Please sign in to comment.