Configuration
Every Trax host is configured through AddTrax, whose builder takes AddEffects, then AddMediator, then AddScheduler. The pages below are grouped by the package each member ships in.
Trax.Effect
- AddTrax: the entry point,
TraxBuilderand what it registers - AddEffects:
TraxEffectBuilder,TraxEffectBuilderWithDataand the effect configuration - Host Tracking: the host identity methods and
TraxHostInfo - AddEffect / AddJunctionEffect: custom effect provider factories and the effect registry
- AddLifecycleHook:
ITrainLifecycleHookand its factory - SetEffectLogLevel: the level the logging effects write at
- IFailureClassifier: how a failed run's exception becomes a
FailureClass - IJunctionEffectProvider: code run before and after every
EffectJunction - UseBroadcaster: carries lifecycle events between processes
Trax.Mediator
- AddMediator: train discovery,
TraxMediatorBuilderand the startup chain check
Trax.Effect.Data
- AddDataContextLogging: stores
ILoggerlines intrax.log - AddDecisionRecording: records decisions and replays them into repeated runs
- AddJunctionEvents: publishes and records each step of a run
- IDataContext: Trax's EF Core context over the
traxtables - DomainDataContext: the base class and helpers for your own contexts
- ISqlDialect: the SQL that differs between providers
- IQueuedWorkListener: the notice that wakes the job dispatcher
- LikePattern: escaped, lowered
LIKEpatterns for text search
Data providers
- UsePostgres (
Trax.Effect.Data.Postgres): the PostgreSQL provider - SkipMigrations (
Trax.Effect.Data.Postgres): turns off the startup migration - DatabaseMigrator (
Trax.Effect.Data.Postgres): applies the Postgres schema - UseSqlite (
Trax.Effect.Data.Sqlite): the SQLite provider - UseInMemory (
Trax.Effect.Data.InMemory): the in-memory provider
Effect providers
- AddJson (
Trax.Effect.Provider.Json): logs tracked models when they change - SaveTrainParameters (
Trax.Effect.Provider.Parameter): stores inputs and outputs - AddJunctionLogger (
Trax.Effect.JunctionProvider.Logging): logs each junction - AddJunctionProgress (
Trax.Effect.JunctionProvider.Progress): records the running junction and checks for cancellation
Trax.Effect.Decisions.SystemOne
- AddNimbleDecider: answers decisions with a Nimble server
- AddSystemOneDecider: answers decisions through a System One model
Broadcasters
- UseRabbitMq (
Trax.Effect.Broadcaster.RabbitMQ): the RabbitMQ transport - UseSignalRHub (
Trax.Effect.Broadcaster.SignalR): the SignalR sink - MapTraxTrainEventHub (
Trax.Effect.Broadcaster.SignalR): maps the hub endpoint - ITraxTrainEventClient (
Trax.Effect.Broadcaster.SignalR): the methods clients receive