Skip to content

Commit c46601a

Browse files
revert: "feat: DTOSS-7710 HealthCheck ParticipantManagementDataService" (#762)
Revert "feat: DTOSS-7710 HealthCheck ParticipantManagementDataService (#757)" This reverts commit 41e0a08.
1 parent db9308f commit c46601a

File tree

3 files changed

+1
-43
lines changed

3 files changed

+1
-43
lines changed

application/CohortManager/src/Functions/screeningDataServices/ParticipantManagementDataService/HealthCheckFunction.cs

Lines changed: 0 additions & 34 deletions
This file was deleted.

application/CohortManager/src/Functions/screeningDataServices/ParticipantManagementDataService/ParticipantManagement.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" Version="2.2.0" />
1110
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />
1211
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
1312
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.15.0" />
14-
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="9.0.2" />
13+
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
1514
</ItemGroup>
1615
<ItemGroup>
1716
<None Update="host.json">
@@ -29,6 +28,5 @@
2928
<ProjectReference Include="..\..\Shared\DataServices.Database\DataServices.Database.csproj" />
3029
<ProjectReference Include="..\..\Shared\DataServices.Core\DataServices.Core.csproj" />
3130
<ProjectReference Include="..\..\Shared\Common\Common.csproj" />
32-
<ProjectReference Include="..\..\Shared\HealthChecks\HealthChecks.csproj" />
3331
</ItemGroup>
3432
</Project>
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
using Microsoft.Extensions.Hosting;
22
using DataServices.Core;
33
using DataServices.Database;
4-
using HealthChecks.Extensions;
54

65
var host = new HostBuilder()
76
.ConfigureFunctionsWorkerDefaults()
87
.AddDataServicesHandler<DataServicesContext>()
9-
.ConfigureServices(services =>
10-
{
11-
// Register health checks
12-
services.AddDatabaseHealthCheck("ParticipantManagementDataService");
13-
})
148
.Build();
159

1610
await host.RunAsync();

0 commit comments

Comments
 (0)