20#ifndef ORES_ORE_API_MESSAGING_ORE_IMPORT_PROTOCOL_HPP
21#define ORES_ORE_API_MESSAGING_ORE_IMPORT_PROTOCOL_HPP
27namespace ores::ore::messaging {
50 static constexpr std::string_view nats_subject =
"workflow.v1.ore.import";
67 std::vector<ore_import_item_error> item_errors;
Error for a single item within an ORE import.
Definition ore_import_protocol.hpp:36
std::string item_id
Trade ID, ISO code, series key, etc.
Definition ore_import_protocol.hpp:38
std::string message
Human-readable error from the downstream service.
Definition ore_import_protocol.hpp:39
std::string source_file
Relative path within the unpacked ORE directory.
Definition ore_import_protocol.hpp:37
Request to import an ORE directory that has been uploaded to storage.
Definition ore_import_protocol.hpp:48
std::string correlation_id
Propagated from the Qt client for log correlation.
Definition ore_import_protocol.hpp:54
std::string import_choices_json
JSON-serialised import_choices.
Definition ore_import_protocol.hpp:53
std::string request_id
UUID; also the storage key root.
Definition ore_import_protocol.hpp:52
Response for an ore_import_request.
Definition ore_import_protocol.hpp:64
std::string correlation_id
Echoed back for display and log lookup.
Definition ore_import_protocol.hpp:68
std::string workflow_instance_id
Workflow instance UUID, non-empty when the import was dispatched asynchronously via the workflow engi...
Definition ore_import_protocol.hpp:76