6#include <userver/dynamic_config/impl/default_config_path.hpp>
7#include <userver/dynamic_config/impl/test_helpers.hpp>
8#include <userver/dynamic_config/source.hpp>
9#include <userver/dynamic_config/storage_mock.hpp>
11USERVER_NAMESPACE_BEGIN
13namespace dynamic_config {
15#if defined(DEFAULT_DYNAMIC_CONFIG_FILENAME) || defined(DOXYGEN)
17inline dynamic_config::Source GetDefaultSource() {
18 return impl::GetDefaultSource(DEFAULT_DYNAMIC_CONFIG_FILENAME);
22inline const dynamic_config::Snapshot& GetDefaultSnapshot() {
23 return impl::GetDefaultSnapshot(DEFAULT_DYNAMIC_CONFIG_FILENAME);
27inline dynamic_config::StorageMock MakeDefaultStorage(
28 const std::vector<dynamic_config::KeyValue>& overrides) {
29 return impl::MakeDefaultStorage(DEFAULT_DYNAMIC_CONFIG_FILENAME, overrides);
35inline const dynamic_config::DocsMap& GetDefaultDocsMap() {
36 return dynamic_config::impl::GetDefaultDocsMap(
37 DEFAULT_DYNAMIC_CONFIG_FILENAME);