12 implementations of IPipelineActivityReporter
Aspire.Hosting (2)
Pipelines\NullPipelineActivityReporter.cs (1)
11public sealed class NullPublishingActivityReporter : IPipelineActivityReporter
Pipelines\PipelineActivityReporter.cs (1)
14internal sealed class PipelineActivityReporter : IPipelineActivityReporter, IAsyncDisposable
Aspire.Hosting.Azure.EntraId.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Azure.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Azure.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Docker.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Foundry.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Go.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Kubernetes.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Rust.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
Aspire.Hosting.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
13internal sealed class TestPipelineActivityReporter : IPipelineActivityReporter
92 references to IPipelineActivityReporter
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (1)
639_innerBuilder.Services.AddSingleton<IPipelineActivityReporter, PipelineActivityReporter>(sp => sp.GetRequiredService<PipelineActivityReporter>());
Pipelines\DistributedApplicationPipeline.cs (4)
853var activityReporter = context.Services.GetRequiredService<IPipelineActivityReporter>(); 964var activityReporter = context.Services.GetRequiredService<IPipelineActivityReporter>();
Pipelines\NullPipelineActivityReporter.cs (1)
9/// A no-op implementation of <see cref="IPipelineActivityReporter"/> for testing purposes.
Publishing\PipelineExecutor.cs (2)
21IPipelineActivityReporter activityReporter, 24IPipelineActivityReporter pipelineActivityReporter,
Aspire.Hosting.Azure (1)
Provisioning\Internal\PublishModeProvisioningContextProvider.cs (1)
28IPipelineActivityReporter activityReporter,
Aspire.Hosting.Azure.EntraId.Tests (2)
EntraIdProvisioningTests.cs (1)
1200builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Azure.Kubernetes.Tests (3)
AzureKubernetesTestBuilder.cs (2)
25IPipelineActivityReporter? activityReporter = null, 34builder.Services.AddSingleton<IPipelineActivityReporter>(activityReporter ?? new TestPipelineActivityReporter(outputHelper));
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Azure.Tests (9)
AzureAppServiceTests.cs (6)
242builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 258var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 283builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 294var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 315builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>(); 328var reporter = app.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter;
AzureContainerAppExpressEndpointTests.cs (1)
206builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
AzureDeployerTests.cs (1)
1737IPipelineActivityReporter? activityReporter = null,
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Docker.Tests (9)
DockerComposeTests.cs (8)
381builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 428builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 763builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 811builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 978builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1015builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1047deployBuilder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1071destroyBuilder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Foundry.Tests (2)
PromptAgentTests.cs (1)
714builder.Services.AddSingleton<IPipelineActivityReporter>(activityReporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Go.Tests (8)
AddGoAppTests.cs (7)
959builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 986builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1047builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1067builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1090builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1111builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1142builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Java.Tests (1)
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (1)
251builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
AddViteAppTests.cs (1)
1079builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
Aspire.Hosting.Kubernetes.Tests (28)
KubernetesDeployTests.cs (25)
313builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 354builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 394builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 435builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 475builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 510builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 595builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 917builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1136builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1169builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1315builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1386builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1505builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1559builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1605builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1650builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1742builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1779builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1814builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1850builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1907builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1938builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 1978builder.Services.AddSingleton<IPipelineActivityReporter>(mockActivityReporter); 2023builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 2071builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
KubernetesPublisherTests.cs (2)
1290builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 1316builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Python.Tests (6)
AddPythonAppTests.cs (6)
1286builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>(); 1395builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>(); 1413builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>(); 1436builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>(); 1455builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>(); 1487builder.Services.AddSingleton<IPipelineActivityReporter, NullPublishingActivityReporter>();
Aspire.Hosting.Rust.Tests (3)
AddRustAppPublishTests.cs (2)
403builder.Services.AddSingleton<IPipelineActivityReporter>(reporter); 440builder.Services.AddSingleton<IPipelineActivityReporter>(reporter);
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.
Aspire.Hosting.Tests (10)
Pipelines\CorePipelineApiTests.cs (1)
28[InlineData(typeof(IPipelineActivityReporter))]
Pipelines\DistributedApplicationPipelineTests.cs (8)
928var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1211var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1261var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1298var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1355var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 1416var reporter = context.Services.GetRequiredService<IPipelineActivityReporter>() as TestPipelineActivityReporter; 2587IPipelineActivityReporter? activityReporter = null) 2602builder.Services.AddSingleton<IPipelineActivityReporter, TestPipelineActivityReporter>();
tests\Shared\TestPipelineActivityReporter.cs (1)
11/// A test implementation of <see cref="IPipelineActivityReporter"/> that captures activity for test assertions.