|
ORE Studio 0.0.4
|
Represents a pure server environment (host + port only, no credentials). More...
#include <environment.hpp>

Public Attributes | |
| boost::uuids::uuid | id |
| Unique identifier for this environment. | |
| std::optional< boost::uuids::uuid > | folder_id |
| Folder this environment belongs to. | |
| std::string | name |
| Display name for this environment. | |
| std::string | host |
| Host name or IP address of the server. | |
| int | port {0} |
| Port number the NATS server is listening on. | |
| int | http_port {8080} |
| Port number the HTTP server is listening on. | |
| std::string | description |
| Optional description or notes about this environment. | |
| std::string | subject_prefix |
| NATS subject namespace for this environment. | |
Represents a pure server environment (host + port only, no credentials).
An environment captures where to connect — host and port — without any credential information. Connections may be linked to an environment so that host/port are resolved live rather than stored redundantly.
Environments are organized into folders and can be tagged for flexible categorization.
| std::optional<boost::uuids::uuid> folder_id |
Folder this environment belongs to.
If empty, the environment is at the root level.
| int http_port {8080} |
Port number the HTTP server is listening on.
Used by the Qt client to construct the HTTP base URL for package upload and download. Defaults to 8080.
| std::string subject_prefix |
NATS subject namespace for this environment.
When non-empty, prepended to every outbound NATS subject to isolate this environment from others sharing the same broker. Format: "ores.{tier}.{instance}", e.g. "ores.dev.local1".