MySQL 9.1.0
Source Code Documentation
|
#include <array>
#include <atomic>
#include <chrono>
#include <string>
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <rapidjson/writer.h>
#include "mysql/harness/config_parser.h"
#include "mysql/harness/logging/logger.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/utility/string.h"
#include "http/base/request.h"
#include "mysqlrouter/component/http_server_component.h"
#include "mysqlrouter/mock_server_component.h"
#include "scope_guard.h"
Classes | |
class | RestApiV1MockServerGlobals |
class | RestApiV1MockServerConnections |
Macros | |
#define | DLLEXPORT |
Typedefs | |
using | JsonDocument = rapidjson::GenericDocument< rapidjson::UTF8<>, rapidjson::CrtAllocator > |
using | JsonValue = rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::CrtAllocator > |
Functions | |
static const char * | http_method_to_string (const HttpMethod::key_type method) |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | run (mysql_harness::PluginFuncEnv *env) |
Variables | |
static constexpr const char | kSectionName [] {"rest_mock_server"} |
static constexpr const char | kRestGlobalsUri [] {"^/api/v1/mock_server/globals/$"} |
static constexpr const char | kRestConnectionsUri [] |
static constexpr std::array | plugin_requires |
mysql_harness::Plugin DLLEXPORT | harness_plugin_rest_mock_server |
#define DLLEXPORT |
using JsonDocument = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::CrtAllocator> |
using JsonValue = rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::CrtAllocator> |
|
static |
|
static |
|
static |
mysql_harness::Plugin DLLEXPORT harness_plugin_rest_mock_server |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |