Implement US-14 assigned professional read access
This commit is contained in:
1 parent
0ce9b2b168
commit
5996481081
11 files changed
+441
-24
No files matched your search
@@ -29,6 +29,7 @@ public sealed class ObservationApiFixture : IAsyncLifetime
|
||||
public HttpClient CreateDirectObservationClient() => observation!.CreateClient();
|
||||
public HttpClient CreateDirectInsightsClient() => insights!.CreateClient();
|
||||
public AuthenticatedTestClient Authentication { get; } = new();
|
||||
public Dictionary<string, string?> AdditionalGatewayConfiguration { get; } = new();
|
||||
|
||||
public async Task InitializeAsync()
|
||||
{
|
||||
@@ -76,7 +77,7 @@ public sealed class ObservationApiFixture : IAsyncLifetime
|
||||
{
|
||||
builder.UseEnvironment("Development");
|
||||
builder.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0));
|
||||
builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection(Authentication.Configuration()).AddInMemoryCollection(
|
||||
builder.ConfigureAppConfiguration((_, configuration) => configuration.AddInMemoryCollection(Authentication.Configuration()).AddInMemoryCollection(AdditionalGatewayConfiguration).AddInMemoryCollection(
|
||||
new Dictionary<string, string?> { ["Services:PatientProfile:BaseUrl"] = serviceClient.BaseAddress!.ToString(),
|
||||
["Services:Insights:BaseUrl"] = "http://127.0.0.1:1/",
|
||||
["Services:Observation:BaseUrl"] = "http://127.0.0.1:1/" }));
|
||||
|
||||
Reference in new issue
Block a user