incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [02/10] git commit: Thrift interface updates.
Date Tue, 23 Sep 2014 12:04:31 GMT
Thrift interface updates.


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

Branch: refs/heads/master
Commit: 9496dc8d2d1df8931314ce790edabe3dafc25a05
Parents: 7103446
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Sep 23 07:59:48 2014 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Sep 23 07:59:48 2014 -0400

----------------------------------------------------------------------
 distribution/src/main/scripts/interface/Blur.thrift | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/9496dc8d/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 d500865..3ab13a8 100644
--- a/distribution/src/main/scripts/interface/Blur.thrift
+++ b/distribution/src/main/scripts/interface/Blur.thrift
@@ -899,6 +899,15 @@ struct CommandStatus {
   5:CommandStatusState state
 }
 
+struct CommandDescriptor {
+  1:string commandName,
+  2:string description,
+  3:map<string, string> requiredArguments,
+  4:map<string, string> optionalArguments,
+  5:string returnType,
+  6:string version
+}
+
 /**
  * The Blur service API.  This API is the same for both controller servers as well as 
  * shards servers.  Each of the methods are documented.
@@ -908,6 +917,11 @@ service Blur {
   // Platform Commands
 
   /**
+   * List the currently installed commands in the server process.
+   */
+  list<CommandDescriptor> listInstalledCommands() throws (1:BlurException ex)
+
+  /**
    * Executes the given command by name on the table with the provided arguments.
    */
   Response execute(1:string commandName, 2:Arguments arguments) throws (1:BlurException bex,
2:TimeoutException tex)


Mime
View raw message