34 references to OtlpServiceHttpEndPointAccessor
Aspire.Dashboard.Tests (34)
Integration\FrontendBrowserTokenAuthTests.cs (1)
298
using var client = new HttpClient { BaseAddress = new Uri($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}") };
Integration\FrontendOpenIdConnectAuthTests.cs (1)
81
using var client = new HttpClient(handler) { BaseAddress = new Uri($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}") };
Integration\HealthTests.cs (1)
25
await MakeRequestAndAssert($"http://{fixture.App.
OtlpServiceHttpEndPointAccessor
().EndPoint}", HttpVersion.Version11).DefaultTimeout();
Integration\OtlpCorsHttpServiceTests.cs (4)
27
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
51
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
92
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
120
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
Integration\OtlpHttpJsonTests.cs (10)
505
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
565
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
642
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
692
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
744
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
834
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
862
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
880
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
900
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
937
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
Integration\OtlpHttpServiceTests.cs (13)
43
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
76
var otlpRequest = new HttpRequestMessage(HttpMethod.Get, $"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}{path}");
98
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
150
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
221
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
248
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
276
using var httpClient = IntegrationTestHelpers.CreateHttpClient($"http://{app.
OtlpServiceHttpEndPointAccessor
().EndPoint}");
340
var endpoint = app.
OtlpServiceHttpEndPointAccessor
();
371
var endpoint = app.
OtlpServiceHttpEndPointAccessor
();
418
var endpoint = app.
OtlpServiceHttpEndPointAccessor
();
443
var endpoint = app.
OtlpServiceHttpEndPointAccessor
();
472
var endpoint = app.
OtlpServiceHttpEndPointAccessor
();
501
var endpoint = app.
OtlpServiceHttpEndPointAccessor
();
Integration\StartupTests.cs (4)
79
Assert.Equal(http ? app.
OtlpServiceHttpEndPointAccessor
().GetResolvedAddress(replaceIPAnyWithLocalhost: true) : null, endpoints.HttpAddress);
205
AssertDynamicIPEndpoint(app.
OtlpServiceHttpEndPointAccessor
);
263
AssertEndpoint(app.
OtlpServiceHttpEndPointAccessor
(), isHttps: false);
605
Assert.Equal(app.FrontendSingleEndPointAccessor().EndPoint.Port, app.
OtlpServiceHttpEndPointAccessor
().EndPoint.Port);