< Summary

Information
Class: Elsa.Http.IngressSources.HttpTriggerIngressSource
Assembly: Elsa.Http
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Http/IngressSources/HttpTriggerIngressSource.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_Name()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Http/IngressSources/HttpTriggerIngressSource.cs

#LineLine coverage
 1using Elsa.Workflows.Runtime;
 2using Elsa.Workflows.Runtime.IngressSources;
 3
 4namespace Elsa.Http.IngressSources;
 5
 6/// <summary>
 7/// Surfaces HTTP-triggered workflow ingress as an <see cref="IIngressSource"/> in the runtime's diagnostic registry.
 8/// Pause/resume are observed automatically via <see cref="IQuiescenceSignal"/> — the <c>HttpWorkflowsMiddleware</c>
 9/// short-circuits to <c>503 Service Unavailable</c> while the runtime is paused or draining (FR-006). This adapter
 10/// therefore has no behavior of its own beyond reporting state, which is what <see cref="PassiveIngressSource"/>
 11/// is for.
 12/// </summary>
 313public sealed class HttpTriggerIngressSource(IQuiescenceSignal signal) : PassiveIngressSource(signal)
 14{
 15    /// <inheritdoc />
 1216    public override string Name => "http.trigger";
 17}