|
ORE Studio 0.0.4
|
Request to publish one or more datasets to production tables. More...
#include <publication_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< publish_datasets_request, ores::utility::serialization::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| std::vector< boost::uuids::uuid > | dataset_ids |
| IDs of datasets to publish. | |
| domain::publication_mode | mode = domain::publication_mode::upsert |
| Publication mode. | |
| std::string | published_by |
| Username of person initiating publication. | |
| bool | resolve_dependencies = true |
| If true, automatically include and publish dependencies first. | |
| bool | atomic = true |
| If true, first failure causes entire publication to abort. | |
Request to publish one or more datasets to production tables.
This triggers the publication workflow:
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format:
| domain::publication_mode mode = domain::publication_mode::upsert |
Publication mode.
Controls how existing data is handled:
| bool atomic = true |
If true, first failure causes entire publication to abort.
In atomic mode, all datasets succeed or all fail together. Defaults to true for safer behavior.