20#ifndef ORES_VARIABILITY_SERVICE_SYSTEM_FLAGS_SEEDER_HPP
21#define ORES_VARIABILITY_SERVICE_SYSTEM_FLAGS_SEEDER_HPP
24#include "ores.utility/log/make_logger.hpp"
25#include "ores.database/domain/context.hpp"
26#include "ores.variability/service/feature_flags_service.hpp"
28namespace ores::variability::service {
45 inline static std::string_view logger_name =
46 "ores.variability.service.system_flags_seeder";
48 [[nodiscard]]
static auto& lg() {
50 static auto instance = make_logger(logger_name);
Implements logging for ORE Studio.
Definition lifecycle_manager.hpp:30
Context for the operations on a postgres database.
Definition context.hpp:30
Service for managing feature flags.
Definition feature_flags_service.hpp:39
Seeds system flags in the database at startup.
Definition system_flags_seeder.hpp:43
std::size_t seed()
Seeds all system flags into the database.
Definition system_flags_seeder.cpp:31