Skip to content

Commit

Permalink
Merge pull request elastic#411 from Yannick-Polius/feature/disable_lu…
Browse files Browse the repository at this point in the history
…a_rules_v0

Feature/disable lua rules v0
  • Loading branch information
Shweta Bhandare authored and Shweta Bhandare committed Sep 18, 2015
2 parents 229605a + e048acd commit 400a9a3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions protofiles/DeepScriptIOMsg.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package protoMsg;

option java_package = "com.logrhythm.nm.message";
option java_outer_classname = "DeepScriptIOMessage";

message DeepScriptIOMsg {
required string rule = 1;
required string location = 2;
required bool notify = 3;
optional string subscriber = 4;
}
1 change: 1 addition & 0 deletions protofiles/LuaDefinedRule.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ message LuaDefinedRule {
optional uint64 last_modified_date = 9;
optional bool visible_and_downloadable = 10;
optional bool editable = 11;
optional string error = 12;
}


Expand Down
2 changes: 2 additions & 0 deletions scripts/buildProtoFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ cd "$cppSrcDir"
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libprocess "$protoFileDir"/ProcessReply.proto
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libcommand "$protoFileDir"/DriveInfo.proto
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libcommand "$protoFileDir"/LuaDefinedRule.proto
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libcommand "$protoFileDir"/DeepScriptIOMsg.proto
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libcommand "$protoFileDir"/ConfigDefaults.proto
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libcommand "$protoFileDir"/ConfigDefaultsRequest.proto
"$protoc" -I="$protoFileDir":$thirdPartyDir:/usr/include:$DISTDIR/protobuf/include --cpp_out=libfork "$protoFileDir"/ForkerReply.proto
Expand Down Expand Up @@ -111,6 +112,7 @@ mv libprocess/ProcessRequest.pb.cc libprocess/ProcessRequest.pb.cpp
mv libprocess/ProcessReply.pb.cc libprocess/ProcessReply.pb.cpp
mv libcommand/DriveInfo.pb.cc libcommand/DriveInfo.pb.cpp
mv libcommand/LuaDefinedRule.pb.cc libcommand/LuaDefinedRule.pb.cpp
mv libcommand/DeepScriptIOMsg.pb.cc libcommand/DeepScriptIOMsg.pb.cpp

mv libcommand/ConfigDefaults.pb.cc libcommand/ConfigDefaults.pb.cpp
mv libcommand/ConfigDefaultsRequest.pb.cc libcommand/ConfigDefaultsRequest.pb.cpp
Expand Down

0 comments on commit 400a9a3

Please sign in to comment.