Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: azure storage checks #69

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
*.bak
*- [Bb]ackup.*

# Certification files
*.pem

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

Expand Down
4 changes: 0 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
<PackageTags>healthcheck;diagnostics;</PackageTags>
</PropertyGroup>

<PropertyGroup Label="Settings for test projects" Condition=" $(IsTestableProject) ">
<NoWarn>$(NoWarn);CS8604;CA2007;</NoWarn>
</PropertyGroup>

<ItemGroup Condition=" !$(IsTestableProject) ">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
Expand Down
9 changes: 8 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@
<GlobalPackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982" Condition=" '$(BuildingInsideVisualStudio)' == 'true' " />
</ItemGroup>
<ItemGroup>
<PackageVersion Include="Azure.Data.Tables" Version="12.8.1" />
<PackageVersion Include="Azure.Identity" Version="1.10.1" />
<PackageVersion Include="Azure.Storage.Blobs" Version="12.18.0" />
<PackageVersion Include="Azure.Storage.Queues" Version="12.16.0" />
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.0" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="6.0.25" Condition=" '$(TargetFramework)' == 'net6.0' " />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="7.0.14" Condition=" '$(TargetFramework)' == 'net7.0' " />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" Condition=" '$(TargetFramework)' == 'net8.0' " />
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.1.2" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.0" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Azure" Version="1.7.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageVersion Include="MySql.Data" Version="8.2.0" />
<PackageVersion Include="MySqlConnector" Version="2.3.1" />
Expand All @@ -26,7 +31,9 @@
<PackageVersion Include="Npgsql" Version="7.0.6" />
<PackageVersion Include="NSubstitute" Version="5.1.0" />
<PackageVersion Include="Oracle.ManagedDataAccess.Core" Version="3.21.120" />
<PackageVersion Include="Polyfill" Version="1.27.2" />
<PackageVersion Include="System.Data.SqlClient" Version="4.8.5" />
<PackageVersion Include="Testcontainers.Azurite" Version="3.6.0" />
<PackageVersion Include="Testcontainers.MsSql" Version="3.6.0" />
<PackageVersion Include="Testcontainers.MySql" Version="3.6.0" />
<PackageVersion Include="Testcontainers.Oracle" Version="3.6.0" />
Expand Down
81 changes: 81 additions & 0 deletions HealthChecks.sln
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,28 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Npgs
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Oracle", "src\HealthChecks.Oracle\src\NetEvolve.HealthChecks.Oracle\NetEvolve.HealthChecks.Oracle.csproj", "{75F93B8E-07FB-4517-B7B9-ADF2EF57D3F5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Blobs", "src\HealthChecks.Azure.Blobs\src\NetEvolve.HealthChecks.Azure.Blobs\NetEvolve.HealthChecks.Azure.Blobs.csproj", "{F68AF846-B484-4BE2-84DE-E9E8ABE612B0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit", "src\HealthChecks.Azure.Blobs\tests\NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit\NetEvolve.HealthChecks.Azure.Blobs.Tests.Unit.csproj", "{EE34C72C-799E-4392-8F23-3D2F7FB1A4A4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Blobs.Tests.Integration", "src\HealthChecks.Azure.Blobs\tests\NetEvolve.HealthChecks.Azure.Blobs.Tests.Integration\NetEvolve.HealthChecks.Azure.Blobs.Tests.Integration.csproj", "{D8FBA848-5938-477B-AFA7-B62134FD2D63}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testcontainers.Azurite", "..\..\GitHub\testcontainers-dotnet\src\Testcontainers.Azurite\Testcontainers.Azurite.csproj", "{052887DE-9957-4217-A11C-427DC5F553BA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Testcontainers", "..\..\GitHub\testcontainers-dotnet\src\Testcontainers\Testcontainers.csproj", "{4E4DB2B8-BE58-4E69-96D7-12809F9A83DB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Queues", "src\HealthChecks.Azure.Queues\src\NetEvolve.HealthChecks.Azure.Queues\NetEvolve.HealthChecks.Azure.Queues.csproj", "{4F628B2F-3DB8-4CB9-BB25-B830C1B12051}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Queues.Tests.Unit", "src\HealthChecks.Azure.Queues\tests\NetEvolve.HealthChecks.Azure.Queues.Tests.Unit\NetEvolve.HealthChecks.Azure.Queues.Tests.Unit.csproj", "{3A6C7B50-072D-4860-919F-491CDC6F90F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Queues.Tests.Integration", "src\HealthChecks.Azure.Queues\tests\NetEvolve.HealthChecks.Azure.Queues.Tests.Integration\NetEvolve.HealthChecks.Azure.Queues.Tests.Integration.csproj", "{DCBC9804-FA08-4B5A-AE24-760A54CF9BC4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Tables", "src\HealthChecks.Azure.Tables\src\NetEvolve.HealthChecks.Azure.Tables\NetEvolve.HealthChecks.Azure.Tables.csproj", "{465F2206-EB2C-40C3-97FB-19181B088BD0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Tables.Tests.Unit", "src\HealthChecks.Azure.Tables\tests\NetEvolve.HealthChecks.Azure.Tables.Tests.Unit\NetEvolve.HealthChecks.Azure.Tables.Tests.Unit.csproj", "{08D31996-556D-48E6-AD5F-226597F12DE5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetEvolve.HealthChecks.Azure.Tables.Tests.Integration", "src\HealthChecks.Azure.Tables\tests\NetEvolve.HealthChecks.Azure.Tables.Tests.Integration\NetEvolve.HealthChecks.Azure.Tables.Tests.Integration.csproj", "{E6FA7809-D423-4A2B-B8E7-3BBE66A89564}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -180,6 +202,50 @@ Global
{75F93B8E-07FB-4517-B7B9-ADF2EF57D3F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{75F93B8E-07FB-4517-B7B9-ADF2EF57D3F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{75F93B8E-07FB-4517-B7B9-ADF2EF57D3F5}.Release|Any CPU.Build.0 = Release|Any CPU
{F68AF846-B484-4BE2-84DE-E9E8ABE612B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F68AF846-B484-4BE2-84DE-E9E8ABE612B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F68AF846-B484-4BE2-84DE-E9E8ABE612B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F68AF846-B484-4BE2-84DE-E9E8ABE612B0}.Release|Any CPU.Build.0 = Release|Any CPU
{EE34C72C-799E-4392-8F23-3D2F7FB1A4A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE34C72C-799E-4392-8F23-3D2F7FB1A4A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE34C72C-799E-4392-8F23-3D2F7FB1A4A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE34C72C-799E-4392-8F23-3D2F7FB1A4A4}.Release|Any CPU.Build.0 = Release|Any CPU
{D8FBA848-5938-477B-AFA7-B62134FD2D63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D8FBA848-5938-477B-AFA7-B62134FD2D63}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8FBA848-5938-477B-AFA7-B62134FD2D63}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8FBA848-5938-477B-AFA7-B62134FD2D63}.Release|Any CPU.Build.0 = Release|Any CPU
{052887DE-9957-4217-A11C-427DC5F553BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{052887DE-9957-4217-A11C-427DC5F553BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{052887DE-9957-4217-A11C-427DC5F553BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{052887DE-9957-4217-A11C-427DC5F553BA}.Release|Any CPU.Build.0 = Release|Any CPU
{4E4DB2B8-BE58-4E69-96D7-12809F9A83DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4E4DB2B8-BE58-4E69-96D7-12809F9A83DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4E4DB2B8-BE58-4E69-96D7-12809F9A83DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E4DB2B8-BE58-4E69-96D7-12809F9A83DB}.Release|Any CPU.Build.0 = Release|Any CPU
{4F628B2F-3DB8-4CB9-BB25-B830C1B12051}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F628B2F-3DB8-4CB9-BB25-B830C1B12051}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F628B2F-3DB8-4CB9-BB25-B830C1B12051}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4F628B2F-3DB8-4CB9-BB25-B830C1B12051}.Release|Any CPU.Build.0 = Release|Any CPU
{3A6C7B50-072D-4860-919F-491CDC6F90F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3A6C7B50-072D-4860-919F-491CDC6F90F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3A6C7B50-072D-4860-919F-491CDC6F90F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3A6C7B50-072D-4860-919F-491CDC6F90F3}.Release|Any CPU.Build.0 = Release|Any CPU
{DCBC9804-FA08-4B5A-AE24-760A54CF9BC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DCBC9804-FA08-4B5A-AE24-760A54CF9BC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DCBC9804-FA08-4B5A-AE24-760A54CF9BC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DCBC9804-FA08-4B5A-AE24-760A54CF9BC4}.Release|Any CPU.Build.0 = Release|Any CPU
{465F2206-EB2C-40C3-97FB-19181B088BD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{465F2206-EB2C-40C3-97FB-19181B088BD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{465F2206-EB2C-40C3-97FB-19181B088BD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{465F2206-EB2C-40C3-97FB-19181B088BD0}.Release|Any CPU.Build.0 = Release|Any CPU
{08D31996-556D-48E6-AD5F-226597F12DE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{08D31996-556D-48E6-AD5F-226597F12DE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08D31996-556D-48E6-AD5F-226597F12DE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08D31996-556D-48E6-AD5F-226597F12DE5}.Release|Any CPU.Build.0 = Release|Any CPU
{E6FA7809-D423-4A2B-B8E7-3BBE66A89564}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E6FA7809-D423-4A2B-B8E7-3BBE66A89564}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E6FA7809-D423-4A2B-B8E7-3BBE66A89564}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E6FA7809-D423-4A2B-B8E7-3BBE66A89564}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -211,12 +277,23 @@ Global
{96611D86-20D4-49CD-BAFA-DE2EFA70B332} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{D9311883-0694-4453-A1F3-11A442D4EA8E} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{75F93B8E-07FB-4517-B7B9-ADF2EF57D3F5} = {76FEDF93-AF59-4391-932A-C31CB68FE314}
{F68AF846-B484-4BE2-84DE-E9E8ABE612B0} = {76FEDF93-AF59-4391-932A-C31CB68FE314}
{EE34C72C-799E-4392-8F23-3D2F7FB1A4A4} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{D8FBA848-5938-477B-AFA7-B62134FD2D63} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{4F628B2F-3DB8-4CB9-BB25-B830C1B12051} = {76FEDF93-AF59-4391-932A-C31CB68FE314}
{3A6C7B50-072D-4860-919F-491CDC6F90F3} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{DCBC9804-FA08-4B5A-AE24-760A54CF9BC4} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{465F2206-EB2C-40C3-97FB-19181B088BD0} = {76FEDF93-AF59-4391-932A-C31CB68FE314}
{08D31996-556D-48E6-AD5F-226597F12DE5} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
{E6FA7809-D423-4A2B-B8E7-3BBE66A89564} = {3C540C7F-642A-4505-9BE5-DA52A7CE227F}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {28B4CC2B-39E8-49C0-9687-78121BD83A53}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{2bcf52de-b106-4608-b838-702b637f5a12}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{465f2206-eb2c-40c3-97fb-19181b088bd0}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{4f628b2f-3db8-4cb9-bb25-b830c1b12051}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{5abd02d9-d9bb-4303-be2f-dffd2d30e2fd}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{5c013a07-27a0-4b85-897e-3eed2212c737}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{62fb0b38-060d-46bc-840d-fd225acb775e}*SharedItemsImports = 5
Expand All @@ -228,9 +305,13 @@ Global
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{ab541295-3a2d-4c4d-a2dd-8259590f0d12}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{c037fc9f-258e-4492-95be-bf1f419cdff1}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{c566eb67-a22b-4332-bdd5-8de05810853f}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{d8fba848-5938-477b-afa7-b62134fd2d63}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{d9311883-0694-4453-a1f3-11a442d4ea8e}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{dcbc9804-fa08-4b5a-ae24-760a54cf9bc4}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{e56d2a0b-607e-4860-aec5-4d9ae2cc61b5}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{e6fa7809-d423-4a2b-b8e7-3bbe66a89564}*SharedItemsImports = 5
src\HealthChecks.Shared\tests\NetEvolve.HealthChecks.Shared.Tests\NetEvolve.HealthChecks.Shared.Tests.projitems*{f13da83a-4e30-4f22-8ec8-142a33401fe3}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{f68af846-b484-4be2-84de-e9e8abe612b0}*SharedItemsImports = 5
src\HealthChecks.Shared\src\NetEvolve.HealthChecks.Shared.Abstractions\NetEvolve.HealthChecks.Shared.Abstractions.projitems*{f7ff815a-110e-454c-9d0c-b4ab297e4c3e}*SharedItemsImports = 5
EndGlobalSection
EndGlobal
Loading
Loading