using StellaOps.Router.Common; namespace StellaOps.Microservice; /// /// Options for configuring a Stella microservice. /// public sealed class StellaMicroserviceOptions { /// /// Gets or sets the service name. /// public required string ServiceName { get; set; } /// /// Gets or sets the semantic version. /// public required string Version { get; set; } /// /// Gets or sets the region where this instance is deployed. /// public required string Region { get; set; } /// /// Gets or sets the unique instance identifier. /// public string InstanceId { get; set; } = Guid.NewGuid().ToString("N"); /// /// Gets the router endpoints to connect to. /// At least one router endpoint is required. /// public List Routers { get; set; } = []; /// /// Gets or sets the optional path to a YAML config file for endpoint overrides. /// public string? EndpointConfigPath { get; set; } }