Class RecordingCorrelationLink

Namespace
Kuestenlogik.Bowire.Recordings.Correlation
Assembly
Kuestenlogik.Bowire.Recordings.dll

Why a step is on the transaction even though the correlation key is nowhere in it (#545). One bridge value, shared with one step the key matched directly — the second and last edge of the join.

public sealed record RecordingCorrelationLink : IEquatable<RecordingCorrelationLink>
Inheritance
RecordingCorrelationLink
Implements
Inherited Members

Constructors

Why a step is on the transaction even though the correlation key is nowhere in it (#545). One bridge value, shared with one step the key matched directly — the second and last edge of the join.

public RecordingCorrelationLink(string Value, string Name, string ViaStepId, int ViaStepIndex, string ViaProtocol, string ViaName, string ViaService, string ViaMethod, int AlternativeCount, int Strength)

Parameters

Value string

The shared value that linked this step in.

Name string

The leaf name carrying it on this step, as written.

ViaStepId string

Id of the already-matched step it is shared with.

ViaStepIndex int

That step's zero-based position in the recording.

ViaProtocol string

That step's protocol lane.

ViaName string

The leaf name carrying the value on that step, as written.

ViaService string

That step's service identifier, so a UI can name it without a second lookup.

ViaMethod string

That step's method identifier.

AlternativeCount int

How many other equally admissible values would have joined the same pair of steps. The harbor recording shares three container ids between REST and GraphQL, so the winner reports 2 — the operator should not read one arbitrary container as the special one.

Strength int

Rank among the admissible bridges for this step; higher wins. Same leaf name on both ends beats a suffix relative, a longer value beats a shorter one, and a value spread across many field names is penalised.

Properties

How many other equally admissible values would have joined the same pair of steps. The harbor recording shares three container ids between REST and GraphQL, so the winner reports 2 — the operator should not read one arbitrary container as the special one.

public int AlternativeCount { get; init; }

Property Value

int

The leaf name carrying it on this step, as written.

public string Name { get; init; }

Property Value

string

Rank among the admissible bridges for this step; higher wins. Same leaf name on both ends beats a suffix relative, a longer value beats a shorter one, and a value spread across many field names is penalised.

public int Strength { get; init; }

Property Value

int

The shared value that linked this step in.

public string Value { get; init; }

Property Value

string

That step's method identifier.

public string ViaMethod { get; init; }

Property Value

string

The leaf name carrying the value on that step, as written.

public string ViaName { get; init; }

Property Value

string

That step's protocol lane.

public string ViaProtocol { get; init; }

Property Value

string

That step's service identifier, so a UI can name it without a second lookup.

public string ViaService { get; init; }

Property Value

string

Id of the already-matched step it is shared with.

public string ViaStepId { get; init; }

Property Value

string

That step's zero-based position in the recording.

public int ViaStepIndex { get; init; }

Property Value

int

Methods

public void Deconstruct(out string Value, out string Name, out string ViaStepId, out int ViaStepIndex, out string ViaProtocol, out string ViaName, out string ViaService, out string ViaMethod, out int AlternativeCount, out int Strength)

Parameters

Value string
Name string
ViaStepId string
ViaStepIndex int
ViaProtocol string
ViaName string
ViaService string
ViaMethod string
AlternativeCount int
Strength int
public bool Equals(RecordingCorrelationLink? other)

Parameters

other RecordingCorrelationLink

Returns

bool
public override bool Equals(object? obj)

Parameters

obj object

Returns

bool
public override int GetHashCode()

Returns

int
public override string ToString()

Returns

string

Operators

public static bool operator ==(RecordingCorrelationLink? left, RecordingCorrelationLink? right)

Parameters

left RecordingCorrelationLink
right RecordingCorrelationLink

Returns

bool
public static bool operator !=(RecordingCorrelationLink? left, RecordingCorrelationLink? right)

Parameters

left RecordingCorrelationLink
right RecordingCorrelationLink

Returns

bool