|
ORE Studio 0.0.4
|
Manages commands related to variability subsystem. More...
#include <variability_commands.hpp>

Static Public Member Functions | |
| static void | register_commands (cli::Menu &root_menu, ores::nats::service::nats_client &session) |
| Register variability-related commands. | |
| static void | process_list_settings (std::ostream &out, ores::nats::service::nats_client &session) |
| Process a list settings request. | |
| static void | process_save_setting (std::ostream &out, ores::nats::service::nats_client &session, std::string name, std::string value, std::string data_type, std::string description, std::string change_reason_code, std::string change_commentary) |
| Process a save setting request. | |
| static void | process_delete_setting (std::ostream &out, ores::nats::service::nats_client &session, std::string name) |
| Process a delete setting request. | |
| static void | process_get_setting_history (std::ostream &out, ores::nats::service::nats_client &session, std::string name) |
| Process a get setting history request. | |
Manages commands related to variability subsystem.
Handles system settings, configuration toggles, and other variability-related operations.
|
static |
Register variability-related commands.
Creates the variability submenu and adds variability operations.
|
static |
Process a list settings request.
Retrieves all system settings from the server and displays them.
| out | Output stream for results |
| session | Client session for connectivity. |

|
static |
Process a save setting request.
Creates or updates a system setting with the provided details.
| out | Output stream for results |
| session | Client session for connectivity. |
| name | Unique setting name |
| value | Setting value |
| data_type | Setting data type (boolean, integer, string, json) |
| description | Human-readable description |
| change_reason_code | Code identifying the reason for the change |
| change_commentary | Free-text commentary |

|
static |
Process a delete setting request.
Deletes a system setting by its name. Requires authentication.
| out | Output stream for results |
| session | Client session for connectivity. |
| name | Name of the setting to delete |

|
static |
Process a get setting history request.
Retrieves the version history for a system setting by its name.
| out | Output stream for results |
| session | Client session for connectivity. |
| name | Name of the setting |
