Update metadata.graphqls 3/head
author彭勇升 pengys <8082209@qq.com>
Sun, 23 Sep 2018 03:18:45 +0000 (11:18 +0800)
committerGitHub <noreply@github.com>
Sun, 23 Sep 2018 03:18:45 +0000 (11:18 +0800)
Delete the parameter named duration in searchService method. Do not need duration to query service by exact-match.

metadata.graphqls

index cd94a53..e0774e7 100644 (file)
@@ -51,7 +51,7 @@ extend type Query {
     # Service related meta info.
     getAllServices(duration: Duration!): [Service!]!
     searchServices(duration: Duration!, keyword: String!): [Service!]!
-    searchService(duration: Duration!, serviceCode: String!): Service
+    searchService(serviceCode: String!): Service
 
     # Service intance query
     getServiceInstances(duration: Duration!, id: ID!): [ServiceInstance!]!