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

refac: 2. refactor building blocks to clean architecture #1361

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
950df3e
Refactored MasterData module to clean architecture
AndersBallingPetersen Nov 7, 2024
935f484
Refactor ArchivedMessages to clean architecture
AndersBallingPetersen Nov 7, 2024
721a8a4
wip
AndersBallingPetersen Nov 12, 2024
31672e2
Merge branch 'main' into xabpe/Refactor-MasterData-to-clean-architecture
ebbeknudsen Nov 12, 2024
ad88a7d
Create wrapper interface for MasterDataContext
AndersBallingPetersen Nov 13, 2024
7d4a887
Merge branch 'main' into xabpe/Refactor-MasterData-to-clean-architecture
AndersBallingPetersen Nov 13, 2024
f49476d
Merge branch 'xabpe/Refactor-MasterData-to-clean-architecture' into x…
AndersBallingPetersen Nov 13, 2024
1aa4f2e
Merge branch 'xabpe/1-Refactor-ArchivedMessages-to-clean-architecture…
AndersBallingPetersen Nov 13, 2024
d0240f6
Merge branch 'main' into xabpe/Refactor-MasterData-to-clean-architecture
AndersBallingPetersen Nov 13, 2024
bcefc8f
Refactor BuildingBlocks to Clean Architecture
AndersBallingPetersen Nov 13, 2024
32ac8f8
Merge branch 'main' into xabpe/Refactor-MasterData-to-clean-architecture
AndersBallingPetersen Nov 15, 2024
797944f
Added Domain project and mapping to ArchivedMessages
AndersBallingPetersen Nov 14, 2024
c1a83c7
Merge branch 'xabpe/Refactor-MasterData-to-clean-architecture' into x…
AndersBallingPetersen Nov 15, 2024
b0a5351
Merge branch 'main' into xabpe/1-Refactor-ArchivedMessages-to-clean-a…
AndersBallingPetersen Nov 15, 2024
438bfac
Merge branch 'xabpe/1-Refactor-ArchivedMessages-to-clean-architecture…
AndersBallingPetersen Nov 15, 2024
cdc92d8
Merge branch 'main' into xabpe/2-Refactor-BuildingBlocks-to-clean-arc…
AndersBallingPetersen Nov 18, 2024
c9e78bd
Fixed namespaces and .csproj propertygroups
AndersBallingPetersen Nov 18, 2024
4260995
Fixed typo
AndersBallingPetersen Nov 18, 2024
026553c
Fix namespaces
AndersBallingPetersen Nov 18, 2024
52182e2
Fixed namespaces
AndersBallingPetersen Nov 20, 2024
c485e42
Merge branch 'main' into xabpe/2-Refactor-BuildingBlocks-to-clean-arc…
AndersBallingPetersen Nov 21, 2024
a709d6c
Merge branch 'main' into xabpe/2-Refactor-BuildingBlocks-to-clean-arc…
dstenroejl Nov 25, 2024
dbadf01
Merge branch 'main' into xabpe/2-Refactor-BuildingBlocks-to-clean-arc…
AndersBallingPetersen Nov 26, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Authentication;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.DataAccess;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FileStorage;
using Energinet.DataHub.EDI.BuildingBlocks.Interfaces;

namespace Energinet.DataHub.EDI.ArchivedMessages.Infrastructure;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<ProjectReference Include="..\ArchivedMessages.Application\ArchivedMessages.Application.csproj" />
<ProjectReference Include="..\ArchivedMessages.Domain\ArchivedMessages.Domain.csproj" />
<ProjectReference Include="..\ArchivedMessages.Interfaces\ArchivedMessages.Interfaces.csproj" />
<ProjectReference Include="..\BuildingBlocks.Application\BuildingBlocks.Application.csproj" />
<ProjectReference Include="..\BuildingBlocks.Domain\BuildingBlocks.Domain.csproj" />
<ProjectReference Include="..\BuildingBlocks.Infrastructure\BuildingBlocks.Infrastructure.csproj" />
<ProjectReference Include="..\DataAccess\DataAccess.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using BuildingBlocks.Application.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.ArchivedMessages.Application;
using Energinet.DataHub.EDI.ArchivedMessages.Interfaces;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.DataAccess.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

using Azure.Storage.Blobs;
using Dapper;
using Energinet.DataHub.BuildingBlocks.Tests.Database;
using Energinet.DataHub.BuildingBlocks.Tests.Logging;
using Energinet.DataHub.Core.FunctionApp.TestCommon.Azurite;
using Energinet.DataHub.Core.Messaging.Communication.Extensions.Options;
using Energinet.DataHub.EDI.ArchivedMessages.Infrastructure.Extensions.DependencyInjection;
Expand All @@ -25,7 +23,9 @@
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Authentication;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.DataAccess;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FileStorage;
using Energinet.DataHub.EDI.BuildingBlocks.Interfaces;
using Energinet.DataHub.EDI.BuildingBlocks.Tests.Database;
using Energinet.DataHub.EDI.BuildingBlocks.Tests.Logging;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NodaTime;
Expand Down
1 change: 1 addition & 0 deletions source/B2BApi.AppTests/B2BApi.AppTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

<ItemGroup>
<ProjectReference Include="..\B2BApi\B2BApi.csproj" />
<ProjectReference Include="..\BuildingBlocks.Domain\BuildingBlocks.Domain.csproj" />
<ProjectReference Include="..\BuildingBlocks.Tests\BuildingBlocks.Tests.csproj" />
<ProjectReference Include="..\CalculationResults\CalculationResults.Infrastructure\CalculationResults.Infrastructure.csproj" />
<ProjectReference Include="..\IncomingMessages.Infrastructure\IncomingMessages.Infrastructure.csproj" />
Expand Down
5 changes: 2 additions & 3 deletions source/B2BApi.AppTests/Fixtures/B2BApiAppFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Azure.Storage.Blobs;
using BuildingBlocks.Application.FeatureFlag;
using Energinet.DataHub.BuildingBlocks.Tests.Database;
using Energinet.DataHub.Core.Databricks.SqlStatementExecution;
using Energinet.DataHub.Core.FunctionApp.TestCommon.Azurite;
using Energinet.DataHub.Core.FunctionApp.TestCommon.Configuration;
Expand All @@ -30,9 +28,10 @@
using Energinet.DataHub.EDI.B2BApi.Functions;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Configuration.Options;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;
using Energinet.DataHub.EDI.BuildingBlocks.Tests.Database;
using Energinet.DataHub.EDI.IncomingMessages.Infrastructure.Configuration.Options;
using Energinet.DataHub.EDI.IntegrationTests.AuditLog.Fixture;
using Energinet.DataHub.EDI.IntegrationTests.CalculationResults.Fixtures;
using Energinet.DataHub.EDI.OutgoingMessages.Infrastructure.Extensions.Options;
using Energinet.DataHub.EDI.Process.Infrastructure.Configuration.Options;
using Energinet.DataHub.RevisionLog.Integration.Options;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

using System.Diagnostics;
using System.Net;
using Energinet.DataHub.BuildingBlocks.Tests.Logging;
using Energinet.DataHub.Core.FunctionApp.TestCommon.Databricks;
using Energinet.DataHub.EDI.B2BApi.AppTests.DurableTask;
using Energinet.DataHub.EDI.B2BApi.AppTests.Fixtures;
using Energinet.DataHub.EDI.B2BApi.AppTests.Fixtures.Extensions;
using Energinet.DataHub.EDI.B2BApi.Functions.RequestWholesaleServices;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Tests.Logging;
using Energinet.DataHub.EDI.IntegrationTests.Behaviours.IntegrationEvents.TestData;
using Energinet.DataHub.EDI.OutgoingMessages.Infrastructure.Databricks.SqlStatements;
using Energinet.DataHub.EDI.OutgoingMessages.Infrastructure.Databricks.WholesaleResults.Queries;
Expand Down
2 changes: 1 addition & 1 deletion source/B2BApi/B2BApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ limitations under the License.
<ItemGroup>
<ProjectReference Include="..\ArchivedMessages.Infrastructure\ArchivedMessages.Infrastructure.csproj" />
<ProjectReference Include="..\AuditLog\AuditLog.csproj" />
<ProjectReference Include="..\BuildingBlocks.Application\BuildingBlocks.Application.csproj" />
<ProjectReference Include="..\BuildingBlocks.Domain\BuildingBlocks.Domain.csproj" />
<ProjectReference Include="..\CalculationResults\CalculationResults.Infrastructure\CalculationResults.Infrastructure.csproj" />
<ProjectReference Include="..\DataAccess.UnitOfWork\DataAccess.UnitOfWork.csproj" />
<ProjectReference Include="..\IncomingMessages.Application\IncomingMessages.Application.csproj" />
Expand Down
3 changes: 1 addition & 2 deletions source/B2BApi/HostFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using BuildingBlocks.Application.Extensions.DependencyInjection;
using Energinet.DataHub.Core.App.Common.Extensions.DependencyInjection;
using Energinet.DataHub.Core.App.FunctionApp.Extensions.Builder;
using Energinet.DataHub.Core.App.FunctionApp.Extensions.DependencyInjection;
Expand All @@ -22,6 +21,7 @@
using Energinet.DataHub.EDI.B2BApi.Configuration.Middleware;
using Energinet.DataHub.EDI.B2BApi.Configuration.Middleware.Authentication;
using Energinet.DataHub.EDI.B2BApi.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.DataAccess.UnitOfWork.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.IncomingMessages.Application.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.IntegrationEvents.Application.Extensions.DependencyInjection;
Expand All @@ -35,7 +35,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens;

using OutboxContext = Energinet.DataHub.EDI.Outbox.Infrastructure.OutboxContext;

namespace Energinet.DataHub.EDI.B2BApi;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

using System.Net;
using System.Text;
using BuildingBlocks.Application.FeatureFlag;
using Energinet.DataHub.EDI.B2BApi.Common;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;
using Energinet.DataHub.EDI.IncomingMessages.Interfaces;
using Energinet.DataHub.EDI.IncomingMessages.Interfaces.Models;
using Microsoft.Azure.Functions.Worker;
Expand Down
2 changes: 1 addition & 1 deletion source/B2BApi/OutgoingMessages/PeekRequestListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
// limitations under the License.

using System.Net;
using BuildingBlocks.Application.FeatureFlag;
using Energinet.DataHub.EDI.AuditLog.AuditLogger;
using Energinet.DataHub.EDI.B2BApi.Common;
using Energinet.DataHub.EDI.B2BApi.Extensions;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Authentication;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;
using Energinet.DataHub.EDI.OutgoingMessages.Interfaces;
using Energinet.DataHub.EDI.OutgoingMessages.Interfaces.Models.Peek;
using Microsoft.Azure.Functions.Worker;
Expand Down
2 changes: 1 addition & 1 deletion source/B2CWebApi.AppTests/Fixture/B2CWebApiFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

using System.Diagnostics.CodeAnalysis;
using Azure.Storage.Blobs;
using Energinet.DataHub.BuildingBlocks.Tests.Database;
using Energinet.DataHub.Core.FunctionApp.TestCommon.Azurite;
using Energinet.DataHub.Core.FunctionApp.TestCommon.Configuration;
using Energinet.DataHub.Core.FunctionApp.TestCommon.OpenIdJwt;
using Energinet.DataHub.Core.FunctionApp.TestCommon.ServiceBus.ResourceProvider;
using Energinet.DataHub.Core.Messaging.Communication.Extensions.Options;
using Energinet.DataHub.Core.TestCommon.Diagnostics;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Tests.Database;
using Xunit;
using Xunit.Abstractions;

Expand Down
1 change: 0 additions & 1 deletion source/B2CWebApi/B2CWebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<ProjectReference Include="..\ArchivedMessages.Infrastructure\ArchivedMessages.Infrastructure.csproj" />
<ProjectReference Include="..\ArchivedMessages.Interfaces\ArchivedMessages.Interfaces.csproj" />
<ProjectReference Include="..\AuditLog\AuditLog.csproj" />
<ProjectReference Include="..\BuildingBlocks.Application\BuildingBlocks.Application.csproj" />
<ProjectReference Include="..\BuildingBlocks.Domain\BuildingBlocks.Domain.csproj" />
<ProjectReference Include="..\DataAccess.UnitOfWork\DataAccess.UnitOfWork.csproj" />
<ProjectReference Include="..\IncomingMessages.Application\IncomingMessages.Application.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion source/B2CWebApi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

using System.Reflection;
using Asp.Versioning;
using BuildingBlocks.Application.Extensions.DependencyInjection;
using Energinet.DataHub.Core.App.Common.Extensions.DependencyInjection;
using Energinet.DataHub.Core.App.WebApp.Extensions.Builder;
using Energinet.DataHub.Core.App.WebApp.Extensions.DependencyInjection;
using Energinet.DataHub.Core.Outbox.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.ArchivedMessages.Infrastructure.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.B2CWebApi.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.B2CWebApi.Security;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.DataAccess.UnitOfWork.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.IncomingMessages.Application.Extensions.DependencyInjection;
using Energinet.DataHub.EDI.MasterData.Infrastructure.Extensions.DependencyInjection;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Energinet.DataHub.EDI.BuildingBlocks.Infrastructure</AssemblyName>
<RootNamespace>Energinet.DataHub.EDI.BuildingBlocks.Infrastructure</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AspNetCore.HealthChecks.AzureStorage" Version="7.0.0" />
<PackageReference Include="Azure.Storage.Blobs.Batch" Version="12.20.0" />
<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.21.0" />
<PackageReference Include="Energinet.DataHub.Core.App.Common" Version="13.2.0" />
<PackageReference Include="Energinet.DataHub.Core.Messaging" Version="6.1.0" />
<PackageReference Include="MediatR.Contracts" Version="2.0.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.2" />
<PackageReference Include="Azure.Messaging.ServiceBus" Version="7.18.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.FeatureManagement" Version="3.5.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.12.19">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
using Azure.Storage.Blobs.Models;
using Azure.Storage.Blobs.Specialized;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;
using Energinet.DataHub.EDI.BuildingBlocks.Interfaces;

namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FileStorage;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure;

public class DataLakeFileStorageClient : IFileStorageClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace BuildingBlocks.Application.Extensions.DependencyInjection;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;

public static class BuildingBlockExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using BuildingBlocks.Application.FeatureFlag;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.FeatureManagement;

namespace BuildingBlocks.Application.Extensions.DependencyInjection;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;

public static class FeatureFlagExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
using Azure.Identity;
using Azure.Storage.Blobs;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Configuration.Options;
using Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FileStorage;
using Energinet.DataHub.EDI.BuildingBlocks.Interfaces;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;

namespace BuildingBlocks.Application.Extensions.DependencyInjection;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;

public static class FileStorageExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using Energinet.DataHub.Core.Messaging.Communication.Extensions.Builder;
using Microsoft.Extensions.DependencyInjection;

namespace BuildingBlocks.Application.Extensions.DependencyInjection;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;

public static class HealthCheckExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System.Text.Unicode;
using Microsoft.Extensions.DependencyInjection;

namespace BuildingBlocks.Application.Extensions.DependencyInjection;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;

public static class JavaScriptEncoderExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
using Energinet.DataHub.EDI.BuildingBlocks.Interfaces;
using Microsoft.Extensions.DependencyInjection;

namespace BuildingBlocks.Application.Extensions.DependencyInjection;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.Extensions.DependencyInjection;

public static class SerializerExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace BuildingBlocks.Application.FeatureFlag;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;

/// <summary>
/// List of all Feature Flags that exists in the system. A Feature Flag name must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

namespace BuildingBlocks.Application.FeatureFlag;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;

/// <summary>
/// Manage feature flags in the application. If using <see cref="MicrosoftFeatureFlagManager"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

using Microsoft.FeatureManagement;

namespace BuildingBlocks.Application.FeatureFlag;
namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FeatureFlag;

/// <summary>
/// A <see cref="IFeatureFlagManager"/> implementation using the Microsoft.FeatureManagement package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.12.19">
<PackageReference Include="Azure.Core" Version="1.44.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.11.20">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BuildingBlocks.Domain\BuildingBlocks.Domain.csproj" />
AndersBallingPetersen marked this conversation as resolved.
Show resolved Hide resolved
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using Azure;
using Energinet.DataHub.EDI.BuildingBlocks.Domain.Models;

namespace Energinet.DataHub.EDI.BuildingBlocks.Infrastructure.FileStorage;
namespace Energinet.DataHub.EDI.BuildingBlocks.Interfaces;

/// <summary>
/// Used to upload/download files (primarily used for market documents)
Expand Down
5 changes: 2 additions & 3 deletions source/BuildingBlocks.Tests/BuildingBlocks.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ limitations under the License.
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AssemblyName>Energinet.DataHub.BuildingBlocks.Tests</AssemblyName>
<RootNamespace>Energinet.DataHub.BuildingBlocks.Tests</RootNamespace>
<AssemblyName>Energinet.DataHub.EDI.BuildingBlocks.Tests</AssemblyName>
<RootNamespace>Energinet.DataHub.EDI.BuildingBlocks.Tests</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand All @@ -36,7 +36,6 @@ limitations under the License.
<ItemGroup>
<ProjectReference Include="..\ApplyDBMigrationsApp\ApplyDBMigrationsApp.csproj" />
<ProjectReference Include="..\BuildingBlocks.Domain\BuildingBlocks.Domain.csproj" />
<ProjectReference Include="..\BuildingBlocks.Application\BuildingBlocks.Application.csproj" />
<ProjectReference Include="..\BuildingBlocks.Infrastructure\BuildingBlocks.Infrastructure.csproj" />
</ItemGroup>
</Project>
Loading
Loading