ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
ore_import_rollback_request Struct Reference

Workflow compensation command: roll back a completed ORE import. More...

#include <ore_import_engine_protocol.hpp>

Collaboration diagram for ore_import_rollback_request:
Collaboration graph

Public Attributes

std::string correlation_id
 
std::string bearer_token
 Caller's JWT — used for delegated NATS calls.
 
std::vector< std::string > saved_currency_iso_codes
 
std::vector< std::string > saved_portfolio_ids
 
std::vector< std::string > saved_book_ids
 
std::vector< std::string > saved_trade_ids
 

Static Public Attributes

static constexpr std::string_view nats_subject = "ore.v1.ore.import.rollback"
 

Detailed Description

Workflow compensation command: roll back a completed ORE import.

Published by the workflow engine to ore.v1.ore.import.rollback when step 0 compensation is triggered. The handler deletes all saved entities in reverse order and calls publish_step_completion.