Skip to content

Commit

Permalink
Merge pull request elastic#370 from Tom-Artale/config-ux
Browse files Browse the repository at this point in the history
Config ux
  • Loading branch information
Tom Artale authored and Tom Artale committed Jul 13, 2015
2 parents 468f919 + 79553e7 commit 0981e63
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 40 deletions.
21 changes: 21 additions & 0 deletions protofiles/configelements/ConfigBulkReply.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package configelements;

option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ConfigBulkReplyMsg";
import "ConfigTypeMessagePair.proto";




message ConfigBulkReply {
enum ReplyType {
SUCCESS = 0;
ERROR = 1;
}

optional ReplyType replyType = 1;
optional string errorMessage = 2;
// DEPRECATED optional ConfigTypeMsg.ConfigType configType = 3;
// DEPRECATED optional bytes serializedConfigMessage = 4;
repeated ConfigTypeMessagePair serializedConfigMessages = 5;
}
20 changes: 20 additions & 0 deletions protofiles/configelements/ConfigBulkRequest.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package configelements;

option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ConfigBulkRequestMsg";
import "ConfigTypeMessagePair.proto";


message ConfigBulkRequest {

enum RequestType {
READ_ALL = 0;
WRITE_ALL = 1;
}

optional RequestType requestType = 1;
// DEPRECATED optional ConfigTypeMsg.ConfigType configType = 2;
optional string override = 3;
// DEPRECATED optional bytes serializedConfigMessage = 4;
repeated ConfigTypeMessagePair serializedConfigMessages = 5;
}
20 changes: 0 additions & 20 deletions protofiles/configelements/ConfigReply.proto

This file was deleted.

20 changes: 0 additions & 20 deletions protofiles/configelements/ConfigRequest.proto

This file was deleted.

10 changes: 10 additions & 0 deletions protofiles/configelements/ConfigTypeMessagePair.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package configelements;

option java_package = "com.logrhythm.configelements";
option java_outer_classname = "ConfigTypeMessagePairMsg";
import "ConfigType.proto";

message ConfigTypeMessagePair {
optional ConfigTypeMsg.ConfigType configType = 1;
optional bytes serializedConfigMessage = 2;
}

0 comments on commit 0981e63

Please sign in to comment.