Skip to content

Interface IStranglerFigMigrationRuntimeCatalog

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

Exposes the effective strangler-fig migration policy visible to the current runtime.

public interface IStranglerFigMigrationRuntimeCatalog

Gets all effective strangler-fig migration-policy answers visible to the current runtime.

IReadOnlyList<StranglerFigMigrationRuntimeDescriptor> Routes { get; }

IReadOnlyList<StranglerFigMigrationRuntimeDescriptor>

Gets one effective strangler-fig migration-policy answer by its stable route identifier.

StranglerFigMigrationRuntimeDescriptor? GetById(string routeId)

routeId string

The route identifier to resolve.

StranglerFigMigrationRuntimeDescriptor?

The matching runtime descriptor, or null when it is not active.

Gets all effective strangler-fig migration-policy answers owned by the requested module.

IReadOnlyList<StranglerFigMigrationRuntimeDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The module identifier to filter by.

IReadOnlyList<StranglerFigMigrationRuntimeDescriptor>

The matching runtime descriptors, or an empty list when none are active.