Skip to content

Class StranglerFigIngressRuntimeDescriptor

Namespace: Cephalon.Abstractions.Patterns
Assembly: Cephalon.Abstractions.dll

Describes the effective strangler-fig ingress materialization answer for one route.

public sealed class StranglerFigIngressRuntimeDescriptor

objectStranglerFigIngressRuntimeDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

StranglerFigIngressRuntimeDescriptor(string, string, string, string, string, StranglerFigTarget, StranglerFigTarget, string, string, string, string, string, bool, string?, string?, string?, IReadOnlyList<string>?, string?, int, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?)

Section titled “ StranglerFigIngressRuntimeDescriptor(string, string, string, string, string, StranglerFigTarget, StranglerFigTarget, string, string, string, string, string, bool, string?, string?, string?, IReadOnlyList<string>?, string?, int, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?)”

Creates a strangler-fig ingress runtime descriptor.

public StranglerFigIngressRuntimeDescriptor(string routeId, string sourceModuleId, string displayName, string description, string pathPrefix, StranglerFigTarget requestedTarget, StranglerFigTarget effectiveTarget, string requestedTargetSource, string selectionMode, string selectedEndpoint, string selectedEndpointKind, string ingressMode, bool canMaterialize, string? targetPathPrefix = null, string? targetQuery = null, string? targetUri = null, IReadOnlyList<string>? methods = null, string? progressState = null, int progressPercent = 0, IReadOnlyDictionary<string, string>? metadata = null, IReadOnlyDictionary<string, string>? runtimeMetadata = null)

routeId string

The stable route identifier.

sourceModuleId string

The Cephalon module that owns the modern boundary for this route.

displayName string

The operator-facing route name.

description string

The human-readable description of the migration boundary.

pathPrefix string

The rooted public path prefix that this route matches.

requestedTarget StranglerFigTarget

The target requested after applying migration-policy overlays.

effectiveTarget StranglerFigTarget

The target that will actually receive traffic after endpoint fallback is considered.

requestedTargetSource string

The source of the requested target, such as authored-route or migration-route.

selectionMode string

The runtime selection result, such as requested-target or fallback-target.

selectedEndpoint string

The concrete endpoint or boundary identifier that will receive traffic.

selectedEndpointKind string

The normalized selected-endpoint kind, such as local-path, absolute-uri, or opaque.

ingressMode string

The normalized ingress follow-through mode, such as pass-through, rewrite-local-path, proxy-absolute-uri, or opaque-endpoint.

canMaterialize bool

Indicates whether a generic ingress or traffic manager can materialize this selected endpoint directly.

targetPathPrefix string?

The normalized path prefix that traffic should land on when the selected endpoint is path-shaped.

targetQuery string?

The normalized base query string that should flow with the selected endpoint when one exists.

targetUri string?

The normalized absolute URI that traffic should target when the selected endpoint is absolute.

methods IReadOnlyList<string>?

Optional request methods that this route matches.

progressState string?

The normalized migration-progress state for the route.

progressPercent int

The normalized migration-progress percentage for the route.

metadata IReadOnlyDictionary<string, string>?

The original authored route metadata.

runtimeMetadata IReadOnlyDictionary<string, string>?

Additional runtime-only metadata such as notes or overlay provenance.

Gets a value indicating whether a generic ingress or traffic manager can materialize this selected endpoint directly.

public bool CanMaterialize { get; }

bool

Gets the human-readable description of the migration boundary.

public string Description { get; }

string

Gets the operator-facing route name.

public string DisplayName { get; }

string

Gets the target that will actually receive traffic after endpoint fallback is considered.

public StranglerFigTarget EffectiveTarget { get; }

StranglerFigTarget

Gets the normalized ingress follow-through mode, such as pass-through, rewrite-local-path, proxy-absolute-uri, or opaque-endpoint.

public string IngressMode { get; }

string

Gets the original authored route metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the normalized request methods that this route matches.

public IReadOnlyList<string> Methods { get; }

IReadOnlyList<string>

Gets the rooted public path prefix that matches this route.

public string PathPrefix { get; }

string

Gets the normalized migration-progress percentage for the route.

public int ProgressPercent { get; }

int

Gets the normalized migration-progress state for the route.

public string ProgressState { get; }

string

Gets the target requested after applying migration-policy overlays.

public StranglerFigTarget RequestedTarget { get; }

StranglerFigTarget

Gets the source of the requested target, such as authored-route, migration-default, or migration-route.

public string RequestedTargetSource { get; }

string

Gets the stable route identifier.

public string RouteId { get; }

string

Gets runtime-only metadata such as notes or overlay provenance.

public IReadOnlyDictionary<string, string> RuntimeMetadata { get; }

IReadOnlyDictionary<string, string>

Gets the concrete endpoint or boundary identifier that will receive traffic.

public string SelectedEndpoint { get; }

string

Gets the normalized selected-endpoint kind, such as local-path, absolute-uri, or opaque.

public string SelectedEndpointKind { get; }

string

Gets the runtime selection result, such as requested-target or fallback-target.

public string SelectionMode { get; }

string

Gets the module that owns the modern Cephalon boundary for this route.

public string SourceModuleId { get; }

string

Gets the normalized path prefix that traffic should land on when the selected endpoint is path-shaped.

public string? TargetPathPrefix { get; }

string?

Gets the normalized base query string that should flow with the selected endpoint when one exists.

public string? TargetQuery { get; }

string?

Gets the normalized absolute URI that traffic should target when the selected endpoint is absolute.

public string? TargetUri { get; }

string?