20#ifndef ORES_DQ_API_MESSAGING_FSM_PROTOCOL_HPP
21#define ORES_DQ_API_MESSAGING_FSM_PROTOCOL_HPP
26#include "ores.dq.api/domain/fsm_state.hpp"
27#include "ores.dq.api/domain/fsm_transition.hpp"
29namespace ores::dq::messaging {
46 using response_type =
struct get_fsm_states_response;
47 static constexpr std::string_view nats_subject =
"dq.v1.fsm-states.list";
48 std::string machine_name;
51struct get_fsm_states_response {
54 std::vector<ores::dq::domain::fsm_state> states;
72 using response_type =
struct get_fsm_transitions_response;
73 static constexpr std::string_view nats_subject =
"dq.v1.fsm-transitions.list";
74 std::string machine_name;
77struct get_fsm_transitions_response {
80 std::vector<ores::dq::domain::fsm_transition> transitions;
Lists FSM states, optionally filtered by machine name.
Definition fsm_protocol.hpp:45
Lists FSM transitions, optionally filtered by machine name.
Definition fsm_protocol.hpp:71