Skip to main content

TestImportConnectionNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Extract

Tests the connection of one document-import channel the way its trigger would use it, and reports every step with its outcome (AB#5370 follow-up, 5.10.2026): the settings page's "Test connection" button. Nothing is imported, sent or changed — the node signs in, lists or asks, and signs out.

Channels and their checks:

Imap — connect + log in with the EMailReceiverConfiguration (TestImportConnectionNodeConfiguration.ImapServerConfiguration), list the folders, and look for the source folder the trigger would poll (the settings attribute, else the server configuration's default folder).

Graph — acquire the app token with the MicrosoftGraphConfiguration (TestImportConnectionNodeConfiguration.GraphServerConfiguration), list the folders of the mailbox the trigger reads (settings attribute, else TestImportConnectionNodeConfiguration.GraphMailbox), and look for the configured source folder.

Teams — the same app registration as its bot identity: the Graph token the bot downloads attachments with, and the Bot Framework token it replies with.

Signal — resolve the tenant's registered SignalChannel, ask the bridge for its version (GET /v1/about) and check that the number is an account on it (GET /v1/accounts).

Output at : { channel, ok, summary, checks: [ { name, ok, detail } ] }. A failed check is a RESULT (ok: false with the operator-worded reason on the check), not a thrown node error — the page shows every step, including the ones that passed before the failing one. Only a misconfigured node (unknown channel, missing configuration reference) throws.

public record TestImportConnectionNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<TestImportConnectionNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → TestImportConnectionNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<TestImportConnectionNodeConfiguration>

Fields​

DefaultTimeoutSeconds​

Default budget for the whole test, in seconds.

public static int DefaultTimeoutSeconds;

ChannelImap​

The IMAP e-mail assistant channel.

public static string ChannelImap;

ChannelGraph​

The Microsoft 365 (Graph) e-mail import channel.

public static string ChannelGraph;

ChannelTeams​

The Microsoft Teams bot channel.

public static string ChannelTeams;

ChannelSignal​

The Signal assistant channel.

public static string ChannelSignal;

Properties​

Channel​

The channel to test, when the pipeline tests one fixed channel.

public string Channel { get; set; }

Property Value​

String

ChannelPath​

Data-context path carrying the channel, e.g. $.body.channel of an HTTP route.

public string ChannelPath { get; set; }

Property Value​

String

ImapServerConfiguration​

Well-known name of the System.Communication/EMailReceiverConfiguration the IMAP trigger uses.

public string ImapServerConfiguration { get; set; }

Property Value​

String

ImapSettingsConfiguration​

Well-known name of the IMAP channel's settings configuration (its source folder lives there).

public string ImapSettingsConfiguration { get; set; }

Property Value​

String

ImapSourceFolderAttribute​

Attribute on TestImportConnectionNodeConfiguration.ImapSettingsConfiguration carrying the source folder.

public string ImapSourceFolderAttribute { get; set; }

Property Value​

String

GraphServerConfiguration​

Well-known name of the System.Communication/MicrosoftGraphConfiguration (shared by the Microsoft 365 import and the Teams bot).

public string GraphServerConfiguration { get; set; }

Property Value​

String

GraphMailbox​

Fallback mailbox when the settings carry none.

public string GraphMailbox { get; set; }

Property Value​

String

GraphSettingsConfiguration​

Well-known name of the Microsoft 365 channel's settings configuration.

public string GraphSettingsConfiguration { get; set; }

Property Value​

String

GraphMailboxAttribute​

Attribute on TestImportConnectionNodeConfiguration.GraphSettingsConfiguration carrying the mailbox.

public string GraphMailboxAttribute { get; set; }

Property Value​

String

GraphSourceFolderAttribute​

Attribute on TestImportConnectionNodeConfiguration.GraphSettingsConfiguration carrying the source folder.

public string GraphSourceFolderAttribute { get; set; }

Property Value​

String

TimeoutSeconds​

Whole test, every step together.

public Nullable<int> TimeoutSeconds { get; set; }

Property Value​

Nullable<Int32>

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

TestImportConnectionNodeConfiguration()​

public TestImportConnectionNodeConfiguration()