Skip to content

Commit

Permalink
Merge pull request #13 from centreon/enginemerge
Browse files Browse the repository at this point in the history
enh(engine_impl/client/tests) : add DeleteComment for a host & service
  • Loading branch information
tmpaccount01 committed Jun 15, 2020
2 parents 08c223e + 6c67651 commit 4dfb1ff
Show file tree
Hide file tree
Showing 5 changed files with 445 additions and 40 deletions.
6 changes: 6 additions & 0 deletions include/com/centreon/engine/engine_impl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ class engine_impl final : public Engine::Service {
grpc::Status GetService(grpc::ServerContext* context,
const ServiceIdentifier* request,
EngineService* response) override;
grpc::Status DeleteAllServiceComments(grpc::ServerContext* context,
const ServiceIdentifier* request,
CommandSuccess* response) override;
grpc::Status DeleteAllHostComments(grpc::ServerContext* context,
const HostIdentifier* request,
CommandSuccess* response) override;
};

CCE_END()
Expand Down
2 changes: 2 additions & 0 deletions src/cce_rpc/engine.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ service Engine {
rpc ProcessHostCheckResult(Check) returns (CommandSuccess) {}

rpc NewThresholdsFile(ThresholdsFile) returns (CommandSuccess) {}
rpc DeleteAllServiceComments(ServiceIdentifier) returns (CommandSuccess) {}
rpc DeleteAllHostComments(HostIdentifier) returns (CommandSuccess) {}
}

message GenericString {
Expand Down
Loading

0 comments on commit 4dfb1ff

Please sign in to comment.