|
static void | append_no_referrer (::http::base::Headers *headers) |
|
static const char * | get_authentication_status (HttpStatusCode::key_type code) |
|
static std::string | impl_get_json_response (const HttpStatusCode::key_type k_status, const char *message) |
|
static HttpResult | get_json_response_ok () |
|
template<typename T > |
static std::string | as_string (const std::vector< T > &v) |
|
template<typename T > |
static std::string | as_string (const std::vector< T > &v) |
|
std::string | regex_path_schema_catalog (const std::string &service_schema_path) |
|
std::string | url_obj_metadata_catalog (const ::http::base::Uri &uri, std::string obj_name) |
|
std::string | url_sch_metadata_catalog (const ::http::base::Uri &uri) |
|
std::string | regex_path_obj_metadata_catalog (const std::string &service_schema_path, const std::string &obj_name) |
|
std::string | regex_path_service_debug (const std::string &service_path) |
|
std::string | regex_path_service_metadata (const std::string &service_path) |
|
std::string | regex_path_schema_metadata (const std::string &service_schema_path) |
|
std::string | regex_path_object_metadata (const std::string &service_schema_path, const std::string &obj_name) |
|
std::string | regex_path_obj_openapi_swagger (const std::string &service_schema_path, const std::string &obj_name) |
|
std::string | regex_path_schema_openapi_swagger (const std::string &service_schema_path) |
|
std::string | regex_path_schema_openapi_swagger_alias (const std::string &service_name, const std::string &schema_name) |
|
std::string | regex_path_service_openapi_swagger (const std::string &service_path) |
|
std::string | regex_path_db_object (const std::string &object_path) |
|
std::vector< std::string > | regex_path_db_object_with_index (const std::string &object_path, const std::string &service_schema_path, const bool is_index) |
|
std::vector< std::string > | regex_path_file (std::string service_schema_path, const std::string &object_path, bool is_index) |
|
std::string | remove_leading_slash_from_path (const std::string &path) |
|
std::vector< std::string > | regex_path_content_file (const std::string &service_schema_path) |
|
template<typename Type > |
std::shared_ptr< Type > | lock_or_throw_unavail (std::weak_ptr< Type > &endpoint) |
|
template<typename Type > |
std::shared_ptr< Type > | lock (const std::weak_ptr< Type > &endpoint) |
|
template<typename Type > |
const std::shared_ptr< Type > & | lock (std::shared_ptr< Type > &endpoint) |
|
std::string | get_endpoint_host (const ::http::base::Uri &url) |
|
std::string | get_endpoint_host (std::weak_ptr< mrs::interface::EndpointBase > wp) |
|
std::shared_ptr< DbSchemaEndpoint > | lock_parent (const std::shared_ptr< DbObjectEndpoint > &endpoint) |
|
std::shared_ptr< DbServiceEndpoint > | lock_parent (const std::shared_ptr< DbSchemaEndpoint > &endpoint) |
|
std::shared_ptr< ContentSetEndpoint > | lock_parent (ContentFileEndpoint *endpoint) |
|
std::shared_ptr< ContentSetEndpoint > | lock_parent (const std::shared_ptr< ContentFileEndpoint > &endpoint) |
|
std::shared_ptr< DbServiceEndpoint > | lock_parent (const std::shared_ptr< ContentSetEndpoint > &endpoint) |
|
std::optional< std::string > | merge_options (std::optional< std::string > options, std::optional< std::string > parent_options) |
|
std::optional< std::string > | get_endpoint_options (const std::shared_ptr< DbServiceEndpoint > &endpoint) |
|
std::optional< std::string > | get_endpoint_options (const std::shared_ptr< DbSchemaEndpoint > &endpoint) |
|
std::optional< std::string > | get_endpoint_options (const std::shared_ptr< DbObjectEndpoint > &endpoint) |
|
std::optional< std::string > | get_endpoint_options (const std::shared_ptr< ContentSetEndpoint > &endpoint) |
|
std::optional< std::string > | get_endpoint_options (const std::shared_ptr< ContentFileEndpoint > &endpoint) |
|
Protocols | get_endpoint_protocol (std::shared_ptr< DbServiceEndpoint > &endpoint) |
|
template<typename Endpoint > |
Protocols | get_endpoint_protocol (std::shared_ptr< Endpoint > &endpoint) |
|
UsedProtocol | get_properly_configured_used_protocol (const std::set< std::string > &protocols, const mrs::interface::EndpointConfiguration *configuration) |
|
Protocol | get_properly_configured_protocol (const std::set< std::string > &protocols, const mrs::interface::EndpointConfiguration *configuration) |
|
void | add_protocol_to_host (UsedProtocol protocol, ::http::base::Uri *uri) |
|
template<typename EndpointPtr > |
Protocol | get_protocol (EndpointPtr endpoint) |
|
static CachedObject | get_session (MySQLSession session, MysqlCacheManager *cache_manager, MySQLConnection type=MySQLConnection::kMySQLConnectionMetadataRO) |
|
std::string | get_endpoint_url (std::weak_ptr< mrs::endpoint::DbObjectEndpoint > &wp) |
|
std::string | get_path_after_object_name (const ::http::base::Uri &base_uri, const ::http::base::Uri &requests_uri) |
|
std::string | get_path_after_object_name (std::weak_ptr< mrs::endpoint::DbObjectEndpoint > &wp, const ::http::base::Uri &requests_uri) |
|
mysqlrouter::sqlstring | get_sql_format (DataType type) |
|
HttpResult | handler_mysqlerror (const mysqlrouter::MySQLSession::Error &e, const char *sql_state) |
|
mysqlrouter::sqlstring | get_user_id (rest::RequestContext *ctxt, bool required) |
|