|
ORE Studio 0.0.4
|
Request to publish all datasets in a bundle. More...
#include <publish_bundle_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< publish_bundle_request, ores::utility::serialization::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| std::string | bundle_code |
| Code of the bundle to publish (e.g., 'base', 'solvaris'). | |
| domain::publication_mode | mode = domain::publication_mode::upsert |
| Publication mode. | |
| std::string | published_by |
| Username of person initiating publication. | |
| bool | atomic = true |
| If true, first failure causes entire bundle to rollback. | |
Request to publish all datasets in a bundle.
This request triggers the bundle publication workflow which:
| 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 bundle to rollback.
In atomic mode, all datasets succeed or all fail together. Defaults to true for safer behavior.