incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/4] git commit: Changing Thrift API and adding argumentdescription object.
Date Wed, 01 Oct 2014 13:56:33 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/master 27107abff -> 546d2de83


Changing Thrift API and adding argumentdescription object.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/4ffb9943
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/4ffb9943
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/4ffb9943

Branch: refs/heads/master
Commit: 4ffb9943176de74f1b5aff89b751f74f11636591
Parents: 27107ab
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Oct 1 09:54:49 2014 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Oct 1 09:54:49 2014 -0400

----------------------------------------------------------------------
 distribution/src/main/scripts/interface/Blur.thrift | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/4ffb9943/distribution/src/main/scripts/interface/Blur.thrift
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/Blur.thrift b/distribution/src/main/scripts/interface/Blur.thrift
index 3ab13a8..60e757e 100644
--- a/distribution/src/main/scripts/interface/Blur.thrift
+++ b/distribution/src/main/scripts/interface/Blur.thrift
@@ -899,11 +899,17 @@ struct CommandStatus {
   5:CommandStatusState state
 }
 
+struct ArgumentDescriptor {
+  1:string name,
+  2:string type,
+  3:string description
+}
+
 struct CommandDescriptor {
   1:string commandName,
   2:string description,
-  3:map<string, string> requiredArguments,
-  4:map<string, string> optionalArguments,
+  3:map<string, ArgumentDescriptor> requiredArguments,
+  4:map<string, ArgumentDescriptor> optionalArguments,
   5:string returnType,
   6:string version
 }


Mime
View raw message