MySQL 8.0.40
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/logging.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysqlrouter/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::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 const std::array< const char *, 2 > | 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 |
|
static |