20#ifndef ORES_DQ_CORE_SERVICE_FSM_SERVICE_HPP
21#define ORES_DQ_CORE_SERVICE_FSM_SERVICE_HPP
25#include "ores.logging/make_logger.hpp"
26#include "ores.database/domain/context.hpp"
27#include "ores.dq.api/domain/fsm_state.hpp"
29namespace ores::dq::service {
39 inline static std::string_view logger_name =
"ores.dq.service.fsm_service";
41 [[nodiscard]]
static auto& lg() {
43 static auto instance = make_logger(logger_name);
58 std::vector<domain::fsm_state>
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Context for the operations on a postgres database.
Definition context.hpp:47
Read-only service for FSM states.
Definition fsm_service.hpp:37
std::vector< domain::fsm_state > list_states_for_machine(const std::string &machine_name)
Lists all current FSM states for the named machine.
Definition fsm_service.cpp:56
std::vector< domain::fsm_state > list_all_states()
Lists all current FSM states across all machines.
Definition fsm_service.cpp:90