return check_caps(s->user->get_caps());
}
void send_response() override;
- virtual void send_response(list<rgw_bi_log_entry>& entries, string& marker);
+ virtual void send_response(std::list<rgw_bi_log_entry>& entries, std::string& marker);
virtual void send_response_end();
void execute(optional_yield y) override;
const char* name() const override {
};
class RGWOp_BILog_Info : public RGWRESTOp {
- string bucket_ver;
- string master_ver;
- string max_marker;
+ std::string bucket_ver;
+ std::string master_ver;
+ std::string max_marker;
bool syncstopped;
public:
RGWOp_BILog_Info() : bucket_ver(), master_ver(), syncstopped(false) {}
};
class RGWOp_MDLog_List : public RGWRESTOp {
- list<cls_log_entry> entries;
- string last_marker;
+ std::list<cls_log_entry> entries;
+ std::string last_marker;
bool truncated;
public:
RGWOp_MDLog_List() : truncated(false) {}
const char* name() const override {
return "mdlog_notify";
}
+ RGWOpType get_type() override { return RGW_OP_SYNC_MDLOG_NOTIFY; }
};
class RGWOp_MDLog_Delete : public RGWRESTOp {
const char* name() const override {
return "datalog_notify";
}
+ RGWOpType get_type() override { return RGW_OP_SYNC_DATALOG_NOTIFY; }
};
class RGWOp_DATALog_Delete : public RGWRESTOp {
RGWRESTMgr_Log() = default;
~RGWRESTMgr_Log() override = default;
- RGWHandler_REST* get_handler(rgw::sal::RGWRadosStore *store,
+ RGWHandler_REST* get_handler(rgw::sal::Store* store,
struct req_state* const,
const rgw::auth::StrategyRegistry& auth_registry,
const std::string& frontend_prefixs) override {