26#ifndef ROUTER_SRC_REST_MRS_SRC_MRS_ENDPOINT_HANDLER_HANDLER_FACTORY_H_
27#define ROUTER_SRC_REST_MRS_SRC_MRS_ENDPOINT_HANDLER_HANDLER_FACTORY_H_
48 std::shared_ptr<mrs::interface::EndpointConfiguration>;
58 std::shared_ptr<handler::PersistentDataContentFile>
86 std::shared_ptr<handler::PersistentDataContentFile> persistent_data)
91 bool requires_authentication,
const Uri &url,
const std::string &
path,
92 const std::string &
file_name,
const std::string &file_content,
93 bool is_index)
override;
96 bool requires_authentication,
const Uri &url,
const std::string &
path,
97 const std::string &
file_name,
const std::string &redirection_path,
98 const bool pernament)
override;
Definition: mysql_cache_manager.h:87
Definition: gtid_manager.h:50
Definition: response_cache.h:64
Definition: mysql_task_monitor.h:41
Definition: slow_query_monitor.h:47
Definition: handler_factory.h:42
std::shared_ptr< Handler > create_content_file(EndpointBasePtr db_object_endpoint, std::shared_ptr< handler::PersistentDataContentFile > persistent_data) override
Definition: handler_factory.cc:336
std::shared_ptr< Handler > create_db_object_openapi_handler(EndpointBasePtr endpoint) override
Definition: handler_factory.cc:311
std::shared_ptr< Handler > create_authentication_login(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:388
MysqlTaskMonitor * task_monitor_
Definition: handler_factory.h:120
SlowQueryMonitor * slow_query_monitor_
Definition: handler_factory.h:119
std::shared_ptr< Handler > create_db_service_debug_handler(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:256
std::shared_ptr< Handler > create_db_object_handler(EndpointBasePtr db_object_endpoint) override
Definition: handler_factory.cc:216
std::shared_ptr< mrs::interface::EndpointConfiguration > EndpointConfigurationPtr
Definition: handler_factory.h:48
MysqlCacheManager * cache_manager_
Definition: handler_factory.h:116
std::shared_ptr< Handler > create_db_service_metadata_handler(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:269
EndpointConfigurationPtr configuration_
Definition: handler_factory.h:121
std::shared_ptr< Handler > create_db_schema_openapi_handler(EndpointBasePtr endpoint) override
Definition: handler_factory.cc:186
ResponseCache * file_cache_
Definition: handler_factory.h:118
std::shared_ptr< Handler > create_redirection_handler(EndpointBasePtr endpoint, const UniversalId &service_id, bool requires_authentication, const Uri &url, const std::string &path, const std::string &file_name, const std::string &redirection_path, const bool pernament) override
Definition: handler_factory.cc:367
ResponseCache * response_cache_
Definition: handler_factory.h:117
std::shared_ptr< Handler > create_authentication_status(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:538
std::shared_ptr< Handler > create_db_service_openapi_handler(EndpointBasePtr endpoint) override
Definition: handler_factory.cc:201
std::shared_ptr< Handler > create_db_schema_metadata_catalog_handler(EndpointBasePtr db_schema_endpoint) override
Definition: handler_factory.cc:171
HandlerFactory(AuthorizeManager *auth_manager, GtidManager *gtid_manager, MysqlCacheManager *cache_manager, ResponseCache *response_cache, ResponseCache *file_cache, SlowQueryMonitor *slow_query_monitor, MysqlTaskMonitor *task_monitor, const EndpointConfigurationPtr &configuration)
Definition: handler_factory.cc:154
std::shared_ptr< Handler > create_authentication_completed(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:448
std::shared_ptr< Handler > create_authentication_logout(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:419
std::shared_ptr< Handler > create_string_handler(EndpointBasePtr endpoint, const UniversalId &service_id, bool requires_authentication, const Uri &url, const std::string &path, const std::string &file_name, const std::string &file_content, bool is_index) override
Definition: handler_factory.cc:351
std::shared_ptr< handler::PersistentDataContentFile > create_persisten_content_file(EndpointBasePtr conent_file_endpoint, const OptionalIndexNames &index_names) override
Definition: handler_factory.cc:326
std::shared_ptr< Handler > create_authentication_auth_apps(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:508
AuthorizeManager * auth_manager_
Definition: handler_factory.h:114
std::shared_ptr< Handler > create_authentication_user(EndpointBasePtr db_service_endpoint) override
Definition: handler_factory.cc:479
std::shared_ptr< Handler > create_db_schema_metadata_handler(EndpointBasePtr db_schema_endpoint) override
Definition: handler_factory.cc:283
GtidManager * gtid_manager_
Definition: handler_factory.h:115
std::shared_ptr< Handler > create_db_object_metadata_handler(EndpointBasePtr db_object_endpoint) override
Definition: handler_factory.cc:297
Definition: authorize_manager.h:58
Definition: handler_factory.h:43
EndpointBase::OptionalIndexNames OptionalIndexNames
Definition: handler_factory.h:50
std::shared_ptr< EndpointBase > EndpointBasePtr
Definition: handler_factory.h:46
static char * path
Definition: mysqldump.cc:150
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:94
collector::MysqlCacheManager MysqlCacheManager
Definition: handler_db_object_table.cc:266
ContentFileEndpoint::UniversalId UniversalId
Definition: content_file_endpoint.cc:39
Definition: authorize_manager.h:48
required string configuration
Definition: replication_asynchronous_connection_failover.proto:49