Fdw.Services.Etl
1.6.0
dotnet add package Fdw.Services.Etl --version 1.6.0
NuGet\Install-Package Fdw.Services.Etl -Version 1.6.0
<PackageReference Include="Fdw.Services.Etl" Version="1.6.0" />
<PackageVersion Include="Fdw.Services.Etl" Version="1.6.0" />
<PackageReference Include="Fdw.Services.Etl" />
paket add Fdw.Services.Etl --version 1.6.0
#r "nuget: Fdw.Services.Etl, 1.6.0"
#:package Fdw.Services.Etl@1.6.0
#addin nuget:?package=Fdw.Services.Etl&version=1.6.0
#tool nuget:?package=Fdw.Services.Etl&version=1.6.0
Fdw.Services.Etl
The ETL domain: pipelines, their operations, and the execution surface that runs them.
Registration lives in the option, not in a host's Program.cs. Each option carries three replaceable phase bodies — Configure, Register, Initialize — where the first two take and return the IHostApplicationBuilder and the third takes and returns the IServiceProvider. Referencing this package is what enlists its options: a module initializer collects and dedupes them at assembly load.
Collections
| Type | Kind | Purpose |
|---|---|---|
EtlResultCodes |
class | TypeCollection for ETL result codes. EventId range: 8101-8199 (Services.Etl domain) |
Options (2 declared)
| Type | Kind | Purpose |
|---|
Shipped options are reference implementations, not canon — a consumer adds a kind by declaring its own option against this collection, in its own assembly.
Configuration
Configuration classes are [ManagedConfiguration]: they generate their own DDL, validation and UI form metadata, and are read back as rows rather than from JSON.
| Type | Kind | Purpose |
|---|---|---|
EtlPipelineConfiguration |
class | The ETL-KIND typed body of PipelineConfiguration (kind "Etl"). Persisted in pipe.EtlPipeline as a… |
PipelineTransformAggregationConfiguration |
class | Configuration for a single aggregation within an Aggregate transform. Cascade child of… |
PipelineTransformCalculationConfiguration |
class | Configuration for a single computed column within a Calculate transform. Cascade child of… |
PipelineTransformConfiguration |
class | Database-backed configuration for a pipeline transform step. Child of EtlPipelineConfiguration… |
PipelineTransformFieldMappingConfiguration |
class | Configuration for a field mapping within a Map transform. |
PipelineTransformGroupByFieldConfiguration |
class | Configuration for a single group-by field within an Aggregate transform. Cascade child of… |
PipelineTransformLookupConfiguration |
class | Configuration for a single brought-across column within a Lookup transform. Cascade child of… |
The graph pipeline type (FDW-6244)
GraphPipelineTypeBase<TIn, TOut> is the base of a graph implementation of the Pipeline domain (PipelineTypes, Fdw.Services.Pipelines): it closes
PipelineTypeBase over IPipeline<TIn, TOut> and GraphPipelineConfiguration, and holds the phase bodies as static methods, GraphRegistration and GraphInitialization; it sets no phase itself (STC002), so each
sealed closing sets its own, each body one call: Registration((builder, loggerFactory) => GraphRegistration(this, builder, loggerFactory)). Registration: the graph
pipeline factory and provider, the graph configuration provider, PipelineExecutionRegistration.RegisterPipelineExecutionQueue (queue, run control, request store, wait thresholds,
executor and hosted services, the Queued runner, the run starter), the readers of a data set's writers, the inspection services
(PipelineExecutionRegistration.RegisterAdditionalServices), and the domain's provider of
ETL pipelines (IEtlPipelineProvider), which each graph pipeline type registers its provider into under its name. Initialization: the graph configuration
provider into the Pipeline domain's provider, and the FDW-6132 check of every builder's needs. GraphPipelineType closes it over the ETL run
(PipelineExecutionOptions in, IEtlPipelineExecutionResult out) as option Graph with run mode Queued; a closing type states only its name, description
and run mode. Every closing reads its rows from the one graph row container (GraphPipelineTypeBase.ContainerName, pipe.GraphPipelineConfiguration) and
registers the graph configuration provider under its own name. IEtlPipeline is the ETL closing of IPipeline<TIn, TOut>. PipelineExecutionRegistration
is a static class an orchestration node also calls; both its methods are idempotent.
The Queued run mode (FDW-6131)
QueuedPipelineRunneris the runner of theQueuedrun mode: it records the run (an execution item, the run row, the parameters given), keeps and queues its request forPipelineExecutionBackgroundService. A start that names an execution its caller opened is queued as prepared, with no second record; each queue refusal of it has its own code (150830 full, 150831 stopped, 90830 not recorded), andQueuedPipelineRunner.IsQueueRefusalreads it back as the queue's own result.PipelineRunStarter(IPipelineRunStarter, used by the Execute pipeline component and the orchestration node) is the adapter overIPipelineRuns; hosts register it with a factory over the run contract.- A restarted run (
PipelineCutOffRuns→PipelineRunRequestStore.StartAgain) goes straight to the executor, not through a runner (FDW-3216). - A run's person (FDW-6137) rides where its roles ride:
PipelineExecutionRequest.PersonId, the stored request text,PipelineExecutionOptions.PersonId,FlowRunIdentity.PersonIdand the start an Execute pipeline component makes.PipelineExecutionBackgroundService.ResolveRunIdentityruns a person's run as that person (PipelineRunPerson). First the account must still pass the sign-in check (IIssuanceEligibility.MayBeIssued: not deleted, not disabled, not locked out, a member of the run's tenant), becauseIUserPermissions.Getanswers a disabled person with their full grants; a deny isRUNPERSON-100833naming its reason, and a check that cannot be read isRUNPERSON-70836. Then the person's permissions are read live (unreadable:RUNPERSON-100831), and every permission the run's roles carry must be one the person holds (RUNPERSON-100832); the tenant is read forglobalTenant(unreadable:RUNPERSON-70837). The run's roles themselves were judged for the run's tenant when the run was accepted. The work runs under aClaimsPrincipalAuthenticationContextholding the person, the tenant (globalTenantfor the global one), the run's roles and their permissions, so the connection reads only the person's rows. No token is minted. A host that registers noIIssuanceEligibilityorITenantProviderrefuses a person's run (RUNPERSON-60836). A run with no person acts as its tenant run (ResolveTenantRun). - The graph pipeline layer is
IGraphPipelineConfiguration(components, links, dropped outputs, variables, parameters, link capacity), implemented byGraphPipelineConfiguration.GraphShapeValidator.GraphProblems,GraphComponentValidator,GraphDescriberandGraphFlowBuilderread a graph through it.
A component type from another package reaches host services (FDW-6132, FDW-6240)
A FlowStepBuilders or FlowComponentBuilders option from another package can need a service of its own package (a model client, a tool client) that FDW
has no domain for. Its package writes a build contribution and names it in its builder's Needs. It registers nothing: GraphPipelineType registers every
type a collected builder needs. FDW's own contracts are not contributions; each is a domain whose provider sits on FlowBuildContext, as ConnectionProvider
does.
| today | added | neighbor |
|---|---|---|
A step or component is built by its builder from the component, its built children and the run (FlowStepBuilderBase.Build, FlowBuildContext) |
IFlowBuildContribution: a class of the package of the component type that takes its services by constructor, named in the builder's Needs and read with context.Contribution<T>(component) |
FlowBuildContext.ConnectionProvider and the other providers on the context, for what FDW owns |
No existing pattern fits, because:
- a step (
IFlowStep) is not anIGenericService, which a service type requires (ServiceTypeBase.cs:37); IServiceFactory.Createtakes only the configuration (IServiceFactory.cs:48-57), while a step is built from the component, its built children and the run (FlowStepBuilderBase.cs:37);- a service type collection holds only service type registrations, not plain options (
ServiceTypeCollectionBase.cs:41), andComponentTypesmust stay free of the host.
A worked example, a package that ships a step component type AskModel:
// The package's own service, with what it takes registered by that service's own domain.
public sealed class ModelContribution(IModelClient client) : IFlowBuildContribution
{
public IModelClient Client { get; } = client;
}
[TypeOption(typeof(FlowStepBuilders), "AskModel")]
public sealed class AskModelStepBuilder : FlowStepBuilderBase
{
public AskModelStepBuilder() : base("AskModel") { }
public override IReadOnlyList<Type> Needs => [typeof(ModelContribution)];
public override IGenericResult<IFlowStep> Create(PipelineComponentConfiguration component, IReadOnlyList<IFlowStep> body, FlowBuildContext context)
{
var model = context.Contribution<ModelContribution>(component);
return model.IsFailure || model.Value is null ? model.ToNewResult<IFlowStep>() : GenericResult<IFlowStep>.Success(new AskModelStep(component.Name, model.Value.Client));
}
}
// Nothing in Program.cs: referencing the package attaches the builder, and the graph type registers ModelContribution.
GraphPipelineType's Register phase takes the distinctNeedsofFlowStepBuilders.All()andFlowComponentBuilders.All()and registers each as a scopedIFlowBuildContribution(one Trace line per type,ComponentContributionRegistered, FLOW-10357). A need that is not a concrete class implementing the contract stops the host (ComponentNeedNotAContribution, FLOW-60359). A contribution is scoped, as the graph pipeline factory is, so it may take a service of the run, such as one read under the run's person.- Its Initialize constructs them in a scope of their own. A contribution registered twice (
ComponentContributionRegisteredTwice, FLOW-60361) or one that cannot be constructed, such as one whose dependency is not registered (ComponentContributionUnresolvable, FLOW-60362), stops the host. One no builder needs is a warning (ComponentContributionUnused, FLOW-60363). A builder's need the host lacks isComponentServicesUnregistered(FLOW-60356). GraphPipelineFactoryis given the contributions andFlowBuildContextrequires them. A graph whose component type lacks one is refused before anything runs (ComponentServiceMissing, FLOW-60355).- A Graph data set gets them too (FDW-6240). Its runner is held by the data gateway factories, which are singletons, so it takes
IServiceScopeFactoryand each read opens a scope, resolves the contributions in it as the host's start does and ends the scope with the read: two reads never share an instance. A contribution that cannot be constructed fails the read withGraphDataSetRunFailed, naming the data set, and the reason carriesComponentContributionUnresolvable(FLOW-60362); a component type whose contribution the host did not register fails it withComponentServiceMissing(FLOW-60355). - A hand registration is refused: in an application,
services.Add*is FDW056 at compile time; inside a package, a second registration of a contribution the graph type registers is FLOW-60361 at Initialize.
Settings a component type declares (FDW-6133)
A component type from another package can state settings the component itself does not hold: no column (ComponentSettingBindings), no child rows
(ComponentSettingBindings.RowKinds) and no tool stage. ComponentSettingBindings.IsDeclared is that test, and every setting of FDW's own component types fails it. Each
such setting must state its data type as an IDataType (DataType: new DoubleDataType()). Set ReadsWhenStepRuns when its text may name variables as {{Name}}.
- The graph states the value as one JSON value. It is kept as invariant text in
pipe.PipelineComponentSetting(data.GraphDataSetComponentSettingfor a Graph data set), and a host declares both containers in itsconfigurationSchema.json. - A save refuses a required setting left out, a setting the component type does not take, a declared setting with no data type, text that does not convert to the data
type, and
{{Name}}text on a setting withoutReadsWhenStepRuns. - In the builder,
context.Setting(component, "name")(ComponentSettings.Declared) gives aComponentSettingValue.Read(variables, logger)gives the value as its data type: the stored text converted, or{{Name}}text rendered byVariableTextwhen the step runs. Refusals: FLOW-60370 the component type does not take the name, 60371 the component holds it itself, 60372 no data type, 30371 not stated, 20370 the text does not convert; at run, 30370 a variable it names has no value and 20371 the rendered value does not convert. - When the host starts,
GraphPipelineType's Initialize checks that every component type has exactly one builder of the right collection and every builder names a component type (ComponentTypeHasNoBuilderFLOW-60357,ComponentTypeHasTwoBuildersFLOW-60364,BuilderNamesNoComponentTypeFLOW-60365), and names every declared setting with no data type (ComponentSettingDataTypeNotDeclared, FLOW-60358), one message each.
Installation
dotnet add package Fdw.Services.Etl --prerelease
Dependencies
Fdw.Commands.Data · Fdw.Commands.Data.Fluency · Fdw.Configuration · Fdw.Data · Fdw.Data.Abstractions · Fdw.Data.DataSets · Fdw.Operations.Abstractions · Fdw.Services · Fdw.Services.Abstractions · Fdw.Services.Authentication.Abstractions · Fdw.Services.Authorization.Abstractions · Fdw.Services.Calculations · Fdw.Services.Connections · Fdw.Services.Connections.Abstractions · Fdw.Services.Connections.Http.Abstractions · Fdw.Services.Data.Abstractions · Fdw.Services.Etl.Abstractions · Fdw.Services.EtlGateway · Fdw.Services.Notifications.Abstractions · Fdw.Services.Pipelines · Fdw.Services.Settings · Fdw.Validation
Build-time only (generators and analyzers, not runtime dependencies): Fdw.Collections.SourceGenerators · Fdw.Configuration.SourceGenerators · Fdw.Data.SourceGenerators · Fdw.MessageLogging.SourceGenerators
Part of FractalDataWorks 1.0.0-rc.1. Licensed under Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ColorHelper (>= 1.8.1)
- Cronos (>= 0.13.0)
- Fdw.Commands.Data (>= 1.6.0)
- Fdw.Commands.Data.Fluency (>= 1.6.0)
- Fdw.Configuration (>= 1.6.0)
- Fdw.Data (>= 1.6.0)
- Fdw.Data.Abstractions (>= 1.6.0)
- Fdw.Data.DataSets (>= 1.6.0)
- Fdw.Data.Options (>= 1.6.0)
- Fdw.Operations (>= 1.6.0)
- Fdw.Operations.Abstractions (>= 1.6.0)
- Fdw.Services (>= 1.6.0)
- Fdw.Services.Abstractions (>= 1.6.0)
- Fdw.Services.Authentication.Abstractions (>= 1.6.0)
- Fdw.Services.Authorization.Abstractions (>= 1.6.0)
- Fdw.Services.Calculations (>= 1.6.0)
- Fdw.Services.Connections (>= 1.6.0)
- Fdw.Services.Connections.Abstractions (>= 1.6.0)
- Fdw.Services.Connections.Http.Abstractions (>= 1.6.0)
- Fdw.Services.Data.Abstractions (>= 1.6.0)
- Fdw.Services.Etl.Abstractions (>= 1.6.0)
- Fdw.Services.EtlGateway (>= 1.6.0)
- Fdw.Services.Notifications.Abstractions (>= 1.6.0)
- Fdw.Services.Pipelines (>= 1.6.0)
- Fdw.Services.Settings (>= 1.6.0)
- Fdw.Validation (>= 1.6.0)
- FluentValidation (>= 12.1.1)
- FluentValidation.DependencyInjectionExtensions (>= 12.1.1)
- Microsoft.AspNetCore.Cryptography.KeyDerivation (>= 10.0.10)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.10)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.Extensions.Caching.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Caching.Memory (>= 10.0.10)
- Microsoft.Extensions.Configuration (>= 10.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.10)
- Microsoft.Extensions.Configuration.CommandLine (>= 10.0.10)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.10)
- Microsoft.Extensions.Configuration.Json (>= 10.0.10)
- Microsoft.Extensions.Configuration.UserSecrets (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.10)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Identity.Core (>= 10.0.10)
- Microsoft.Extensions.Logging (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Console (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
- Microsoft.IdentityModel.Tokens (>= 8.22.0)
- Microsoft.OData.Edm (>= 8.4.3)
- Microsoft.OpenApi.Readers (>= 1.6.31)
- Polly.Core (>= 8.6.6)
- Portable.System.DateTimeOnly (>= 9.0.2)
- Serilog (>= 4.3.1)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Threading.RateLimiting (>= 10.0.0)
NuGet packages (21)
Showing the top 5 NuGet packages that depend on Fdw.Services.Etl:
| Package | Downloads |
|---|---|
|
Fdw.Operations.Endpoints
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.Services.Data.Endpoints
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.Services.Users.Endpoints
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.Services.Etl.Projects
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.Services.Pipelines.Endpoints
Development tools and utilities for the Fdw ecosystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.6.0 | 313 | 11/23/2026 |
| 1.5.12 | 367 | 11/18/2026 |
| 1.5.11 | 340 | 11/16/2026 |
| 1.5.10 | 398 | 11/15/2026 |
| 1.5.9 | 370 | 11/14/2026 |
| 1.5.8 | 345 | 11/14/2026 |
| 1.5.7 | 391 | 11/13/2026 |
| 1.5.6 | 364 | 11/12/2026 |
| 1.5.5 | 343 | 11/10/2026 |
| 1.5.4 | 316 | 11/10/2026 |
| 1.5.3 | 303 | 11/10/2026 |
| 1.5.2 | 304 | 11/9/2026 |
| 1.5.1 | 327 | 11/9/2026 |
| 1.5.1-rc.7 | 176 | 11/9/2026 |
| 1.5.1-rc.6 | 169 | 11/9/2026 |
| 1.5.1-rc.5 | 181 | 11/9/2026 |
| 1.5.1-rc.4 | 160 | 11/8/2026 |
| 1.5.1-rc.3 | 168 | 11/7/2026 |
| 1.5.1-rc.2 | 168 | 11/6/2026 |
| 1.5.1-rc.1 | 171 | 11/5/2026 |