Skip to main content
Keeps a connector’s RunRecord, its stories and its steps in one directory.

Constructors

Parameters

string
required

Fields

string
required
Where a run keeps what it saw.
string
required
The one scenario a run asked for, for a connector that has scenarios.
string
required
What replays a run’s order.
int
required
Days before a vendor API retires that a run warns.

Properties

required
string
required
Which host ran the scenarios, for the record. A run without scenarios has none.
int
required

Methods

Add()

Keeps how a scenario that took no steps ended, and why.

Parameters

string
required
string
Keeps how a scenario ended, why, and its steps: each as a line of its story and as JSON.

Type Parameters

required

Parameters

string
required
string
required
IReadOnlyList<TStep>
required
Func<TStep, string>
required

AddJourney()

Parameters

IReadOnlyList<JourneyStep>
required

Read()

The record of the last run in directory, or none.

Parameters

string
required
string
required

Returns

RunRecord

Shared()

The run in this process, for manifest.

Parameters

Returns

RunLedger

Signal()

Notes a warning, which reports apart from every step.

Parameters

string
required

TenantProblemAsync()

The tenant check’s finding, which one run makes once.

Parameters

Func<Task<IReadOnlyList<string>>>
required
Finds what stops a run here.

Returns

Task<string>

WarnOfSunset()

Warns when the vendor API retires within SunsetDays of the run’s start.

Parameters

DateOnly?
required