diff --git a/AdminUi/src/AdminUi/Configuration/DevicesConfiguration.cs b/AdminUi/src/AdminUi/Configuration/DevicesConfiguration.cs index 90cba5127a..94c829d921 100644 --- a/AdminUi/src/AdminUi/Configuration/DevicesConfiguration.cs +++ b/AdminUi/src/AdminUi/Configuration/DevicesConfiguration.cs @@ -1,5 +1,5 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Devices.Application; +using Backbone.Devices.Application; namespace Backbone.AdminUi.Configuration; diff --git a/AdminUi/src/AdminUi/Configuration/QuotasConfiguration.cs b/AdminUi/src/AdminUi/Configuration/QuotasConfiguration.cs index ff8d3395eb..0cc9e483c1 100644 --- a/AdminUi/src/AdminUi/Configuration/QuotasConfiguration.cs +++ b/AdminUi/src/AdminUi/Configuration/QuotasConfiguration.cs @@ -1,5 +1,5 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Quotas.Application; +using Backbone.Quotas.Application; namespace Backbone.AdminUi.Configuration; diff --git a/AdminUi/src/AdminUi/Controllers/ClientsController.cs b/AdminUi/src/AdminUi/Controllers/ClientsController.cs index b8cfe425f9..b463f156f1 100644 --- a/AdminUi/src/AdminUi/Controllers/ClientsController.cs +++ b/AdminUi/src/AdminUi/Controllers/ClientsController.cs @@ -3,12 +3,12 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; -using Backbone.Modules.Devices.Application.Clients.Commands.ChangeClientSecret; -using Backbone.Modules.Devices.Application.Clients.Commands.CreateClient; -using Backbone.Modules.Devices.Application.Clients.Commands.DeleteClient; -using Backbone.Modules.Devices.Application.Clients.Commands.UpdateClient; -using Backbone.Modules.Devices.Application.Clients.DTOs; -using Backbone.Modules.Devices.Application.Clients.Queries.GetClient; +using Backbone.Devices.Application.Clients.Commands.ChangeClientSecret; +using Backbone.Devices.Application.Clients.Commands.CreateClient; +using Backbone.Devices.Application.Clients.Commands.DeleteClient; +using Backbone.Devices.Application.Clients.Commands.UpdateClient; +using Backbone.Devices.Application.Clients.DTOs; +using Backbone.Devices.Application.Clients.Queries.GetClient; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/AdminUi/src/AdminUi/Controllers/IdentitiesController.cs b/AdminUi/src/AdminUi/Controllers/IdentitiesController.cs index 1aca6ae3cf..08d5d72557 100644 --- a/AdminUi/src/AdminUi/Controllers/IdentitiesController.cs +++ b/AdminUi/src/AdminUi/Controllers/IdentitiesController.cs @@ -1,27 +1,21 @@ -using Backbone.AdminUi.Infrastructure.DTOs; -using Backbone.AdminUi.Infrastructure.Persistence.Database; -using Backbone.BuildingBlocks.API; +using Backbone.AdminUi.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; -using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.BuildingBlocks.Application.Extensions; -using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Identities.Commands.UpdateIdentity; -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; -using Backbone.Modules.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Devices.Application; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Identities.Commands.UpdateIdentity; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; +using Backbone.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; -using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -using GetIdentityQueryDevices = Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity.GetIdentityQuery; -using GetIdentityQueryQuotas = Backbone.Modules.Quotas.Application.Identities.Queries.GetIdentity.GetIdentityQuery; -using GetIdentityResponseDevices = Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity.GetIdentityResponse; -using GetIdentityResponseQuotas = Backbone.Modules.Quotas.Application.Identities.Queries.GetIdentity.GetIdentityResponse; +using GetIdentityQueryDevices = Backbone.Devices.Application.Identities.Queries.GetIdentity.GetIdentityQuery; +using GetIdentityQueryQuotas = Backbone.Quotas.Application.Identities.Queries.GetIdentity.GetIdentityQuery; +using GetIdentityResponseDevices = Backbone.Devices.Application.Identities.Queries.GetIdentity.GetIdentityResponse; +using GetIdentityResponseQuotas = Backbone.Quotas.Application.Identities.Queries.GetIdentity.GetIdentityResponse; namespace Backbone.AdminUi.Controllers; diff --git a/AdminUi/src/AdminUi/Controllers/LogsController.cs b/AdminUi/src/AdminUi/Controllers/LogsController.cs index 15f3b2d2f4..ff9d3a6692 100644 --- a/AdminUi/src/AdminUi/Controllers/LogsController.cs +++ b/AdminUi/src/AdminUi/Controllers/LogsController.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application; +using Backbone.Devices.Application; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/AdminUi/src/AdminUi/Controllers/MetricsController.cs b/AdminUi/src/AdminUi/Controllers/MetricsController.cs index 351fab554d..d50233b217 100644 --- a/AdminUi/src/AdminUi/Controllers/MetricsController.cs +++ b/AdminUi/src/AdminUi/Controllers/MetricsController.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Mvc; -using Backbone.Modules.Quotas.Application.Metrics.Queries.ListMetrics; +using Backbone.Quotas.Application.Metrics.Queries.ListMetrics; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/AdminUi/src/AdminUi/Controllers/TiersController.cs b/AdminUi/src/AdminUi/Controllers/TiersController.cs index b26b9d46fe..ba5a71b0fc 100644 --- a/AdminUi/src/AdminUi/Controllers/TiersController.cs +++ b/AdminUi/src/AdminUi/Controllers/TiersController.cs @@ -3,23 +3,19 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; -using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.BuildingBlocks.Application.Extensions; -using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; -using Backbone.Modules.Devices.Application.Tiers.Commands.DeleteTier; -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Application.Tiers.Commands.CreateQuotaForTier; -using Backbone.Modules.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; -using Backbone.Modules.Quotas.Application.Tiers.Queries.GetTierById; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Devices.Application; +using Backbone.Devices.Application.Tiers.Commands.CreateTier; +using Backbone.Devices.Application.Tiers.Commands.DeleteTier; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Application.Tiers.Commands.CreateQuotaForTier; +using Backbone.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; +using Backbone.Quotas.Application.Tiers.Queries.GetTierById; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; namespace Backbone.AdminUi.Controllers; diff --git a/AdminUi/src/AdminUi/Extensions/DevicesServiceCollectionExtensions.cs b/AdminUi/src/AdminUi/Extensions/DevicesServiceCollectionExtensions.cs index 3f5ab9437d..d173405e8c 100644 --- a/AdminUi/src/AdminUi/Extensions/DevicesServiceCollectionExtensions.cs +++ b/AdminUi/src/AdminUi/Extensions/DevicesServiceCollectionExtensions.cs @@ -1,8 +1,8 @@ using Backbone.AdminUi.Configuration; using Backbone.Crypto.Abstractions; using Backbone.Crypto.Implementations; -using Backbone.Modules.Devices.Application.Extensions; -using Backbone.Modules.Devices.Infrastructure.Persistence; +using Backbone.Devices.Application.Extensions; +using Backbone.Devices.Infrastructure.Persistence; namespace Backbone.AdminUi.Extensions; diff --git a/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs b/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs index 77417819c6..d6c5e1c002 100644 --- a/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs +++ b/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs @@ -5,8 +5,8 @@ using Backbone.AdminUi.Infrastructure.DTOs; using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Mvc.ExceptionFilters; -using Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; -using Backbone.Modules.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.Commands.RegisterDevice; +using Backbone.Devices.Application.Devices.DTOs; using FluentValidation; using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Mvc; diff --git a/AdminUi/src/AdminUi/Extensions/QuotasServiceCollectionExtensions.cs b/AdminUi/src/AdminUi/Extensions/QuotasServiceCollectionExtensions.cs index a964a2a37b..b3bd9ecd60 100644 --- a/AdminUi/src/AdminUi/Extensions/QuotasServiceCollectionExtensions.cs +++ b/AdminUi/src/AdminUi/Extensions/QuotasServiceCollectionExtensions.cs @@ -1,6 +1,6 @@ using Backbone.AdminUi.Configuration; -using Backbone.Modules.Quotas.Application.Extensions; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Application.Extensions; +using Backbone.Quotas.Infrastructure.Persistence.Database; namespace Backbone.AdminUi.Extensions; diff --git a/AdminUi/src/AdminUi/Program.cs b/AdminUi/src/AdminUi/Program.cs index b4143e6a64..8a4463e92f 100644 --- a/AdminUi/src/AdminUi/Program.cs +++ b/AdminUi/src/AdminUi/Program.cs @@ -9,19 +9,18 @@ using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.QuotaCheck; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Application; +using Backbone.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.Persistence.Database; using Backbone.Tooling.Extensions; using Microsoft.AspNetCore.Diagnostics.HealthChecks; -using Microsoft.AspNetCore.OData; using Microsoft.Extensions.Options; using Serilog; using Serilog.Exceptions; using Serilog.Exceptions.Core; using Serilog.Exceptions.EntityFrameworkCore.Destructurers; using Serilog.Settings.Configuration; -using LogHelper = Backbone.Infrastructure.Logging.LogHelper; +using LogHelper = Backbone.Backbone.Infrastructure.Logging.LogHelper; Log.Logger = new LoggerConfiguration() .WriteTo.Console() diff --git a/AdminUi/test/AdminUi.Tests.Integration/API/BaseApi.cs b/AdminUi/test/AdminUi.Tests.Integration/API/BaseApi.cs index 49e7b4881e..d5fbece4c6 100644 --- a/AdminUi/test/AdminUi.Tests.Integration/API/BaseApi.cs +++ b/AdminUi/test/AdminUi.Tests.Integration/API/BaseApi.cs @@ -1,6 +1,5 @@ using System.Net; using System.Net.Http.Headers; -using AdminUi.Tests.Integration.Models; using Backbone.AdminUi.Tests.Integration.Configuration; using Backbone.AdminUi.Tests.Integration.Models; using FluentValidation.TestHelper; diff --git a/AdminUi/test/AdminUi.Tests.Integration/API/IdentitiesApi.cs b/AdminUi/test/AdminUi.Tests.Integration/API/IdentitiesApi.cs index 7ed93bc4f0..a552e4cb4a 100644 --- a/AdminUi/test/AdminUi.Tests.Integration/API/IdentitiesApi.cs +++ b/AdminUi/test/AdminUi.Tests.Integration/API/IdentitiesApi.cs @@ -1,5 +1,4 @@ -using AdminUi.Tests.Integration.Models; -using Backbone.AdminUi.Tests.Integration.Configuration; +using Backbone.AdminUi.Tests.Integration.Configuration; using Backbone.AdminUi.Tests.Integration.Models; using Microsoft.Extensions.Options; diff --git a/AdminUi/test/AdminUi.Tests.Integration/Extensions/ODataResponseExtensions.cs b/AdminUi/test/AdminUi.Tests.Integration/Extensions/ODataResponseExtensions.cs index 273cd3af4d..72812996df 100644 --- a/AdminUi/test/AdminUi.Tests.Integration/Extensions/ODataResponseExtensions.cs +++ b/AdminUi/test/AdminUi.Tests.Integration/Extensions/ODataResponseExtensions.cs @@ -1,4 +1,4 @@ -using AdminUi.Tests.Integration.Models; +using Backbone.AdminUi.Tests.Integration.Models; using Backbone.AdminUi.Tests.Integration.Support; namespace Backbone.AdminUi.Tests.Integration.Extensions; diff --git a/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponse.cs b/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponse.cs index 8d821132a4..dabcc40ef7 100644 --- a/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponse.cs +++ b/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponse.cs @@ -1,6 +1,6 @@ using System.Net; -namespace AdminUi.Tests.Integration.Models; +namespace Backbone.AdminUi.Tests.Integration.Models; public class ODataResponse { diff --git a/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponseContent.cs b/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponseContent.cs index 2fc5224ab1..989e5663f0 100644 --- a/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponseContent.cs +++ b/AdminUi/test/AdminUi.Tests.Integration/Models/ODataResponseContent.cs @@ -1,4 +1,4 @@ -namespace AdminUi.Tests.Integration.Models; +namespace Backbone.AdminUi.Tests.Integration.Models; public class ODataResponseContent { diff --git a/AdminUi/test/AdminUi.Tests.Integration/StepDefinitions/IdentitiesApiStepDefinitions.cs b/AdminUi/test/AdminUi.Tests.Integration/StepDefinitions/IdentitiesApiStepDefinitions.cs index 2fe80dc73b..48cc4b0f32 100644 --- a/AdminUi/test/AdminUi.Tests.Integration/StepDefinitions/IdentitiesApiStepDefinitions.cs +++ b/AdminUi/test/AdminUi.Tests.Integration/StepDefinitions/IdentitiesApiStepDefinitions.cs @@ -1,4 +1,3 @@ -using AdminUi.Tests.Integration.Models; using Backbone.AdminUi.Tests.Integration.API; using Backbone.AdminUi.Tests.Integration.Extensions; using Backbone.AdminUi.Tests.Integration.Models; diff --git a/Backbone.Infrastructure/Logging/LogHelper.cs b/Backbone.Infrastructure/Logging/LogHelper.cs index 86547b87fe..0d3d78b608 100644 --- a/Backbone.Infrastructure/Logging/LogHelper.cs +++ b/Backbone.Infrastructure/Logging/LogHelper.cs @@ -2,7 +2,7 @@ using Serilog; using Serilog.Events; -namespace Backbone.Infrastructure.Logging; +namespace Backbone.Backbone.Infrastructure.Logging; public static class LogHelper { diff --git a/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomSigninManager.cs b/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomSigninManager.cs index 000f2ea9de..2e35a3903d 100644 --- a/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomSigninManager.cs +++ b/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomSigninManager.cs @@ -1,4 +1,4 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; diff --git a/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomUserStore.cs b/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomUserStore.cs index 75d03877d1..e9fc736cc4 100644 --- a/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomUserStore.cs +++ b/BuildingBlocks/src/BuildingBlocks.API/AspNetCoreIdentityCustomizations/CustomUserStore.cs @@ -1,6 +1,6 @@ using System.Linq.Expressions; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; diff --git a/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs b/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs index f18852eb7c..ff7cd358b8 100644 --- a/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs +++ b/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.API.AspNetCoreIdentityCustomizations; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.Extensions.Configuration; diff --git a/ConsumerApi/Controllers/AuthorizationController.cs b/ConsumerApi/Controllers/AuthorizationController.cs index 647c5432d1..432c9cf5eb 100644 --- a/ConsumerApi/Controllers/AuthorizationController.cs +++ b/ConsumerApi/Controllers/AuthorizationController.cs @@ -1,8 +1,8 @@ using System.Security.Claims; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.ConsumerApi.Mvc; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application; +using Backbone.Devices.Domain.Entities; using Backbone.Tooling.Extensions; using MediatR; using Microsoft.AspNetCore; diff --git a/ConsumerApi/DevicesDbContextSeed.cs b/ConsumerApi/DevicesDbContextSeed.cs index 03bca5ad9b..af44a308f7 100644 --- a/ConsumerApi/DevicesDbContextSeed.cs +++ b/ConsumerApi/DevicesDbContextSeed.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Application.Extensions; -using Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; -using Backbone.Modules.Devices.Application.Users.Commands.SeedTestUsers; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Application.Extensions; +using Backbone.Devices.Application.Tiers.Commands.CreateTier; +using Backbone.Devices.Application.Users.Commands.SeedTestUsers; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.Persistence.Database; using MediatR; using Microsoft.EntityFrameworkCore; diff --git a/ConsumerApi/Extensions/IServiceCollectionExtensions.cs b/ConsumerApi/Extensions/IServiceCollectionExtensions.cs index 3a70dc6816..c68031a2b7 100644 --- a/ConsumerApi/Extensions/IServiceCollectionExtensions.cs +++ b/ConsumerApi/Extensions/IServiceCollectionExtensions.cs @@ -6,9 +6,9 @@ using Backbone.BuildingBlocks.API.Mvc.ExceptionFilters; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.ConsumerApi.Configuration; -using Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Application.Devices.Commands.RegisterDevice; +using Backbone.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.Persistence.Database; using Backbone.Tooling.Extensions; using FluentValidation; using FluentValidation.AspNetCore; @@ -17,7 +17,7 @@ using Microsoft.OpenApi.Models; using OpenIddict.Validation.AspNetCore; using Serilog; -using PublicKey = Backbone.Modules.Devices.Application.Devices.DTOs.PublicKey; +using PublicKey = Backbone.Devices.Application.Devices.DTOs.PublicKey; namespace Backbone.ConsumerApi.Extensions; diff --git a/ConsumerApi/Mvc/JsonConverters/Challenges/ChallengeIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Challenges/ChallengeIdJsonConverter.cs index 3ffc6e6ed5..789b14c5c0 100644 --- a/ConsumerApi/Mvc/JsonConverters/Challenges/ChallengeIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Challenges/ChallengeIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Challenges.Domain.Ids; +using Backbone.Challenges.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Challenges; diff --git a/ConsumerApi/Mvc/JsonConverters/Files/FileIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Files/FileIdJsonConverter.cs index 3cf5fb3358..17374eedba 100644 --- a/ConsumerApi/Mvc/JsonConverters/Files/FileIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Files/FileIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Files; diff --git a/ConsumerApi/Mvc/JsonConverters/Messages/FileIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Messages/FileIdJsonConverter.cs index 85e4441961..5e836440c4 100644 --- a/ConsumerApi/Mvc/JsonConverters/Messages/FileIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Messages/FileIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Messages; diff --git a/ConsumerApi/Mvc/JsonConverters/Messages/MessageIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Messages/MessageIdJsonConverter.cs index 6539855f5f..54b844cb9e 100644 --- a/ConsumerApi/Mvc/JsonConverters/Messages/MessageIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Messages/MessageIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Messages; diff --git a/ConsumerApi/Mvc/JsonConverters/Messages/RelationshipIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Messages/RelationshipIdJsonConverter.cs index 34429f5426..6808656290 100644 --- a/ConsumerApi/Mvc/JsonConverters/Messages/RelationshipIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Messages/RelationshipIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Messages; diff --git a/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipChangeIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipChangeIdJsonConverter.cs index 6946d43881..caa6694ef5 100644 --- a/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipChangeIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipChangeIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Relationships; diff --git a/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipIdJsonConverter.cs index 9006a6553d..257c789655 100644 --- a/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Relationships; diff --git a/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipTemplateIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipTemplateIdJsonConverter.cs index 8c27d484f1..4d66a5b021 100644 --- a/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipTemplateIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Relationships/RelationshipTemplateIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Relationships; diff --git a/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletIdJsonConverter.cs index 28a01f936b..a330c874bd 100644 --- a/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Synchronization; diff --git a/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletModificationIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletModificationIdJsonConverter.cs index f46c74a08a..3d2f241c9e 100644 --- a/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletModificationIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Synchronization/DatawalletModificationIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Synchronization; diff --git a/ConsumerApi/Mvc/JsonConverters/Synchronization/ExternalEventIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Synchronization/ExternalEventIdJsonConverter.cs index eddb27d86f..b8f020dba4 100644 --- a/ConsumerApi/Mvc/JsonConverters/Synchronization/ExternalEventIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Synchronization/ExternalEventIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Synchronization; diff --git a/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncErrorIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncErrorIdJsonConverter.cs index e6963bdb70..77c23c309e 100644 --- a/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncErrorIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncErrorIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Synchronization; diff --git a/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncRunIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncRunIdJsonConverter.cs index f92a906d50..f2eab6ac5a 100644 --- a/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncRunIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Synchronization/SyncRunIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Synchronization; diff --git a/ConsumerApi/Mvc/JsonConverters/Tokens/TokenIdJsonConverter.cs b/ConsumerApi/Mvc/JsonConverters/Tokens/TokenIdJsonConverter.cs index 7a6c4169e4..a57d3aca7b 100644 --- a/ConsumerApi/Mvc/JsonConverters/Tokens/TokenIdJsonConverter.cs +++ b/ConsumerApi/Mvc/JsonConverters/Tokens/TokenIdJsonConverter.cs @@ -1,7 +1,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; namespace Backbone.ConsumerApi.Mvc.JsonConverters.Tokens; diff --git a/ConsumerApi/Program.cs b/ConsumerApi/Program.cs index b2cbbe4824..00c5a8f750 100644 --- a/ConsumerApi/Program.cs +++ b/ConsumerApi/Program.cs @@ -1,33 +1,33 @@ using System.Reflection; using Autofac.Extensions.DependencyInjection; using Backbone.Backbone.Infrastructure.EventBus; +using Backbone.Backbone.Infrastructure.Logging; using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.QuotaCheck; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; +using Backbone.Challenges.ConsumerApi; +using Backbone.Challenges.Infrastructure.Persistence.Database; using Backbone.Common.Infrastructure; using Backbone.ConsumerApi; using Backbone.ConsumerApi.Configuration; using Backbone.ConsumerApi.Extensions; using Backbone.ConsumerApi.Mvc.Middleware; -using Backbone.Infrastructure.Logging; -using Backbone.Modules.Challenges.ConsumerApi; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.ConsumerApi; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; -using Backbone.Modules.Files.ConsumerApi; -using Backbone.Modules.Files.Infrastructure.Persistence.Database; -using Backbone.Modules.Messages.ConsumerApi; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.ConsumerApi; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Relationships.ConsumerApi; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; -using Backbone.Modules.Synchronization.ConsumerApi; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; -using Backbone.Modules.Tokens.ConsumerApi; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +using Backbone.Devices.ConsumerApi; +using Backbone.Devices.Infrastructure.Persistence.Database; +using Backbone.Files.ConsumerApi; +using Backbone.Files.Infrastructure.Persistence.Database; +using Backbone.Messages.ConsumerApi; +using Backbone.Messages.Infrastructure.Persistence.Database; +using Backbone.Quotas.ConsumerApi; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Relationships.ConsumerApi; +using Backbone.Relationships.Infrastructure.Persistence.Database; +using Backbone.Synchronization.ConsumerApi; +using Backbone.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Tokens.ConsumerApi; +using Backbone.Tokens.Infrastructure.Persistence.Database; using Backbone.Tooling.Extensions; using MediatR; using Microsoft.AspNetCore.Diagnostics.HealthChecks; diff --git a/ConsumerApi/QuotasDbContextSeed.cs b/ConsumerApi/QuotasDbContextSeed.cs index a43585f5c4..34c83e0927 100644 --- a/ConsumerApi/QuotasDbContextSeed.cs +++ b/ConsumerApi/QuotasDbContextSeed.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; namespace Backbone.ConsumerApi; diff --git a/Modules/Challenges/src/Challenges.Application/ApplicationOptions.cs b/Modules/Challenges/src/Challenges.Application/ApplicationOptions.cs index 52c072df57..cad50ccf0b 100644 --- a/Modules/Challenges/src/Challenges.Application/ApplicationOptions.cs +++ b/Modules/Challenges/src/Challenges.Application/ApplicationOptions.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Challenges.Application; +namespace Backbone.Challenges.Application; public class ApplicationOptions { diff --git a/Modules/Challenges/src/Challenges.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Challenges/src/Challenges.Application/AutoMapper/AutoMapperProfile.cs index 57a8c88449..29762f05cc 100644 --- a/Modules/Challenges/src/Challenges.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Challenges/src/Challenges.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Challenges.Application.AutoMapper; +namespace Backbone.Challenges.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/ApplicationErrors.cs b/Modules/Challenges/src/Challenges.Application/Challenges/ApplicationErrors.cs index 3be74b2040..d7c63e1a4a 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/ApplicationErrors.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/ApplicationErrors.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Challenges.Application.Challenges; +namespace Backbone.Challenges.Application.Challenges; public static class ApplicationErrors { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/CreateChallengeCommand.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/CreateChallengeCommand.cs index c26f203c4c..1b52195a9f 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/CreateChallengeCommand.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/CreateChallengeCommand.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Challenges.Application.Challenges.DTOs; +using Backbone.Challenges.Application.Challenges.DTOs; using MediatR; -namespace Backbone.Modules.Challenges.Application.Challenges.Commands.CreateChallenge; +namespace Backbone.Challenges.Application.Challenges.Commands.CreateChallenge; public class CreateChallengeCommand : IRequest { } diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Handler.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Handler.cs index 9fe70ebb82..9683c1ac72 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Handler.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Challenges.Application.Challenges.DTOs; -using Backbone.Modules.Challenges.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Challenges.Domain.Entities; +using Backbone.Challenges.Application.Challenges.DTOs; +using Backbone.Challenges.Application.Infrastructure.Persistence.Repository; +using Backbone.Challenges.Domain.Entities; using MediatR; -namespace Backbone.Modules.Challenges.Application.Challenges.Commands.CreateChallenge; +namespace Backbone.Challenges.Application.Challenges.Commands.CreateChallenge; public class Handler : IRequestHandler { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Validators.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Validators.cs index d5122b597d..8df78f6363 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Validators.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/CreateChallenge/Validators.cs @@ -1,5 +1,5 @@ using FluentValidation; -namespace Backbone.Modules.Challenges.Application.Challenges.Commands.CreateChallenge; +namespace Backbone.Challenges.Application.Challenges.Commands.CreateChallenge; public class CreateChallengeCommandValidator : AbstractValidator { } diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesCommand.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesCommand.cs index 59d32d169f..b422291deb 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesCommand.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesCommand.cs @@ -1,5 +1,5 @@ using MediatR; -namespace Backbone.Modules.Challenges.Application.Challenges.Commands.DeleteExpiredChallenges; +namespace Backbone.Challenges.Application.Challenges.Commands.DeleteExpiredChallenges; public class DeleteExpiredChallengesCommand : IRequest { } diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesResponse.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesResponse.cs index cfd8bb6d7f..e83414f339 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesResponse.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/DeleteExpiredChallengesResponse.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Challenges.Application.Challenges.Commands.DeleteExpiredChallenges; +namespace Backbone.Challenges.Application.Challenges.Commands.DeleteExpiredChallenges; public class DeleteExpiredChallengesResponse { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/Handler.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/Handler.cs index 59aa489db5..806337cef9 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/Handler.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Commands/DeleteExpiredChallenges/Handler.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Challenges.Application.Infrastructure.Persistence.Repository; +using Backbone.Challenges.Application.Infrastructure.Persistence.Repository; using MediatR; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Challenges.Application.Challenges.Commands.DeleteExpiredChallenges; +namespace Backbone.Challenges.Application.Challenges.Commands.DeleteExpiredChallenges; public class Handler : IRequestHandler { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/DTOs/ChallengeDTO.cs b/Modules/Challenges/src/Challenges.Application/Challenges/DTOs/ChallengeDTO.cs index a710d305e4..140df5c7b0 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/DTOs/ChallengeDTO.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/DTOs/ChallengeDTO.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; -namespace Backbone.Modules.Challenges.Application.Challenges.DTOs; +namespace Backbone.Challenges.Application.Challenges.DTOs; public class ChallengeDTO : IMapTo { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/GetChallengeByIdQuery.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/GetChallengeByIdQuery.cs index e5db53901e..2a7443a5c8 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/GetChallengeByIdQuery.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/GetChallengeByIdQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Challenges.Application.Challenges.DTOs; -using Backbone.Modules.Challenges.Domain.Ids; +using Backbone.Challenges.Application.Challenges.DTOs; +using Backbone.Challenges.Domain.Ids; using MediatR; -namespace Backbone.Modules.Challenges.Application.Challenges.Queries.GetChallengeById; +namespace Backbone.Challenges.Application.Challenges.Queries.GetChallengeById; public class GetChallengeByIdQuery : IRequest { diff --git a/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/Handler.cs b/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/Handler.cs index 79338b1f3d..21b1bbea03 100644 --- a/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/Handler.cs +++ b/Modules/Challenges/src/Challenges.Application/Challenges/Queries/GetChallengeById/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Challenges.Application.Challenges.DTOs; -using Backbone.Modules.Challenges.Application.Infrastructure.Persistence.Repository; +using Backbone.Challenges.Application.Challenges.DTOs; +using Backbone.Challenges.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Challenges.Application.Challenges.Queries.GetChallengeById; +namespace Backbone.Challenges.Application.Challenges.Queries.GetChallengeById; public class Handler : IRequestHandler { diff --git a/Modules/Challenges/src/Challenges.Application/Extensions/ApplicationServiceCollectionExtensions.cs b/Modules/Challenges/src/Challenges.Application/Extensions/ApplicationServiceCollectionExtensions.cs index 7f0dfd6f7d..1dffd77f59 100644 --- a/Modules/Challenges/src/Challenges.Application/Extensions/ApplicationServiceCollectionExtensions.cs +++ b/Modules/Challenges/src/Challenges.Application/Extensions/ApplicationServiceCollectionExtensions.cs @@ -1,13 +1,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Challenges.Application.AutoMapper; -using Backbone.Modules.Challenges.Application.Challenges.Commands.CreateChallenge; +using Backbone.Challenges.Application.AutoMapper; +using Backbone.Challenges.Application.Challenges.Commands.CreateChallenge; using FluentValidation; using MediatR; using Microsoft.Extensions.DependencyInjection; using ValidationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ValidationException; -namespace Backbone.Modules.Challenges.Application.Extensions; +namespace Backbone.Challenges.Application.Extensions; public static class ApplicationServiceCollectionExtensions { diff --git a/Modules/Challenges/src/Challenges.Application/Extensions/ChallengeQueryableExtensions.cs b/Modules/Challenges/src/Challenges.Application/Extensions/ChallengeQueryableExtensions.cs index 2e640849ec..3e469cf7d2 100644 --- a/Modules/Challenges/src/Challenges.Application/Extensions/ChallengeQueryableExtensions.cs +++ b/Modules/Challenges/src/Challenges.Application/Extensions/ChallengeQueryableExtensions.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Challenges.Application.Extensions; +namespace Backbone.Challenges.Application.Extensions; public static class ChallengeQueryableExtensions { diff --git a/Modules/Challenges/src/Challenges.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs b/Modules/Challenges/src/Challenges.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs index 4248b4b770..fd1b06c15e 100644 --- a/Modules/Challenges/src/Challenges.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs +++ b/Modules/Challenges/src/Challenges.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; -namespace Backbone.Modules.Challenges.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Challenges.Application.Infrastructure.Persistence.Repository; public interface IChallengesRepository { Task Find(ChallengeId id, CancellationToken cancellationToken); diff --git a/Modules/Challenges/src/Challenges.ConsumerApi/ChallengesModule.cs b/Modules/Challenges/src/Challenges.ConsumerApi/ChallengesModule.cs index 1f2fc26db7..da9a3fa2db 100644 --- a/Modules/Challenges/src/Challenges.ConsumerApi/ChallengesModule.cs +++ b/Modules/Challenges/src/Challenges.ConsumerApi/ChallengesModule.cs @@ -1,14 +1,14 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Challenges.Application; -using Backbone.Modules.Challenges.Application.Extensions; -using Backbone.Modules.Challenges.Infrastructure.Persistence; +using Backbone.Challenges.Application; +using Backbone.Challenges.Application.Extensions; +using Backbone.Challenges.Infrastructure.Persistence; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Challenges.ConsumerApi; +namespace Backbone.Challenges.ConsumerApi; public class ChallengesModule : AbstractModule { diff --git a/Modules/Challenges/src/Challenges.ConsumerApi/Configuration.cs b/Modules/Challenges/src/Challenges.ConsumerApi/Configuration.cs index f6288b2e06..9654b22ff3 100644 --- a/Modules/Challenges/src/Challenges.ConsumerApi/Configuration.cs +++ b/Modules/Challenges/src/Challenges.ConsumerApi/Configuration.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Challenges.Application; +using Backbone.Challenges.Application; -namespace Backbone.Modules.Challenges.ConsumerApi; +namespace Backbone.Challenges.ConsumerApi; public class Configuration { diff --git a/Modules/Challenges/src/Challenges.ConsumerApi/Controllers/ChallengesController.cs b/Modules/Challenges/src/Challenges.ConsumerApi/Controllers/ChallengesController.cs index 4de37f542e..da0ca1bf66 100644 --- a/Modules/Challenges/src/Challenges.ConsumerApi/Controllers/ChallengesController.cs +++ b/Modules/Challenges/src/Challenges.ConsumerApi/Controllers/ChallengesController.cs @@ -1,16 +1,16 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; -using Backbone.Modules.Challenges.Application.Challenges.Commands.CreateChallenge; -using Backbone.Modules.Challenges.Application.Challenges.DTOs; -using Backbone.Modules.Challenges.Application.Challenges.Queries.GetChallengeById; -using Backbone.Modules.Challenges.Domain.Ids; +using Backbone.Challenges.Application.Challenges.Commands.CreateChallenge; +using Backbone.Challenges.Application.Challenges.DTOs; +using Backbone.Challenges.Application.Challenges.Queries.GetChallengeById; +using Backbone.Challenges.Domain.Ids; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; -namespace Backbone.Modules.Challenges.ConsumerApi.Controllers; +namespace Backbone.Challenges.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Challenges/src/Challenges.Domain/Entities/Challenge.cs b/Modules/Challenges/src/Challenges.Domain/Entities/Challenge.cs index 30e332e981..bb133d14b9 100644 --- a/Modules/Challenges/src/Challenges.Domain/Entities/Challenge.cs +++ b/Modules/Challenges/src/Challenges.Domain/Entities/Challenge.cs @@ -1,9 +1,9 @@ using System.Linq.Expressions; +using Backbone.Challenges.Domain.Ids; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Challenges.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Challenges.Domain.Entities; +namespace Backbone.Challenges.Domain.Entities; public class Challenge { diff --git a/Modules/Challenges/src/Challenges.Domain/Ids/ChallengeId.cs b/Modules/Challenges/src/Challenges.Domain/Ids/ChallengeId.cs index 48377d743d..d80ebd898e 100644 --- a/Modules/Challenges/src/Challenges.Domain/Ids/ChallengeId.cs +++ b/Modules/Challenges/src/Challenges.Domain/Ids/ChallengeId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Challenges.Domain.Ids; +namespace Backbone.Challenges.Domain.Ids; [Serializable] [TypeConverter(typeof(ChallengeIdTypeConverter))] diff --git a/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/20230208165138_Init.Designer.cs b/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/20230208165138_Init.Designer.cs index 73a39fbcce..04902bd934 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/20230208165138_Init.Designer.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/20230208165138_Init.Designer.cs @@ -1,11 +1,8 @@ // -using System; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; +using Backbone.Challenges.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/ChallengesDbContextModelSnapshot.cs b/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/ChallengesDbContextModelSnapshot.cs index ceac3c4448..7e801a74ac 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/ChallengesDbContextModelSnapshot.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure.Database.Postgres/Migrations/ChallengesDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; +using Backbone.Challenges.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/20220929133325_Init.Designer.cs b/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/20220929133325_Init.Designer.cs index 05fa011a16..74b5d47f19 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/20220929133325_Init.Designer.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/20220929133325_Init.Designer.cs @@ -1,11 +1,9 @@ // using System; +using Backbone.Challenges.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; #nullable disable diff --git a/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index 00878721ea..fe53d7ef9e 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; +using Backbone.Challenges.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs index 4dd85fdd3f..9912ce0deb 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs @@ -2,10 +2,10 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; +using Backbone.Challenges.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengesDbContextModel.cs b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengesDbContextModel.cs index baea728a35..137597896e 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengesDbContextModel.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/Postgres/ChallengesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; + +using Backbone.Challenges.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs index 88295c1f11..336cfe79fb 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs @@ -2,10 +2,10 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; +using Backbone.Challenges.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengesDbContextModel.cs b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengesDbContextModel.cs index 56ac0b9c0f..e3c02b2c26 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengesDbContextModel.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/CompiledModels/SqlServer/ChallengesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; + +using Backbone.Challenges.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ChallengesDbContext.cs b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ChallengesDbContext.cs index 0c16bb1df1..d05d709bd9 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ChallengesDbContext.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ChallengesDbContext.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; +using Backbone.Challenges.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Challenges.Infrastructure.Persistence.Database; +namespace Backbone.Challenges.Infrastructure.Persistence.Database; public class ChallengesDbContext : AbstractDbContextBase { diff --git a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Configurations/ChallengeEntityTypeConfiguration.cs b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Configurations/ChallengeEntityTypeConfiguration.cs index f81a29de79..f2f473daf6 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Configurations/ChallengeEntityTypeConfiguration.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Configurations/ChallengeEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Challenges.Infrastructure.Persistence.Database.Configurations; +namespace Backbone.Challenges.Infrastructure.Persistence.Database.Configurations; public class ChallengeEventEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Repository/ChallengesRepository.cs b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Repository/ChallengesRepository.cs index 607bc4e3c1..63cb7299e7 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Repository/ChallengesRepository.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/Repository/ChallengesRepository.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Challenges.Application.Extensions; -using Backbone.Modules.Challenges.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Challenges.Domain.Entities; -using Backbone.Modules.Challenges.Domain.Ids; +using Backbone.Challenges.Application.Extensions; +using Backbone.Challenges.Application.Infrastructure.Persistence.Repository; +using Backbone.Challenges.Domain.Entities; +using Backbone.Challenges.Domain.Ids; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Challenges.Infrastructure.Persistence.Database.Repository; +namespace Backbone.Challenges.Infrastructure.Persistence.Database.Repository; public class ChallengesRepository : IChallengesRepository { private readonly DbSet _challenges; diff --git a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ValueConverters/ChallengeIdEntityFrameworkValueConverter.cs b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ValueConverters/ChallengeIdEntityFrameworkValueConverter.cs index d9999e73c2..b6d0da6a2e 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ValueConverters/ChallengeIdEntityFrameworkValueConverter.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/Database/ValueConverters/ChallengeIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Challenges.Domain.Ids; +using Backbone.Challenges.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Challenges.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Challenges.Infrastructure.Persistence.Database.ValueConverters; public class ChallengeIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/IServiceCollectionExtensions.cs index 219eed8e7e..c40d2aecd0 100644 --- a/Modules/Challenges/src/Challenges.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Challenges/src/Challenges.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Challenges.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database; -using Backbone.Modules.Challenges.Infrastructure.Persistence.Database.Repository; +using Backbone.Challenges.Application.Infrastructure.Persistence.Repository; +using Backbone.Challenges.Infrastructure.Persistence.Database; +using Backbone.Challenges.Infrastructure.Persistence.Database.Repository; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Challenges.Infrastructure.Persistence; +namespace Backbone.Challenges.Infrastructure.Persistence; public static class IServiceCollectionExtensions { @@ -29,7 +29,7 @@ public static void AddDatabase(this IServiceCollection services, Action @@ -37,7 +37,7 @@ public static void AddDatabase(this IServiceCollection services, Action { public ChangeClientSecretCommand(string clientId, string newSecret) diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretCommandValidator.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretCommandValidator.cs index 68b1faeacd..a4967d7fa3 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Clients.Commands.ChangeClientSecret; +namespace Backbone.Devices.Application.Clients.Commands.ChangeClientSecret; public class ChangeClientSecretCommandValidator : AbstractValidator { public ChangeClientSecretCommandValidator() diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretResponse.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretResponse.cs index a3d4c1b797..8a69354919 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretResponse.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/ChangeClientSecretResponse.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Clients.Commands.ChangeClientSecret; +namespace Backbone.Devices.Application.Clients.Commands.ChangeClientSecret; public class ChangeClientSecretResponse { public ChangeClientSecretResponse(OAuthClient client, string clientSecret) diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/Handler.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/Handler.cs index 6a4d8dcd9a..031b307b1e 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/ChangeClientSecret/Handler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Commands.ChangeClientSecret; +namespace Backbone.Devices.Application.Clients.Commands.ChangeClientSecret; public class Handler : IRequestHandler { private readonly IOAuthClientsRepository _oAuthClientsRepository; diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommand.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommand.cs index 035d03730b..9f44ae23d8 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommand.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Commands.CreateClient; +namespace Backbone.Devices.Application.Clients.Commands.CreateClient; public class CreateClientCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommandValidator.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommandValidator.cs index b2350ade86..9826e68ac4 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Clients.Commands.CreateClient; +namespace Backbone.Devices.Application.Clients.Commands.CreateClient; public class CreateClientCommandValidator : AbstractValidator { public CreateClientCommandValidator() diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientResponse.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientResponse.cs index 87e1e59721..6b1662dc25 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientResponse.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/CreateClientResponse.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Clients.Commands.CreateClient; +namespace Backbone.Devices.Application.Clients.Commands.CreateClient; public class CreateClientResponse { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/Handler.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/Handler.cs index 75978c64ef..59b354b07c 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/CreateClient/Handler.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using Backbone.Tooling; using MediatR; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Clients.Commands.CreateClient; +namespace Backbone.Devices.Application.Clients.Commands.CreateClient; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommand.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommand.cs index 470484cd27..62f7e9c5ad 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommand.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Commands.DeleteClient; +namespace Backbone.Devices.Application.Clients.Commands.DeleteClient; public class DeleteClientCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommandValidator.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommandValidator.cs index af0d4d7101..a22e66a742 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/DeleteClientCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Clients.Commands.DeleteClient; +namespace Backbone.Devices.Application.Clients.Commands.DeleteClient; public class DeleteClientCommandValidator : AbstractValidator { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/Handler.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/Handler.cs index 8171bccf03..c46705bcf6 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/DeleteClient/Handler.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; using MediatR; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Devices.Application.Clients.Commands.DeleteClient; +namespace Backbone.Devices.Application.Clients.Commands.DeleteClient; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/Handler.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/Handler.cs index d96e6be72d..5a88853330 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/Handler.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using MediatR; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Clients.Commands.UpdateClient; +namespace Backbone.Devices.Application.Clients.Commands.UpdateClient; public class Handler : IRequestHandler { private readonly IOAuthClientsRepository _oAuthClientsRepository; diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommand.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommand.cs index 52f20b7ea8..19b590af7d 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommand.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Commands.UpdateClient; +namespace Backbone.Devices.Application.Clients.Commands.UpdateClient; public class UpdateClientCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommandValidator.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommandValidator.cs index f679764aa3..741563c7cf 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Clients.Commands.UpdateClient; +namespace Backbone.Devices.Application.Clients.Commands.UpdateClient; public class UpdateClientCommandValidator : AbstractValidator { public UpdateClientCommandValidator() diff --git a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientResponse.cs b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientResponse.cs index 27e6d1237e..8387afbd55 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientResponse.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Commands/UpdateClient/UpdateClientResponse.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Clients.Commands.UpdateClient; +namespace Backbone.Devices.Application.Clients.Commands.UpdateClient; public class UpdateClientResponse { public UpdateClientResponse(OAuthClient client) diff --git a/Modules/Devices/src/Devices.Application/Clients/DTOs/ClientDTO.cs b/Modules/Devices/src/Devices.Application/Clients/DTOs/ClientDTO.cs index 8ab879ecbb..5dcd131300 100644 --- a/Modules/Devices/src/Devices.Application/Clients/DTOs/ClientDTO.cs +++ b/Modules/Devices/src/Devices.Application/Clients/DTOs/ClientDTO.cs @@ -1,8 +1,8 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Clients.DTOs; +namespace Backbone.Devices.Application.Clients.DTOs; public class ClientDTO : IHaveCustomMapping { diff --git a/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/GetClientQuery.cs b/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/GetClientQuery.cs index ee3676eecd..f0558c8303 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/GetClientQuery.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/GetClientQuery.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Application.Clients.DTOs; +using Backbone.Devices.Application.Clients.DTOs; using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Queries.GetClient; +namespace Backbone.Devices.Application.Clients.Queries.GetClient; public class GetClientQuery : IRequest { public GetClientQuery(string id) diff --git a/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/Handler.cs b/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/Handler.cs index b0f9aa826f..8c47fd0041 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Queries/GetClient/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application.Clients.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Clients.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Queries.GetClient; +namespace Backbone.Devices.Application.Clients.Queries.GetClient; public class Handler : IRequestHandler { private readonly IMapper _mapper; diff --git a/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/Handler.cs b/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/Handler.cs index c2a3e540f3..84bc899506 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/Handler.cs @@ -1,9 +1,9 @@ using AutoMapper; -using Backbone.Modules.Devices.Application.Clients.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Clients.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Queries.ListClients; +namespace Backbone.Devices.Application.Clients.Queries.ListClients; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsQuery.cs b/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsQuery.cs index 6bdf175fb7..efb26d987e 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsQuery.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsQuery.cs @@ -1,4 +1,4 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Clients.Queries.ListClients; +namespace Backbone.Devices.Application.Clients.Queries.ListClients; public class ListClientsQuery : IRequest { } diff --git a/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsResponse.cs b/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsResponse.cs index 71b0ec9343..0dbd9c4d91 100644 --- a/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsResponse.cs +++ b/Modules/Devices/src/Devices.Application/Clients/Queries/ListClients/ListClientsResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.CQRS.BaseClasses; -using Backbone.Modules.Devices.Application.Clients.DTOs; +using Backbone.Devices.Application.Clients.DTOs; -namespace Backbone.Modules.Devices.Application.Clients.Queries.ListClients; +namespace Backbone.Devices.Application.Clients.Queries.ListClients; public class ListClientsResponse : EnumerableResponseBase { public ListClientsResponse(IEnumerable items) : base(items) { } diff --git a/Modules/Devices/src/Devices.Application/DTOs/ChallengeDTO.cs b/Modules/Devices/src/Devices.Application/DTOs/ChallengeDTO.cs index ed5225c0ce..257cf5d665 100644 --- a/Modules/Devices/src/Devices.Application/DTOs/ChallengeDTO.cs +++ b/Modules/Devices/src/Devices.Application/DTOs/ChallengeDTO.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.DTOs; +namespace Backbone.Devices.Application.DTOs; public class ChallengeDTO { diff --git a/Modules/Devices/src/Devices.Application/DTOs/IdentitySummaryDTO.cs b/Modules/Devices/src/Devices.Application/DTOs/IdentitySummaryDTO.cs index 5506905d79..c98e3ff4e8 100644 --- a/Modules/Devices/src/Devices.Application/DTOs/IdentitySummaryDTO.cs +++ b/Modules/Devices/src/Devices.Application/DTOs/IdentitySummaryDTO.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.DTOs; +namespace Backbone.Devices.Application.DTOs; public class IdentitySummaryDTO { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommand.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommand.cs index 7541ade5e3..1803b9c65b 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommand.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Commands.ChangePassword; +namespace Backbone.Devices.Application.Devices.Commands.ChangePassword; public class ChangePasswordCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommandValidator.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommandValidator.cs index f5c48278bc..e63018a9bd 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/ChangePasswordCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Devices.Commands.ChangePassword; +namespace Backbone.Devices.Application.Devices.Commands.ChangePassword; // ReSharper disable once UnusedMember.Global public class ChangePasswordCommandValidator : AbstractValidator diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/Handler.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/Handler.cs index 52f877918a..676516df13 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/ChangePassword/Handler.cs @@ -1,13 +1,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using MediatR; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Devices.Application.Devices.Commands.ChangePassword; +namespace Backbone.Devices.Application.Devices.Commands.ChangePassword; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceCommand.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceCommand.cs index 2c53e38810..33d36099dc 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceCommand.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceCommand.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.DTOs; using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Commands.DeleteDevice; +namespace Backbone.Devices.Application.Devices.Commands.DeleteDevice; public class DeleteDeviceCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceValidator.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceValidator.cs index e384b54a65..dd5677181f 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceValidator.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/DeleteDeviceValidator.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Devices.Application.Devices.DTOs.Validators; +using Backbone.Devices.Application.Devices.DTOs.Validators; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Devices.Commands.DeleteDevice; +namespace Backbone.Devices.Application.Devices.Commands.DeleteDevice; // ReSharper disable once UnusedMember.Global public class DeleteDeviceValidator : AbstractValidator diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/Handler.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/Handler.cs index 323ad6e965..ed6d5b5af4 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/DeleteDevice/Handler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; using MediatR; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Devices.Application.Devices.Commands.DeleteDevice; +namespace Backbone.Devices.Application.Devices.Commands.DeleteDevice; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/Handler.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/Handler.cs index b766974937..d5577ca66a 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/Handler.cs @@ -5,13 +5,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using MediatR; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +namespace Backbone.Devices.Application.Devices.Commands.RegisterDevice; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommand.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommand.cs index ce78b1dcdf..67baa8ca52 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommand.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommand.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.DTOs; using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +namespace Backbone.Devices.Application.Devices.Commands.RegisterDevice; public class RegisterDeviceCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommandValidator.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommandValidator.cs index a1b800e881..ee297b6124 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommandValidator.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Devices.Application.Devices.DTOs.Validators; +using Backbone.Devices.Application.Devices.DTOs.Validators; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +namespace Backbone.Devices.Application.Devices.Commands.RegisterDevice; public class RegisterDeviceCommandValidator : AbstractValidator { diff --git a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceResponse.cs b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceResponse.cs index c3e67a3706..d4d55ecbd4 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceResponse.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceResponse.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +namespace Backbone.Devices.Application.Devices.Commands.RegisterDevice; public class RegisterDeviceResponse { diff --git a/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs b/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs index 9b9851ee4c..b3d782f6a4 100644 --- a/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs +++ b/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs @@ -1,9 +1,9 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Devices.DTOs; +namespace Backbone.Devices.Application.Devices.DTOs; public class DeviceDTO : IHaveCustomMapping { diff --git a/Modules/Devices/src/Devices.Application/Devices/DTOs/PublicKey.cs b/Modules/Devices/src/Devices.Application/Devices/DTOs/PublicKey.cs index bd97a032ad..dc040cc5a1 100644 --- a/Modules/Devices/src/Devices.Application/Devices/DTOs/PublicKey.cs +++ b/Modules/Devices/src/Devices.Application/Devices/DTOs/PublicKey.cs @@ -1,10 +1,10 @@ using System.Text; using System.Text.Json; using System.Text.Json.Serialization; -using Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +using Backbone.Devices.Application.Devices.Commands.RegisterDevice; using Microsoft.IdentityModel.Tokens; -namespace Backbone.Modules.Devices.Application.Devices.DTOs; +namespace Backbone.Devices.Application.Devices.DTOs; public class PublicKey { diff --git a/Modules/Devices/src/Devices.Application/Devices/DTOs/Signature.cs b/Modules/Devices/src/Devices.Application/Devices/DTOs/Signature.cs index e7ddb707ac..653bb83fe0 100644 --- a/Modules/Devices/src/Devices.Application/Devices/DTOs/Signature.cs +++ b/Modules/Devices/src/Devices.Application/Devices/DTOs/Signature.cs @@ -1,9 +1,9 @@ using System.Text; using System.Text.Json; -using Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +using Backbone.Devices.Application.Devices.Commands.RegisterDevice; using Microsoft.IdentityModel.Tokens; -namespace Backbone.Modules.Devices.Application.Devices.DTOs; +namespace Backbone.Devices.Application.Devices.DTOs; public class Signature { diff --git a/Modules/Devices/src/Devices.Application/Devices/DTOs/SignedChallengeDTO.cs b/Modules/Devices/src/Devices.Application/Devices/DTOs/SignedChallengeDTO.cs index 895a928aac..09f9c35ad0 100644 --- a/Modules/Devices/src/Devices.Application/Devices/DTOs/SignedChallengeDTO.cs +++ b/Modules/Devices/src/Devices.Application/Devices/DTOs/SignedChallengeDTO.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.Devices.DTOs; +namespace Backbone.Devices.Application.Devices.DTOs; public class SignedChallengeDTO { diff --git a/Modules/Devices/src/Devices.Application/Devices/DTOs/Validators/SignedChallengeDTOValidator.cs b/Modules/Devices/src/Devices.Application/Devices/DTOs/Validators/SignedChallengeDTOValidator.cs index 897833dc8c..1c2921ba2d 100644 --- a/Modules/Devices/src/Devices.Application/Devices/DTOs/Validators/SignedChallengeDTOValidator.cs +++ b/Modules/Devices/src/Devices.Application/Devices/DTOs/Validators/SignedChallengeDTOValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Devices.DTOs.Validators; +namespace Backbone.Devices.Application.Devices.DTOs.Validators; public class SignedChallengeDTOValidator : AbstractValidator { diff --git a/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/GetActiveDeviceQuery.cs b/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/GetActiveDeviceQuery.cs index 3960770ab3..bfe31dffd7 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/GetActiveDeviceQuery.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/GetActiveDeviceQuery.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.DTOs; using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Queries.GetActiveDevice; +namespace Backbone.Devices.Application.Devices.Queries.GetActiveDevice; public class GetActiveDeviceQuery : IRequest { } diff --git a/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/Handler.cs b/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/Handler.cs index dbd6219f0d..47a6440c50 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Queries/GetActiveDevice/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Queries.GetActiveDevice; +namespace Backbone.Devices.Application.Devices.Queries.GetActiveDevice; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/Handler.cs b/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/Handler.cs index 638bdbc3f7..20c8366821 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Queries.ListDevices; +namespace Backbone.Devices.Application.Devices.Queries.ListDevices; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesQuery.cs b/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesQuery.cs index 7f1b99768b..6dbff32e61 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesQuery.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesQuery.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using MediatR; -namespace Backbone.Modules.Devices.Application.Devices.Queries.ListDevices; +namespace Backbone.Devices.Application.Devices.Queries.ListDevices; public class ListDevicesQuery : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesResponse.cs b/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesResponse.cs index 94c89197b7..dbf758ba0f 100644 --- a/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesResponse.cs +++ b/Modules/Devices/src/Devices.Application/Devices/Queries/ListDevices/ListDevicesResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.DTOs; -namespace Backbone.Modules.Devices.Application.Devices.Queries.ListDevices; +namespace Backbone.Devices.Application.Devices.Queries.ListDevices; public class ListDevicesResponse : PagedResponse { diff --git a/Modules/Devices/src/Devices.Application/Extensions/IEventBusExtensions.cs b/Modules/Devices/src/Devices.Application/Extensions/IEventBusExtensions.cs index 845ee14ace..bf6ce87302 100644 --- a/Modules/Devices/src/Devices.Application/Extensions/IEventBusExtensions.cs +++ b/Modules/Devices/src/Devices.Application/Extensions/IEventBusExtensions.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Devices.Application.IntegrationEvents.Incoming.DatawalletModificationCreated; -using Backbone.Modules.Devices.Application.IntegrationEvents.Incoming.ExternalEventCreated; +using Backbone.Devices.Application.IntegrationEvents.Incoming.DatawalletModificationCreated; +using Backbone.Devices.Application.IntegrationEvents.Incoming.ExternalEventCreated; -namespace Backbone.Modules.Devices.Application.Extensions; +namespace Backbone.Devices.Application.Extensions; public static class IEventBusExtensions { diff --git a/Modules/Devices/src/Devices.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Devices/src/Devices.Application/Extensions/IServiceCollectionExtensions.cs index 9006781197..a627eb39d2 100644 --- a/Modules/Devices/src/Devices.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Devices/src/Devices.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,13 +1,13 @@ using System.Reflection; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Devices.Application.AutoMapper; -using Backbone.Modules.Devices.Application.Clients.Commands.DeleteClient; -using Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; +using Backbone.Devices.Application.AutoMapper; +using Backbone.Devices.Application.Clients.Commands.DeleteClient; +using Backbone.Devices.Application.Devices.Commands.RegisterDevice; using FluentValidation; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Devices.Application.Extensions; +namespace Backbone.Devices.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Devices/src/Devices.Application/Extensions/TierQueryableExtensions.cs b/Modules/Devices/src/Devices.Application/Extensions/TierQueryableExtensions.cs index 355872d147..8a26bdb172 100644 --- a/Modules/Devices/src/Devices.Application/Extensions/TierQueryableExtensions.cs +++ b/Modules/Devices/src/Devices.Application/Extensions/TierQueryableExtensions.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Application.Extensions; +namespace Backbone.Devices.Application.Extensions; public static class TierQueryableExtensions { diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommand.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommand.cs index 71f91e504f..82da1465ae 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommand.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommand.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.DTOs; using MediatR; -namespace Backbone.Modules.Devices.Application.Identities.Commands.CreateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.CreateIdentity; public class CreateIdentityCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommandValidator.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommandValidator.cs index 738f882030..97b446d3a7 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityCommandValidator.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Devices.Application.Devices.DTOs.Validators; +using Backbone.Devices.Application.Devices.DTOs.Validators; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Identities.Commands.CreateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.CreateIdentity; // ReSharper disable once UnusedMember.Global public class CreateIdentityCommandValidator : AbstractValidator diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityResponse.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityResponse.cs index 7bc16829ec..bc67285702 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityResponse.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/CreateIdentityResponse.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Devices.Application.Identities.Commands.CreateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.CreateIdentity; public class CreateIdentityResponse { diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/Handler.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/Handler.cs index d5f42182d2..b4d06e88a2 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/CreateIdentity/Handler.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.IntegrationEvents.Outgoing; +using Backbone.Devices.Domain.Entities; using MediatR; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Devices.Application.Identities.Commands.CreateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.CreateIdentity; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/Handler.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/Handler.cs index 2789acebbb..11c5f1ce82 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/Handler.cs @@ -1,13 +1,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.IntegrationEvents.Outgoing; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using MediatR; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Identities.Commands.UpdateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.UpdateIdentity; public class Handler : IRequestHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommand.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommand.cs index 3f39b56e51..2daf9b9701 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommand.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Identities.Commands.UpdateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.UpdateIdentity; public class UpdateIdentityCommand : IRequest { public string Address { get; set; } diff --git a/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommandValidator.cs b/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommandValidator.cs index 63798b3300..cdbdbccd0a 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Commands/UpdateIdentity/UpdateIdentityCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Identities.Commands.UpdateIdentity; +namespace Backbone.Devices.Application.Identities.Commands.UpdateIdentity; public class UpdateIdentityCommandValidator : AbstractValidator { public UpdateIdentityCommandValidator() diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs index 6d88ad638d..9865ff93c1 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity; +namespace Backbone.Devices.Application.Identities.Queries.GetIdentity; public class GetIdentityQuery : IRequest { public GetIdentityQuery(string address) diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs index 87997fe1b4..4c46195541 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Application.DTOs; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.DTOs; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity; +namespace Backbone.Devices.Application.Identities.Queries.GetIdentity; public class GetIdentityResponse : IdentitySummaryDTO { public GetIdentityResponse(Identity identity) : base(identity.Address, identity.ClientId, identity.PublicKey, identity.IdentityVersion, identity.CreatedAt, identity.Devices, identity.TierId) { } diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/Handler.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/Handler.cs index fcbfc47bfd..a5c8b99f7a 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/Handler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using MediatR; -namespace Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity; +namespace Backbone.Devices.Application.Identities.Queries.GetIdentity; public class Handler : IRequestHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/Handler.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/Handler.cs index 352bd54d45..13c44f4c2a 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/Handler.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Application.DTOs; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Devices.Application.Identities.Queries.ListIdentities; +namespace Backbone.Devices.Application.Identities.Queries.ListIdentities; public class Handler : IRequestHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesQuery.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesQuery.cs index a8e9df4a4d..0ba6d04653 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesQuery.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesQuery.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; using MediatR; -namespace Backbone.Modules.Devices.Application.Identities.Queries.ListIdentities; +namespace Backbone.Devices.Application.Identities.Queries.ListIdentities; public class ListIdentitiesQuery : IRequest { public ListIdentitiesQuery(PaginationFilter paginationFilter) diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesResponse.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesResponse.cs index 4108b4bfce..a03feff610 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesResponse.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/ListIdentities/ListIdentitiesResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.DTOs; +using Backbone.Devices.Application.DTOs; -namespace Backbone.Modules.Devices.Application.Identities.Queries.ListIdentities; +namespace Backbone.Devices.Application.Identities.Queries.ListIdentities; public class ListIdentitiesResponse : PagedResponse { public ListIdentitiesResponse(IEnumerable items, PaginationFilter previousPaginationFilter, int totalRecords) : base(items, previousPaginationFilter, totalRecords) { } diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Database/IDevicesDbContext.cs b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Database/IDevicesDbContext.cs index 51c298573b..bf74c64b0a 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Database/IDevicesDbContext.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Database/IDevicesDbContext.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; -namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Database; +namespace Backbone.Devices.Application.Infrastructure.Persistence.Database; public interface IDevicesDbContext : IDbContext { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs index 6c6d27476d..37c5682bc7 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IChallengesRepository.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Application.Infrastructure.Persistence.Repository; public interface IChallengesRepository { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs index df6ad73815..76bd499bf4 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Application.Infrastructure.Persistence.Repository; public interface IIdentitiesRepository { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IOAuthClientsRepository.cs b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IOAuthClientsRepository.cs index 245315dab6..0a5f61d9a5 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IOAuthClientsRepository.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IOAuthClientsRepository.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Application.Infrastructure.Persistence.Repository; public interface IOAuthClientsRepository { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IPnsRegistrationRepository.cs b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IPnsRegistrationRepository.cs index f8b118780f..2bb2b5942d 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IPnsRegistrationRepository.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/IPnsRegistrationRepository.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; -namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Application.Infrastructure.Persistence.Repository; public interface IPnsRegistrationRepository { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs index 1d173732b3..4eefb5b055 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; -namespace Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Application.Infrastructure.Persistence.Repository; public interface ITiersRepository { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/Datawallet/DatawalletModificationsCreatedPushNotification.cs b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/Datawallet/DatawalletModificationsCreatedPushNotification.cs index b91afb4af0..f5be0553fb 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/Datawallet/DatawalletModificationsCreatedPushNotification.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/Datawallet/DatawalletModificationsCreatedPushNotification.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.Infrastructure.PushNotifications.Datawallet; +namespace Backbone.Devices.Application.Infrastructure.PushNotifications.Datawallet; [NotificationText(Title = NotificationTextAttribute.DEFAULT_TITLE, Body = NotificationTextAttribute.DEFAULT_BODY)] public record DatawalletModificationsCreatedPushNotification(string CreatedByDevice); diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/ExternalEvents/ExternalEventCreatedPushNotification.cs b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/ExternalEvents/ExternalEventCreatedPushNotification.cs index dc8b65b310..1ce19a68e4 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/ExternalEvents/ExternalEventCreatedPushNotification.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/ExternalEvents/ExternalEventCreatedPushNotification.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.Infrastructure.PushNotifications.ExternalEvents; +namespace Backbone.Devices.Application.Infrastructure.PushNotifications.ExternalEvents; [NotificationText(Title = NotificationTextAttribute.DEFAULT_TITLE, Body = NotificationTextAttribute.DEFAULT_BODY)] public record ExternalEventCreatedPushNotification; diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/IPushService.cs b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/IPushService.cs index 6ef70d8a10..3ece7d2f37 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/IPushService.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/IPushService.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; -namespace Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; +namespace Backbone.Devices.Application.Infrastructure.PushNotifications; public interface IPushService { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationIdAttribute.cs b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationIdAttribute.cs index a6a668a6ad..4dcd1161d7 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationIdAttribute.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationIdAttribute.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; +namespace Backbone.Devices.Application.Infrastructure.PushNotifications; public class NotificationIdAttribute : Attribute { diff --git a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationTextAttribute.cs b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationTextAttribute.cs index 38cac6b06f..f0e12e2324 100644 --- a/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationTextAttribute.cs +++ b/Modules/Devices/src/Devices.Application/Infrastructure/PushNotifications/NotificationTextAttribute.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; +namespace Backbone.Devices.Application.Infrastructure.PushNotifications; public class NotificationTextAttribute : Attribute { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEvent.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEvent.cs index ab83847dcd..ecfe58e4d2 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEvent.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Incoming.DatawalletModificationCreated; +namespace Backbone.Devices.Application.IntegrationEvents.Incoming.DatawalletModificationCreated; public class DatawalletModifiedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEventHandler.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEventHandler.cs index 1cd8b91256..f742e4c97a 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEventHandler.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/DatawalletModificationCreated/DatawalletModifiedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications.Datawallet; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Application.Infrastructure.PushNotifications.Datawallet; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Incoming.DatawalletModificationCreated; +namespace Backbone.Devices.Application.IntegrationEvents.Incoming.DatawalletModificationCreated; public class DatawalletModifiedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEvent.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEvent.cs index 4821c2d547..e8bcdc5f2d 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEvent.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Incoming.ExternalEventCreated; +namespace Backbone.Devices.Application.IntegrationEvents.Incoming.ExternalEventCreated; public class ExternalEventCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEventHandler.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEventHandler.cs index f5c8b57f23..69d7b377e9 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEventHandler.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Incoming/ExternalEventCreated/ExternalEventCreatedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications.ExternalEvents; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Application.Infrastructure.PushNotifications.ExternalEvents; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Incoming.ExternalEventCreated; +namespace Backbone.Devices.Application.IntegrationEvents.Incoming.ExternalEventCreated; public class ExternalEventCreatedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/IdentityCreatedIntegrationEvent.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/IdentityCreatedIntegrationEvent.cs index fccba59b22..0acd1c56d2 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/IdentityCreatedIntegrationEvent.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/IdentityCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; +namespace Backbone.Devices.Application.IntegrationEvents.Outgoing; public class IdentityCreatedIntegrationEvent : IntegrationEvent { public IdentityCreatedIntegrationEvent(Identity identity) : base($"{identity.Address}/Created") diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierCreatedIntegrationEvent.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierCreatedIntegrationEvent.cs index a5a84f4c03..9f8696180c 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierCreatedIntegrationEvent.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; +namespace Backbone.Devices.Application.IntegrationEvents.Outgoing; public class TierCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierDeletedIntegrationEvent.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierDeletedIntegrationEvent.cs index f0675d538d..cffe93d7b8 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierDeletedIntegrationEvent.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierDeletedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; +namespace Backbone.Devices.Application.IntegrationEvents.Outgoing; public class TierDeletedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierOfIdentityChangedIntegrationEvent.cs b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierOfIdentityChangedIntegrationEvent.cs index b37dfadb6c..12df77ab9d 100644 --- a/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierOfIdentityChangedIntegrationEvent.cs +++ b/Modules/Devices/src/Devices.Application/IntegrationEvents/Outgoing/TierOfIdentityChangedIntegrationEvent.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; +namespace Backbone.Devices.Application.IntegrationEvents.Outgoing; public class TierOfIdentityChangedIntegrationEvent : IntegrationEvent { public TierOfIdentityChangedIntegrationEvent(Identity identity, Tier oldTier, Tier newTier) : base($"{identity.Address}/TierOfIdentityChanged") diff --git a/Modules/Devices/src/Devices.Application/PasswordGenerator.cs b/Modules/Devices/src/Devices.Application/PasswordGenerator.cs index df06e30220..799bb8b789 100644 --- a/Modules/Devices/src/Devices.Application/PasswordGenerator.cs +++ b/Modules/Devices/src/Devices.Application/PasswordGenerator.cs @@ -1,7 +1,7 @@ using System.Security.Cryptography; using System.Text; -namespace Backbone.Modules.Devices.Application; +namespace Backbone.Devices.Application; public static class PasswordGenerator { diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/DeleteDeviceRegistrationCommand.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/DeleteDeviceRegistrationCommand.cs index 90593129e7..8e4a83bb96 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/DeleteDeviceRegistrationCommand.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/DeleteDeviceRegistrationCommand.cs @@ -1,5 +1,5 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.DeleteDeviceRegistration; +namespace Backbone.Devices.Application.PushNotifications.Commands.DeleteDeviceRegistration; public class DeleteDeviceRegistrationCommand : IRequest { } diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/Handler.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/Handler.cs index 35ebe8e0e3..1b52c42f03 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/Handler.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/DeleteDeviceRegistration/Handler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Application.Infrastructure.PushNotifications; using MediatR; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.DeleteDeviceRegistration; +namespace Backbone.Devices.Application.PushNotifications.Commands.DeleteDeviceRegistration; internal class Handler : IRequestHandler { private readonly IPushService _pushService; diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Handler.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Handler.cs index 3f009b8edd..5ed75db3f2 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Handler.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Handler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Application.Infrastructure.PushNotifications; using MediatR; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.SendTestNotification; +namespace Backbone.Devices.Application.PushNotifications.Commands.SendTestNotification; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/SendTestNotificationCommand.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/SendTestNotificationCommand.cs index 6347164cd5..15562b2d01 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/SendTestNotificationCommand.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/SendTestNotificationCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.SendTestNotification; +namespace Backbone.Devices.Application.PushNotifications.Commands.SendTestNotification; public class SendTestNotificationCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Validator.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Validator.cs index 256e84b1c5..302ff2e9cd 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Validator.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/SendTestNotification/Validator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.SendTestNotification; +namespace Backbone.Devices.Application.PushNotifications.Commands.SendTestNotification; public class Validator : AbstractValidator { diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/Handler.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/Handler.cs index 88c1b59431..59f16fbd60 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/Handler.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/Handler.cs @@ -1,13 +1,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; using MediatR; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; +namespace Backbone.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationCommand.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationCommand.cs index 49daec29e0..36e5b72576 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationCommand.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; +namespace Backbone.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; public class UpdateDeviceRegistrationCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationValidator.cs b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationValidator.cs index fd428230cc..ac9f602cbd 100644 --- a/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationValidator.cs +++ b/Modules/Devices/src/Devices.Application/PushNotifications/Commands/UpdateDeviceRegistration/UpdateDeviceRegistrationValidator.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; +namespace Backbone.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; // ReSharper disable once UnusedMember.Global public class UpdateDeviceRegistrationValidator : AbstractValidator diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommand.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommand.cs index 3d9c3aad43..c65953da5d 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommand.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; +namespace Backbone.Devices.Application.Tiers.Commands.CreateTier; public class CreateTierCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommandValidator.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommandValidator.cs index 8103caf556..bd27793ae3 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierCommandValidator.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; +namespace Backbone.Devices.Application.Tiers.Commands.CreateTier; public class CreateTierCommandValidator : AbstractValidator { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierResponse.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierResponse.cs index e010fbb28d..2e76ef8c49 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierResponse.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/CreateTierResponse.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Application.Tiers.DTOs; +using Backbone.Devices.Application.Tiers.DTOs; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; +namespace Backbone.Devices.Application.Tiers.Commands.CreateTier; public class CreateTierResponse : TierDTO { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/Handler.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/Handler.cs index fbd5abdc3b..90f935a331 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/CreateTier/Handler.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.IntegrationEvents.Outgoing; +using Backbone.Devices.Domain.Aggregates.Tier; using MediatR; using Microsoft.Extensions.Logging; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; +namespace Backbone.Devices.Application.Tiers.Commands.CreateTier; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommand.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommand.cs index 05869c5dfe..e52e163939 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommand.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.DeleteTier; +namespace Backbone.Devices.Application.Tiers.Commands.DeleteTier; public class DeleteTierCommand : IRequest { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommandValidator.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommandValidator.cs index 5a6d971e3a..93a8432970 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommandValidator.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/DeleteTierCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.DeleteTier; +namespace Backbone.Devices.Application.Tiers.Commands.DeleteTier; public class DeleteTierCommandValidator : AbstractValidator { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/Handler.cs b/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/Handler.cs index c55bcd7bc1..be29294662 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Commands/DeleteTier/Handler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.IntegrationEvents.Outgoing; +using Backbone.Devices.Domain.Aggregates.Tier; using MediatR; -namespace Backbone.Modules.Devices.Application.Tiers.Commands.DeleteTier; +namespace Backbone.Devices.Application.Tiers.Commands.DeleteTier; public class Handler : IRequestHandler { diff --git a/Modules/Devices/src/Devices.Application/Tiers/DTOs/TierDTO.cs b/Modules/Devices/src/Devices.Application/Tiers/DTOs/TierDTO.cs index 0788dc2fd8..bb4cba50ff 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/DTOs/TierDTO.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/DTOs/TierDTO.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Application.Tiers.DTOs; +namespace Backbone.Devices.Application.Tiers.DTOs; public class TierDTO { diff --git a/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/Handler.cs b/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/Handler.cs index 1f7b62d899..f4ed373448 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/Handler.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.Tiers.DTOs; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Tiers.DTOs; using MediatR; -namespace Backbone.Modules.Devices.Application.Tiers.Queries.ListTiers; +namespace Backbone.Devices.Application.Tiers.Queries.ListTiers; public class Handler : IRequestHandler { private readonly ITiersRepository _tierRepository; diff --git a/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersQuery.cs b/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersQuery.cs index 9f6f5e3327..5835df696c 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersQuery.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersQuery.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; using MediatR; -namespace Backbone.Modules.Devices.Application.Tiers.Queries.ListTiers; +namespace Backbone.Devices.Application.Tiers.Queries.ListTiers; public class ListTiersQuery : IRequest { public ListTiersQuery(PaginationFilter paginationFilter) diff --git a/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersResponse.cs b/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersResponse.cs index 776e943cab..084bb1c233 100644 --- a/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersResponse.cs +++ b/Modules/Devices/src/Devices.Application/Tiers/Queries/ListTiers/ListTiersResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.Tiers.DTOs; +using Backbone.Devices.Application.Tiers.DTOs; -namespace Backbone.Modules.Devices.Application.Tiers.Queries.ListTiers; +namespace Backbone.Devices.Application.Tiers.Queries.ListTiers; public class ListTiersResponse : PagedResponse { public ListTiersResponse(IEnumerable items, PaginationFilter previousPaginationFilter, int totalRecords) : base(items, previousPaginationFilter, totalRecords) { } diff --git a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs index 79919686ad..6ee550fae7 100644 --- a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs +++ b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/Handler.cs @@ -1,12 +1,12 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Database; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using Backbone.Tooling; using MediatR; using Microsoft.AspNetCore.Identity; -namespace Backbone.Modules.Devices.Application.Users.Commands.SeedTestUsers; +namespace Backbone.Devices.Application.Users.Commands.SeedTestUsers; public class Handler : IRequestHandler { private readonly IPasswordHasher _passwordHasher; diff --git a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/SeedTestUsersCommand.cs b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/SeedTestUsersCommand.cs index b9a52adf2b..547dcafc19 100644 --- a/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/SeedTestUsersCommand.cs +++ b/Modules/Devices/src/Devices.Application/Users/Commands/SeedTestUsers/SeedTestUsersCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Devices.Application.Users.Commands.SeedTestUsers; +namespace Backbone.Devices.Application.Users.Commands.SeedTestUsers; public class SeedTestUsersCommand : IRequest { } diff --git a/Modules/Devices/src/Devices.ConsumerApi/Configuration.cs b/Modules/Devices/src/Devices.ConsumerApi/Configuration.cs index fa5e990a24..522e37272e 100644 --- a/Modules/Devices/src/Devices.ConsumerApi/Configuration.cs +++ b/Modules/Devices/src/Devices.ConsumerApi/Configuration.cs @@ -1,8 +1,8 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Infrastructure.PushNotifications; +using Backbone.Devices.Application; +using Backbone.Devices.Infrastructure.PushNotifications; -namespace Backbone.Modules.Devices.ConsumerApi; +namespace Backbone.Devices.ConsumerApi; public class Configuration { diff --git a/Modules/Devices/src/Devices.ConsumerApi/Controllers/DevicesController.cs b/Modules/Devices/src/Devices.ConsumerApi/Controllers/DevicesController.cs index f071ae36d6..da1bdbea3f 100644 --- a/Modules/Devices/src/Devices.ConsumerApi/Controllers/DevicesController.cs +++ b/Modules/Devices/src/Devices.ConsumerApi/Controllers/DevicesController.cs @@ -4,13 +4,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Application.Devices.Commands.ChangePassword; -using Backbone.Modules.Devices.Application.Devices.Commands.DeleteDevice; -using Backbone.Modules.Devices.Application.Devices.Commands.RegisterDevice; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Devices.Queries.GetActiveDevice; -using Backbone.Modules.Devices.Application.Devices.Queries.ListDevices; +using Backbone.Devices.Application; +using Backbone.Devices.Application.Devices.Commands.ChangePassword; +using Backbone.Devices.Application.Devices.Commands.DeleteDevice; +using Backbone.Devices.Application.Devices.Commands.RegisterDevice; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Devices.Queries.GetActiveDevice; +using Backbone.Devices.Application.Devices.Queries.ListDevices; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -19,7 +19,7 @@ using OpenIddict.Validation.AspNetCore; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.ConsumerApi.Controllers; +namespace Backbone.Devices.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize(OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme)] diff --git a/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs b/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs index 74fb3e4513..a32ef14fb1 100644 --- a/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs +++ b/Modules/Devices/src/Devices.ConsumerApi/Controllers/IdentitiesController.cs @@ -2,9 +2,9 @@ using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application.Devices.DTOs; -using Backbone.Modules.Devices.Application.Identities.Commands.CreateIdentity; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Application.Devices.DTOs; +using Backbone.Devices.Application.Identities.Commands.CreateIdentity; +using Backbone.Devices.Infrastructure.OpenIddict; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -12,7 +12,7 @@ using OpenIddict.Core; using OpenIddict.Validation.AspNetCore; -namespace Backbone.Modules.Devices.ConsumerApi.Controllers; +namespace Backbone.Devices.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize(OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme)] diff --git a/Modules/Devices/src/Devices.ConsumerApi/Controllers/PushNotificationsController.cs b/Modules/Devices/src/Devices.ConsumerApi/Controllers/PushNotificationsController.cs index 009366b5a9..a9450e0a1a 100644 --- a/Modules/Devices/src/Devices.ConsumerApi/Controllers/PushNotificationsController.cs +++ b/Modules/Devices/src/Devices.ConsumerApi/Controllers/PushNotificationsController.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.API.Mvc; using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; -using Backbone.Modules.Devices.Application.PushNotifications.Commands.DeleteDeviceRegistration; -using Backbone.Modules.Devices.Application.PushNotifications.Commands.SendTestNotification; -using Backbone.Modules.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; +using Backbone.Devices.Application.PushNotifications.Commands.DeleteDeviceRegistration; +using Backbone.Devices.Application.PushNotifications.Commands.SendTestNotification; +using Backbone.Devices.Application.PushNotifications.Commands.UpdateDeviceRegistration; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using OpenIddict.Validation.AspNetCore; -namespace Backbone.Modules.Devices.ConsumerApi.Controllers; +namespace Backbone.Devices.ConsumerApi.Controllers; [Route("api/v1/Devices/Self/[controller]")] [Authorize(OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme)] diff --git a/Modules/Devices/src/Devices.ConsumerApi/DevicesModule.cs b/Modules/Devices/src/Devices.ConsumerApi/DevicesModule.cs index fe3c518d81..6c33797cf4 100644 --- a/Modules/Devices/src/Devices.ConsumerApi/DevicesModule.cs +++ b/Modules/Devices/src/Devices.ConsumerApi/DevicesModule.cs @@ -3,17 +3,18 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.Crypto.Abstractions; using Backbone.Crypto.Implementations; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Application.Extensions; -using Backbone.Modules.Devices.Infrastructure.Persistence; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +using Backbone.Devices.Application; +using Backbone.Devices.Application.Extensions; +using Backbone.Devices.Infrastructure.Persistence; +using Backbone.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; +using IServiceCollectionExtensions = Backbone.Devices.Infrastructure.PushNotifications.IServiceCollectionExtensions; -namespace Backbone.Modules.Devices.ConsumerApi; +namespace Backbone.Devices.ConsumerApi; public class DevicesModule : AbstractModule { @@ -49,7 +50,7 @@ public override void ConfigureEventBus(IEventBus eventBus) public override void PostStartupValidation(IServiceProvider serviceProvider) { var configuration = serviceProvider.GetRequiredService>(); - if (configuration.Value.Infrastructure.PushNotifications.Provider != Infrastructure.PushNotifications.IServiceCollectionExtensions.PROVIDER_DIRECT) + if (configuration.Value.Infrastructure.PushNotifications.Provider != IServiceCollectionExtensions.PROVIDER_DIRECT) return; var fcmOptions = serviceProvider.GetRequiredService>().Value; diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/ApnsHandle.cs b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/ApnsHandle.cs index 1462aba1e9..c0692dbb63 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/ApnsHandle.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/ApnsHandle.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +namespace Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; public record ApnsHandle : PnsHandle { private ApnsHandle(PushNotificationPlatform platform, string value) : base(platform, value) diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/FcmHandle.cs b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/FcmHandle.cs index 4592edf20d..a9c3acaef5 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/FcmHandle.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/FcmHandle.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +namespace Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; public record FcmHandle : PnsHandle { private FcmHandle(PushNotificationPlatform platform, string value) : base(platform, value) diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/PnsHandle.cs b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/PnsHandle.cs index cfda9d5f57..04c8891bf0 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/PnsHandle.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/Handles/PnsHandle.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +namespace Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; public record PnsHandle { diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PnsRegistration.cs b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PnsRegistration.cs index 0b92d6ab50..b14856c90a 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PnsRegistration.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PnsRegistration.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; using Backbone.Tooling; -namespace Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; +namespace Backbone.Devices.Domain.Aggregates.PushNotifications; public class PnsRegistration { diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PushNotificationPlatform.cs b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PushNotificationPlatform.cs index 529a876f50..cdf7b4c1b7 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PushNotificationPlatform.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/PushNotifications/PushNotificationPlatform.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; +namespace Backbone.Devices.Domain.Aggregates.PushNotifications; public enum PushNotificationPlatform { diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/Tier/Tier.cs b/Modules/Devices/src/Devices.Domain/Aggregates/Tier/Tier.cs index a85fe6d9c8..b012cd6e2f 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/Tier/Tier.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/Tier/Tier.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Domain.Errors; -namespace Backbone.Modules.Devices.Domain.Aggregates.Tier; +namespace Backbone.Devices.Domain.Aggregates.Tier; public class Tier { diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierId.cs b/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierId.cs index 6b76647430..cc33b28ccb 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierId.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Records; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Devices.Domain.Aggregates.Tier; +namespace Backbone.Devices.Domain.Aggregates.Tier; public record TierId : StronglyTypedId { diff --git a/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierName.cs b/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierName.cs index 0efb5cab41..4db8aa09df 100644 --- a/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierName.cs +++ b/Modules/Devices/src/Devices.Domain/Aggregates/Tier/TierName.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Devices.Domain.Aggregates.Tier; +namespace Backbone.Devices.Domain.Aggregates.Tier; public record TierName { diff --git a/Modules/Devices/src/Devices.Domain/DomainErrors.cs b/Modules/Devices/src/Devices.Domain/DomainErrors.cs index e7d1c7c657..6e83d20637 100644 --- a/Modules/Devices/src/Devices.Domain/DomainErrors.cs +++ b/Modules/Devices/src/Devices.Domain/DomainErrors.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Domain.Errors; -namespace Backbone.Modules.Devices.Domain; +namespace Backbone.Devices.Domain; public static class DomainErrors { diff --git a/Modules/Devices/src/Devices.Domain/Entities/ApplicationUser.cs b/Modules/Devices/src/Devices.Domain/Entities/ApplicationUser.cs index ca03b110e8..67ba1a0cef 100644 --- a/Modules/Devices/src/Devices.Domain/Entities/ApplicationUser.cs +++ b/Modules/Devices/src/Devices.Domain/Entities/ApplicationUser.cs @@ -2,7 +2,7 @@ using Backbone.Tooling; using Microsoft.AspNetCore.Identity; -namespace Backbone.Modules.Devices.Domain.Entities; +namespace Backbone.Devices.Domain.Entities; public class ApplicationUser : IdentityUser { diff --git a/Modules/Devices/src/Devices.Domain/Entities/Challenge.cs b/Modules/Devices/src/Devices.Domain/Entities/Challenge.cs index 3c7b184b03..ec63ebeda9 100644 --- a/Modules/Devices/src/Devices.Domain/Entities/Challenge.cs +++ b/Modules/Devices/src/Devices.Domain/Entities/Challenge.cs @@ -1,6 +1,6 @@ using Backbone.Tooling; -namespace Backbone.Modules.Devices.Domain.Entities; +namespace Backbone.Devices.Domain.Entities; public class Challenge { diff --git a/Modules/Devices/src/Devices.Domain/Entities/Device.cs b/Modules/Devices/src/Devices.Domain/Entities/Device.cs index 9338b5881a..e6a28169a2 100644 --- a/Modules/Devices/src/Devices.Domain/Entities/Device.cs +++ b/Modules/Devices/src/Devices.Domain/Entities/Device.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Devices.Domain.Entities; +namespace Backbone.Devices.Domain.Entities; public class Device { diff --git a/Modules/Devices/src/Devices.Domain/Entities/Identity.cs b/Modules/Devices/src/Devices.Domain/Entities/Identity.cs index adf03d9364..4fbd94b7bb 100644 --- a/Modules/Devices/src/Devices.Domain/Entities/Identity.cs +++ b/Modules/Devices/src/Devices.Domain/Entities/Identity.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.Errors; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Backbone.Tooling; -namespace Backbone.Modules.Devices.Domain.Entities; +namespace Backbone.Devices.Domain.Entities; public class Identity { diff --git a/Modules/Devices/src/Devices.Domain/Entities/OAuthClient.cs b/Modules/Devices/src/Devices.Domain/Entities/OAuthClient.cs index 89034ff4fe..ade391272c 100644 --- a/Modules/Devices/src/Devices.Domain/Entities/OAuthClient.cs +++ b/Modules/Devices/src/Devices.Domain/Entities/OAuthClient.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; -namespace Backbone.Modules.Devices.Domain.Entities; +namespace Backbone.Devices.Domain.Entities; public class OAuthClient { public OAuthClient(string clientId, string displayName, TierId defaultTier, DateTime createdAt) diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230208165924_Init.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230208165924_Init.Designer.cs index e63d1c0259..ae13647cbe 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230208165924_Init.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230208165924_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230328132746_TierInit.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230328132746_TierInit.Designer.cs index e65904938c..8887221d7b 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230328132746_TierInit.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230328132746_TierInit.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230417133921_IdentitiesBasicTier.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230417133921_IdentitiesBasicTier.Designer.cs index c5c928113a..b3184654b9 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230417133921_IdentitiesBasicTier.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230417133921_IdentitiesBasicTier.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230421103839_Change_TierName_Data_Type.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230421103839_Change_TierName_Data_Type.Designer.cs index 2e34cc7651..74f2e5d6fa 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230421103839_Change_TierName_Data_Type.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230421103839_Change_TierName_Data_Type.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230706085310_PnsRegistration.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230706085310_PnsRegistration.Designer.cs index 407afa5e28..16d8c66224 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230706085310_PnsRegistration.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230706085310_PnsRegistration.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230711062725_RenameTierTableToTiers.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230711062725_RenameTierTableToTiers.Designer.cs index 477752e104..4db6f186a2 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230711062725_RenameTierTableToTiers.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230711062725_RenameTierTableToTiers.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230818153325_AppIdForPnsRegistrations.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230818153325_AppIdForPnsRegistrations.Designer.cs index 04d6b44c94..4f0de4a6d0 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230818153325_AppIdForPnsRegistrations.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230818153325_AppIdForPnsRegistrations.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230922123550_AddDefaultTierToClients.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230922123550_AddDefaultTierToClients.Designer.cs index 1e775bc4c8..d5411c0c70 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230922123550_AddDefaultTierToClients.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20230922123550_AddDefaultTierToClients.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20231003145530_AddCreatedAtToClients.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20231003145530_AddCreatedAtToClients.Designer.cs index 363f053994..cbe7e4c8aa 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20231003145530_AddCreatedAtToClients.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/20231003145530_AddCreatedAtToClients.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/DevicesDbContextModelSnapshot.cs b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/DevicesDbContextModelSnapshot.cs index dca6be75cf..5f9b736b2d 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/DevicesDbContextModelSnapshot.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.Postgres/Migrations/DevicesDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20221005101614_Init_ApplicationDbContext.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20221005101614_Init_ApplicationDbContext.Designer.cs index 171657256d..f22a1e3622 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20221005101614_Init_ApplicationDbContext.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20221005101614_Init_ApplicationDbContext.Designer.cs @@ -2,7 +2,7 @@ #nullable disable -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230117104611_OpenIddictInit.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230117104611_OpenIddictInit.Designer.cs index eb57175fa3..ce057f826c 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230117104611_OpenIddictInit.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230117104611_OpenIddictInit.Designer.cs @@ -2,7 +2,7 @@ #nullable disable -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230328110259_TierInit.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230328110259_TierInit.Designer.cs index 1d5eb4480c..a6427bed80 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230328110259_TierInit.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230328110259_TierInit.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230417130217_IdentitiesBasicTier.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230417130217_IdentitiesBasicTier.Designer.cs index 8fddd5afc2..0c1f0b53c7 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230417130217_IdentitiesBasicTier.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230417130217_IdentitiesBasicTier.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230421103206_Change_TierName_Data_Type.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230421103206_Change_TierName_Data_Type.Designer.cs index a94b0c0557..b4ddd1e796 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230421103206_Change_TierName_Data_Type.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230421103206_Change_TierName_Data_Type.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230706085108_PnsRegistration.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230706085108_PnsRegistration.Designer.cs index 1d3f47a783..e5231415e1 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230706085108_PnsRegistration.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230706085108_PnsRegistration.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230711062720_RenameTierTableToTiers.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230711062720_RenameTierTableToTiers.Designer.cs index a155111a32..1ce39a21b1 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230711062720_RenameTierTableToTiers.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230711062720_RenameTierTableToTiers.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230817101526_AppIdForPnsRegistrations.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230817101526_AppIdForPnsRegistrations.Designer.cs index 841217cb68..68e8a1e720 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230817101526_AppIdForPnsRegistrations.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230817101526_AppIdForPnsRegistrations.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230922121115_AddDefaultTierToClients.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230922121115_AddDefaultTierToClients.Designer.cs index cd5f49984b..55f69b82c4 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230922121115_AddDefaultTierToClients.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20230922121115_AddDefaultTierToClients.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20231003133648_AddCreatedAtToClients.Designer.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20231003133648_AddCreatedAtToClients.Designer.cs index 18436b8d9c..7ee6125b64 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20231003133648_AddCreatedAtToClients.Designer.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/20231003133648_AddCreatedAtToClients.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index a07037de89..05fe167d79 100644 --- a/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Devices/src/Devices.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ApplicationUserEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ApplicationUserEntityType.cs index 632e5db6e1..7df07578b4 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ApplicationUserEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ApplicationUserEntityType.cs @@ -3,7 +3,7 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs index 071c3c4fc8..5d823f214e 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/ChallengeEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs index 8aba98adaf..991d1c2f09 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs index 02f0135452..bbcb8229b0 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs index ad6e378610..ab096a95d5 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs @@ -1,7 +1,7 @@ // using System; using System.Reflection; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs index a2f53390aa..f280018966 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DeviceEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DeviceEntityType.cs index 60c578ca40..24598f480f 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DeviceEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DeviceEntityType.cs @@ -4,7 +4,7 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DevicesDbContextModel.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DevicesDbContextModel.cs index 6c525a754b..18b30ace56 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DevicesDbContextModel.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/DevicesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; + +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs index f0b501d712..2b91acc0af 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/PnsRegistrationEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/PnsRegistrationEntityType.cs index ba5208260b..5a65ce15be 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/PnsRegistrationEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/PnsRegistrationEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/TierEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/TierEntityType.cs index 337156398e..653f6c43a3 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/TierEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/Postgres/TierEntityType.cs @@ -1,8 +1,8 @@ // using System; using System.Reflection; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ApplicationUserEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ApplicationUserEntityType.cs index 1b99030161..07e1684015 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ApplicationUserEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ApplicationUserEntityType.cs @@ -3,7 +3,7 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs index 1b8a05b6df..e5087e6584 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/ChallengeEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs index a71c8e07d6..49b6e2da1a 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreApplicationEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs index 27adb8687f..2ab8c9ede2 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreAuthorizationEntityType.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs index 67c5443b62..d0cc5b7f4d 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreScopeEntityType.cs @@ -1,7 +1,7 @@ // using System; using System.Reflection; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs index 569b24f3f9..3d9edbcdda 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/CustomOpenIddictEntityFrameworkCoreTokenEntityType.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore.Metadata; using OpenIddict.EntityFrameworkCore.Models; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DeviceEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DeviceEntityType.cs index 94e8acd072..b02fa27f59 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DeviceEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DeviceEntityType.cs @@ -4,7 +4,7 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DevicesDbContextModel.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DevicesDbContextModel.cs index 15ac469993..228b8e10e8 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DevicesDbContextModel.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/DevicesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; + +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs index 96f00d92b1..0bbca25375 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/PnsRegistrationEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/PnsRegistrationEntityType.cs index fc25876087..0a78d5db3c 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/PnsRegistrationEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/PnsRegistrationEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs index 31f9d7a3f0..f082f31d86 100644 --- a/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs +++ b/Modules/Devices/src/Devices.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs @@ -1,8 +1,8 @@ // using System; using System.Reflection; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Devices/src/Devices.Infrastructure/InfrastructureErrors.cs b/Modules/Devices/src/Devices.Infrastructure/InfrastructureErrors.cs index 5a3d109189..491f9610a9 100644 --- a/Modules/Devices/src/Devices.Infrastructure/InfrastructureErrors.cs +++ b/Modules/Devices/src/Devices.Infrastructure/InfrastructureErrors.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Infrastructure.Exceptions; -namespace Backbone.Modules.Devices.Infrastructure; +namespace Backbone.Devices.Infrastructure; public static class InfrastructureErrors { public static InfrastructureError InvalidPushNotificationConfiguration(List supportedAppIds) diff --git a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplication.cs b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplication.cs index 658571da3f..39d82c8348 100644 --- a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplication.cs +++ b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplication.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using OpenIddict.EntityFrameworkCore.Models; -namespace Backbone.Modules.Devices.Infrastructure.OpenIddict; +namespace Backbone.Devices.Infrastructure.OpenIddict; public class CustomOpenIddictEntityFrameworkCoreApplication : OpenIddictEntityFrameworkCoreApplication diff --git a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplicationStore.cs b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplicationStore.cs index ca8d904bb0..dc4be9ef57 100644 --- a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplicationStore.cs +++ b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreApplicationStore.cs @@ -1,11 +1,11 @@ -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using OpenIddict.Abstractions; using OpenIddict.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.OpenIddict; +namespace Backbone.Devices.Infrastructure.OpenIddict; public class CustomOpenIddictEntityFrameworkCoreApplicationStore : OpenIddictEntityFrameworkCoreApplicationStore diff --git a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreAuthorization.cs b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreAuthorization.cs index 0fd54b4b8a..06b8e7f27c 100644 --- a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreAuthorization.cs +++ b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreAuthorization.cs @@ -1,6 +1,6 @@ using OpenIddict.EntityFrameworkCore.Models; -namespace Backbone.Modules.Devices.Infrastructure.OpenIddict; +namespace Backbone.Devices.Infrastructure.OpenIddict; public class CustomOpenIddictEntityFrameworkCoreAuthorization : OpenIddictEntityFrameworkCoreAuthorization { } diff --git a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreScope.cs b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreScope.cs index eab13dff3d..4836d0a9b4 100644 --- a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreScope.cs +++ b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreScope.cs @@ -1,6 +1,6 @@ using OpenIddict.EntityFrameworkCore.Models; -namespace Backbone.Modules.Devices.Infrastructure.OpenIddict; +namespace Backbone.Devices.Infrastructure.OpenIddict; public class CustomOpenIddictEntityFrameworkCoreScope : OpenIddictEntityFrameworkCoreScope { } diff --git a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreToken.cs b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreToken.cs index 7a28da5832..28c3a0771f 100644 --- a/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreToken.cs +++ b/Modules/Devices/src/Devices.Infrastructure/OpenIddict/CustomOpenIddictEntityFrameworkCoreToken.cs @@ -1,6 +1,6 @@ using OpenIddict.EntityFrameworkCore.Models; -namespace Backbone.Modules.Devices.Infrastructure.OpenIddict; +namespace Backbone.Devices.Infrastructure.OpenIddict; public class CustomOpenIddictEntityFrameworkCoreToken : OpenIddictEntityFrameworkCoreToken { } diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/DevicesDbContext.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/DevicesDbContext.cs index 4789915b70..17b89b336b 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/DevicesDbContext.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/DevicesDbContext.cs @@ -2,13 +2,13 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Devices.Application.Infrastructure.Persistence.Database; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +using Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; using Backbone.Tooling.Extensions; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; @@ -16,7 +16,7 @@ using Microsoft.Extensions.DependencyInjection; using Npgsql.EntityFrameworkCore.PostgreSQL; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database; +namespace Backbone.Devices.Infrastructure.Persistence.Database; public class DevicesDbContext : IdentityDbContext, IDevicesDbContext { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/ChallengesEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/ChallengesEntityTypeConfiguration.cs index 05ccf97ec2..de54e283ab 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/ChallengesEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/ChallengesEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; public class ChallengesEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/CustomOpenIddictEntityFrameworkCoreApplicationEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/CustomOpenIddictEntityFrameworkCoreApplicationEntityTypeConfiguration.cs index 13967db595..e89bdd1827 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/CustomOpenIddictEntityFrameworkCoreApplicationEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/CustomOpenIddictEntityFrameworkCoreApplicationEntityTypeConfiguration.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.OpenIddict; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; public class CustomOpenIddictEntityFrameworkCoreApplicationEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/DeviceEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/DeviceEntityTypeConfiguration.cs index e9e1a6a266..3b5e6452b3 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/DeviceEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/DeviceEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; public class DeviceEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs index 1551829234..d703673c39 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; public class IdentityEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/PnsRegistrationEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/PnsRegistrationEntityTypeConfiguration.cs index d7e5690b02..90c7458122 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/PnsRegistrationEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/PnsRegistrationEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; public class PnsRegistrationEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs index 811c7cad35..8597871237 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; public class TierEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/UserEntityTypeConfiguration.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/UserEntityTypeConfiguration.cs index 5fa172ae0c..b0ce3e8d51 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/UserEntityTypeConfiguration.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/EntityConfigurations/UserEntityTypeConfiguration.cs @@ -1,9 +1,9 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Devices.Infrastructure.Persistence.Database.EntityConfigurations; internal class UserEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/DeviceQueryableExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/DeviceQueryableExtensions.cs index 8bfc99ec5c..d799d66a93 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/DeviceQueryableExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/DeviceQueryableExtensions.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Devices.Infrastructure.Persistence.Database.QueryableExtensions; public static class DeviceQueryableExtensions { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/IdentityQueryableExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/IdentityQueryableExtensions.cs index ca2150e60c..f2463bb5bf 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/IdentityQueryableExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/IdentityQueryableExtensions.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Entities; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Devices.Infrastructure.Persistence.Database.QueryableExtensions; public static class IdentityQueryableExtensions { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/TierQueryableExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/TierQueryableExtensions.cs index 717851d84d..847e278942 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/TierQueryableExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/QueryableExtensions/TierQueryableExtensions.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Devices.Infrastructure.Persistence.Database.QueryableExtensions; public static class TierQueryableExtensions { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/PnsHandleEntityFrameworkValueConverter.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/PnsHandleEntityFrameworkValueConverter.cs index d3b5255e83..b120a3d5db 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/PnsHandleEntityFrameworkValueConverter.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/PnsHandleEntityFrameworkValueConverter.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; public class PnsHandleEntityFrameworkValueConverter : ValueConverter { public PnsHandleEntityFrameworkValueConverter() : this(null) diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs index da1a53e1e5..a561f001e3 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; public class TierIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierNameEntityFrameworkValueConverter.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierNameEntityFrameworkValueConverter.cs index 9293c6ae25..127addc07d 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierNameEntityFrameworkValueConverter.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Database/ValueConverters/TierNameEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Devices.Infrastructure.Persistence.Database.ValueConverters; public class TierNameEntityFrameworkValueConverter : ValueConverter { public TierNameEntityFrameworkValueConverter() : this(null) diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/IServiceCollectionExtensions.cs index c2ee97d6d6..24104928d5 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,12 +1,12 @@ -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Infrastructure.Persistence.Database; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Repository; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Devices.Infrastructure.Persistence; +namespace Backbone.Devices.Infrastructure.Persistence; public static class IServiceCollectionExtensions { @@ -38,7 +38,7 @@ public static void AddDatabase(this IServiceCollection services, Action(); - dbContextOptions.UseModel(CompiledModels.SqlServer.DevicesDbContextModel.Instance); + dbContextOptions.UseModel(Modules.Devices.Infrastructure.CompiledModels.SqlServer.DevicesDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.ConnectionString, sqlOptions => @@ -53,7 +53,7 @@ public static void AddDatabase(this IServiceCollection services, Action(); - dbContextOptions.UseModel(CompiledModels.Postgres.DevicesDbContextModel.Instance); + dbContextOptions.UseModel(Modules.Devices.Infrastructure.CompiledModels.Postgres.DevicesDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/ChallengesRepository.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/ChallengesRepository.cs index a54141998d..bb7a09ce67 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/ChallengesRepository.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/ChallengesRepository.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Infrastructure.Persistence.Repository; public class ChallengesRepository : IChallengesRepository { private readonly DbSet _challenges; diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/IdentitiesRepository.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/IdentitiesRepository.cs index af348ead88..359141ffe1 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/IdentitiesRepository.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/IdentitiesRepository.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Devices.Application; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Infrastructure.Persistence.Repository; public class IdentitiesRepository : IIdentitiesRepository { private readonly DbSet _identities; diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/OAuthClientsRepository.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/OAuthClientsRepository.cs index a08e0cccd9..4f3fec89ab 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/OAuthClientsRepository.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/OAuthClientsRepository.cs @@ -2,13 +2,13 @@ using System.Text.Encodings.Web; using System.Text.Json; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; +using Backbone.Devices.Infrastructure.OpenIddict; using OpenIddict.Core; using static OpenIddict.Abstractions.OpenIddictConstants; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Infrastructure.Persistence.Repository; public class OAuthClientsRepository : IOAuthClientsRepository { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/PnsRegistrationRepository.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/PnsRegistrationRepository.cs index eb8ea5e40c..ff864767d6 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/PnsRegistrationRepository.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/PnsRegistrationRepository.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Infrastructure.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Infrastructure.Persistence.Repository; public class PnsRegistrationRepository : IPnsRegistrationRepository { diff --git a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/TiersRepository.cs b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/TiersRepository.cs index 95019f5569..fdbbbb3304 100644 --- a/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/TiersRepository.cs +++ b/Modules/Devices/src/Devices.Infrastructure/Persistence/Repository/TiersRepository.cs @@ -2,15 +2,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Infrastructure.OpenIddict; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; -using Backbone.Modules.Devices.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Infrastructure.OpenIddict; +using Backbone.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; using OpenIddict.Core; -namespace Backbone.Modules.Devices.Infrastructure.Persistence.Repository; +namespace Backbone.Devices.Infrastructure.Persistence.Repository; public class TiersRepository : ITiersRepository { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DateTimeConverter.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DateTimeConverter.cs index b43c76773c..0b8a8e169b 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DateTimeConverter.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DateTimeConverter.cs @@ -2,7 +2,7 @@ using System.Text.Json.Serialization; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications; +namespace Backbone.Devices.Infrastructure.PushNotifications; public class DateTimeConverter : JsonConverter { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsJwtCache.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsJwtCache.cs index b4233285dd..f237ac13a7 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsJwtCache.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsJwtCache.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; public class ApnsJwtCache { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsMessageBuilder.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsMessageBuilder.cs index 1347bcf707..f579ed5b31 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsMessageBuilder.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApnsMessageBuilder.cs @@ -3,7 +3,7 @@ using System.Text.Json.Serialization; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; public class ApnsMessageBuilder { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApplePushNotificationServiceConnector.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApplePushNotificationServiceConnector.cs index 6ed0a41a93..4034493a45 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApplePushNotificationServiceConnector.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/ApplePushNotificationServiceConnector.cs @@ -2,15 +2,15 @@ using System.Text.Json; using Backbone.BuildingBlocks.Infrastructure.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; public class ApplePushNotificationServiceConnector : IPnsConnector { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/IJwtGenerator.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/IJwtGenerator.cs index 5e155caa08..939c3686ea 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/IJwtGenerator.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/IJwtGenerator.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; public interface IJwtGenerator { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/Jwt.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/Jwt.cs index 6116f3b2f9..b0e0c84e11 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/Jwt.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/Jwt.cs @@ -1,6 +1,6 @@ using Backbone.Tooling; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; public class Jwt { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/JwtGenerator.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/JwtGenerator.cs index 933e3e9527..e9baf1ee19 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/JwtGenerator.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/ApplePushNotificationService/JwtGenerator.cs @@ -5,7 +5,7 @@ using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Security; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; public class JwtGenerator : IJwtGenerator { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPnsCommunicationOptions.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPnsCommunicationOptions.cs index 06d7bdaa5a..a82f0ad99a 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPnsCommunicationOptions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPnsCommunicationOptions.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush; public class DirectPnsCommunicationOptions { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPushService.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPushService.cs index e0554586fd..d8453bf1f8 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPushService.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/DirectPushService.cs @@ -1,13 +1,13 @@ using Backbone.BuildingBlocks.Infrastructure.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush; public class DirectPushService : IPushService { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FcmMessageBuilder.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FcmMessageBuilder.cs index db471a04eb..9fd36fbc88 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FcmMessageBuilder.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FcmMessageBuilder.cs @@ -1,7 +1,7 @@ using System.Text.Json; using FirebaseAdmin.Messaging; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; /// /// See corresponding Unit Tests for an example of a built notification. diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseCloudMessagingConnector.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseCloudMessagingConnector.cs index 40b3a90f04..f359f22aad 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseCloudMessagingConnector.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseCloudMessagingConnector.cs @@ -3,14 +3,14 @@ using System.Text.Json; using Backbone.BuildingBlocks.Infrastructure.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; using FirebaseAdmin.Messaging; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; public class FirebaseCloudMessagingConnector : IPnsConnector { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseMessagingFactory.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseMessagingFactory.cs index c5698833ca..05308d5fec 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseMessagingFactory.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/FirebaseCloudMessaging/FirebaseMessagingFactory.cs @@ -3,7 +3,7 @@ using Google.Apis.Auth.OAuth2; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; public class FirebaseMessagingFactory { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IPnsConnector.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IPnsConnector.cs index cd9e48b678..1d8937f894 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IPnsConnector.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IPnsConnector.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush; public interface IPnsConnector { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IServiceCollectionExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IServiceCollectionExtensions.cs index 007d0e1034..d64ffbafc5 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IServiceCollectionExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush; public static class IServiceCollectionExtensions { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactory.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactory.cs index 6c54175aae..218f985ad9 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactory.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactory.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush; public abstract class PnsConnectorFactory { public IPnsConnector CreateFor(PushNotificationPlatform platform) diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactoryImpl.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactoryImpl.cs index 4c3667bc7c..e54cf65b2f 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactoryImpl.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/PnsConnectorFactoryImpl.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush; public class PnsConnectorFactoryImpl : PnsConnectorFactory { private readonly IServiceProvider _serviceProvider; diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/ErrorReason.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/ErrorReason.cs index bbfffbfe64..afd07645c6 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/ErrorReason.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/ErrorReason.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; public enum ErrorReason { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendError.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendError.cs index 2efa2c1965..d1765d9754 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendError.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendError.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; public class SendError { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResult.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResult.cs index ecd74243ee..9418535493 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResult.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResult.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; public class SendResult { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResults.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResults.cs index fc6b0eb0ca..b2470b62aa 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResults.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/DirectPush/Responses/SendResults.cs @@ -1,7 +1,7 @@ using System.Collections.Concurrent; using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.Responses; +namespace Backbone.Devices.Infrastructure.PushNotifications.DirectPush.Responses; public class SendResults { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/DummyPushService.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/DummyPushService.cs index c967659258..140b97fd2e 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/DummyPushService.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/DummyPushService.cs @@ -1,9 +1,9 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.Dummy; +namespace Backbone.Devices.Infrastructure.PushNotifications.Dummy; public class DummyPushService : IPushService { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/IServiceCollectionExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/IServiceCollectionExtensions.cs index 9d5eaab899..060f5929d8 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/IServiceCollectionExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/Dummy/IServiceCollectionExtensions.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Devices.Application.Infrastructure.PushNotifications; +using Backbone.Devices.Application.Infrastructure.PushNotifications; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications.Dummy; +namespace Backbone.Devices.Infrastructure.PushNotifications.Dummy; public static class IServiceCollectionExtensions { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/IServiceCollectionExtensions.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/IServiceCollectionExtensions.cs index 7f904f1dbc..6a9d3772e2 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/IServiceCollectionExtensions.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.Dummy; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush; +using Backbone.Devices.Infrastructure.PushNotifications.Dummy; using Microsoft.Extensions.DependencyInjection; -using DirectPnsCommunicationOptions = Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.DirectPnsCommunicationOptions; +using DirectPnsCommunicationOptions = Backbone.Devices.Infrastructure.PushNotifications.DirectPush.DirectPnsCommunicationOptions; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications; +namespace Backbone.Devices.Infrastructure.PushNotifications; public static class IServiceCollectionExtensions { diff --git a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/NotificationContent.cs b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/NotificationContent.cs index 9727382ee6..45429f7697 100644 --- a/Modules/Devices/src/Devices.Infrastructure/PushNotifications/NotificationContent.cs +++ b/Modules/Devices/src/Devices.Infrastructure/PushNotifications/NotificationContent.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Devices.Infrastructure.PushNotifications; +namespace Backbone.Devices.Infrastructure.PushNotifications; public class NotificationContent { diff --git a/Modules/Devices/test/Devices.Application.Tests/ApplicationDbContextExtensions.cs b/Modules/Devices/test/Devices.Application.Tests/ApplicationDbContextExtensions.cs index 765000f516..dd653c3436 100644 --- a/Modules/Devices/test/Devices.Application.Tests/ApplicationDbContextExtensions.cs +++ b/Modules/Devices/test/Devices.Application.Tests/ApplicationDbContextExtensions.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Devices.Infrastructure.Persistence.Database; +using Backbone.Devices.Infrastructure.Persistence.Database; -namespace Backbone.Modules.Devices.Application.Tests; +namespace Backbone.Devices.Application.Tests; public static class ApplicationDbContextExtensions { diff --git a/Modules/Devices/test/Devices.Application.Tests/ExceptionAssertionsExtensions.cs b/Modules/Devices/test/Devices.Application.Tests/ExceptionAssertionsExtensions.cs index b62064690a..d085aaa01e 100644 --- a/Modules/Devices/test/Devices.Application.Tests/ExceptionAssertionsExtensions.cs +++ b/Modules/Devices/test/Devices.Application.Tests/ExceptionAssertionsExtensions.cs @@ -4,7 +4,7 @@ using FluentAssertions.Specialized; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Tests; +namespace Backbone.Devices.Application.Tests; public static class ApplicationExceptionExtensions { diff --git a/Modules/Devices/test/Devices.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs b/Modules/Devices/test/Devices.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs index daade3f73b..46cdab4d90 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs @@ -2,7 +2,7 @@ using FluentAssertions.Specialized; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Tests.Extensions; +namespace Backbone.Devices.Application.Tests.Extensions; public static class ExceptionAssertionsExtensions { public static void WithErrorCode(this ExceptionAssertions assertions, string code) where T : ApplicationException diff --git a/Modules/Devices/test/Devices.Application.Tests/TestDataGenerator.cs b/Modules/Devices/test/Devices.Application.Tests/TestDataGenerator.cs index 0ef117d9a6..518bfd1794 100644 --- a/Modules/Devices/test/Devices.Application.Tests/TestDataGenerator.cs +++ b/Modules/Devices/test/Devices.Application.Tests/TestDataGenerator.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Tests; +namespace Backbone.Devices.Application.Tests; public static class TestDataGenerator { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs index eef5758d2e..8c34ee5532 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs @@ -1,8 +1,8 @@ using AutoMapper; -using Backbone.Modules.Devices.Application.AutoMapper; +using Backbone.Devices.Application.AutoMapper; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.AutoMapper; +namespace Backbone.Devices.Application.Tests.Tests.AutoMapper; public class AutoMapperProfileTests { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/ChangeClientSecret/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/ChangeClientSecret/HandlerTests.cs index 7cc3a510f9..59dba1a8d0 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/ChangeClientSecret/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/ChangeClientSecret/HandlerTests.cs @@ -1,12 +1,12 @@ -using Backbone.Modules.Devices.Application.Clients.Commands.ChangeClientSecret; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Clients.Commands.ChangeClientSecret; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using Backbone.Tooling; using FakeItEasy; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Clients.Commands.ChangeClientSecret; +namespace Backbone.Devices.Application.Tests.Tests.Clients.Commands.ChangeClientSecret; public class HandlerTests { [Fact] diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/UpdateClient/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/UpdateClient/HandlerTests.cs index 08ace7d99f..eb4d6bb4cc 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/UpdateClient/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Clients/Commands/UpdateClient/HandlerTests.cs @@ -1,17 +1,17 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Devices.Application.Clients.Commands.UpdateClient; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.Tests.Extensions; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Clients.Commands.UpdateClient; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Tests.Extensions; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using Backbone.Tooling; using FakeItEasy; using FluentAssertions; using Xunit; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Clients.Commands.UpdateClient; +namespace Backbone.Devices.Application.Tests.Tests.Clients.Commands.UpdateClient; public class HandlerTests { [Fact] diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Commands/UpdateIdentity/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Commands/UpdateIdentity/HandlerTests.cs index 38f3235c2c..04db08d89f 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Commands/UpdateIdentity/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Commands/UpdateIdentity/HandlerTests.cs @@ -2,17 +2,17 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Identities.Commands.UpdateIdentity; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Identities.Commands.UpdateIdentity; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.IntegrationEvents.Outgoing; +using Backbone.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Entities; using Backbone.UnitTestTools.Extensions; using FakeItEasy; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Identities.Commands.UpdateIdentity; +namespace Backbone.Devices.Application.Tests.Tests.Identities.Commands.UpdateIdentity; public class HandlerTests { [Fact] diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/FindByAddressStubRepository.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/FindByAddressStubRepository.cs index 054cdb6e15..4fadfa4500 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/FindByAddressStubRepository.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/FindByAddressStubRepository.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Identities.Queries.GetIdentity; +namespace Backbone.Devices.Application.Tests.Tests.Identities.Queries.GetIdentity; public class FindByAddressStubRepository : IIdentitiesRepository { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/HandlerTests.cs index 57bc59ceb0..f20a433961 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/GetIdentity/HandlerTests.cs @@ -1,14 +1,14 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Identities.Queries.GetIdentity; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; using Backbone.UnitTestTools.Extensions; using FakeItEasy; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Identities.Queries.GetIdentity; +namespace Backbone.Devices.Application.Tests.Tests.Identities.Queries.GetIdentity; public class HandlerTests { [Fact] diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/FindAllStubRepository.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/FindAllStubRepository.cs index ea0ed0d90f..c3b0568bb6 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/FindAllStubRepository.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/FindAllStubRepository.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Entities; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Identities.Queries.ListIdentities; +namespace Backbone.Devices.Application.Tests.Tests.Identities.Queries.ListIdentities; public class FindAllStubRepository : IIdentitiesRepository { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/HandlerTests.cs index 1ee513c0f7..98bf14ca78 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Identities/Queries/ListIdentities/HandlerTests.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.Identities.Queries.ListIdentities; -using Backbone.Modules.Devices.Domain.Entities; +using Backbone.Devices.Application.Identities.Queries.ListIdentities; +using Backbone.Devices.Domain.Entities; using FluentAssertions; using FluentAssertions.Execution; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Identities.Queries.ListIdentities; +namespace Backbone.Devices.Application.Tests.Tests.Identities.Queries.ListIdentities; public class HandlerTests { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/CreateTierCommandValidatorTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/CreateTierCommandValidatorTests.cs index cc58e573b3..1a99d8a2e6 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/CreateTierCommandValidatorTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/CreateTierCommandValidatorTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; +using Backbone.Devices.Application.Tiers.Commands.CreateTier; using FluentAssertions; using FluentValidation.TestHelper; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Tiers.Commands.CreateTier; +namespace Backbone.Devices.Application.Tests.Tests.Tiers.Commands.CreateTier; public class CreateTierCommandValidatorTests { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/HandlerTests.cs index b269a6b1b0..fcdf8651c8 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/CreateTier/HandlerTests.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.Tests.Extensions; -using Backbone.Modules.Devices.Application.Tiers.Commands.CreateTier; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.Tests.Extensions; +using Backbone.Devices.Application.Tiers.Commands.CreateTier; +using Backbone.Devices.Domain.Aggregates.Tier; using FakeItEasy; using FluentAssertions; using Microsoft.Extensions.Logging; using Xunit; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Tiers.Commands.CreateTier; +namespace Backbone.Devices.Application.Tests.Tests.Tiers.Commands.CreateTier; public class HandlerTests { diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/DeleteTier/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/DeleteTier/HandlerTests.cs index be924f13a5..8ddc25e9a6 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/DeleteTier/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Commands/DeleteTier/HandlerTests.cs @@ -1,14 +1,14 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Devices.Application.Tiers.Commands.DeleteTier; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Application.IntegrationEvents.Outgoing; +using Backbone.Devices.Application.Tiers.Commands.DeleteTier; +using Backbone.Devices.Domain.Aggregates.Tier; using FakeItEasy; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Tiers.Commands.DeleteTier; +namespace Backbone.Devices.Application.Tests.Tests.Tiers.Commands.DeleteTier; public class HandlerTests { private readonly ITiersRepository _tiersRepository; diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/FindAllStubRepository.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/FindAllStubRepository.cs index 56b800fe39..bc251c01c0 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/FindAllStubRepository.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/FindAllStubRepository.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.Tier; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Tiers.Queries.ListTiers; +namespace Backbone.Devices.Application.Tests.Tests.Tiers.Queries.ListTiers; public class FindAllStubRepository : ITiersRepository { private readonly DbPaginationResult _tiers; diff --git a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/HandlerTests.cs b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/HandlerTests.cs index a82eee83a6..f3f80fbd5e 100644 --- a/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/HandlerTests.cs +++ b/Modules/Devices/test/Devices.Application.Tests/Tests/Tiers/Queries/ListTiers/HandlerTests.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Devices.Application.Tiers.Queries.ListTiers; -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Application.Tiers.Queries.ListTiers; +using Backbone.Devices.Domain.Aggregates.Tier; using FluentAssertions; using FluentAssertions.Execution; using Xunit; -namespace Backbone.Modules.Devices.Application.Tests.Tests.Tiers.Queries.ListTiers; +namespace Backbone.Devices.Application.Tests.Tests.Tiers.Queries.ListTiers; public class HandlerTests { diff --git a/Modules/Devices/test/Devices.Domain.Tests/OAuthClient/OAuthClientTests.cs b/Modules/Devices/test/Devices.Domain.Tests/OAuthClient/OAuthClientTests.cs index 5f36eb304c..a1517c09f2 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/OAuthClient/OAuthClientTests.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/OAuthClient/OAuthClientTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using Backbone.Tooling; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Domain.Tests.OAuthClient; +namespace Backbone.Devices.Domain.Tests.OAuthClient; public class OAuthClientTests { [Fact] diff --git a/Modules/Devices/test/Devices.Domain.Tests/PnsHandleTests.cs b/Modules/Devices/test/Devices.Domain.Tests/PnsHandleTests.cs index b4d599dcff..3c150d5728 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/PnsHandleTests.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/PnsHandleTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Domain.Tests; +namespace Backbone.Devices.Domain.Tests; public class PnsHandleTests { [Fact] diff --git a/Modules/Devices/test/Devices.Domain.Tests/TestDataGenerator.cs b/Modules/Devices/test/Devices.Domain.Tests/TestDataGenerator.cs index 02cbdbf1f9..bd0336623e 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/TestDataGenerator.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/TestDataGenerator.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Devices.Domain.Tests; +namespace Backbone.Devices.Domain.Tests; public static class TestDataGenerator { public static string GenerateString(int resultLength, char[]? chars = null) diff --git a/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierIdTests.cs b/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierIdTests.cs index 1e30641f87..7cadb8c536 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierIdTests.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierIdTests.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Domain.Tests.Tiers; +namespace Backbone.Devices.Domain.Tests.Tiers; public class TierIdTests { [Fact] diff --git a/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierNameTests.cs b/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierNameTests.cs index 28a7d82265..31f084e78d 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierNameTests.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierNameTests.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Domain.Tests.Tiers; +namespace Backbone.Devices.Domain.Tests.Tiers; public class TierNameTests { [Theory] diff --git a/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierTests.cs b/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierTests.cs index 1ca71dc66b..fb20673c4e 100644 --- a/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierTests.cs +++ b/Modules/Devices/test/Devices.Domain.Tests/Tiers/TierTests.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Devices.Domain.Aggregates.Tier; +using Backbone.Devices.Domain.Aggregates.Tier; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Domain.Tests.Tiers; +namespace Backbone.Devices.Domain.Tests.Tiers; public class TierTests { diff --git a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApnsMessageBuilderTests.cs b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApnsMessageBuilderTests.cs index 18b0023012..e184b7866c 100644 --- a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApnsMessageBuilderTests.cs +++ b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApnsMessageBuilderTests.cs @@ -1,12 +1,12 @@ using System.Text.Json; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +using Backbone.Devices.Infrastructure.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; using Backbone.Tooling; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Infrastructure.Tests.Tests.DirectPush; +namespace Backbone.Devices.Infrastructure.Tests.Tests.DirectPush; public class ApnsMessageBuilderTests { [Fact] diff --git a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApplePushNotificationServiceConnectorTests.cs b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApplePushNotificationServiceConnectorTests.cs index 9924eef15c..6ec0bfa4a4 100644 --- a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApplePushNotificationServiceConnectorTests.cs +++ b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/ApplePushNotificationServiceConnectorTests.cs @@ -1,17 +1,17 @@ using System.Net; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications; -using Backbone.Modules.Devices.Domain.Aggregates.PushNotifications.Handles; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +using Backbone.Devices.Application.Infrastructure.Persistence.Repository; +using Backbone.Devices.Domain.Aggregates.PushNotifications; +using Backbone.Devices.Domain.Aggregates.PushNotifications.Handles; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; using FakeItEasy; using FluentAssertions; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Xunit; -namespace Backbone.Modules.Devices.Infrastructure.Tests.Tests.DirectPush; +namespace Backbone.Devices.Infrastructure.Tests.Tests.DirectPush; public class ApplePushNotificationServiceConnectorTests { diff --git a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/FcmMessageBuilderTests.cs b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/FcmMessageBuilderTests.cs index 5d2b6b8a64..7f1b227e6b 100644 --- a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/FcmMessageBuilderTests.cs +++ b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/FcmMessageBuilderTests.cs @@ -1,12 +1,12 @@ using System.Text.Json; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Devices.Infrastructure.PushNotifications; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; +using Backbone.Devices.Infrastructure.PushNotifications; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.FirebaseCloudMessaging; using Backbone.Tooling; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Infrastructure.Tests.Tests.DirectPush; +namespace Backbone.Devices.Infrastructure.Tests.Tests.DirectPush; public class FcmMessageBuilderTests { diff --git a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/JwtGeneratorTests.cs b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/JwtGeneratorTests.cs index 1e6dd1e638..a92f3916ba 100644 --- a/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/JwtGeneratorTests.cs +++ b/Modules/Devices/test/Devices.Infrastructure.Tests/Tests/DirectPush/JwtGeneratorTests.cs @@ -1,10 +1,10 @@ using System.Collections.Concurrent; -using Backbone.Modules.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; +using Backbone.Devices.Infrastructure.PushNotifications.DirectPush.ApplePushNotificationService; using Backbone.Tooling; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Devices.Infrastructure.Tests.Tests.DirectPush; +namespace Backbone.Devices.Infrastructure.Tests.Tests.DirectPush; public class JwtGeneratorTests : IDisposable { diff --git a/Modules/Files/src/Files.Application/ApplicationErrors.cs b/Modules/Files/src/Files.Application/ApplicationErrors.cs index 0e8487e25c..2203cb5026 100644 --- a/Modules/Files/src/Files.Application/ApplicationErrors.cs +++ b/Modules/Files/src/Files.Application/ApplicationErrors.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Files.Application; +namespace Backbone.Files.Application; public static class ApplicationErrors { diff --git a/Modules/Files/src/Files.Application/ApplicationOptions.cs b/Modules/Files/src/Files.Application/ApplicationOptions.cs index 8e0a358e2a..d1864eb166 100644 --- a/Modules/Files/src/Files.Application/ApplicationOptions.cs +++ b/Modules/Files/src/Files.Application/ApplicationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Files.Application; +namespace Backbone.Files.Application; public class ApplicationOptions { diff --git a/Modules/Files/src/Files.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Files/src/Files.Application/AutoMapper/AutoMapperProfile.cs index 411d573d14..2840530000 100644 --- a/Modules/Files/src/Files.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Files/src/Files.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Files.Application.AutoMapper; +namespace Backbone.Files.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Files/src/Files.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Files/src/Files.Application/Extensions/IServiceCollectionExtensions.cs index 5807513969..3891d1ae69 100644 --- a/Modules/Files/src/Files.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Files/src/Files.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Files.Application.AutoMapper; -using Backbone.Modules.Files.Application.Files.Commands.CreateFile; +using Backbone.Files.Application.AutoMapper; +using Backbone.Files.Application.Files.Commands.CreateFile; using FluentValidation; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Files.Application.Extensions; +namespace Backbone.Files.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommand.cs b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommand.cs index 1b5ee6e3c4..d817d0c80d 100644 --- a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommand.cs +++ b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommand.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Commands.CreateFile; +namespace Backbone.Files.Application.Files.Commands.CreateFile; [ApplyQuotasForMetrics("NumberOfFiles", "UsedFileStorageSpace")] public class CreateFileCommand : IRequest diff --git a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommandValidator.cs b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommandValidator.cs index 2d54071dee..bf34c5262c 100644 --- a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommandValidator.cs +++ b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileCommandValidator.cs @@ -4,7 +4,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Files.Application.Files.Commands.CreateFile; +namespace Backbone.Files.Application.Files.Commands.CreateFile; public class CreateFileCommandValidator : AbstractValidator { diff --git a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileResponse.cs b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileResponse.cs index c30091cdab..23a32e0a79 100644 --- a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileResponse.cs +++ b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/CreateFileResponse.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Domain.Entities; -using File = Backbone.Modules.Files.Domain.Entities.File; +using Backbone.Files.Domain.Entities; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Application.Files.Commands.CreateFile; +namespace Backbone.Files.Application.Files.Commands.CreateFile; public class CreateFileResponse : IHaveCustomMapping { diff --git a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/Handler.cs b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/Handler.cs index 0676122430..2c617b05bf 100644 --- a/Modules/Files/src/Files.Application/Files/Commands/CreateFile/Handler.cs +++ b/Modules/Files/src/Files.Application/Files/Commands/CreateFile/Handler.cs @@ -1,12 +1,12 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Files.Application.IntegrationEvents.Out; +using Backbone.Files.Application.Infrastructure.Persistence.Repository; +using Backbone.Files.Application.IntegrationEvents.Out; using MediatR; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Application.Files.Commands.CreateFile; +namespace Backbone.Files.Application.Files.Commands.CreateFile; public class Handler : IRequestHandler { diff --git a/Modules/Files/src/Files.Application/Files/DTOs/FileMetadataDTO.cs b/Modules/Files/src/Files.Application/Files/DTOs/FileMetadataDTO.cs index f4c4784ddf..a5a3ab9521 100644 --- a/Modules/Files/src/Files.Application/Files/DTOs/FileMetadataDTO.cs +++ b/Modules/Files/src/Files.Application/Files/DTOs/FileMetadataDTO.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Domain.Entities; -using File = Backbone.Modules.Files.Domain.Entities.File; +using Backbone.Files.Domain.Entities; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Application.Files.DTOs; +namespace Backbone.Files.Application.Files.DTOs; public class FileMetadataDTO : IHaveCustomMapping { diff --git a/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentQuery.cs b/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentQuery.cs index b03a268cc4..1eb798a5b5 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentQuery.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentQuery.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Queries.GetFileContent; +namespace Backbone.Files.Application.Files.Queries.GetFileContent; public class GetFileContentQuery : IRequest { diff --git a/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentResponse.cs b/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentResponse.cs index cad268999e..df6955251f 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentResponse.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/GetFileContentResponse.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Files.Application.Files.Queries.GetFileContent; +namespace Backbone.Files.Application.Files.Queries.GetFileContent; public class GetFileContentResponse { diff --git a/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/Handler.cs b/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/Handler.cs index c0b7562910..3b58b7401f 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/Handler.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/GetFileContent/Handler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; +using Backbone.Files.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Queries.GetFileContent; +namespace Backbone.Files.Application.Files.Queries.GetFileContent; public class Handler : IRequestHandler { diff --git a/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/GetFileMetadataQuery.cs b/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/GetFileMetadataQuery.cs index 137a62d0f6..8556551756 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/GetFileMetadataQuery.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/GetFileMetadataQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Files.Application.Files.DTOs; -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Application.Files.DTOs; +using Backbone.Files.Domain.Entities; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Queries.GetFileMetadata; +namespace Backbone.Files.Application.Files.Queries.GetFileMetadata; public class GetFileMetadataQuery : IRequest { diff --git a/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/Handler.cs b/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/Handler.cs index 62623f833c..8d1ceb58d9 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/Handler.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/GetFileMetadata/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Files.Application.Files.DTOs; -using Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; +using Backbone.Files.Application.Files.DTOs; +using Backbone.Files.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Queries.GetFileMetadata; +namespace Backbone.Files.Application.Files.Queries.GetFileMetadata; public class Handler : IRequestHandler { diff --git a/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/Handler.cs b/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/Handler.cs index 7456ba8241..10ccb8a74c 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/Handler.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Files.Application.Files.DTOs; -using Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; +using Backbone.Files.Application.Files.DTOs; +using Backbone.Files.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Queries.ListFileMetadata; +namespace Backbone.Files.Application.Files.Queries.ListFileMetadata; public class Handler : IRequestHandler { diff --git a/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataQuery.cs b/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataQuery.cs index 6c4938595a..41c86b03a7 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataQuery.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataQuery.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; using MediatR; -namespace Backbone.Modules.Files.Application.Files.Queries.ListFileMetadata; +namespace Backbone.Files.Application.Files.Queries.ListFileMetadata; public class ListFileMetadataQuery : IRequest { diff --git a/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataResponse.cs b/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataResponse.cs index b654122de6..a46058cf0c 100644 --- a/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataResponse.cs +++ b/Modules/Files/src/Files.Application/Files/Queries/ListFileMetadata/ListFileMetadataResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Files.Application.Files.DTOs; +using Backbone.Files.Application.Files.DTOs; -namespace Backbone.Modules.Files.Application.Files.Queries.ListFileMetadata; +namespace Backbone.Files.Application.Files.Queries.ListFileMetadata; public class ListFileMetadataResponse : PagedResponse { diff --git a/Modules/Files/src/Files.Application/Infrastructure/Persistence/BlobOptions.cs b/Modules/Files/src/Files.Application/Infrastructure/Persistence/BlobOptions.cs index 48b6842940..9498e6e5c7 100644 --- a/Modules/Files/src/Files.Application/Infrastructure/Persistence/BlobOptions.cs +++ b/Modules/Files/src/Files.Application/Infrastructure/Persistence/BlobOptions.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Files.Application.Infrastructure.Persistence; +namespace Backbone.Files.Application.Infrastructure.Persistence; public class BlobOptions { diff --git a/Modules/Files/src/Files.Application/Infrastructure/Persistence/IFilesDbContext.cs b/Modules/Files/src/Files.Application/Infrastructure/Persistence/IFilesDbContext.cs index c3d6e91759..6880d7530f 100644 --- a/Modules/Files/src/Files.Application/Infrastructure/Persistence/IFilesDbContext.cs +++ b/Modules/Files/src/Files.Application/Infrastructure/Persistence/IFilesDbContext.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; -namespace Backbone.Modules.Files.Application.Infrastructure.Persistence; +namespace Backbone.Files.Application.Infrastructure.Persistence; public interface IFilesDbContext : IDbContext { diff --git a/Modules/Files/src/Files.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs b/Modules/Files/src/Files.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs index 7507e0fc1a..62d8060d59 100644 --- a/Modules/Files/src/Files.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs +++ b/Modules/Files/src/Files.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Domain.Entities; -using File = Backbone.Modules.Files.Domain.Entities.File; +using Backbone.Files.Domain.Entities; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Files.Application.Infrastructure.Persistence.Repository; public interface IFilesRepository { Task Find(FileId id, CancellationToken cancellationToken, bool track = false, bool fillContent = true); diff --git a/Modules/Files/src/Files.Application/IntegrationEvents/Out/FileUploadedIntegrationEvent.cs b/Modules/Files/src/Files.Application/IntegrationEvents/Out/FileUploadedIntegrationEvent.cs index 0315dbb72d..574d472ba2 100644 --- a/Modules/Files/src/Files.Application/IntegrationEvents/Out/FileUploadedIntegrationEvent.cs +++ b/Modules/Files/src/Files.Application/IntegrationEvents/Out/FileUploadedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Application.IntegrationEvents.Out; +namespace Backbone.Files.Application.IntegrationEvents.Out; public class FileUploadedIntegrationEvent : IntegrationEvent { public FileUploadedIntegrationEvent(File file) : base($"{file.Id}/Created") diff --git a/Modules/Files/src/Files.ConsumerApi/Configuration.cs b/Modules/Files/src/Files.ConsumerApi/Configuration.cs index 94715246c2..8893d86bd4 100644 --- a/Modules/Files/src/Files.ConsumerApi/Configuration.cs +++ b/Modules/Files/src/Files.ConsumerApi/Configuration.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Files.Application; +using Backbone.Files.Application; -namespace Backbone.Modules.Files.ConsumerApi; +namespace Backbone.Files.ConsumerApi; public class Configuration { diff --git a/Modules/Files/src/Files.ConsumerApi/Controllers/FilesController.cs b/Modules/Files/src/Files.ConsumerApi/Controllers/FilesController.cs index 2eebd184c0..64f5ea0521 100644 --- a/Modules/Files/src/Files.ConsumerApi/Controllers/FilesController.cs +++ b/Modules/Files/src/Files.ConsumerApi/Controllers/FilesController.cs @@ -4,14 +4,14 @@ using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Files.Application; -using Backbone.Modules.Files.Application.Files.Commands.CreateFile; -using Backbone.Modules.Files.Application.Files.DTOs; -using Backbone.Modules.Files.Application.Files.Queries.GetFileContent; -using Backbone.Modules.Files.Application.Files.Queries.GetFileMetadata; -using Backbone.Modules.Files.Application.Files.Queries.ListFileMetadata; -using Backbone.Modules.Files.ConsumerApi.DTOs; -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Application; +using Backbone.Files.Application.Files.Commands.CreateFile; +using Backbone.Files.Application.Files.DTOs; +using Backbone.Files.Application.Files.Queries.GetFileContent; +using Backbone.Files.Application.Files.Queries.GetFileMetadata; +using Backbone.Files.Application.Files.Queries.ListFileMetadata; +using Backbone.Files.ConsumerApi.DTOs; +using Backbone.Files.Domain.Entities; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -20,7 +20,7 @@ using NeoSmart.Utils; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Files.ConsumerApi.Controllers; +namespace Backbone.Files.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Files/src/Files.ConsumerApi/DTOs/CreateFileDTO.cs b/Modules/Files/src/Files.ConsumerApi/DTOs/CreateFileDTO.cs index a837d5ec0b..50cc5623ec 100644 --- a/Modules/Files/src/Files.ConsumerApi/DTOs/CreateFileDTO.cs +++ b/Modules/Files/src/Files.ConsumerApi/DTOs/CreateFileDTO.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Microsoft.AspNetCore.Http; -namespace Backbone.Modules.Files.ConsumerApi.DTOs; +namespace Backbone.Files.ConsumerApi.DTOs; public class CreateFileDTO { diff --git a/Modules/Files/src/Files.ConsumerApi/DTOs/Validators/CreateFileDTOValidator.cs b/Modules/Files/src/Files.ConsumerApi/DTOs/Validators/CreateFileDTOValidator.cs index ce083607b5..3642f247de 100644 --- a/Modules/Files/src/Files.ConsumerApi/DTOs/Validators/CreateFileDTOValidator.cs +++ b/Modules/Files/src/Files.ConsumerApi/DTOs/Validators/CreateFileDTOValidator.cs @@ -2,7 +2,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Files.ConsumerApi.DTOs.Validators; +namespace Backbone.Files.ConsumerApi.DTOs.Validators; public class CreateFileDTOValidator : AbstractValidator { diff --git a/Modules/Files/src/Files.ConsumerApi/FilesModule.cs b/Modules/Files/src/Files.ConsumerApi/FilesModule.cs index 639a345efc..f71f61fcf6 100644 --- a/Modules/Files/src/Files.ConsumerApi/FilesModule.cs +++ b/Modules/Files/src/Files.ConsumerApi/FilesModule.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Files.Application; -using Backbone.Modules.Files.Application.Extensions; -using Backbone.Modules.Files.Infrastructure.Persistence; +using Backbone.Files.Application; +using Backbone.Files.Application.Extensions; +using Backbone.Files.Infrastructure.Persistence; using Backbone.Tooling.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Files.ConsumerApi; +namespace Backbone.Files.ConsumerApi; public class FilesModule : AbstractModule { diff --git a/Modules/Files/src/Files.Domain/Entities/File.cs b/Modules/Files/src/Files.Domain/Entities/File.cs index d1becab3cd..a65dc9daff 100644 --- a/Modules/Files/src/Files.Domain/Entities/File.cs +++ b/Modules/Files/src/Files.Domain/Entities/File.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Files.Domain.Entities; +namespace Backbone.Files.Domain.Entities; public class File { diff --git a/Modules/Files/src/Files.Domain/Entities/FileId.cs b/Modules/Files/src/Files.Domain/Entities/FileId.cs index 0ebaa45fe2..d0f5fb28be 100644 --- a/Modules/Files/src/Files.Domain/Entities/FileId.cs +++ b/Modules/Files/src/Files.Domain/Entities/FileId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Files.Domain.Entities; +namespace Backbone.Files.Domain.Entities; [Serializable] [TypeConverter(typeof(FileIdTypeConverter))] diff --git a/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/20230208164241_Init.Designer.cs b/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/20230208164241_Init.Designer.cs index 4b2696fd06..d670e224d1 100644 --- a/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/20230208164241_Init.Designer.cs +++ b/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/20230208164241_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Files.Infrastructure.Persistence.Database; +using Backbone.Files.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/FilesDbContextModelSnapshot.cs b/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/FilesDbContextModelSnapshot.cs index 96d3b93b4d..a42abd5a24 100644 --- a/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/FilesDbContextModelSnapshot.cs +++ b/Modules/Files/src/Files.Infrastructure.Database.Postgres/Migrations/FilesDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Files.Infrastructure.Persistence.Database; +using Backbone.Files.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/20220929134649_Init.Designer.cs b/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/20220929134649_Init.Designer.cs index 0791ce3166..f02be8a677 100644 --- a/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/20220929134649_Init.Designer.cs +++ b/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/20220929134649_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Files.Infrastructure.Persistence.Database; +using Backbone.Files.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index ec52e018e8..f9a164be0a 100644 --- a/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Files/src/Files.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Files.Infrastructure.Persistence.Database; +using Backbone.Files.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FileEntityType.cs b/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FileEntityType.cs index 4d2d4fa89a..8614140f3e 100644 --- a/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FileEntityType.cs +++ b/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FileEntityType.cs @@ -3,10 +3,10 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; #pragma warning disable 219, 612, 618 #nullable enable diff --git a/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FilesDbContextModel.cs b/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FilesDbContextModel.cs index d9fc5e1c37..a1f36c7b65 100644 --- a/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FilesDbContextModel.cs +++ b/Modules/Files/src/Files.Infrastructure/CompiledModels/Postgres/FilesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Files.Infrastructure.Persistence.Database; + +using Backbone.Files.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FileEntityType.cs b/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FileEntityType.cs index a2c239eb3b..aef0dc956a 100644 --- a/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FileEntityType.cs +++ b/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FileEntityType.cs @@ -3,10 +3,10 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; #pragma warning disable 219, 612, 618 #nullable enable diff --git a/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FilesDbContextModel.cs b/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FilesDbContextModel.cs index 7b50e186c3..5f017f8012 100644 --- a/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FilesDbContextModel.cs +++ b/Modules/Files/src/Files.Infrastructure/CompiledModels/SqlServer/FilesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Files.Infrastructure.Persistence.Database; + +using Backbone.Files.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/Database/EntityTypeConfigurations/FileEntityTypeConfiguration.cs b/Modules/Files/src/Files.Infrastructure/Persistence/Database/EntityTypeConfigurations/FileEntityTypeConfiguration.cs index b406bc11ca..fc04124bab 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/Database/EntityTypeConfigurations/FileEntityTypeConfiguration.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/Database/EntityTypeConfigurations/FileEntityTypeConfiguration.cs @@ -1,10 +1,10 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Files.Infrastructure.Persistence.Database.EntityTypeConfigurations; -public class FileEntityTypeConfiguration : IEntityTypeConfiguration +public class FileEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) { diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/Database/FilesDbContext.cs b/Modules/Files/src/Files.Infrastructure/Persistence/Database/FilesDbContext.cs index d45bd1875c..1a4a859921 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/Database/FilesDbContext.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/Database/FilesDbContext.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; -using Backbone.Modules.Files.Application.Infrastructure.Persistence; -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Files.Application.Infrastructure.Persistence; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Infrastructure.Persistence.Database; +namespace Backbone.Files.Infrastructure.Persistence.Database; public class FilesDbContext : AbstractDbContextBase, IFilesDbContext { diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs b/Modules/Files/src/Files.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs index 3d2fa9386b..c6fa8359c5 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Files.Application.Infrastructure.Persistence; +using Backbone.Files.Application.Infrastructure.Persistence; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Files.Infrastructure.Persistence.Database; +namespace Backbone.Files.Infrastructure.Persistence.Database; public static class IServiceCollectionExtensions { @@ -32,7 +32,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(SQLSERVER_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.SqlServer.FilesDbContextModel.Instance); + }).UseModel(Modules.Files.Infrastructure.CompiledModels.SqlServer.FilesDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.DbConnectionString, sqlOptions => @@ -40,7 +40,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(POSTGRES_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.Postgres.FilesDbContextModel.Instance); + }).UseModel(Modules.Files.Infrastructure.CompiledModels.Postgres.FilesDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/Database/QueryableExtensions/FileQueryableExtensions.cs b/Modules/Files/src/Files.Infrastructure/Persistence/Database/QueryableExtensions/FileQueryableExtensions.cs index 775f261f0a..c42a857c0d 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/Database/QueryableExtensions/FileQueryableExtensions.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/Database/QueryableExtensions/FileQueryableExtensions.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Domain.Entities; -using File = Backbone.Modules.Files.Domain.Entities.File; +using Backbone.Files.Domain.Entities; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Files.Infrastructure.Persistence.Database.QueryableExtensions; public static class FileQueryableExtensions { diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/Database/Repository/FilesRepository.cs b/Modules/Files/src/Files.Infrastructure/Persistence/Database/Repository/FilesRepository.cs index abb6ab6a9d..554c9c6179 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/Database/Repository/FilesRepository.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/Database/Repository/FilesRepository.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Files.Application.Infrastructure.Persistence; -using Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Files.Application.Infrastructure.Persistence; +using Backbone.Files.Application.Infrastructure.Persistence.Repository; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Infrastructure.Persistence.Database.Repository; +namespace Backbone.Files.Infrastructure.Persistence.Database.Repository; public class FilesRepository : IFilesRepository { private readonly DbSet _files; diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs b/Modules/Files/src/Files.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs index 4545be81d6..89030be7fc 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Files.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Files.Infrastructure.Persistence.Database.ValueConverters; public class FileIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Files/src/Files.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Files/src/Files.Infrastructure/Persistence/IServiceCollectionExtensions.cs index d47f5dbb6d..07df3bee9a 100644 --- a/Modules/Files/src/Files.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Files/src/Files.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Files.Application.Infrastructure.Persistence; -using Backbone.Modules.Files.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Files.Infrastructure.Persistence.Database; -using Backbone.Modules.Files.Infrastructure.Persistence.Database.Repository; +using Backbone.Files.Application.Infrastructure.Persistence; +using Backbone.Files.Application.Infrastructure.Persistence.Repository; +using Backbone.Files.Infrastructure.Persistence.Database; +using Backbone.Files.Infrastructure.Persistence.Database.Repository; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Files.Infrastructure.Persistence; +namespace Backbone.Files.Infrastructure.Persistence; public static class IServiceCollectionExtensions { public static void AddPersistence(this IServiceCollection services, Action setupOptions) diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs index f9b87bd86b..5fe5ecee6c 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Extensions; +namespace Backbone.Files.Jobs.SanityCheck.Extensions; internal static class IConfigurationExtensions { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs index b83e2e322f..ab79d7a426 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Files.Application.Infrastructure.Persistence; -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Application.Infrastructure.Persistence; +using Backbone.Files.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -using File = Backbone.Modules.Files.Domain.Entities.File; +using File = Backbone.Files.Domain.Entities.File; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Files.Jobs.SanityCheck.Infrastructure.DataSource; public class DataSource : IDataSource { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs index 90c418c6ec..2b658cb403 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Files.Jobs.SanityCheck.Infrastructure.DataSource; public interface IDataSource { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs index 4162507945..48c35e336c 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Files.Jobs.SanityCheck.Infrastructure.Reporter; public interface IReporter { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs index eca8d569e9..c10d8fbca7 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Files.Domain.Entities; +using Backbone.Files.Domain.Entities; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Files.Jobs.SanityCheck.Infrastructure.Reporter; public class LogReporter : IReporter { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs index 643a164e46..24d1e6d3d7 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.SanityCheck; +namespace Backbone.Files.Jobs.SanityCheck.Infrastructure.SanityCheck; public class SanityCheck { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Program.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Program.cs index 26df24ac46..2c7e3d05e1 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Program.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Program.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Backbone.Modules.Files.Infrastructure.Persistence; -using Backbone.Modules.Files.Jobs.SanityCheck.Extensions; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Files.Infrastructure.Persistence; +using Backbone.Files.Jobs.SanityCheck.Extensions; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.Reporter; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Files.Jobs.SanityCheck; +namespace Backbone.Files.Jobs.SanityCheck; public class Program { diff --git a/Modules/Files/src/Files.Jobs.SanityCheck/Worker.cs b/Modules/Files/src/Files.Jobs.SanityCheck/Worker.cs index fab043f432..61b5b6ad9a 100644 --- a/Modules/Files/src/Files.Jobs.SanityCheck/Worker.cs +++ b/Modules/Files/src/Files.Jobs.SanityCheck/Worker.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Files.Jobs.SanityCheck; +namespace Backbone.Files.Jobs.SanityCheck; public class Worker : IHostedService { diff --git a/Modules/Files/test/Files.Application.Tests/TestData.cs b/Modules/Files/test/Files.Application.Tests/TestData.cs index 662d5415e2..6708f1a489 100644 --- a/Modules/Files/test/Files.Application.Tests/TestData.cs +++ b/Modules/Files/test/Files.Application.Tests/TestData.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Files.Application.Tests; +namespace Backbone.Files.Application.Tests; public static class TestData { diff --git a/Modules/Files/test/Files.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs b/Modules/Files/test/Files.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs index 6d781801b6..79c2e9f253 100644 --- a/Modules/Files/test/Files.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs +++ b/Modules/Files/test/Files.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs @@ -1,8 +1,8 @@ using AutoMapper; -using Backbone.Modules.Files.Application.AutoMapper; +using Backbone.Files.Application.AutoMapper; using Xunit; -namespace Backbone.Modules.Files.Application.Tests.Tests.AutoMapper; +namespace Backbone.Files.Application.Tests.Tests.AutoMapper; public class AutoMapperProfileTests { diff --git a/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs b/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs index 49907c2013..fe2f629af5 100644 --- a/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs +++ b/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.DataSource; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +namespace Backbone.Files.Jobs.SanityCheck.Tests.Infrastructure.DataSource; public class FakeDataSource : IDataSource { diff --git a/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs b/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs index 54c3205914..21f539b5df 100644 --- a/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs +++ b/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +namespace Backbone.Files.Jobs.SanityCheck.Tests.Infrastructure.Reporter; public class TestReporter : IReporter { diff --git a/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs b/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs index 36a8b43182..5d77859cf5 100644 --- a/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs +++ b/Modules/Files/test/Files.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs @@ -1,22 +1,22 @@ -using Backbone.Modules.Files.Domain.Entities; -using Backbone.Modules.Files.Jobs.SanityCheck.Tests.Infrastructure.DataSource; -using Backbone.Modules.Files.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +using Backbone.Files.Domain.Entities; +using Backbone.Files.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +using Backbone.Files.Jobs.SanityCheck.Tests.Infrastructure.Reporter; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Files.Jobs.SanityCheck.Tests.Tests; +namespace Backbone.Files.Jobs.SanityCheck.Tests.Tests; public class SanityCheckTests { private readonly FakeDataSource _dataSource; private readonly TestReporter _reporter; - private readonly Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; + private readonly SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; public SanityCheckTests() { _dataSource = new FakeDataSource(); _reporter = new TestReporter(); - _sanityCheck = new Backbone.Modules.Files.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); + _sanityCheck = new SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); } [Fact] diff --git a/Modules/Messages/src/Messages.Application/ApplicationErrors.cs b/Modules/Messages/src/Messages.Application/ApplicationErrors.cs index 8af8f43956..bdd30ad7e7 100644 --- a/Modules/Messages/src/Messages.Application/ApplicationErrors.cs +++ b/Modules/Messages/src/Messages.Application/ApplicationErrors.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -namespace Backbone.Modules.Messages.Application; +namespace Backbone.Messages.Application; public static class ApplicationErrors { diff --git a/Modules/Messages/src/Messages.Application/ApplicationOptions.cs b/Modules/Messages/src/Messages.Application/ApplicationOptions.cs index 8e6b4dba96..658ae06990 100644 --- a/Modules/Messages/src/Messages.Application/ApplicationOptions.cs +++ b/Modules/Messages/src/Messages.Application/ApplicationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Messages.Application; +namespace Backbone.Messages.Application; public class ApplicationOptions { diff --git a/Modules/Messages/src/Messages.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Messages/src/Messages.Application/AutoMapper/AutoMapperProfile.cs index 8ea2fe6b38..c5b2a7028a 100644 --- a/Modules/Messages/src/Messages.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Messages/src/Messages.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Messages.Application.AutoMapper; +namespace Backbone.Messages.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Messages/src/Messages.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Messages/src/Messages.Application/Extensions/IServiceCollectionExtensions.cs index 58e111733b..e23ee68f17 100644 --- a/Modules/Messages/src/Messages.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Messages/src/Messages.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Messages.Application.AutoMapper; -using Backbone.Modules.Messages.Application.Messages.Commands.SendMessage; +using Backbone.Messages.Application.AutoMapper; +using Backbone.Messages.Application.Messages.Commands.SendMessage; using FluentValidation; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Messages.Application.Extensions; +namespace Backbone.Messages.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Messages/src/Messages.Application/Extensions/RecipientInformationIReadOnlyExtensions.cs b/Modules/Messages/src/Messages.Application/Extensions/RecipientInformationIReadOnlyExtensions.cs index 55a3b01b28..08ed376e0d 100644 --- a/Modules/Messages/src/Messages.Application/Extensions/RecipientInformationIReadOnlyExtensions.cs +++ b/Modules/Messages/src/Messages.Application/Extensions/RecipientInformationIReadOnlyExtensions.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; -namespace Backbone.Modules.Messages.Application.Extensions; +namespace Backbone.Messages.Application.Extensions; public static class RecipientInformationICollectionExtensions { diff --git a/Modules/Messages/src/Messages.Application/Infrastructure/EventBus/IFilesEventBus.cs b/Modules/Messages/src/Messages.Application/Infrastructure/EventBus/IFilesEventBus.cs index 7e99ab338e..dad8423aaf 100644 --- a/Modules/Messages/src/Messages.Application/Infrastructure/EventBus/IFilesEventBus.cs +++ b/Modules/Messages/src/Messages.Application/Infrastructure/EventBus/IFilesEventBus.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -namespace Backbone.Modules.Messages.Application.Infrastructure.EventBus; +namespace Backbone.Messages.Application.Infrastructure.EventBus; public interface IMessagesEventBus : IEventBus { diff --git a/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/BlobOptions.cs b/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/BlobOptions.cs index 75a8fd8709..19244def7c 100644 --- a/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/BlobOptions.cs +++ b/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/BlobOptions.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Messages.Application.Infrastructure.Persistence; +namespace Backbone.Messages.Application.Infrastructure.Persistence; public class BlobOptions { diff --git a/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs b/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs index fb98f01e3e..815c68be6f 100644 --- a/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs +++ b/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Messages.Application.Infrastructure.Persistence.Repository; public interface IMessagesRepository { Task> FindMessagesWithIds(IEnumerable ids, IdentityAddress requiredParticipant, PaginationFilter paginationFilter, CancellationToken cancellationToken, bool track = false); diff --git a/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs b/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs index 56a398c6ef..f7c95d03ff 100644 --- a/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs +++ b/Modules/Messages/src/Messages.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Messages.Application.Infrastructure.Persistence.Repository; #nullable enable public interface IRelationshipsRepository diff --git a/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageCreatedIntegrationEvent.cs b/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageCreatedIntegrationEvent.cs index 2416c41c12..a9849cd03d 100644 --- a/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageCreatedIntegrationEvent.cs +++ b/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; -namespace Backbone.Modules.Messages.Application.IntegrationEvents.Outgoing; +namespace Backbone.Messages.Application.IntegrationEvents.Outgoing; public class MessageCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageDeliveredIntegrationEvent.cs b/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageDeliveredIntegrationEvent.cs index 59b14cb4f1..9c283e4fd9 100644 --- a/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageDeliveredIntegrationEvent.cs +++ b/Modules/Messages/src/Messages.Application/IntegrationEvents/Outgoing/MessageDeliveredIntegrationEvent.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; -namespace Backbone.Modules.Messages.Application.IntegrationEvents.Outgoing; +namespace Backbone.Messages.Application.IntegrationEvents.Outgoing; public class MessageDeliveredIntegrationEvent : IntegrationEvent { diff --git a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/Handler.cs b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/Handler.cs index b7e972b625..8f4383eb34 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/Handler.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/Handler.cs @@ -2,15 +2,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Messages.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Application.Infrastructure.Persistence.Repository; +using Backbone.Messages.Application.IntegrationEvents.Outgoing; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; using MediatR; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Messages.Application.Messages.Commands.SendMessage; +namespace Backbone.Messages.Application.Messages.Commands.SendMessage; public class Handler : IRequestHandler { diff --git a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommand.cs b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommand.cs index bd08dc731f..7cecc73ed2 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommand.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommand.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using MediatR; -namespace Backbone.Modules.Messages.Application.Messages.Commands.SendMessage; +namespace Backbone.Messages.Application.Messages.Commands.SendMessage; [ApplyQuotasForMetrics("NumberOfSentMessages")] public class SendMessageCommand : IRequest diff --git a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommandValidator.cs b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommandValidator.cs index 2a9b1e0d01..39ff1c3a54 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommandValidator.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageCommandValidator.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Messages.Application.Messages.Commands.SendMessage; +namespace Backbone.Messages.Application.Messages.Commands.SendMessage; public class SendMessageCommandValidator : AbstractValidator { diff --git a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageResponse.cs b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageResponse.cs index c36405a973..49c9c1df1b 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageResponse.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Commands/SendMessage/SendMessageResponse.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Application.Messages.Commands.SendMessage; +namespace Backbone.Messages.Application.Messages.Commands.SendMessage; public class SendMessageResponse : IMapTo { diff --git a/Modules/Messages/src/Messages.Application/Messages/DTOs/AttachmentDTO.cs b/Modules/Messages/src/Messages.Application/Messages/DTOs/AttachmentDTO.cs index ba7cb6e2d7..dce920391e 100644 --- a/Modules/Messages/src/Messages.Application/Messages/DTOs/AttachmentDTO.cs +++ b/Modules/Messages/src/Messages.Application/Messages/DTOs/AttachmentDTO.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; -namespace Backbone.Modules.Messages.Application.Messages.DTOs; +namespace Backbone.Messages.Application.Messages.DTOs; public class AttachmentDTO : IMapTo { diff --git a/Modules/Messages/src/Messages.Application/Messages/DTOs/MessageDTO.cs b/Modules/Messages/src/Messages.Application/Messages/DTOs/MessageDTO.cs index 9420f8bfce..c9d3d39e7e 100644 --- a/Modules/Messages/src/Messages.Application/Messages/DTOs/MessageDTO.cs +++ b/Modules/Messages/src/Messages.Application/Messages/DTOs/MessageDTO.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Application.Messages.DTOs; +namespace Backbone.Messages.Application.Messages.DTOs; public class MessageDTO : IMapTo { diff --git a/Modules/Messages/src/Messages.Application/Messages/DTOs/RecipientInformationDTO.cs b/Modules/Messages/src/Messages.Application/Messages/DTOs/RecipientInformationDTO.cs index 89e99ef195..3fb4f8636f 100644 --- a/Modules/Messages/src/Messages.Application/Messages/DTOs/RecipientInformationDTO.cs +++ b/Modules/Messages/src/Messages.Application/Messages/DTOs/RecipientInformationDTO.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; -namespace Backbone.Modules.Messages.Application.Messages.DTOs; +namespace Backbone.Messages.Application.Messages.DTOs; public class RecipientInformationDTO : IMapTo { diff --git a/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/GetMessageQuery.cs b/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/GetMessageQuery.cs index 22d8df9006..3514fe2a81 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/GetMessageQuery.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/GetMessageQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Messages.Application.Messages.DTOs; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Application.Messages.DTOs; +using Backbone.Messages.Domain.Ids; using MediatR; -namespace Backbone.Modules.Messages.Application.Messages.Queries.GetMessage; +namespace Backbone.Messages.Application.Messages.Queries.GetMessage; public class GetMessageQuery : IRequest { diff --git a/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/Handler.cs b/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/Handler.cs index 6a7a83ced1..f6f8766424 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/Handler.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Queries/GetMessage/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Messages.Application.Extensions; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Messages.Application.Messages.DTOs; +using Backbone.Messages.Application.Extensions; +using Backbone.Messages.Application.Infrastructure.Persistence.Repository; +using Backbone.Messages.Application.Messages.DTOs; using MediatR; -namespace Backbone.Modules.Messages.Application.Messages.Queries.GetMessage; +namespace Backbone.Messages.Application.Messages.Queries.GetMessage; public class Handler : IRequestHandler { diff --git a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/Handler.cs b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/Handler.cs index cbc6e85ec2..0eeacee34a 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/Handler.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Messages.Application.Extensions; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Messages.Application.Messages.DTOs; +using Backbone.Messages.Application.Extensions; +using Backbone.Messages.Application.Infrastructure.Persistence.Repository; +using Backbone.Messages.Application.Messages.DTOs; using MediatR; -namespace Backbone.Modules.Messages.Application.Messages.Queries.ListMessages; +namespace Backbone.Messages.Application.Messages.Queries.ListMessages; public class Handler : IRequestHandler { diff --git a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQuery.cs b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQuery.cs index d7623dc1eb..5481bea261 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQuery.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQuery.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using MediatR; -namespace Backbone.Modules.Messages.Application.Messages.Queries.ListMessages; +namespace Backbone.Messages.Application.Messages.Queries.ListMessages; public class ListMessagesQuery : IRequest { diff --git a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQueryValidator.cs b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQueryValidator.cs index 9069c42579..6ba1f54170 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQueryValidator.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesQueryValidator.cs @@ -1,6 +1,6 @@ using FluentValidation; -namespace Backbone.Modules.Messages.Application.Messages.Queries.ListMessages; +namespace Backbone.Messages.Application.Messages.Queries.ListMessages; // ReSharper disable once UnusedMember.Global public class ListMessagesQueryValidator : AbstractValidator diff --git a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesResponse.cs b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesResponse.cs index 8d3d3e4fc2..8fa3994402 100644 --- a/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesResponse.cs +++ b/Modules/Messages/src/Messages.Application/Messages/Queries/ListMessages/ListMessagesResponse.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Application.Messages.DTOs; +using Backbone.Messages.Application.Messages.DTOs; -namespace Backbone.Modules.Messages.Application.Messages.Queries.ListMessages; +namespace Backbone.Messages.Application.Messages.Queries.ListMessages; public class ListMessagesResponse : PagedResponse { diff --git a/Modules/Messages/src/Messages.Application/Messages/RequestHandlerBase.cs b/Modules/Messages/src/Messages.Application/Messages/RequestHandlerBase.cs index c51de57bf2..450553786f 100644 --- a/Modules/Messages/src/Messages.Application/Messages/RequestHandlerBase.cs +++ b/Modules/Messages/src/Messages.Application/Messages/RequestHandlerBase.cs @@ -4,7 +4,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using MediatR; -namespace Backbone.Modules.Messages.Application.Messages; +namespace Backbone.Messages.Application.Messages; public abstract class RequestHandlerBase : IRequestHandler where TRequest : IRequest { diff --git a/Modules/Messages/src/Messages.Common/FluentValidation/RangeValidator.cs b/Modules/Messages/src/Messages.Common/FluentValidation/RangeValidator.cs index a38888e558..e93bb40489 100644 --- a/Modules/Messages/src/Messages.Common/FluentValidation/RangeValidator.cs +++ b/Modules/Messages/src/Messages.Common/FluentValidation/RangeValidator.cs @@ -1,7 +1,7 @@ using FluentValidation; using FluentValidation.Validators; -namespace Backbone.Modules.Messages.Common.FluentValidation; +namespace Backbone.Messages.Common.FluentValidation; public class RangeValidator : PropertyValidator { diff --git a/Modules/Messages/src/Messages.Common/Range.cs b/Modules/Messages/src/Messages.Common/Range.cs index da2216f771..c1ae4b3e7c 100644 --- a/Modules/Messages/src/Messages.Common/Range.cs +++ b/Modules/Messages/src/Messages.Common/Range.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Messages.Common; +namespace Backbone.Messages.Common; public class Range { diff --git a/Modules/Messages/src/Messages.ConsumerApi/Configuration.cs b/Modules/Messages/src/Messages.ConsumerApi/Configuration.cs index 20ac9a3d4a..5c0713455c 100644 --- a/Modules/Messages/src/Messages.ConsumerApi/Configuration.cs +++ b/Modules/Messages/src/Messages.ConsumerApi/Configuration.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Messages.Application; +using Backbone.Messages.Application; -namespace Backbone.Modules.Messages.ConsumerApi; +namespace Backbone.Messages.ConsumerApi; public class Configuration { diff --git a/Modules/Messages/src/Messages.ConsumerApi/Controllers/MessagesController.cs b/Modules/Messages/src/Messages.ConsumerApi/Controllers/MessagesController.cs index cfa3d82120..b6c0cfd355 100644 --- a/Modules/Messages/src/Messages.ConsumerApi/Controllers/MessagesController.cs +++ b/Modules/Messages/src/Messages.ConsumerApi/Controllers/MessagesController.cs @@ -3,12 +3,12 @@ using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Messages.Application; -using Backbone.Modules.Messages.Application.Messages.Commands.SendMessage; -using Backbone.Modules.Messages.Application.Messages.DTOs; -using Backbone.Modules.Messages.Application.Messages.Queries.GetMessage; -using Backbone.Modules.Messages.Application.Messages.Queries.ListMessages; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Application; +using Backbone.Messages.Application.Messages.Commands.SendMessage; +using Backbone.Messages.Application.Messages.DTOs; +using Backbone.Messages.Application.Messages.Queries.GetMessage; +using Backbone.Messages.Application.Messages.Queries.ListMessages; +using Backbone.Messages.Domain.Ids; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -16,7 +16,7 @@ using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Messages.ConsumerApi.Controllers; +namespace Backbone.Messages.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Messages/src/Messages.ConsumerApi/MessagesModule.cs b/Modules/Messages/src/Messages.ConsumerApi/MessagesModule.cs index 1ab9de3803..68bc531f51 100644 --- a/Modules/Messages/src/Messages.ConsumerApi/MessagesModule.cs +++ b/Modules/Messages/src/Messages.ConsumerApi/MessagesModule.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Messages.Application; -using Backbone.Modules.Messages.Application.Extensions; -using Backbone.Modules.Messages.Infrastructure.Persistence; +using Backbone.Messages.Application; +using Backbone.Messages.Application.Extensions; +using Backbone.Messages.Infrastructure.Persistence; using Backbone.Tooling.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Messages.ConsumerApi; +namespace Backbone.Messages.ConsumerApi; public class MessagesModule : AbstractModule { diff --git a/Modules/Messages/src/Messages.Domain/Entities/Attachment.cs b/Modules/Messages/src/Messages.Domain/Entities/Attachment.cs index 5340d2962d..7d85b7b7ac 100644 --- a/Modules/Messages/src/Messages.Domain/Entities/Attachment.cs +++ b/Modules/Messages/src/Messages.Domain/Entities/Attachment.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Domain.Entities; +namespace Backbone.Messages.Domain.Entities; public class Attachment { diff --git a/Modules/Messages/src/Messages.Domain/Entities/Message.cs b/Modules/Messages/src/Messages.Domain/Entities/Message.cs index 66e85add04..84c26cbafa 100644 --- a/Modules/Messages/src/Messages.Domain/Entities/Message.cs +++ b/Modules/Messages/src/Messages.Domain/Entities/Message.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Messages.Domain.Entities; +namespace Backbone.Messages.Domain.Entities; public class Message : IIdentifiable { diff --git a/Modules/Messages/src/Messages.Domain/Entities/RecipientInformation.cs b/Modules/Messages/src/Messages.Domain/Entities/RecipientInformation.cs index cfec2d657d..32a5444fc3 100644 --- a/Modules/Messages/src/Messages.Domain/Entities/RecipientInformation.cs +++ b/Modules/Messages/src/Messages.Domain/Entities/RecipientInformation.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Messages.Domain.Entities; +namespace Backbone.Messages.Domain.Entities; public class RecipientInformation { diff --git a/Modules/Messages/src/Messages.Domain/Entities/Relationship.cs b/Modules/Messages/src/Messages.Domain/Entities/Relationship.cs index 2b1c1382e4..0b1466d2ea 100644 --- a/Modules/Messages/src/Messages.Domain/Entities/Relationship.cs +++ b/Modules/Messages/src/Messages.Domain/Entities/Relationship.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Domain.Entities; +namespace Backbone.Messages.Domain.Entities; public class Relationship { diff --git a/Modules/Messages/src/Messages.Domain/IIdentifiable.cs b/Modules/Messages/src/Messages.Domain/IIdentifiable.cs index 9d1633d608..eee8c9a057 100644 --- a/Modules/Messages/src/Messages.Domain/IIdentifiable.cs +++ b/Modules/Messages/src/Messages.Domain/IIdentifiable.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Messages.Domain; +namespace Backbone.Messages.Domain; public interface IIdentifiable { diff --git a/Modules/Messages/src/Messages.Domain/Ids/FileId.cs b/Modules/Messages/src/Messages.Domain/Ids/FileId.cs index d58bb4f3c5..35c6b08eb0 100644 --- a/Modules/Messages/src/Messages.Domain/Ids/FileId.cs +++ b/Modules/Messages/src/Messages.Domain/Ids/FileId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Messages.Domain.Ids; +namespace Backbone.Messages.Domain.Ids; [Serializable] [TypeConverter(typeof(FileIdTypeConverter))] diff --git a/Modules/Messages/src/Messages.Domain/Ids/MessageId.cs b/Modules/Messages/src/Messages.Domain/Ids/MessageId.cs index dc5162e022..d5378b2454 100644 --- a/Modules/Messages/src/Messages.Domain/Ids/MessageId.cs +++ b/Modules/Messages/src/Messages.Domain/Ids/MessageId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Messages.Domain.Ids; +namespace Backbone.Messages.Domain.Ids; [Serializable] [TypeConverter(typeof(MessageIdTypeConverter))] diff --git a/Modules/Messages/src/Messages.Domain/Ids/RelationshipId.cs b/Modules/Messages/src/Messages.Domain/Ids/RelationshipId.cs index 10bdd694bd..66b3701e24 100644 --- a/Modules/Messages/src/Messages.Domain/Ids/RelationshipId.cs +++ b/Modules/Messages/src/Messages.Domain/Ids/RelationshipId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Messages.Domain.Ids; +namespace Backbone.Messages.Domain.Ids; [Serializable] [TypeConverter(typeof(RelationshipIdTypeConverter))] diff --git a/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/20230208163646_Init.Designer.cs b/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/20230208163646_Init.Designer.cs index aba4a7113e..d241d558d5 100644 --- a/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/20230208163646_Init.Designer.cs +++ b/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/20230208163646_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/MessagesDbContextModelSnapshot.cs b/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/MessagesDbContextModelSnapshot.cs index e0300f7dca..256a9d86ef 100644 --- a/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/MessagesDbContextModelSnapshot.cs +++ b/Modules/Messages/src/Messages.Infrastructure.Database.Postgres/Migrations/MessagesDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/20220929134717_Init.Designer.cs b/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/20220929134717_Init.Designer.cs index 4c03a82c09..221558117a 100644 --- a/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/20220929134717_Init.Designer.cs +++ b/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/20220929134717_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index f3d4b768db..3ce7adc8fd 100644 --- a/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Messages/src/Messages.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/AttachmentEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/AttachmentEntityType.cs index 5de3e3cdec..ac99b6f7e4 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/AttachmentEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/AttachmentEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs index 171a432f08..18751b20ea 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessagesDbContextModel.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessagesDbContextModel.cs index b1d448c02f..66cc626501 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessagesDbContextModel.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/MessagesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; + +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RecipientInformationEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RecipientInformationEntityType.cs index 4403677b64..e2641a1a5b 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RecipientInformationEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RecipientInformationEntityType.cs @@ -4,9 +4,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs index ff6df58163..0b1fe5562e 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/AttachmentEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/AttachmentEntityType.cs index 726914d295..fcfe4c512a 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/AttachmentEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/AttachmentEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs index 146d747742..3bb40de41e 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessagesDbContextModel.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessagesDbContextModel.cs index 73d504b975..f6ce774b95 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessagesDbContextModel.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/MessagesDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; + +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RecipientInformationEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RecipientInformationEntityType.cs index 7e0d2b2a09..ccfee98a47 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RecipientInformationEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RecipientInformationEntityType.cs @@ -4,9 +4,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs index 6a76a40027..7732455df5 100644 --- a/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs +++ b/Modules/Messages/src/Messages.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Messages/src/Messages.Infrastructure/EventBus/IServiceCollectionExtensions.cs b/Modules/Messages/src/Messages.Infrastructure/EventBus/IServiceCollectionExtensions.cs index f0eefe8dfe..f2bbac2e3b 100644 --- a/Modules/Messages/src/Messages.Infrastructure/EventBus/IServiceCollectionExtensions.cs +++ b/Modules/Messages/src/Messages.Infrastructure/EventBus/IServiceCollectionExtensions.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Messages.Infrastructure.EventBus; +namespace Backbone.Messages.Infrastructure.EventBus; public static class IServiceCollectionExtensions { public static void AddMessagesEventBus(this IServiceCollection services) diff --git a/Modules/Messages/src/Messages.Infrastructure/EventBus/MessagesEventBusRabbitMQ.cs b/Modules/Messages/src/Messages.Infrastructure/EventBus/MessagesEventBusRabbitMQ.cs index 26f0f261d8..78bc765980 100644 --- a/Modules/Messages/src/Messages.Infrastructure/EventBus/MessagesEventBusRabbitMQ.cs +++ b/Modules/Messages/src/Messages.Infrastructure/EventBus/MessagesEventBusRabbitMQ.cs @@ -1,10 +1,10 @@ using Autofac; using Backbone.BuildingBlocks.Infrastructure.EventBus; using Backbone.BuildingBlocks.Infrastructure.EventBus.RabbitMQ; -using Backbone.Modules.Messages.Application.Infrastructure.EventBus; +using Backbone.Messages.Application.Infrastructure.EventBus; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Messages.Infrastructure.EventBus; +namespace Backbone.Messages.Infrastructure.EventBus; public class MessagesEventBusRabbitMq : EventBusRabbitMq, IMessagesEventBus { public MessagesEventBusRabbitMq(IRabbitMqPersistentConnection persistentConnection, ILogger logger, ILifetimeScope autofac, IEventBusSubscriptionsManager subsManager, HandlerRetryBehavior handlerRetryBehavior, string queueName = null) : base(persistentConnection, logger, autofac, subsManager, handlerRetryBehavior, queueName) diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/AttachmentEntityTypeConfiguration.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/AttachmentEntityTypeConfiguration.cs index ab26ff6747..b32888f7d9 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/AttachmentEntityTypeConfiguration.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/AttachmentEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Messages.Infrastructure.Persistence.Database.EntityConfigurations; public class AttachmentEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs index f07452fe42..44b37a922a 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Messages.Infrastructure.Persistence.Database.EntityConfigurations; public class MessageEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RecipientInformationEntityTypeConfiguration.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RecipientInformationEntityTypeConfiguration.cs index df8a41e63b..541861d35d 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RecipientInformationEntityTypeConfiguration.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RecipientInformationEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Messages.Infrastructure.Persistence.Database.EntityConfigurations; public class RecipientInformationEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs index 3d8fb1328a..60db466983 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Messages.Infrastructure.Persistence.Database.EntityConfigurations; public class RelationshipEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs index 0b4e44dafb..25cffe2bbd 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database; +namespace Backbone.Messages.Infrastructure.Persistence.Database; public static class IServiceCollectionExtensions { @@ -31,7 +31,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(SQLSERVER_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.SqlServer.MessagesDbContextModel.Instance); + }).UseModel(Modules.Messages.Infrastructure.CompiledModels.SqlServer.MessagesDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.DbConnectionString, sqlOptions => @@ -39,7 +39,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(POSTGRES_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.Postgres.MessagesDbContextModel.Instance); + }).UseModel(Modules.Messages.Infrastructure.CompiledModels.Postgres.MessagesDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/MessagesDbContext.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/MessagesDbContext.cs index 6a50726d71..1543ee98fb 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/MessagesDbContext.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/MessagesDbContext.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database; +namespace Backbone.Messages.Infrastructure.Persistence.Database; public class MessagesDbContext : AbstractDbContextBase { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/MessagesQueryableExtensions.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/MessagesQueryableExtensions.cs index ec1c22c457..cb9a2090c9 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/MessagesQueryableExtensions.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/MessagesQueryableExtensions.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; using Backbone.Tooling; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Messages.Infrastructure.Persistence.Database.QueryableExtensions; public static class MessagesQueryableExtensions { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/RelationshipsQueryableExtensions.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/RelationshipsQueryableExtensions.cs index d2e1358230..f8ac1ac97a 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/RelationshipsQueryableExtensions.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/QueryableExtensions/RelationshipsQueryableExtensions.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; +using Backbone.Messages.Domain.Entities; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Messages.Infrastructure.Persistence.Database.QueryableExtensions; public static class RelationshipsQueryableExtensions { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/MessagesRepository.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/MessagesRepository.cs index a3b73e5ea5..6edc2b454a 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/MessagesRepository.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/MessagesRepository.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Messages.Application.Infrastructure.Persistence; +using Backbone.Messages.Application.Infrastructure.Persistence.Repository; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.Repository; +namespace Backbone.Messages.Infrastructure.Persistence.Database.Repository; public class MessagesRepository : IMessagesRepository { private readonly DbSet _messages; diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs index 585bffefe0..4258bb0e57 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs @@ -1,10 +1,10 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Messages.Application.Infrastructure.Persistence.Repository; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.Repository; +namespace Backbone.Messages.Infrastructure.Persistence.Database.Repository; public class RelationshipsRepository : IRelationshipsRepository { private readonly MessagesDbContext _dbContext; diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs index 06b8f74361..c19eea119e 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/FileIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; public class FileIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/MessageIdEntityFrameworkValueConverter.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/MessageIdEntityFrameworkValueConverter.cs index a68c3d1553..e968124aef 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/MessageIdEntityFrameworkValueConverter.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/MessageIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; public class MessageIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs index caa4bba3df..fe631585a3 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Messages.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Messages.Infrastructure.Persistence.Database.ValueConverters; public class RelationshipIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Messages/src/Messages.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Messages/src/Messages.Infrastructure/Persistence/IServiceCollectionExtensions.cs index 13c1f79284..17a92a2979 100644 --- a/Modules/Messages/src/Messages.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Messages/src/Messages.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database.Repository; +using Backbone.Messages.Application.Infrastructure.Persistence; +using Backbone.Messages.Application.Infrastructure.Persistence.Repository; +using Backbone.Messages.Infrastructure.Persistence.Database; +using Backbone.Messages.Infrastructure.Persistence.Database.Repository; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Messages.Infrastructure.Persistence; +namespace Backbone.Messages.Infrastructure.Persistence; public static class IServiceCollectionExtensions { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs index b95605adb9..fe5d3ff7d7 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Extensions; +namespace Backbone.Messages.Jobs.SanityCheck.Extensions; internal static class IConfigurationExtensions { public static BlobStorageConfiguration GetBlobStorageConfiguration(this IConfiguration configuration) diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs index 78e56b9992..29ccd07578 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Messages.Application.Infrastructure.Persistence; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; +using Backbone.Messages.Application.Infrastructure.Persistence; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Messages.Jobs.SanityCheck.Infrastructure.DataSource; public class DataSource : IDataSource { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs index af79ba602f..6b11f763ee 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Messages.Jobs.SanityCheck.Infrastructure.DataSource; public interface IDataSource { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs index 4300695403..0b1e6563c1 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Messages.Jobs.SanityCheck.Infrastructure.Reporter; public interface IReporter { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs index 33db75bd07..45f0bd0b43 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Messages.Domain.Ids; +using Backbone.Messages.Domain.Ids; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Messages.Jobs.SanityCheck.Infrastructure.Reporter; public class LogReporter : IReporter { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs index 712b200348..57fe73b63e 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.SanityCheck; +namespace Backbone.Messages.Jobs.SanityCheck.Infrastructure.SanityCheck; public class SanityCheck { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Program.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Program.cs index ea560b0724..a0c88bfb2c 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Program.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Program.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Backbone.Modules.Messages.Infrastructure.Persistence; -using Backbone.Modules.Messages.Jobs.SanityCheck.Extensions; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Messages.Infrastructure.Persistence; +using Backbone.Messages.Jobs.SanityCheck.Extensions; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.Reporter; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Messages.Jobs.SanityCheck; +namespace Backbone.Messages.Jobs.SanityCheck; public class Program { diff --git a/Modules/Messages/src/Messages.Jobs.SanityCheck/Worker.cs b/Modules/Messages/src/Messages.Jobs.SanityCheck/Worker.cs index 150eb21486..929b1af3b4 100644 --- a/Modules/Messages/src/Messages.Jobs.SanityCheck/Worker.cs +++ b/Modules/Messages/src/Messages.Jobs.SanityCheck/Worker.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Messages.Jobs.SanityCheck; +namespace Backbone.Messages.Jobs.SanityCheck; public class Worker : IHostedService { diff --git a/Modules/Messages/test/Messages.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs b/Modules/Messages/test/Messages.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs index 24e3d6c6aa..fde1233c66 100644 --- a/Modules/Messages/test/Messages.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs +++ b/Modules/Messages/test/Messages.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs @@ -1,8 +1,8 @@ using AutoMapper; -using Backbone.Modules.Messages.Application.AutoMapper; +using Backbone.Messages.Application.AutoMapper; using Xunit; -namespace Backbone.Modules.Messages.Application.Tests.Tests.AutoMapper; +namespace Backbone.Messages.Application.Tests.Tests.AutoMapper; public class AutoMapperProfileTests { diff --git a/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs b/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs index 55c2fe7463..e82dccbd71 100644 --- a/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs +++ b/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.DataSource; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +namespace Backbone.Messages.Jobs.SanityCheck.Tests.Infrastructure.DataSource; public class FakeDataSource : IDataSource { diff --git a/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs b/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs index d7bbd0cfd9..a5f311184c 100644 --- a/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs +++ b/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +namespace Backbone.Messages.Jobs.SanityCheck.Tests.Infrastructure.Reporter; public class TestReporter : IReporter { diff --git a/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs b/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs index 751520c60d..d21052f924 100644 --- a/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs +++ b/Modules/Messages/test/Messages.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs @@ -1,22 +1,22 @@ -using Backbone.Modules.Messages.Domain.Ids; -using Backbone.Modules.Messages.Jobs.SanityCheck.Tests.Infrastructure.DataSource; -using Backbone.Modules.Messages.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +using Backbone.Messages.Domain.Ids; +using Backbone.Messages.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +using Backbone.Messages.Jobs.SanityCheck.Tests.Infrastructure.Reporter; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Messages.Jobs.SanityCheck.Tests.Tests; +namespace Backbone.Messages.Jobs.SanityCheck.Tests.Tests; public class SanityCheckTests { private readonly FakeDataSource _dataSource; private readonly TestReporter _reporter; - private readonly Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; + private readonly SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; public SanityCheckTests() { _dataSource = new FakeDataSource(); _reporter = new TestReporter(); - _sanityCheck = new Backbone.Modules.Messages.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); + _sanityCheck = new SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); } [Fact] diff --git a/Modules/Quotas/src/Quotas.Application/ApplicationOptions.cs b/Modules/Quotas/src/Quotas.Application/ApplicationOptions.cs index 7a601b176e..df3311cef4 100644 --- a/Modules/Quotas/src/Quotas.Application/ApplicationOptions.cs +++ b/Modules/Quotas/src/Quotas.Application/ApplicationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Quotas.Application; +namespace Backbone.Quotas.Application; public class ApplicationOptions { diff --git a/Modules/Quotas/src/Quotas.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Quotas/src/Quotas.Application/AutoMapper/AutoMapperProfile.cs index 4fcea0de0a..1f0d85bf4e 100644 --- a/Modules/Quotas/src/Quotas.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Quotas/src/Quotas.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Quotas.Application.AutoMapper; +namespace Backbone.Quotas.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Quotas/src/Quotas.Application/DTOs/IndividualQuotaDTO.cs b/Modules/Quotas/src/Quotas.Application/DTOs/IndividualQuotaDTO.cs index 86103816cf..e9fc377b13 100644 --- a/Modules/Quotas/src/Quotas.Application/DTOs/IndividualQuotaDTO.cs +++ b/Modules/Quotas/src/Quotas.Application/DTOs/IndividualQuotaDTO.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; -namespace Backbone.Modules.Quotas.Application.DTOs; +namespace Backbone.Quotas.Application.DTOs; public class IndividualQuotaDTO { diff --git a/Modules/Quotas/src/Quotas.Application/DTOs/MetricDTO.cs b/Modules/Quotas/src/Quotas.Application/DTOs/MetricDTO.cs index 756ee68589..499cc51236 100644 --- a/Modules/Quotas/src/Quotas.Application/DTOs/MetricDTO.cs +++ b/Modules/Quotas/src/Quotas.Application/DTOs/MetricDTO.cs @@ -1,8 +1,8 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.DTOs; +namespace Backbone.Quotas.Application.DTOs; public class MetricDTO : IHaveCustomMapping { diff --git a/Modules/Quotas/src/Quotas.Application/DTOs/MetricStatusDTO.cs b/Modules/Quotas/src/Quotas.Application/DTOs/MetricStatusDTO.cs index aa0d963839..c42ea10ba0 100644 --- a/Modules/Quotas/src/Quotas.Application/DTOs/MetricStatusDTO.cs +++ b/Modules/Quotas/src/Quotas.Application/DTOs/MetricStatusDTO.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Application.DTOs; +namespace Backbone.Quotas.Application.DTOs; public class MetricStatusDTO { } diff --git a/Modules/Quotas/src/Quotas.Application/DTOs/QuotaDTO.cs b/Modules/Quotas/src/Quotas.Application/DTOs/QuotaDTO.cs index f3fd00eb5a..3032f2b0be 100644 --- a/Modules/Quotas/src/Quotas.Application/DTOs/QuotaDTO.cs +++ b/Modules/Quotas/src/Quotas.Application/DTOs/QuotaDTO.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; -namespace Backbone.Modules.Quotas.Application.DTOs; +namespace Backbone.Quotas.Application.DTOs; public class QuotaDTO { public QuotaDTO(string id, QuotaSource source, MetricDTO metric, int max, string period) diff --git a/Modules/Quotas/src/Quotas.Application/DTOs/TierDetailsDTO.cs b/Modules/Quotas/src/Quotas.Application/DTOs/TierDetailsDTO.cs index a56baaa756..41fc5c8463 100644 --- a/Modules/Quotas/src/Quotas.Application/DTOs/TierDetailsDTO.cs +++ b/Modules/Quotas/src/Quotas.Application/DTOs/TierDetailsDTO.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Application.DTOs; +namespace Backbone.Quotas.Application.DTOs; public class TierDetailsDTO { public TierDetailsDTO(Tier tier, IEnumerable metrics) diff --git a/Modules/Quotas/src/Quotas.Application/DTOs/TierQuotaDefinitionDTO.cs b/Modules/Quotas/src/Quotas.Application/DTOs/TierQuotaDefinitionDTO.cs index 2bee7fc5d6..2680f88da3 100644 --- a/Modules/Quotas/src/Quotas.Application/DTOs/TierQuotaDefinitionDTO.cs +++ b/Modules/Quotas/src/Quotas.Application/DTOs/TierQuotaDefinitionDTO.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; -namespace Backbone.Modules.Quotas.Application.DTOs; +namespace Backbone.Quotas.Application.DTOs; public class TierQuotaDefinitionDTO { diff --git a/Modules/Quotas/src/Quotas.Application/Extensions/IEventBusExtensions.cs b/Modules/Quotas/src/Quotas.Application/Extensions/IEventBusExtensions.cs index fd49d3e361..09e2adbae3 100644 --- a/Modules/Quotas/src/Quotas.Application/Extensions/IEventBusExtensions.cs +++ b/Modules/Quotas/src/Quotas.Application/Extensions/IEventBusExtensions.cs @@ -1,19 +1,19 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.FileUploaded; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.MessageCreated; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.QuotaCreatedForTier; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipTemplateCreated; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierCreated; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierOfIdentityChanged; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierQuotaDefinitionDeleted; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TokenCreated; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.FileUploaded; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.MessageCreated; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.QuotaCreatedForTier; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipTemplateCreated; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TierCreated; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TierOfIdentityChanged; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TierQuotaDefinitionDeleted; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TokenCreated; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; -namespace Backbone.Modules.Quotas.Application.Extensions; +namespace Backbone.Quotas.Application.Extensions; public static class IEventBusExtensions { diff --git a/Modules/Quotas/src/Quotas.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Quotas/src/Quotas.Application/Extensions/IServiceCollectionExtensions.cs index 1da1349abc..8f13d40d69 100644 --- a/Modules/Quotas/src/Quotas.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Quotas/src/Quotas.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,13 +1,13 @@ using System.Reflection; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Quotas.Application.AutoMapper; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Application.Tiers.Commands.CreateQuotaForTier; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.AutoMapper; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Application.Tiers.Commands.CreateQuotaForTier; +using Backbone.Quotas.Domain; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Quotas.Application.Extensions; +namespace Backbone.Quotas.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommand.cs b/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommand.cs index f133921a0a..1150cda044 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommand.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommand.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; -namespace Backbone.Modules.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; +namespace Backbone.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; public class CreateQuotaForIdentityCommand : IRequest { diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommandValidator.cs b/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommandValidator.cs index 0dd89e6e20..e48a23cb4c 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommandValidator.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/CreateQuotaForIdentityCommandValidator.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; +namespace Backbone.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; public class CreateQuotaForIdentityCommandValidator : AbstractValidator { diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/Handler.cs b/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/Handler.cs index 7a7090f961..ff743648fd 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Commands/CreateQuotaForIdentity/Handler.cs @@ -1,14 +1,14 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; using Microsoft.Extensions.Logging; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; +namespace Backbone.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; public class Handler : IRequestHandler { diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommand.cs b/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommand.cs index 3dadb128dd..d426798875 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommand.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; +namespace Backbone.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; public class DeleteQuotaForIdentityCommand : IRequest { diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommandValidator.cs b/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommandValidator.cs index 2870ff7e6e..4aa86a162b 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommandValidator.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/DeleteQuotaForIdentityCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; +namespace Backbone.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; public class DeleteQuotaForIdentityCommandValidator : AbstractValidator { diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/Handler.cs b/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/Handler.cs index 89cf122e33..17f53bfcef 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Commands/DeleteQuotaForIdentity/Handler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; +namespace Backbone.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; public class Handler : IRequestHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs b/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs index 84d7d78f8e..d199a45012 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityQuery.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Quotas.Application.Identities.Queries.GetIdentity; +namespace Backbone.Quotas.Application.Identities.Queries.GetIdentity; public class GetIdentityQuery : IRequest { public GetIdentityQuery(string address) diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs b/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs index b069ec738f..5abcc614aa 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.Identities.Queries.GetIdentity; +namespace Backbone.Quotas.Application.Identities.Queries.GetIdentity; public class GetIdentityResponse { public GetIdentityResponse(string identityAddress, IEnumerable tierQuotas, IEnumerable individualQuotas, IEnumerable metrics) diff --git a/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/Handler.cs b/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/Handler.cs index 62b98dee11..cb69187ee0 100644 --- a/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Identities/Queries/GetIdentity/Handler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; -namespace Backbone.Modules.Quotas.Application.Identities.Queries.GetIdentity; +namespace Backbone.Quotas.Application.Identities.Queries.GetIdentity; public class Handler : IRequestHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs index f0f591cbff..7be8b28c35 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IFilesRepository.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface IFilesRepository { Task Count(string uploader, DateTime createdAtFrom, DateTime createdAtTo, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs index 9056729f58..31472cde81 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IIdentitiesRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface IIdentitiesRepository { Task Add(Identity identity, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs index fe38d14bb1..d9d2681d13 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMessagesRepository.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface IMessagesRepository { Task Count(IdentityAddress sender, DateTime createdAtFrom, DateTime createdAtTo, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMetricsRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMetricsRepository.cs index 67309cad09..042f914d12 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMetricsRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IMetricsRepository.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface IMetricsRepository { diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs index 0e792fbc95..f3aad6c1e8 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface IRelationshipTemplatesRepository { Task Count(IdentityAddress createdBy, DateTime createdAtFrom, DateTime createdAtTo, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs index 65813ec754..6e3d898df2 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface IRelationshipsRepository { Task Count(string participant, DateTime createdAtFrom, DateTime createdAtTo, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs index 4128d0053c..2cee821119 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITiersRepository.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface ITiersRepository { Task Add(Tier tier, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs index ff9f51882d..050f3737db 100644 --- a/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs +++ b/Modules/Quotas/src/Quotas.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Application.Infrastructure.Persistence.Repository; public interface ITokensRepository { Task Count(IdentityAddress createdBy, DateTime createdAtFrom, DateTime createdAtTo, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEvent.cs index 2fb635dffe..73665946dc 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.FileUploaded; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.FileUploaded; public class FileUploadedIntegrationEvent : IntegrationEvent { public string FileId { get; set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEventHandler.cs index d3fa052e0a..5dba0b46db 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/FileUploaded/FileUploadedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.FileUploaded; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.FileUploaded; public class FileUploadedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEvent.cs index 2330723a6b..ff435bcea8 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; public class IdentityCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEventHandler.cs index bcd6c80528..963a46c184 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/IdentityCreated/IdentityCreatedIntegrationEventHandler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Domain.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Metrics; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; public class IdentityCreatedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs index 3f02b5d88c..5956a78abe 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.MessageCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.MessageCreated; public class MessageCreatedIntegrationEvent : IntegrationEvent { public string Id { get; private set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs index 48e136a1a4..b0baa762ef 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.MessageCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.MessageCreated; public class MessageCreatedIntegrationEventHandler : IIntegrationEventHandler { private readonly IMetricStatusesService _metricStatusesService; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/QuotaCreatedForTier/QuotaCreatedForTierIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/QuotaCreatedForTier/QuotaCreatedForTierIntegrationEventHandler.cs index c0a385526f..67e0ea962c 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/QuotaCreatedForTier/QuotaCreatedForTierIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/QuotaCreatedForTier/QuotaCreatedForTierIntegrationEventHandler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.QuotaCreatedForTier; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.QuotaCreatedForTier; public class QuotaCreatedForTierIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs index 982a673fa6..454ad9461a 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; public class RelationshipChangeCompletedIntegrationEvent : IntegrationEvent { public string ChangeId { get; set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs index fbc4171057..9173120f90 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; public class RelationshipChangeCompletedIntegrationEventHandler : IIntegrationEventHandler { private readonly IMetricStatusesService _metricStatusesService; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs index c04bceeefa..71af9e1d80 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; public class RelationshipChangeCreatedIntegrationEvent : IntegrationEvent { public string ChangeId { get; set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs index 28d3833f56..6695c67276 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; public class RelationshipChangeCreatedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEvent.cs index 3a6b405dd8..4d34ce2968 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipTemplateCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipTemplateCreated; public class RelationshipTemplateCreatedIntegrationEvent : IntegrationEvent { public string CreatedBy { get; set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEventHandler.cs index 4363be518b..a63893c5b8 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/RelationshipTemplateCreated/RelationshipTemplateCreatedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.RelationshipTemplateCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.RelationshipTemplateCreated; public class RelationshipTemplateCreatedIntegrationEventHandler : IIntegrationEventHandler { private readonly IMetricStatusesService _metricStatusesService; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEvent.cs index 170e9b4a15..6727be44e2 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierCreated; public class TierCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEventHandler.cs index e4e824c8b2..afa3653e28 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierCreated/TierCreatedIntegrationEventHandler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierCreated; public class TierCreatedIntegrationEventHandler : IIntegrationEventHandler { private readonly ITiersRepository _tierRepository; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEvent.cs index 7c539b2ad3..4daa91cc69 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; public class TierDeletedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEventHandler.cs index a835736ff7..127388a3e6 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierDeleted/TierDeletedIntegrationEventHandler.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; public class TierDeletedIntegrationEventHandler : IIntegrationEventHandler { private readonly ITiersRepository _tiersRepository; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEvent.cs index 124068cfd7..486cbabe68 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierOfIdentityChanged; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierOfIdentityChanged; public class TierOfIdentityChangedIntegrationEvent : IntegrationEvent { public string OldTier { get; set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEventHandler.cs index b81f55b196..005f95ec95 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierOfIdentityChanged/TierOfIdentityChangedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierOfIdentityChanged; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierOfIdentityChanged; public class TierOfIdentityChangedIntegrationEventHandler : IIntegrationEventHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierQuotaDefinitionDeleted/TierQuotaDefinitionDeletedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierQuotaDefinitionDeleted/TierQuotaDefinitionDeletedIntegrationEventHandler.cs index e6ce0fbc98..215b991166 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierQuotaDefinitionDeleted/TierQuotaDefinitionDeletedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TierQuotaDefinitionDeleted/TierQuotaDefinitionDeletedIntegrationEventHandler.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierQuotaDefinitionDeleted; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TierQuotaDefinitionDeleted; public class TierQuotaDefinitionDeletedIntegrationEventHandler : IIntegrationEventHandler { private readonly IIdentitiesRepository _identitiesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEvent.cs index b628f14511..b87e4d2c69 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TokenCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TokenCreated; public class TokenCreatedIntegrationEvent : IntegrationEvent { public string CreatedBy { get; set; } diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEventHandler.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEventHandler.cs index f412d01372..5c1a039cef 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEventHandler.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Incoming/TokenCreated/TokenCreatedIntegrationEventHandler.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TokenCreated; +namespace Backbone.Quotas.Application.IntegrationEvents.Incoming.TokenCreated; public class TokenCreatedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/QuotaCreatedForTierIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/QuotaCreatedForTierIntegrationEvent.cs index 67ba530677..565ed97485 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/QuotaCreatedForTierIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/QuotaCreatedForTierIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; +namespace Backbone.Quotas.Application.IntegrationEvents.Outgoing; public class QuotaCreatedForTierIntegrationEvent : IntegrationEvent { diff --git a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/TierQuotaDefinitionDeletedIntegrationEvent.cs b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/TierQuotaDefinitionDeletedIntegrationEvent.cs index 2a77f8f059..0bd70224e9 100644 --- a/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/TierQuotaDefinitionDeletedIntegrationEvent.cs +++ b/Modules/Quotas/src/Quotas.Application/IntegrationEvents/Outgoing/TierQuotaDefinitionDeletedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; +namespace Backbone.Quotas.Application.IntegrationEvents.Outgoing; public class TierQuotaDefinitionDeletedIntegrationEvent : IntegrationEvent { public TierQuotaDefinitionDeletedIntegrationEvent(string tierId, string tierQuotaDefinitionId) : base($"{tierQuotaDefinitionId}/Deleted") diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/MetricStatusesService.cs b/Modules/Quotas/src/Quotas.Application/Metrics/MetricStatusesService.cs index 986467ecba..9a1707b6f6 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/MetricStatusesService.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/MetricStatusesService.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Metrics; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Metrics; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class MetricStatusesService : IMetricStatusesService { diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfFilesMetricCalculator.cs b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfFilesMetricCalculator.cs index b0da3070a5..5754c81b95 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfFilesMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfFilesMetricCalculator.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class NumberOfFilesMetricCalculator : IMetricCalculator { private readonly IFilesRepository _filesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipTemplatesMetricCalculator.cs b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipTemplatesMetricCalculator.cs index 17cb6a8ba9..5ccb1ca4c0 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipTemplatesMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipTemplatesMetricCalculator.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class NumberOfRelationshipTemplatesMetricCalculator : IMetricCalculator { private readonly IRelationshipTemplatesRepository _relationshipTemplatesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipsMetricCalculator.cs b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipsMetricCalculator.cs index 288213cd7f..e1fff23b86 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipsMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfRelationshipsMetricCalculator.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class NumberOfRelationshipsMetricCalculator : IMetricCalculator { private readonly IRelationshipsRepository _relationshipsRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfSentMessagesMetricCalculator.cs b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfSentMessagesMetricCalculator.cs index 5cb4ba8646..c2b1a699b8 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfSentMessagesMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfSentMessagesMetricCalculator.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class NumberOfSentMessagesMetricCalculator : IMetricCalculator { private readonly IMessagesRepository _messagesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfTokensMetricCalculator.cs b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfTokensMetricCalculator.cs index 47a3b23393..92b4363148 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfTokensMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/NumberOfTokensMetricCalculator.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class NumberOfTokensMetricCalculator : IMetricCalculator { private readonly ITokensRepository _tokensRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/Handler.cs b/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/Handler.cs index 25e64701fd..8bbee6ad61 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/Handler.cs @@ -1,9 +1,9 @@ using AutoMapper; -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Quotas.Application.Metrics.Queries.ListMetrics; +namespace Backbone.Quotas.Application.Metrics.Queries.ListMetrics; public class Handler : IRequestHandler { private readonly IMapper _mapper; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsQuery.cs b/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsQuery.cs index 2212bfe356..8305ef85bf 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsQuery.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsQuery.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Quotas.Application.Metrics.Queries.ListMetrics; +namespace Backbone.Quotas.Application.Metrics.Queries.ListMetrics; public class ListMetricsQuery : IRequest { } diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsResponse.cs b/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsResponse.cs index cf315ec358..b8e1e16464 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsResponse.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/Queries/ListMetrics/ListMetricsResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.CQRS.BaseClasses; -using Backbone.Modules.Quotas.Application.DTOs; +using Backbone.Quotas.Application.DTOs; -namespace Backbone.Modules.Quotas.Application.Metrics.Queries.ListMetrics; +namespace Backbone.Quotas.Application.Metrics.Queries.ListMetrics; public class ListMetricsResponse : EnumerableResponseBase { public ListMetricsResponse(IEnumerable items) : base(items) { } diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/ServiceProviderMetricCalculatorFactory.cs b/Modules/Quotas/src/Quotas.Application/Metrics/ServiceProviderMetricCalculatorFactory.cs index 4cb30c83c3..56683753ec 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/ServiceProviderMetricCalculatorFactory.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/ServiceProviderMetricCalculatorFactory.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain; -using Backbone.Modules.Quotas.Domain.Metrics; +using Backbone.Quotas.Domain; +using Backbone.Quotas.Domain.Metrics; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class ServiceProviderMetricCalculatorFactory : MetricCalculatorFactory { private readonly IServiceProvider _serviceProvider; diff --git a/Modules/Quotas/src/Quotas.Application/Metrics/UsedFileStorageSpaceMetricCalculator.cs b/Modules/Quotas/src/Quotas.Application/Metrics/UsedFileStorageSpaceMetricCalculator.cs index 6f17483a5d..8466c92e75 100644 --- a/Modules/Quotas/src/Quotas.Application/Metrics/UsedFileStorageSpaceMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Application/Metrics/UsedFileStorageSpaceMetricCalculator.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain; -namespace Backbone.Modules.Quotas.Application.Metrics; +namespace Backbone.Quotas.Application.Metrics; public class UsedFileStorageSpaceMetricCalculator : IMetricCalculator { private readonly IFilesRepository _filesRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommand.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommand.cs index ca43b655d0..40977561b9 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommand.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommand.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Domain.Aggregates.Identities; using MediatR; -namespace Backbone.Modules.Quotas.Application.Tiers.Commands.CreateQuotaForTier; +namespace Backbone.Quotas.Application.Tiers.Commands.CreateQuotaForTier; public class CreateQuotaForTierCommand : IRequest { diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommandValidator.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommandValidator.cs index 81d90f698f..f626bcb94d 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommandValidator.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/CreateQuotaForTierCommandValidator.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Quotas.Application.Tiers.Commands.CreateQuotaForTier; +namespace Backbone.Quotas.Application.Tiers.Commands.CreateQuotaForTier; public class CreateQuotaForTierCommandValidator : AbstractValidator { diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/Handler.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/Handler.cs index 999cb7f24e..3bbe3f5f62 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/CreateQuotaForTier/Handler.cs @@ -1,14 +1,14 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Domain.Aggregates.Tiers; using MediatR; using Microsoft.Extensions.Logging; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Application.Tiers.Commands.CreateQuotaForTier; +namespace Backbone.Quotas.Application.Tiers.Commands.CreateQuotaForTier; public class Handler : IRequestHandler { diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommand.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommand.cs index 5f1f2bd77a..d1700fec60 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommand.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommand.cs @@ -1,6 +1,6 @@ using MediatR; -namespace Backbone.Modules.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; +namespace Backbone.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; public class DeleteTierQuotaDefinitionCommand : IRequest { public DeleteTierQuotaDefinitionCommand(string tierId, string tierQuotaDefinitionId) diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommandValidator.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommandValidator.cs index ffbf273efc..51f4203fb0 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommandValidator.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/DeleteTierQuotaDefinitionCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; +namespace Backbone.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; public class DeleteTierQuotaDefinitionCommandValidator : AbstractValidator { public DeleteTierQuotaDefinitionCommandValidator() diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/Handler.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/Handler.cs index 28f0b41fc6..7a165ff47a 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Commands/DeleteTierQuotaDefinition/Handler.cs @@ -1,13 +1,13 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Domain.Aggregates.Tiers; using MediatR; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; +namespace Backbone.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; public class Handler : IRequestHandler { private readonly ITiersRepository _tiersRepository; diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/GetTierByIdQuery.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/GetTierByIdQuery.cs index b4c16b8880..cd53180f71 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/GetTierByIdQuery.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/GetTierByIdQuery.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.DTOs; +using Backbone.Quotas.Application.DTOs; using MediatR; -namespace Backbone.Modules.Quotas.Application.Tiers.Queries.GetTierById; +namespace Backbone.Quotas.Application.Tiers.Queries.GetTierById; public class GetTierByIdQuery : IRequest { public GetTierByIdQuery(string id) diff --git a/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/Handler.cs b/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/Handler.cs index 8dd0c3cfe1..ccedc31330 100644 --- a/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/Handler.cs +++ b/Modules/Quotas/src/Quotas.Application/Tiers/Queries/GetTierById/Handler.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Application.DTOs; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.DTOs; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; using MediatR; -namespace Backbone.Modules.Quotas.Application.Tiers.Queries.GetTierById; +namespace Backbone.Quotas.Application.Tiers.Queries.GetTierById; public class Handler : IRequestHandler { private readonly ITiersRepository _tiersRepository; diff --git a/Modules/Quotas/src/Quotas.ConsumerApi/Configuration.cs b/Modules/Quotas/src/Quotas.ConsumerApi/Configuration.cs index 504df66632..12f82ee3de 100644 --- a/Modules/Quotas/src/Quotas.ConsumerApi/Configuration.cs +++ b/Modules/Quotas/src/Quotas.ConsumerApi/Configuration.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Quotas.ConsumerApi; +namespace Backbone.Quotas.ConsumerApi; public class Configuration { diff --git a/Modules/Quotas/src/Quotas.ConsumerApi/QuotasModule.cs b/Modules/Quotas/src/Quotas.ConsumerApi/QuotasModule.cs index 9771576f74..25f9882b24 100644 --- a/Modules/Quotas/src/Quotas.ConsumerApi/QuotasModule.cs +++ b/Modules/Quotas/src/Quotas.ConsumerApi/QuotasModule.cs @@ -1,14 +1,14 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Quotas.Application; -using Backbone.Modules.Quotas.Application.Extensions; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Application; +using Backbone.Quotas.Application.Extensions; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Quotas.ConsumerApi; +namespace Backbone.Quotas.ConsumerApi; public class QuotasModule : AbstractModule { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/FileMetadata/FileMetadata.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/FileMetadata/FileMetadata.cs index 2d6071c7c5..8495e270ec 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/FileMetadata/FileMetadata.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/FileMetadata/FileMetadata.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.FileMetadata; +namespace Backbone.Quotas.Domain.Aggregates.FileMetadata; public class FileMetadata : ICreatedAt { public string Id { get; set; } diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/ICreatedAt.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/ICreatedAt.cs index 0ebfb4a145..1171141add 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/ICreatedAt.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/ICreatedAt.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates; +namespace Backbone.Quotas.Domain.Aggregates; public interface ICreatedAt { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/ExhaustionDate.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/ExhaustionDate.cs index 0d384a0901..e9ce49eeb5 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/ExhaustionDate.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/ExhaustionDate.cs @@ -1,6 +1,6 @@ using System.Globalization; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public record ExhaustionDate(DateTime Value) : IComparable { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Identity.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Identity.cs index 4573432994..87520cdda4 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Identity.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Identity.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.Errors; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Domain.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Metrics; using CSharpFunctionalExtensions; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public class Identity { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/IndividualQuota.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/IndividualQuota.cs index adcd371a5e..facebc7b45 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/IndividualQuota.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/IndividualQuota.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public class IndividualQuota : Quota { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/MetricStatus.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/MetricStatus.cs index 3192a6de57..628dca9765 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/MetricStatus.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/MetricStatus.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public class MetricStatus { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Quota.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Quota.cs index dcd08e1c66..1b0bc64ff6 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Quota.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/Quota.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public abstract class Quota { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaId.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaId.cs index ce5f4ad614..eb31a1deab 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaId.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Records; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public record QuotaId : StronglyTypedId { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaPeriod.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaPeriod.cs index da62266e14..e6f85a4478 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaPeriod.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaPeriod.cs @@ -1,7 +1,7 @@ using Backbone.Tooling; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public enum QuotaPeriod { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaSource.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaSource.cs index 0ffe58a2fb..0a2f8186b3 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaSource.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/QuotaSource.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public enum QuotaSource { Individual, diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/TierQuota.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/TierQuota.cs index 10bc58467d..e835145d54 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/TierQuota.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Identities/TierQuota.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Identities; +namespace Backbone.Quotas.Domain.Aggregates.Identities; public class TierQuota : Quota { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Messages/Message.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Messages/Message.cs index 956fa6d008..d60dd53199 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Messages/Message.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Messages/Message.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Messages; +namespace Backbone.Quotas.Domain.Aggregates.Messages; public class Message : ICreatedAt { public string Id { get; set; } diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/Metric.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/Metric.cs index 0af6b9daaa..29215cf315 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/Metric.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/Metric.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +namespace Backbone.Quotas.Domain.Aggregates.Metrics; public class Metric { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/MetricKey.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/MetricKey.cs index df4f2baf06..dc901d9f3c 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/MetricKey.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Metrics/MetricKey.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +namespace Backbone.Quotas.Domain.Aggregates.Metrics; public record MetricKey { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/Relationship.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/Relationship.cs index 72d0ff41a2..fea69a9a18 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/Relationship.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/Relationship.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +namespace Backbone.Quotas.Domain.Aggregates.Relationships; public class Relationship : ICreatedAt { public string Id { get; set; } diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/RelationshipTemplate.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/RelationshipTemplate.cs index c43b445eb1..062844fa26 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/RelationshipTemplate.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Relationships/RelationshipTemplate.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +namespace Backbone.Quotas.Domain.Aggregates.Relationships; public class RelationshipTemplate : ICreatedAt { public string CreatedBy { get; set; } diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/Tier.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/Tier.cs index a3f4f2423a..6f5398d24f 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/Tier.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/Tier.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Domain.Errors; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +namespace Backbone.Quotas.Domain.Aggregates.Tiers; public class Tier { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierId.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierId.cs index 56d7730c11..870ece1554 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierId.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierId.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +namespace Backbone.Quotas.Domain.Aggregates.Tiers; public record TierId(string Value) { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinition.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinition.cs index 0f84db555f..e5e7856ed0 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinition.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinition.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +namespace Backbone.Quotas.Domain.Aggregates.Tiers; public class TierQuotaDefinition { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinitionId.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinitionId.cs index 827d2def52..380560a411 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinitionId.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tiers/TierQuotaDefinitionId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Records; using CSharpFunctionalExtensions; -namespace Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +namespace Backbone.Quotas.Domain.Aggregates.Tiers; public record TierQuotaDefinitionId : StronglyTypedId { diff --git a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tokens/Token.cs b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tokens/Token.cs index a5b3a37196..6e9fc0d1a1 100644 --- a/Modules/Quotas/src/Quotas.Domain/Aggregates/Tokens/Token.cs +++ b/Modules/Quotas/src/Quotas.Domain/Aggregates/Tokens/Token.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain.Aggregates.Tokens; +namespace Backbone.Quotas.Domain.Aggregates.Tokens; public class Token : ICreatedAt { public string CreatedBy { get; set; } diff --git a/Modules/Quotas/src/Quotas.Domain/DomainErrors.cs b/Modules/Quotas/src/Quotas.Domain/DomainErrors.cs index cff49f1c41..b0aa7d69e2 100644 --- a/Modules/Quotas/src/Quotas.Domain/DomainErrors.cs +++ b/Modules/Quotas/src/Quotas.Domain/DomainErrors.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain.Errors; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Domain; +namespace Backbone.Quotas.Domain; public static class DomainErrors { public static DomainError UnsupportedMetricKey() diff --git a/Modules/Quotas/src/Quotas.Domain/IMetricCalculator.cs b/Modules/Quotas/src/Quotas.Domain/IMetricCalculator.cs index 4a9ffb5703..049760e7c6 100644 --- a/Modules/Quotas/src/Quotas.Domain/IMetricCalculator.cs +++ b/Modules/Quotas/src/Quotas.Domain/IMetricCalculator.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Quotas.Domain; +namespace Backbone.Quotas.Domain; public interface IMetricCalculator { public Task CalculateUsage(DateTime from, DateTime to, string identityAddress, CancellationToken cancellationToken); diff --git a/Modules/Quotas/src/Quotas.Domain/Metrics/MetricCalculatorFactory.cs b/Modules/Quotas/src/Quotas.Domain/Metrics/MetricCalculatorFactory.cs index 73521f12be..385b1c0632 100644 --- a/Modules/Quotas/src/Quotas.Domain/Metrics/MetricCalculatorFactory.cs +++ b/Modules/Quotas/src/Quotas.Domain/Metrics/MetricCalculatorFactory.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Domain.Metrics; +namespace Backbone.Quotas.Domain.Metrics; public abstract class MetricCalculatorFactory { public IMetricCalculator CreateFor(MetricKey metricKey) diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230426150941_Init_Quotas.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230426150941_Init_Quotas.Designer.cs index a16bbfda16..101c3e5975 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230426150941_Init_Quotas.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230426150941_Init_Quotas.Designer.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; + +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230601150618_TierQuotas.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230601150618_TierQuotas.Designer.cs index c3026c7485..eecf8938c8 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230601150618_TierQuotas.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230601150618_TierQuotas.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230705143449_MetricStatus.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230705143449_MetricStatus.Designer.cs index cc872d4f62..dc3fc6e978 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230705143449_MetricStatus.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230705143449_MetricStatus.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230711063104_RenameMetricStatusTableToMetricStatuses.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230711063104_RenameMetricStatusTableToMetricStatuses.Designer.cs index 76b1de9e99..6b2b8b63f8 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230711063104_RenameMetricStatusTableToMetricStatuses.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230711063104_RenameMetricStatusTableToMetricStatuses.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230720150421_IndividualQuotas.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230720150421_IndividualQuotas.Designer.cs index 5d429f4585..956c450d7f 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230720150421_IndividualQuotas.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20230720150421_IndividualQuotas.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20231012092205_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20231012092205_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs index 33ad08c413..aca077d75b 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20231012092205_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/20231012092205_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -11,7 +11,6 @@ namespace Backbone.Modules.Quotas.Infrastructure.Database.Postgres.Migrations { - [DbContext(typeof(QuotasDbContext))] [Migration("20231012092205_TiersTierQuotasTierQuotaDefinitionsCascades")] partial class TiersTierQuotasTierQuotaDefinitionsCascades { diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/QuotasDbContextModelSnapshot.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/QuotasDbContextModelSnapshot.cs index bb9f52a290..aa51adfaa6 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/QuotasDbContextModelSnapshot.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.Postgres/Migrations/QuotasDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230426134935_Init_Quotas.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230426134935_Init_Quotas.Designer.cs index 3e9dfd170a..cb1e592e67 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230426134935_Init_Quotas.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230426134935_Init_Quotas.Designer.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; + +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230601150536_TierQuotas.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230601150536_TierQuotas.Designer.cs index 2ff670505f..2a9b3cc754 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230601150536_TierQuotas.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230601150536_TierQuotas.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230705105824_MetricStatus.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230705105824_MetricStatus.Designer.cs index 916b485dab..5d93db97f3 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230705105824_MetricStatus.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230705105824_MetricStatus.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230711063059_RenameMetricStatusTableToMetricStatuses.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230711063059_RenameMetricStatusTableToMetricStatuses.Designer.cs index a982316b18..e403ea6243 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230711063059_RenameMetricStatusTableToMetricStatuses.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230711063059_RenameMetricStatusTableToMetricStatuses.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230720145930_IndividualQuotas.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230720145930_IndividualQuotas.Designer.cs index 5fd6149a75..3aa8d4bfa7 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230720145930_IndividualQuotas.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20230720145930_IndividualQuotas.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20231011153533_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20231011153533_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs index 40ce719c23..1c4b5aabf8 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20231011153533_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/20231011153533_TiersTierQuotasTierQuotaDefinitionsCascades.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/QuotasDbContextModelSnapshot.cs b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/QuotasDbContextModelSnapshot.cs index b545d5dfa1..1437561e71 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/QuotasDbContextModelSnapshot.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure.Database.SqlServer/Migrations/QuotasDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/FileMetadataEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/FileMetadataEntityType.cs index f80cc75136..1b1f000aac 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/FileMetadataEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/FileMetadataEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.FileMetadata; +using Backbone.Quotas.Domain.Aggregates.FileMetadata; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs index b488573fec..ef5f631b06 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IdentityEntityType.cs @@ -1,9 +1,9 @@ // using System; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IndividualQuotaEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IndividualQuotaEntityType.cs index 58513511e3..92772c5ba8 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IndividualQuotaEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/IndividualQuotaEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs index ad86349f7b..fd70f93022 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MessageEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Messages; +using Backbone.Quotas.Domain.Aggregates.Messages; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MetricStatusEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MetricStatusEntityType.cs index e17350d0d1..9cee85a2ef 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MetricStatusEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/MetricStatusEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/QuotasDbContextModel.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/QuotasDbContextModel.cs index 74530c34f4..a2d5cb7433 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/QuotasDbContextModel.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/QuotasDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; + +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs index cb56c64460..b559f21148 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Relationships; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs index e94e9f1816..e2b293af10 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Relationships; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierEntityType.cs index deb8c2b0a0..82c04f81ad 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierEntityType.cs @@ -1,8 +1,8 @@ // using System; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaDefinitionEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaDefinitionEntityType.cs index 999aa467a4..37dffac929 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaDefinitionEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaDefinitionEntityType.cs @@ -2,10 +2,10 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaEntityType.cs index cb4ee8dd50..327e2bd88a 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TierQuotaEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs index 857502f0e9..b7987c30f4 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Tokens; +using Backbone.Quotas.Domain.Aggregates.Tokens; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/FileMetadataEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/FileMetadataEntityType.cs index 7ca2fa88c1..d465e5990d 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/FileMetadataEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/FileMetadataEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.FileMetadata; +using Backbone.Quotas.Domain.Aggregates.FileMetadata; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs index a9db6ccf2a..ee4a164f2f 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IdentityEntityType.cs @@ -1,9 +1,9 @@ // using System; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IndividualQuotaEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IndividualQuotaEntityType.cs index 15dbccb37e..a843fec6bd 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IndividualQuotaEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/IndividualQuotaEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs index c64962d050..8bf862a23d 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MessageEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Messages; +using Backbone.Quotas.Domain.Aggregates.Messages; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MetricStatusEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MetricStatusEntityType.cs index 27bdc09fef..3db0bf30d6 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MetricStatusEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/MetricStatusEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/QuotasDbContextModel.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/QuotasDbContextModel.cs index 3d585b3331..d991042d5e 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/QuotasDbContextModel.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/QuotasDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; + +using Backbone.Quotas.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs index 9e7f9e597e..8e54b5a9a0 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Relationships; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs index 92de231284..7e8c7cf99a 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Relationships; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs index 2402000f4a..74a95af45c 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierEntityType.cs @@ -1,8 +1,8 @@ // using System; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaDefinitionEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaDefinitionEntityType.cs index 6dfa2cb260..2aa0e287c3 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaDefinitionEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaDefinitionEntityType.cs @@ -2,10 +2,10 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaEntityType.cs index 9815d97e2f..55150033bb 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TierQuotaEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs index ce2017ae4e..461f32eadc 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.Tokens; +using Backbone.Quotas.Domain.Aggregates.Tokens; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/FileMetadataEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/FileMetadataEntityTypeConfiguration.cs index 7daac04ce8..1ad20df1d0 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/FileMetadataEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/FileMetadataEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.FileMetadata; +using Backbone.Quotas.Domain.Aggregates.FileMetadata; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class FileMetadataEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs index 87aad171a0..eb85587583 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IdentityEntityTypeConfiguration.cs @@ -1,10 +1,10 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class IdentityEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IndividualQuotaEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IndividualQuotaEntityTypeConfiguration.cs index 8d60bbe850..b155a30fb9 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IndividualQuotaEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/IndividualQuotaEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class IndividualQuotaEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs index 0b2a5c2141..48df482ce5 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MessageEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Messages; +using Backbone.Quotas.Domain.Aggregates.Messages; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class MessageEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MetricStatusEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MetricStatusEntityTypeConfiguration.cs index 725ad42590..b7eda68668 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MetricStatusEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/MetricStatusEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class MetricStatusEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs index 72b02f773f..d741ecf7b7 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Relationships; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class RelationshipEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipTemplateEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipTemplateEntityTypeConfiguration.cs index 2c381b0e58..401b486951 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipTemplateEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/RelationshipTemplateEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Relationships; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class RelationshipTemplateEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs index 3f67b56e18..3ee25a92f2 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class TierEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaDefinitionEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaDefinitionEntityTypeConfiguration.cs index 6962a69766..503e9f4ffe 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaDefinitionEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaDefinitionEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class TierQuotaDefinitionEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaEntityTypeConfiguration.cs index 2244606d38..7b690f4ca4 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TierQuotaEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class TierQuotaEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs index 0e61fd6c17..fdd1167719 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tokens; +using Backbone.Quotas.Domain.Aggregates.Tokens; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.EntityConfigurations; public class TokenEntityTypeConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs index 68571a9c91..af123b1a9e 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs @@ -1,11 +1,11 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Domain.Metrics; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Domain.Metrics; +using Backbone.Quotas.Infrastructure.Persistence.Repository; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +namespace Backbone.Quotas.Infrastructure.Persistence.Database; public static class IServiceCollectionExtensions { @@ -35,7 +35,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(SQLSERVER_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.SqlServer.QuotasDbContextModel.Instance); + }).UseModel(Modules.Quotas.Infrastructure.CompiledModels.SqlServer.QuotasDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.DbConnectionString, sqlOptions => @@ -43,7 +43,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(POSTGRES_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.Postgres.QuotasDbContextModel.Instance); + }).UseModel(Modules.Quotas.Infrastructure.CompiledModels.Postgres.QuotasDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/CreatedAtQueryableExtensions.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/CreatedAtQueryableExtensions.cs index 14c6c0e0e9..fc76b13204 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/CreatedAtQueryableExtensions.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/CreatedAtQueryableExtensions.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Quotas.Domain.Aggregates; +using Backbone.Quotas.Domain.Aggregates; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; public static class CreatedAtQueryableExtensions { public static IQueryable CreatedInInterval(this IQueryable query, DateTime from, DateTime to) where T : ICreatedAt diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/IdentitiesQueryableExtensions.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/IdentitiesQueryableExtensions.cs index 96c05eb6e9..496fe27d10 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/IdentitiesQueryableExtensions.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/IdentitiesQueryableExtensions.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; public static class IdentitiesQueryableExtensions { public static async Task> WithTier(this IQueryable query, string tierId, CancellationToken cancellationToken) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TierQuotaDefinitionsQueryableExtensions.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TierQuotaDefinitionsQueryableExtensions.cs index 66ff7d7672..5b653c852c 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TierQuotaDefinitionsQueryableExtensions.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TierQuotaDefinitionsQueryableExtensions.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; public static class TierQuotaDefinitionsQueryableExtensions { public static async Task FirstWithId(this IQueryable query, string id, CancellationToken cancellationToken) diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TiersQueryableExtensions.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TiersQueryableExtensions.cs index 634ba87250..a4d12c984a 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TiersQueryableExtensions.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QueryableExtensions/TiersQueryableExtensions.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; public static class TiersQueryableExtensions { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QuotasDbContext.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QuotasDbContext.cs index aa0a508eeb..05f6cecd3e 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QuotasDbContext.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/QuotasDbContext.cs @@ -1,16 +1,16 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Quotas.Domain.Aggregates.FileMetadata; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Messages; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Domain.Aggregates.Tokens; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Quotas.Domain.Aggregates.FileMetadata; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Messages; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tokens; +using Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database; +namespace Backbone.Quotas.Infrastructure.Persistence.Database; public class QuotasDbContext : AbstractDbContextBase { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/ExhaustionDateValueConverter.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/ExhaustionDateValueConverter.cs index cdde04e289..edf7ed6f0c 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/ExhaustionDateValueConverter.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/ExhaustionDateValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; public class ExhaustionDateValueConverter : ValueConverter { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/MetricKeyEntityFrameworkValueConverter.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/MetricKeyEntityFrameworkValueConverter.cs index ea33422d6d..ae91a730c4 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/MetricKeyEntityFrameworkValueConverter.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/MetricKeyEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Metrics; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; public class MetricKeyEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/QuotaIdEntityFrameworkValueConverter.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/QuotaIdEntityFrameworkValueConverter.cs index 19e3547ef6..5b1d69087a 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/QuotaIdEntityFrameworkValueConverter.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/QuotaIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; public class QuotaIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs index 5a7aaedfb4..eba1e69779 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; public class TierIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierQuotaDefinitionIdEntityFrameworkValueConverter.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierQuotaDefinitionIdEntityFrameworkValueConverter.cs index 149f7dccd8..f2727e14c0 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierQuotaDefinitionIdEntityFrameworkValueConverter.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Database/ValueConverters/TierQuotaDefinitionIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Quotas.Infrastructure.Persistence.Database.ValueConverters; public class TierQuotaDefinitionIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/FilesRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/FilesRepository.cs index 171312969e..d881bfaedb 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/FilesRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/FilesRepository.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.FileMetadata; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.FileMetadata; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class FilesRepository : IFilesRepository { private readonly IQueryable _readOnlyFiles; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/IdentitiesRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/IdentitiesRepository.cs index 0c806839a1..d5a6d24910 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/IdentitiesRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/IdentitiesRepository.cs @@ -1,12 +1,12 @@ using Backbone.BuildingBlocks.Application.Extensions; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class IdentitiesRepository : IIdentitiesRepository { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MessagesRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MessagesRepository.cs index 1d22949f4f..46a6ada383 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MessagesRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MessagesRepository.cs @@ -1,11 +1,11 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Messages; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Messages; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class MessagesRepository : IMessagesRepository { private readonly IQueryable _readOnlyMessages; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MetricsRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MetricsRepository.cs index 54689d8fe2..a7569bbccc 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MetricsRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/MetricsRepository.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class MetricsRepository : IMetricsRepository { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipTemplatesRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipTemplatesRepository.cs index 1dbcf32419..9df11542d7 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipTemplatesRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipTemplatesRepository.cs @@ -1,11 +1,11 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class RelationshipTemplatesRepository : IRelationshipTemplatesRepository { private readonly IQueryable _readOnlyTemplates; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipsRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipsRepository.cs index 80f5639efa..d9e4cbed90 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipsRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/RelationshipsRepository.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Relationships; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Relationships; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class RelationshipsRepository : IRelationshipsRepository { private readonly IQueryable _relationshipsReadonly; diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TiersRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TiersRepository.cs index 3d49c6c7e8..05382891e9 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TiersRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TiersRepository.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Extensions; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class TiersRepository : ITiersRepository { diff --git a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TokensRepository.cs b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TokensRepository.cs index 746683570e..5b0c24afd1 100644 --- a/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TokensRepository.cs +++ b/Modules/Quotas/src/Quotas.Infrastructure/Persistence/Repository/TokensRepository.cs @@ -1,11 +1,11 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tokens; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tokens; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Database.QueryableExtensions; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +namespace Backbone.Quotas.Infrastructure.Persistence.Repository; public class TokensRepository : ITokensRepository { private readonly IQueryable _tokensReadOnly; diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs b/Modules/Quotas/test/Quotas.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs index c89ea200b0..839419d478 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Extensions/ExceptionAssertionsExtensions.cs @@ -2,7 +2,7 @@ using FluentAssertions; using FluentAssertions.Specialized; -namespace Backbone.Modules.Quotas.Application.Tests.Extensions; +namespace Backbone.Quotas.Application.Tests.Extensions; public static class ExceptionAssertionsExtensions { public static void WithErrorCode(this ExceptionAssertions assertions, string code) where T : DomainException diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Metrics/UsedFileStorageSpaceMetricCalculatorTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Metrics/UsedFileStorageSpaceMetricCalculatorTests.cs index 18f0be2712..871d7ddc4c 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Metrics/UsedFileStorageSpaceMetricCalculatorTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Metrics/UsedFileStorageSpaceMetricCalculatorTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Metrics; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Metrics; +namespace Backbone.Quotas.Application.Tests.Metrics; public class UsedFileStorageSpaceMetricCalculatorTests { [Fact] diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/AddMockTiersRepository.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/AddMockTiersRepository.cs index f8b3ce2325..abd4cfd4ad 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/AddMockTiersRepository.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/AddMockTiersRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; public class AddMockTiersRepository : ITiersRepository { public bool WasCalled { get; private set; } diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindAllWithKeysMetricsStubRepository.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindAllWithKeysMetricsStubRepository.cs index e19c1a2dbb..a081c40f58 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindAllWithKeysMetricsStubRepository.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindAllWithKeysMetricsStubRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; public class FindAllWithKeysMetricsStubRepository : IMetricsRepository { private readonly IEnumerable _metrics; diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindMetricsStubRepository.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindMetricsStubRepository.cs index 0e451b0fc1..03f0fc31b7 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindMetricsStubRepository.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindMetricsStubRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Metrics; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; public class FindMetricsStubRepository : IMetricsRepository { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTierQuotaDefinitionsStubRepository.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTierQuotaDefinitionsStubRepository.cs index ca156fa7ac..c74da46d61 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTierQuotaDefinitionsStubRepository.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTierQuotaDefinitionsStubRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; public class FindTierQuotaDefinitionsStubRepository : ITiersRepository { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTiersStubRepository.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTiersStubRepository.cs index 4f1d9c20d8..aa4c665b7b 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTiersStubRepository.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/FindTiersStubRepository.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Tiers; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; public class FindTiersStubRepository : ITiersRepository { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/MetricStatusesStubRepository.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/MetricStatusesStubRepository.cs index 2bed69885b..f6fbeaca3f 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/MetricStatusesStubRepository.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/MetricStatusesStubRepository.cs @@ -2,7 +2,7 @@ using Backbone.Common.Infrastructure.Persistence.Repository; using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; internal class MetricStatusesStubRepository : IMetricStatusesRepository { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/UserContextStub.cs b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/UserContextStub.cs index 7bf11cacb6..15d06d71ea 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/UserContextStub.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/TestDoubles/UserContextStub.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Quotas.Application.Tests.TestDoubles; +namespace Backbone.Quotas.Application.Tests.TestDoubles; internal class UserContextStub : IUserContext { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/GetIdentity/HandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/GetIdentity/HandlerTests.cs index f6db89e0cd..0c2a9efb2e 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/GetIdentity/HandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/GetIdentity/HandlerTests.cs @@ -1,16 +1,16 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Quotas.Application.Identities.Queries.GetIdentity; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Identities.Queries.GetIdentity; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Backbone.UnitTestTools.Extensions; using FakeItEasy; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Identities.GetIdentity; +namespace Backbone.Quotas.Application.Tests.Tests.Identities.GetIdentity; public class HandlerTests { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/IdentityCreatedIntegrationEventHandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/IdentityCreatedIntegrationEventHandlerTests.cs index a95382d007..c820ddf431 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/IdentityCreatedIntegrationEventHandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/IdentityCreatedIntegrationEventHandlerTests.cs @@ -1,15 +1,15 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Domain.Metrics; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.IdentityCreated; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Metrics; using FakeItEasy; using Microsoft.Extensions.Logging; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Identities; +namespace Backbone.Quotas.Application.Tests.Tests.Identities; public class IdentityCreatedIntegrationEventHandlerTests { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs index 6c61b42766..5e1403ed3f 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Identities/QuotaCreatedForTierIntegrationEventHandlerTests.cs @@ -1,16 +1,16 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.QuotaCreatedForTier; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.QuotaCreatedForTier; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FakeItEasy; using Microsoft.Extensions.Logging; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Identities; +namespace Backbone.Quotas.Application.Tests.Tests.Identities; public class QuotaCreatedForTierIntegrationEventHandlerTests { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/IntegrationEvents/TierDeleted/TierDeletedIntegrationEventHandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/IntegrationEvents/TierDeleted/TierDeletedIntegrationEventHandlerTests.cs index b50c99fffc..ee0f97940b 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/IntegrationEvents/TierDeleted/TierDeletedIntegrationEventHandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/IntegrationEvents/TierDeleted/TierDeletedIntegrationEventHandlerTests.cs @@ -1,11 +1,11 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TierDeleted; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FakeItEasy; using Microsoft.Extensions.Logging; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.IntegrationEvents.TierDeleted; +namespace Backbone.Quotas.Application.Tests.Tests.IntegrationEvents.TierDeleted; public class TierDeletedIntegrationEventHandlerTests { private readonly ILogger _logger; diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/QuotaCheck/QuotaCheckerImplTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/QuotaCheck/QuotaCheckerImplTests.cs index 69a71c093b..0f8b04338d 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/QuotaCheck/QuotaCheckerImplTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/QuotaCheck/QuotaCheckerImplTests.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.QuotaCheck; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Application.Tests.TestDoubles; using Backbone.Tooling; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.QuotaCheck; +namespace Backbone.Quotas.Application.Tests.Tests.QuotaCheck; public class QuotaCheckerImplTests { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForIdentity/HandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForIdentity/HandlerTests.cs index 1d9c48cedf..5d53d73acf 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForIdentity/HandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForIdentity/HandlerTests.cs @@ -1,21 +1,21 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.Metrics; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Identities.Commands.CreateQuotaForIdentity; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Metrics; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Backbone.UnitTestTools.Extensions; using FakeItEasy; using FluentAssertions; using Microsoft.Extensions.Logging; using Xunit; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Quotas.CreateQuotaForIdentity; +namespace Backbone.Quotas.Application.Tests.Tests.Quotas.CreateQuotaForIdentity; public class HandlerTests { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForTier/HandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForTier/HandlerTests.cs index 64a3677146..eb76a7ecd8 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForTier/HandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/CreateQuotaForTier/HandlerTests.cs @@ -1,19 +1,19 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Application.Tiers.Commands.CreateQuotaForTier; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Application.Tiers.Commands.CreateQuotaForTier; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FakeItEasy; using FluentAssertions; using FluentAssertions.Execution; using Microsoft.Extensions.Logging; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Quotas.CreateQuotaForTier; +namespace Backbone.Quotas.Application.Tests.Tests.Quotas.CreateQuotaForTier; public class HandlerTests { diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteIndividualQuota/HandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteIndividualQuota/HandlerTests.cs index e7fa96fc56..5959991ebf 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteIndividualQuota/HandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteIndividualQuota/HandlerTests.cs @@ -1,18 +1,18 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Backbone.UnitTestTools.Extensions; using FakeItEasy; using FluentAssertions; using Microsoft.Extensions.Logging; using Xunit; -using Handler = Backbone.Modules.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity.Handler; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using Handler = Backbone.Quotas.Application.Identities.Commands.DeleteQuotaForIdentity.Handler; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Quotas.DeleteIndividualQuota; +namespace Backbone.Quotas.Application.Tests.Tests.Quotas.DeleteIndividualQuota; public class HandlerTests { [Fact] diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteTierQuotaDefinition/HandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteTierQuotaDefinition/HandlerTests.cs index 14be3ee2a8..92dbf5ae14 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteTierQuotaDefinition/HandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Quotas/DeleteTierQuotaDefinition/HandlerTests.cs @@ -2,20 +2,20 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Quotas.Application.Tests.Extensions; -using Backbone.Modules.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.IntegrationEvents.Outgoing; +using Backbone.Quotas.Application.Tests.Extensions; +using Backbone.Quotas.Application.Tiers.Commands.DeleteTierQuotaDefinition; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FakeItEasy; using FluentAssertions; using FluentAssertions.Execution; using Microsoft.Extensions.Logging; using Xunit; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Quotas.DeleteTierQuotaDefinition; +namespace Backbone.Quotas.Application.Tests.Tests.Quotas.DeleteTierQuotaDefinition; public class HandlerTests { private readonly IEventBus _eventBus; diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Repositories/MessagesRepositoryTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Repositories/MessagesRepositoryTests.cs index 1e24e3bfad..597846010d 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Repositories/MessagesRepositoryTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Repositories/MessagesRepositoryTests.cs @@ -1,9 +1,9 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Messages.Domain.Entities; -using Backbone.Modules.Messages.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Database; -using Backbone.Modules.Quotas.Infrastructure.Persistence.Repository; +using Backbone.Messages.Domain.Entities; +using Backbone.Messages.Infrastructure.Persistence.Database; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Infrastructure.Persistence.Database; +using Backbone.Quotas.Infrastructure.Persistence.Repository; using Backbone.Tooling; using Backbone.UnitTestTools.Data; using Backbone.UnitTestTools.TestDoubles.Fakes; @@ -11,7 +11,7 @@ using FluentAssertions.Execution; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Repositories; +namespace Backbone.Quotas.Application.Tests.Tests.Repositories; public class MessagesRepositoryTests { private readonly IdentityAddress _identityAddress1 = TestDataGenerator.CreateRandomIdentityAddress(); diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/GetTierById/HandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/GetTierById/HandlerTests.cs index d7e6a295f1..e2ac99ce7b 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/GetTierById/HandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/GetTierById/HandlerTests.cs @@ -1,13 +1,13 @@ -using Backbone.Modules.Quotas.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Application.Tiers.Queries.GetTierById; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.Infrastructure.Persistence.Repository; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Application.Tiers.Queries.GetTierById; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Tiers.GetTierById; +namespace Backbone.Quotas.Application.Tests.Tests.Tiers.GetTierById; public class HandlerTests { [Fact] diff --git a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/TierCreatedIntegrationEventHandlerTests.cs b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/TierCreatedIntegrationEventHandlerTests.cs index 7e47b5b418..636ab37a86 100644 --- a/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/TierCreatedIntegrationEventHandlerTests.cs +++ b/Modules/Quotas/test/Quotas.Application.Tests/Tests/Tiers/TierCreatedIntegrationEventHandlerTests.cs @@ -1,12 +1,12 @@ -using Backbone.Modules.Quotas.Application.IntegrationEvents.Incoming.TierCreated; -using Backbone.Modules.Quotas.Application.Tests.TestDoubles; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Application.IntegrationEvents.Incoming.TierCreated; +using Backbone.Quotas.Application.Tests.TestDoubles; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FakeItEasy; using FluentAssertions; using Microsoft.Extensions.Logging; using Xunit; -namespace Backbone.Modules.Quotas.Application.Tests.Tests.Tiers; +namespace Backbone.Quotas.Application.Tests.Tests.Tiers; public class TierCreatedIntegrationEventHandlerTests { [Fact] diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/ExhaustionDateAssertions.cs b/Modules/Quotas/test/Quotas.Domain.Tests/ExhaustionDateAssertions.cs index e7414544db..3c8bf0bc3f 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/ExhaustionDateAssertions.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/ExhaustionDateAssertions.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Backbone.Tooling.Extensions; using FluentAssertions; using FluentAssertions.Execution; using FluentAssertions.Numeric; -namespace Backbone.Modules.Quotas.Domain.Tests; +namespace Backbone.Quotas.Domain.Tests; public static class ExhaustionDateExtensions { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/IndividualQuotaTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/IndividualQuotaTests.cs index 90efdf8ddd..73fd860148 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/IndividualQuotaTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/IndividualQuotaTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Domain.Tests; +namespace Backbone.Quotas.Domain.Tests; public class IndividualQuotaTests { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/ExhaustionDateTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/ExhaustionDateTests.cs index ea570423be..23d38997da 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/ExhaustionDateTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/ExhaustionDateTests.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Domain.Tests.Tests.Identities; +namespace Backbone.Quotas.Domain.Tests.Tests.Identities; public class ExhaustionDateTests { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/IdentityTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/IdentityTests.cs index 9c514c06cd..9c320937f1 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/IdentityTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/IdentityTests.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; -using Backbone.Modules.Quotas.Domain.Metrics; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Metrics; using Backbone.Tooling; using Backbone.UnitTestTools.Data; using Backbone.UnitTestTools.Extensions; using FluentAssertions; using Xunit; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Domain.Tests.Tests.Identities; +namespace Backbone.Quotas.Domain.Tests.Tests.Identities; public class IdentityTests : IDisposable { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaIdTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaIdTests.cs index e9a80a0485..a9496bff22 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaIdTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaIdTests.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Domain.Tests.Tests.Identities; +namespace Backbone.Quotas.Domain.Tests.Tests.Identities; public class QuotaIdTests { [Fact] diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaPeriodTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaPeriodTests.cs index ad4f180a36..8a525607f6 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaPeriodTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Identities/QuotaPeriodTests.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Identities; using Backbone.Tooling; using Backbone.UnitTestTools.Extensions; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Domain.Tests.Tests.Identities; +namespace Backbone.Quotas.Domain.Tests.Tests.Identities; public class QuotaPeriodTests { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierQuotaDefinitionIdTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierQuotaDefinitionIdTests.cs index 57856b229c..86ee2cc002 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierQuotaDefinitionIdTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierQuotaDefinitionIdTests.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Tiers; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Domain.Tests.Tests.Tiers; +namespace Backbone.Quotas.Domain.Tests.Tests.Tiers; public class TierQuotaDefinitionIdTests { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierTests.cs index cabb0f7356..6d640c0744 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/Tests/Tiers/TierTests.cs @@ -1,11 +1,11 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Backbone.UnitTestTools.Extensions; using FluentAssertions; using Xunit; -using MetricKey = Backbone.Modules.Quotas.Domain.Aggregates.Metrics.MetricKey; +using MetricKey = Backbone.Quotas.Domain.Aggregates.Metrics.MetricKey; -namespace Backbone.Modules.Quotas.Domain.Tests.Tests.Tiers; +namespace Backbone.Quotas.Domain.Tests.Tests.Tiers; public class TierTests { diff --git a/Modules/Quotas/test/Quotas.Domain.Tests/TierQuotaTests.cs b/Modules/Quotas/test/Quotas.Domain.Tests/TierQuotaTests.cs index f62deef3ff..60508ad219 100644 --- a/Modules/Quotas/test/Quotas.Domain.Tests/TierQuotaTests.cs +++ b/Modules/Quotas/test/Quotas.Domain.Tests/TierQuotaTests.cs @@ -1,11 +1,11 @@ -using Backbone.Modules.Quotas.Domain.Aggregates.Identities; -using Backbone.Modules.Quotas.Domain.Aggregates.Metrics; -using Backbone.Modules.Quotas.Domain.Aggregates.Tiers; +using Backbone.Quotas.Domain.Aggregates.Identities; +using Backbone.Quotas.Domain.Aggregates.Metrics; +using Backbone.Quotas.Domain.Aggregates.Tiers; using Backbone.UnitTestTools.Data; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Quotas.Domain.Tests; +namespace Backbone.Quotas.Domain.Tests; public class TierQuotaTests { diff --git a/Modules/Relationships/src/Relationships.Application/ApplicationErrors.cs b/Modules/Relationships/src/Relationships.Application/ApplicationErrors.cs index e6a0b5a34b..07284f9fba 100644 --- a/Modules/Relationships/src/Relationships.Application/ApplicationErrors.cs +++ b/Modules/Relationships/src/Relationships.Application/ApplicationErrors.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -namespace Backbone.Modules.Relationships.Application; +namespace Backbone.Relationships.Application; public static class ApplicationErrors { diff --git a/Modules/Relationships/src/Relationships.Application/ApplicationOptions.cs b/Modules/Relationships/src/Relationships.Application/ApplicationOptions.cs index 307d717a38..97cbcd00ee 100644 --- a/Modules/Relationships/src/Relationships.Application/ApplicationOptions.cs +++ b/Modules/Relationships/src/Relationships.Application/ApplicationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Relationships.Application; +namespace Backbone.Relationships.Application; public class ApplicationOptions { diff --git a/Modules/Relationships/src/Relationships.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Relationships/src/Relationships.Application/AutoMapper/AutoMapperProfile.cs index e5242ea17b..4db6dcd2d0 100644 --- a/Modules/Relationships/src/Relationships.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Relationships/src/Relationships.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Relationships.Application.AutoMapper; +namespace Backbone.Relationships.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Relationships/src/Relationships.Application/Extensions/ChangeHistoryExtensions.cs b/Modules/Relationships/src/Relationships.Application/Extensions/ChangeHistoryExtensions.cs index 5e687a37e1..2ce0e96542 100644 --- a/Modules/Relationships/src/Relationships.Application/Extensions/ChangeHistoryExtensions.cs +++ b/Modules/Relationships/src/Relationships.Application/Extensions/ChangeHistoryExtensions.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Relationships.Application.Extensions; +namespace Backbone.Relationships.Application.Extensions; public static class ChangeHistoryExtensions { diff --git a/Modules/Relationships/src/Relationships.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Relationships/src/Relationships.Application/Extensions/IServiceCollectionExtensions.cs index 1cc467bbc3..41fa87dbf9 100644 --- a/Modules/Relationships/src/Relationships.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Relationships/src/Relationships.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Relationships.Application.AutoMapper; -using Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +using Backbone.Relationships.Application.AutoMapper; +using Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; using FluentValidation; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Relationships.Application.Extensions; +namespace Backbone.Relationships.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Relationships/src/Relationships.Application/Infrastructure/BlobOptions.cs b/Modules/Relationships/src/Relationships.Application/Infrastructure/BlobOptions.cs index 1a2c2eec66..1b627b32f8 100644 --- a/Modules/Relationships/src/Relationships.Application/Infrastructure/BlobOptions.cs +++ b/Modules/Relationships/src/Relationships.Application/Infrastructure/BlobOptions.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Relationships.Application.Infrastructure; +namespace Backbone.Relationships.Application.Infrastructure; public class BlobOptions { diff --git a/Modules/Relationships/src/Relationships.Application/Infrastructure/ConstraintNames.cs b/Modules/Relationships/src/Relationships.Application/Infrastructure/ConstraintNames.cs index ed716a0447..fde5f7a8e1 100644 --- a/Modules/Relationships/src/Relationships.Application/Infrastructure/ConstraintNames.cs +++ b/Modules/Relationships/src/Relationships.Application/Infrastructure/ConstraintNames.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Relationships.Application.Infrastructure; +namespace Backbone.Relationships.Application.Infrastructure; public class ConstraintNames { diff --git a/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs b/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs index d2ecf86cb6..0bb11ba4c6 100644 --- a/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs +++ b/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipTemplatesRepository.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Relationships.Application.Infrastructure.Persistence.Repository; public interface IRelationshipTemplatesRepository { Task> FindTemplatesWithIds(IEnumerable ids, IdentityAddress identityAddress, PaginationFilter paginationFilter, CancellationToken cancellationToken, bool track = false); diff --git a/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs b/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs index 192734d6d1..0a7d8a45d9 100644 --- a/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs +++ b/Modules/Relationships/src/Relationships.Application/Infrastructure/Persistence/Repository/IRelationshipsRepository.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Common; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Relationships.Application.Infrastructure.Persistence.Repository; public interface IRelationshipsRepository { Task> FindRelationshipsWithIds(IEnumerable ids, IdentityAddress identityAddress, PaginationFilter paginationFilter, CancellationToken cancellationToken, bool track = false); diff --git a/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCompletedIntegrationEvent.cs b/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCompletedIntegrationEvent.cs index 14fa3d3d57..08681916fb 100644 --- a/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCompletedIntegrationEvent.cs +++ b/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCompletedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; -namespace Backbone.Modules.Relationships.Application.IntegrationEvents; +namespace Backbone.Relationships.Application.IntegrationEvents; public class RelationshipChangeCompletedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCreatedIntegrationEvent.cs b/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCreatedIntegrationEvent.cs index 931465a87e..f0a1bd141c 100644 --- a/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCreatedIntegrationEvent.cs +++ b/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipChangeCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; -namespace Backbone.Modules.Relationships.Application.IntegrationEvents; +namespace Backbone.Relationships.Application.IntegrationEvents; public class RelationshipChangeCreatedIntegrationEvent : IntegrationEvent { public RelationshipChangeCreatedIntegrationEvent(RelationshipChange change) : base($"{change.Id}/Created") diff --git a/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipTemplateCreatedIntegrationEvent.cs b/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipTemplateCreatedIntegrationEvent.cs index 0da061968b..0125e7403e 100644 --- a/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipTemplateCreatedIntegrationEvent.cs +++ b/Modules/Relationships/src/Relationships.Application/IntegrationEvents/RelationshipTemplateCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; -namespace Backbone.Modules.Relationships.Application.IntegrationEvents; +namespace Backbone.Relationships.Application.IntegrationEvents; public class RelationshipTemplateCreatedIntegrationEvent : IntegrationEvent { public RelationshipTemplateCreatedIntegrationEvent(RelationshipTemplate template) : base($"{template.Id}/Created") diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommand.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommand.cs index dfd092e771..028ccc93bc 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommand.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommand.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.BuildingBlocks.Application.Attributes; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using MediatR; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +namespace Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; [ApplyQuotasForMetrics("NumberOfRelationshipTemplates")] public class CreateRelationshipTemplateCommand : IMapTo, IRequest diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommandValidator.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommandValidator.cs index 30ffdfcb26..6e3b3533e4 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommandValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateCommandValidator.cs @@ -4,7 +4,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +namespace Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; public class CreateRelationshipTemplateCommandValidator : AbstractValidator { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateResponse.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateResponse.cs index 9e506cbc0e..2b18a5c41d 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/CreateRelationshipTemplateResponse.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +namespace Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; public class CreateRelationshipTemplateResponse : IMapTo { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/Handler.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/Handler.cs index 253b2ef020..d71c6857dc 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Commands/CreateRelationshipTemplate/Handler.cs @@ -1,12 +1,12 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.IntegrationEvents; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.IntegrationEvents; +using Backbone.Relationships.Domain.Entities; using MediatR; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +namespace Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/GetRelationshipTemplateQuery.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/GetRelationshipTemplateQuery.cs index faf58a4555..3900f2a555 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/GetRelationshipTemplateQuery.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/GetRelationshipTemplateQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.GetRelationshipTemplate; +namespace Backbone.Relationships.Application.RelationshipTemplates.Queries.GetRelationshipTemplate; public class GetRelationshipTemplateQuery : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/Handler.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/Handler.cs index 9c070d8dfd..3fe52d4a74 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/GetRelationshipTemplate/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.Relationships.DTOs; using MediatR; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.GetRelationshipTemplate; +namespace Backbone.Relationships.Application.RelationshipTemplates.Queries.GetRelationshipTemplate; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/Handler.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/Handler.cs index fd4531c7dc..6e4c9eb92f 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.Relationships.DTOs; using MediatR; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; +namespace Backbone.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesQuery.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesQuery.cs index 16a8e6e6e8..6addd34d43 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesQuery.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesQuery.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; +namespace Backbone.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; public class ListRelationshipTemplatesQuery : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesResponse.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesResponse.cs index 3b5aec56a7..7a519973ee 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; +namespace Backbone.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; public class ListRelationshipTemplatesResponse : PagedResponse { diff --git a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidator.cs b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidator.cs index f3b5505f43..a3c2ded5b2 100644 --- a/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidator.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; +namespace Backbone.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; // ReSharper disable once UnusedMember.Global public class ListRelationshipTemplatesValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommand.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommand.cs index 3fd7a04c04..9c59a00535 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommand.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommand.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; public class AcceptRelationshipChangeRequestCommand : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommandValidator.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommandValidator.cs index c79878133b..09cfa51175 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommandValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestCommandValidator.cs @@ -2,7 +2,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; // ReSharper disable once UnusedMember.Global public class AcceptRelationshipChangeRequestCommandValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestResponse.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestResponse.cs index 586a71acb2..569aaf4ca6 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/AcceptRelationshipChangeRequestResponse.cs @@ -1,5 +1,5 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; public class AcceptRelationshipChangeRequestResponse : RelationshipMetadataDTO { } diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/Handler.cs index 877edaf01e..20df1cad0b 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/AcceptRelationshipChangeRequest/Handler.cs @@ -1,12 +1,12 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.IntegrationEvents; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.IntegrationEvents; +using Backbone.Relationships.Domain.Entities; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipCommand.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipCommand.cs index 2a3f992e2e..7c432a2983 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipCommand.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipCommand.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Attributes; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.CreateRelationship; +namespace Backbone.Relationships.Application.Relationships.Commands.CreateRelationship; [ApplyQuotasForMetrics("NumberOfRelationships")] public class CreateRelationshipCommand : IRequest diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipRequestValidator.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipRequestValidator.cs index 8688d24661..64252fe00e 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipRequestValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipRequestValidator.cs @@ -2,7 +2,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.CreateRelationship; +namespace Backbone.Relationships.Application.Relationships.Commands.CreateRelationship; // ReSharper disable once UnusedMember.Global public class CreateRelationshipCommandValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipResponse.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipResponse.cs index da58a0e9ad..7e849eb70c 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/CreateRelationshipResponse.cs @@ -1,5 +1,5 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.CreateRelationship; +namespace Backbone.Relationships.Application.Relationships.Commands.CreateRelationship; public class CreateRelationshipResponse : RelationshipMetadataDTO { } diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/Handler.cs index 5e7abb76ba..3d0f3bcb02 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/CreateRelationship/Handler.cs @@ -2,12 +2,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.IntegrationEvents; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.IntegrationEvents; +using Backbone.Relationships.Domain.Entities; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.CreateRelationship; +namespace Backbone.Relationships.Application.Relationships.Commands.CreateRelationship; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/Handler.cs index e332b75c16..a7ab351407 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/Handler.cs @@ -1,12 +1,12 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.IntegrationEvents; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.IntegrationEvents; +using Backbone.Relationships.Domain.Entities; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommand.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommand.cs index a3b630a959..117b271347 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommand.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommand.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; public class RejectRelationshipChangeRequestCommand : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommandValidator.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommandValidator.cs index 475ef1bbef..be7dfa35f4 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommandValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestCommandValidator.cs @@ -2,7 +2,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; // ReSharper disable once UnusedMember.Global public class RejectRelationshipChangeRequestCommandValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestResponse.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestResponse.cs index acde5fd2fe..7fd26c1776 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RejectRelationshipChangeRequest/RejectRelationshipChangeRequestResponse.cs @@ -1,5 +1,5 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; public class RejectRelationshipChangeRequestResponse : RelationshipMetadataDTO { } diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/Handler.cs index 69dd909044..c29698466d 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/Handler.cs @@ -1,12 +1,12 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.IntegrationEvents; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.IntegrationEvents; +using Backbone.Relationships.Domain.Entities; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommand.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommand.cs index fba41e80ae..0f80b8b470 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommand.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommand.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; public class RevokeRelationshipChangeRequestCommand : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommandValidator.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommandValidator.cs index 43e5216ee4..b9ea4f687c 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommandValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestCommandValidator.cs @@ -2,7 +2,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; // ReSharper disable once UnusedMember.Global public class RevokeRelationshipChangeRequestCommandValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestResponse.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestResponse.cs index 46fd0dc8fc..1a60de7f7e 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Commands/RevokeRelationshipChangeRequest/RevokeRelationshipChangeRequestResponse.cs @@ -1,5 +1,5 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; +namespace Backbone.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; public class RevokeRelationshipChangeRequestResponse : RelationshipMetadataDTO { } diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipChangeDTO.cs b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipChangeDTO.cs index fa3f1987c7..3bcba27e39 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipChangeDTO.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipChangeDTO.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.Relationships.DTOs; +namespace Backbone.Relationships.Application.Relationships.DTOs; public class RelationshipChangeDTO : IMapTo { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipDTO.cs b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipDTO.cs index 223498ba6f..2298ad5244 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipDTO.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipDTO.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.Relationships.DTOs; +namespace Backbone.Relationships.Application.Relationships.DTOs; public class RelationshipDTO : IMapTo { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipMetadataDTO.cs b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipMetadataDTO.cs index 8b2af13981..eec4d13b37 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipMetadataDTO.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipMetadataDTO.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.Relationships.DTOs; +namespace Backbone.Relationships.Application.Relationships.DTOs; public class RelationshipMetadataDTO : IMapTo { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipTemplateDTO.cs b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipTemplateDTO.cs index 74cfa1d9b9..766d13bfaf 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipTemplateDTO.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/DTOs/RelationshipTemplateDTO.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Application.Relationships.DTOs; +namespace Backbone.Relationships.Application.Relationships.DTOs; public class RelationshipTemplateDTO : IMapTo { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/GetChangeQuery.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/GetChangeQuery.cs index 59dae60153..27badfcf6d 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/GetChangeQuery.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/GetChangeQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.GetChange; +namespace Backbone.Relationships.Application.Relationships.Queries.GetChange; public class GetChangeQuery : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/Handler.cs index d3a1140631..7b0e4d0f5f 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetChange/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.Relationships.DTOs; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.GetChange; +namespace Backbone.Relationships.Application.Relationships.Queries.GetChange; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/GetRelationshipQuery.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/GetRelationshipQuery.cs index 0107fe0a93..69e299bdd1 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/GetRelationshipQuery.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/GetRelationshipQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Application.Relationships.DTOs; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.GetRelationship; +namespace Backbone.Relationships.Application.Relationships.Queries.GetRelationship; public class GetRelationshipQuery : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/Handler.cs index aaf2fdd843..d2fd602f16 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/GetRelationship/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.Relationships.DTOs; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.GetRelationship; +namespace Backbone.Relationships.Application.Relationships.Queries.GetRelationship; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/Handler.cs index e213704736..4fc6de3cd1 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.Relationships.DTOs; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListChanges; +namespace Backbone.Relationships.Application.Relationships.Queries.ListChanges; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQuery.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQuery.cs index b5dcba8863..c58fcd2b5b 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQuery.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQuery.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Common; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListChanges; +namespace Backbone.Relationships.Application.Relationships.Queries.ListChanges; public class ListChangesQuery : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQueryValidator.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQueryValidator.cs index 3bbe123529..3786053736 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQueryValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesQueryValidator.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Common.FluentValidation; +using Backbone.Relationships.Common; +using Backbone.Relationships.Common.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListChanges; +namespace Backbone.Relationships.Application.Relationships.Queries.ListChanges; // ReSharper disable once UnusedMember.Global public class ListChangesQueryValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesResponse.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesResponse.cs index b19eedfd72..d841e4a6a2 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListChanges/ListChangesResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListChanges; +namespace Backbone.Relationships.Application.Relationships.Queries.ListChanges; public class ListChangesResponse : PagedResponse { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/Handler.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/Handler.cs index b230942066..fd7882abf7 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/Handler.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/Handler.cs @@ -1,10 +1,10 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.Relationships.DTOs; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListRelationships; +namespace Backbone.Relationships.Application.Relationships.Queries.ListRelationships; public class Handler : IRequestHandler { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsQuery.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsQuery.cs index d510a7d547..fd00a6f7e6 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsQuery.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsQuery.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using MediatR; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListRelationships; +namespace Backbone.Relationships.Application.Relationships.Queries.ListRelationships; public class ListRelationshipsQuery : IRequest { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsResponse.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsResponse.cs index 040375ed36..6685b4959e 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsResponse.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.DTOs; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListRelationships; +namespace Backbone.Relationships.Application.Relationships.Queries.ListRelationships; public class ListRelationshipsResponse : PagedResponse { diff --git a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsValidator.cs b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsValidator.cs index fc1961f41b..2ab8c48ff9 100644 --- a/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsValidator.cs +++ b/Modules/Relationships/src/Relationships.Application/Relationships/Queries/ListRelationships/ListRelationshipsValidator.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Relationships.Application.Relationships.Queries.ListRelationships; +namespace Backbone.Relationships.Application.Relationships.Queries.ListRelationships; // ReSharper disable once UnusedMember.Global public class ListRelationshipsValidator : AbstractValidator diff --git a/Modules/Relationships/src/Relationships.Common/FluentValidation/RangeValidator.cs b/Modules/Relationships/src/Relationships.Common/FluentValidation/RangeValidator.cs index 2374ada170..e0b9867942 100644 --- a/Modules/Relationships/src/Relationships.Common/FluentValidation/RangeValidator.cs +++ b/Modules/Relationships/src/Relationships.Common/FluentValidation/RangeValidator.cs @@ -1,7 +1,7 @@ using FluentValidation; using FluentValidation.Validators; -namespace Backbone.Modules.Relationships.Common.FluentValidation; +namespace Backbone.Relationships.Common.FluentValidation; public class RangeValidator : PropertyValidator { diff --git a/Modules/Relationships/src/Relationships.Common/Range.cs b/Modules/Relationships/src/Relationships.Common/Range.cs index ce17726358..ca551d0876 100644 --- a/Modules/Relationships/src/Relationships.Common/Range.cs +++ b/Modules/Relationships/src/Relationships.Common/Range.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Relationships.Common; +namespace Backbone.Relationships.Common; public class Range { diff --git a/Modules/Relationships/src/Relationships.ConsumerApi/Configuration.cs b/Modules/Relationships/src/Relationships.ConsumerApi/Configuration.cs index f54a56c31e..f1307e81d8 100644 --- a/Modules/Relationships/src/Relationships.ConsumerApi/Configuration.cs +++ b/Modules/Relationships/src/Relationships.ConsumerApi/Configuration.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Relationships.Application; +using Backbone.Relationships.Application; -namespace Backbone.Modules.Relationships.ConsumerApi; +namespace Backbone.Relationships.ConsumerApi; public class Configuration { diff --git a/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipTemplatesController.cs b/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipTemplatesController.cs index 23fd5dcc7b..da2aa1c3ea 100644 --- a/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipTemplatesController.cs +++ b/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipTemplatesController.cs @@ -3,12 +3,12 @@ using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Application; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; -using Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; -using Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.GetRelationshipTemplate; -using Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application; +using Backbone.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +using Backbone.Relationships.Application.RelationshipTemplates.Queries.GetRelationshipTemplate; +using Backbone.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; +using Backbone.Relationships.Domain.Ids; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -16,7 +16,7 @@ using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Relationships.ConsumerApi.Controllers; +namespace Backbone.Relationships.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipsController.cs b/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipsController.cs index 927dae985b..0759e9d310 100644 --- a/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipsController.cs +++ b/Modules/Relationships/src/Relationships.ConsumerApi/Controllers/RelationshipsController.cs @@ -4,19 +4,19 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Application; -using Backbone.Modules.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; -using Backbone.Modules.Relationships.Application.Relationships.Commands.CreateRelationship; -using Backbone.Modules.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; -using Backbone.Modules.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; -using Backbone.Modules.Relationships.Application.Relationships.DTOs; -using Backbone.Modules.Relationships.Application.Relationships.Queries.GetChange; -using Backbone.Modules.Relationships.Application.Relationships.Queries.GetRelationship; -using Backbone.Modules.Relationships.Application.Relationships.Queries.ListChanges; -using Backbone.Modules.Relationships.Application.Relationships.Queries.ListRelationships; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application; +using Backbone.Relationships.Application.Relationships.Commands.AcceptRelationshipChangeRequest; +using Backbone.Relationships.Application.Relationships.Commands.CreateRelationship; +using Backbone.Relationships.Application.Relationships.Commands.RejectRelationshipChangeRequest; +using Backbone.Relationships.Application.Relationships.Commands.RevokeRelationshipChangeRequest; +using Backbone.Relationships.Application.Relationships.DTOs; +using Backbone.Relationships.Application.Relationships.Queries.GetChange; +using Backbone.Relationships.Application.Relationships.Queries.GetRelationship; +using Backbone.Relationships.Application.Relationships.Queries.ListChanges; +using Backbone.Relationships.Application.Relationships.Queries.ListRelationships; +using Backbone.Relationships.Common; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -24,7 +24,7 @@ using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Relationships.ConsumerApi.Controllers; +namespace Backbone.Relationships.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Relationships/src/Relationships.ConsumerApi/RelationshipsModule.cs b/Modules/Relationships/src/Relationships.ConsumerApi/RelationshipsModule.cs index 875a642f4e..6088736578 100644 --- a/Modules/Relationships/src/Relationships.ConsumerApi/RelationshipsModule.cs +++ b/Modules/Relationships/src/Relationships.ConsumerApi/RelationshipsModule.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Relationships.Application; -using Backbone.Modules.Relationships.Application.Extensions; -using Backbone.Modules.Relationships.Infrastructure.Persistence; +using Backbone.Relationships.Application; +using Backbone.Relationships.Application.Extensions; +using Backbone.Relationships.Infrastructure.Persistence; using Backbone.Tooling.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Relationships.ConsumerApi; +namespace Backbone.Relationships.ConsumerApi; public class RelationshipsModule : AbstractModule { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/Relationship.cs b/Modules/Relationships/src/Relationships.Domain/Entities/Relationship.cs index 859c05a00b..f1773e019f 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/Relationship.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/Relationship.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Errors; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Errors; +using Backbone.Relationships.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public class Relationship { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChange.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChange.cs index ef5ef418cb..507afa86da 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChange.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChange.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Errors; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Errors; +using Backbone.Relationships.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public class RelationshipChange { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeLog.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeLog.cs index 4a92db77cd..d82ba7e024 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeLog.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeLog.cs @@ -1,9 +1,9 @@ using System.Collections; using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.Errors; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public interface IRelationshipChangeLog : IEnumerable { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeStatus.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeStatus.cs index 2aa3bb04e2..fbe4797c6f 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeStatus.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeStatus.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public enum RelationshipChangeStatus { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeType.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeType.cs index 9a5d5b3dee..625f9133ee 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeType.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipChangeType.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public enum RelationshipChangeType { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipCreationChange.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipCreationChange.cs index 6d5206eb62..ae732f676e 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipCreationChange.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipCreationChange.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Errors; +using Backbone.Relationships.Domain.Errors; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public class RelationshipCreationChange : RelationshipChange { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipStatus.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipStatus.cs index 77c275b93a..6dff8c03a6 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipStatus.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipStatus.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public enum RelationshipStatus { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplate.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplate.cs index 352cbcedbd..d81371b2ee 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplate.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplate.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Errors; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Errors; +using Backbone.Relationships.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public class RelationshipTemplate { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplateAllocation.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplateAllocation.cs index b4cff981e4..68f5e165b0 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplateAllocation.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTemplateAllocation.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using Backbone.Tooling; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public class RelationshipTemplateAllocation { diff --git a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTerminationChange.cs b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTerminationChange.cs index ee4ac1e487..16dbf99d0e 100644 --- a/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTerminationChange.cs +++ b/Modules/Relationships/src/Relationships.Domain/Entities/RelationshipTerminationChange.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Relationships.Domain.Entities; +namespace Backbone.Relationships.Domain.Entities; public class RelationshipTerminationChange : RelationshipChange { diff --git a/Modules/Relationships/src/Relationships.Domain/Errors/DomainErrors.cs b/Modules/Relationships/src/Relationships.Domain/Errors/DomainErrors.cs index 797eddee83..3aa8e59806 100644 --- a/Modules/Relationships/src/Relationships.Domain/Errors/DomainErrors.cs +++ b/Modules/Relationships/src/Relationships.Domain/Errors/DomainErrors.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Domain.Errors; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Domain.Errors; +namespace Backbone.Relationships.Domain.Errors; public static class DomainErrors { diff --git a/Modules/Relationships/src/Relationships.Domain/Extensions/ChangeHistoryExtensions.cs b/Modules/Relationships/src/Relationships.Domain/Extensions/ChangeHistoryExtensions.cs index 4ace585d5e..6054ece874 100644 --- a/Modules/Relationships/src/Relationships.Domain/Extensions/ChangeHistoryExtensions.cs +++ b/Modules/Relationships/src/Relationships.Domain/Extensions/ChangeHistoryExtensions.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; -namespace Backbone.Modules.Relationships.Domain.Extensions; +namespace Backbone.Relationships.Domain.Extensions; public static class ChangeHistoryExtensions { diff --git a/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipChangeId.cs b/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipChangeId.cs index df1c959e41..064623d442 100644 --- a/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipChangeId.cs +++ b/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipChangeId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Relationships.Domain.Ids; +namespace Backbone.Relationships.Domain.Ids; [Serializable] [TypeConverter(typeof(RelationshipChangeIdTypeConverter))] diff --git a/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipId.cs b/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipId.cs index f299d89c4c..dc63125e83 100644 --- a/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipId.cs +++ b/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Relationships.Domain.Ids; +namespace Backbone.Relationships.Domain.Ids; [Serializable] [TypeConverter(typeof(RelationshipIdTypeConverter))] diff --git a/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipTemplateId.cs b/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipTemplateId.cs index bd336a3064..f76dbe464a 100644 --- a/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipTemplateId.cs +++ b/Modules/Relationships/src/Relationships.Domain/Ids/RelationshipTemplateId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Relationships.Domain.Ids; +namespace Backbone.Relationships.Domain.Ids; [Serializable] [TypeConverter(typeof(RelationshipTemplateIdTypeConverter))] diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/MigrationOperations.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/MigrationOperations.cs index 892f9dd378..7b4c6c62c3 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/MigrationOperations.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/MigrationOperations.cs @@ -1,8 +1,8 @@ using System.Text; -using Backbone.Modules.Relationships.Application.Infrastructure; +using Backbone.Relationships.Application.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; -namespace Backbone.Modules.Relationships.Infrastructure.Database.Postgres; +namespace Backbone.Relationships.Infrastructure.Database.Postgres; public static class MigrationOperations { diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.Designer.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.Designer.cs index 968d6aa3c1..9e90d00e9e 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.Designer.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.cs index 88677facb9..6d6218f836 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/20230208150752_Init.cs @@ -1,4 +1,4 @@ -using Backbone.Modules.Relationships.Infrastructure.Database.Postgres; +using Backbone.Relationships.Infrastructure.Database.Postgres; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/RelationshipsDbContextModelSnapshot.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/RelationshipsDbContextModelSnapshot.cs index d782d75882..01e3e632e3 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/RelationshipsDbContextModelSnapshot.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.Postgres/Migrations/RelationshipsDbContextModelSnapshot.cs @@ -1,10 +1,8 @@ // using System; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/MigrationOperations.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/MigrationOperations.cs index 1cdde3de32..8d75b81921 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/MigrationOperations.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/MigrationOperations.cs @@ -1,8 +1,8 @@ using System.Text; -using Backbone.Modules.Relationships.Application.Infrastructure; +using Backbone.Relationships.Application.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; -namespace Backbone.Modules.Relationships.Infrastructure.Database.SqlServer; +namespace Backbone.Relationships.Infrastructure.Database.SqlServer; public static class MigrationOperations { diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.Designer.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.Designer.cs index 775f44990f..dc3fe9ff3f 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.Designer.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.Designer.cs @@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database; #nullable disable @@ -347,4 +347,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) #pragma warning restore 612, 618 } } -} \ No newline at end of file +} diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.cs index 1852c26c48..59ff7e914f 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/20230206123020_Init.cs @@ -1,4 +1,4 @@ -using Backbone.Modules.Relationships.Infrastructure.Database.SqlServer; +using Backbone.Relationships.Infrastructure.Database.SqlServer; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index 7692315536..5e13106641 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,10 +1,8 @@ // using System; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeEntityType.cs index 8e3d538fe6..fe466f0479 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.ValueGeneration; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeRequestEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeRequestEntityType.cs index bf03482a6a..b5782b2c27 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeRequestEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeRequestEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeResponseEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeResponseEntityType.cs index 0174e07021..6eb0aeaed3 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeResponseEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipChangeResponseEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipCreationChangeEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipCreationChangeEntityType.cs index bcd4f98b7e..67887b57ab 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipCreationChangeEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipCreationChangeEntityType.cs @@ -1,7 +1,7 @@ // using System; using System.Reflection; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs index ef9d8f6461..b3d6326987 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipEntityType.cs @@ -4,9 +4,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateAllocationEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateAllocationEntityType.cs index 637700bce6..b8dab8abea 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateAllocationEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateAllocationEntityType.cs @@ -4,9 +4,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs index fd497fb192..c31bb5cb67 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTemplateEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTerminationChangeEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTerminationChangeEntityType.cs index 692533bb3e..237dfe5ae4 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTerminationChangeEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipTerminationChangeEntityType.cs @@ -1,7 +1,7 @@ // using System; using System.Reflection; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipsDbContextModel.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipsDbContextModel.cs index 04e9f101d4..3e4c6ce97e 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipsDbContextModel.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/Postgres/RelationshipsDbContextModel.cs @@ -1,5 +1,5 @@ // -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeEntityType.cs index b38a92733a..b98c80e75f 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeEntityType.cs @@ -2,9 +2,9 @@ using System; using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.ValueGeneration; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeRequestEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeRequestEntityType.cs index 5b4c56add6..51da27c588 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeRequestEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeRequestEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeResponseEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeResponseEntityType.cs index 5cdcd23ec9..4227d13cdc 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeResponseEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipChangeResponseEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipCreationChangeEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipCreationChangeEntityType.cs index fe98e4392e..811a0d1afa 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipCreationChangeEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipCreationChangeEntityType.cs @@ -1,7 +1,7 @@ // using System; using System.Reflection; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs index 8e7aa47529..a2896f896c 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipEntityType.cs @@ -4,9 +4,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateAllocationEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateAllocationEntityType.cs index 9ca61781c4..780501feca 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateAllocationEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateAllocationEntityType.cs @@ -4,9 +4,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs index 92589c5551..25884f514d 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTemplateEntityType.cs @@ -3,9 +3,9 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTerminationChangeEntityType.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTerminationChangeEntityType.cs index 95d2ef2ad6..0928b7e70c 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTerminationChangeEntityType.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipTerminationChangeEntityType.cs @@ -1,7 +1,7 @@ // using System; using System.Reflection; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipsDbContextModel.cs b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipsDbContextModel.cs index 7221d9b3e5..4df10ee863 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipsDbContextModel.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/CompiledModels/SqlServer/RelationshipsDbContextModel.cs @@ -1,5 +1,5 @@ // -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipChangeQueryableExtensions.cs b/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipChangeQueryableExtensions.cs index 963b26dad3..b31e9b6ec8 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipChangeQueryableExtensions.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipChangeQueryableExtensions.cs @@ -1,9 +1,9 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Common; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Infrastructure.Extensions; +namespace Backbone.Relationships.Infrastructure.Extensions; public static class RelationshipChangeQueryableExtensions { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipQueryableExtensions.cs b/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipQueryableExtensions.cs index 0bd903b5df..5e59bab179 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipQueryableExtensions.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipQueryableExtensions.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Common; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Relationships.Infrastructure.Extensions; +namespace Backbone.Relationships.Infrastructure.Extensions; public static class RelationshipQueryableExtensions { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipTemplateQueryableExtensions.cs b/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipTemplateQueryableExtensions.cs index ab44367a43..bf9aa12a63 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipTemplateQueryableExtensions.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Extensions/RelationshipTemplateQueryableExtensions.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; using Backbone.Tooling; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Relationships.Infrastructure.Extensions; +namespace Backbone.Relationships.Infrastructure.Extensions; public static class RelationshipTemplateQueryableExtensions { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeEntityTypeConfiguration.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeEntityTypeConfiguration.cs index 94c3559685..8f97a99635 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeEntityTypeConfiguration.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; public class RelationshipChangeEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeRequestEntityTypeConfiguration.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeRequestEntityTypeConfiguration.cs index 0501bead4d..3c3a358740 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeRequestEntityTypeConfiguration.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeRequestEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; public class RelationshipChangeRequestEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeResponseEntityTypeConfiguration.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeResponseEntityTypeConfiguration.cs index d5f2591b0b..550ec9d582 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeResponseEntityTypeConfiguration.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipChangeResponseEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; public class RelationshipChangeResponseEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipEntityTypeConfiguration.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipEntityTypeConfiguration.cs index 51334d14a6..9b90f1f44b 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipEntityTypeConfiguration.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; public class RelationshipEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateAllocationEntityTypeConfiguration.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateAllocationEntityTypeConfiguration.cs index 1f457494b2..117d87cd4e 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateAllocationEntityTypeConfiguration.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateAllocationEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; public class RelationshipTemplateAllocationEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateEntityTypeConfiguration.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateEntityTypeConfiguration.cs index 257d152b04..6b16bef2d7 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateEntityTypeConfiguration.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/EntityTypeConfigurations/RelationshipTemplateEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.EntityTypeConfigurations; public class RelationshipTemplateEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs index 31b522e9b5..02bedd6464 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +namespace Backbone.Relationships.Infrastructure.Persistence.Database; public static class IServiceCollectionExtensions { @@ -31,7 +31,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(SQLSERVER_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.SqlServer.RelationshipsDbContextModel.Instance); + }).UseModel(Modules.Relationships.Infrastructure.CompiledModels.SqlServer.RelationshipsDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.DbConnectionString, sqlOptions => @@ -39,7 +39,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(POSTGRES_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.Postgres.RelationshipsDbContextModel.Instance); + }).UseModel(Modules.Relationships.Infrastructure.CompiledModels.Postgres.RelationshipsDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/RelationshipsDbContext.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/RelationshipsDbContext.cs index 2d40e1a255..3aa20d84fa 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/RelationshipsDbContext.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/RelationshipsDbContext.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +namespace Backbone.Relationships.Infrastructure.Persistence.Database; public class RelationshipsDbContext : AbstractDbContextBase { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipTemplatesRepository.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipTemplatesRepository.cs index ecc80baa26..bf818c4fa2 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipTemplatesRepository.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipTemplatesRepository.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Application.Infrastructure; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Extensions; +using Backbone.Relationships.Application.Infrastructure; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Extensions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.Repository; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.Repository; public class RelationshipTemplatesRepository : IRelationshipTemplatesRepository { private readonly DbSet _templates; diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs index 57f4b1aa65..1af448b0dd 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/Repository/RelationshipsRepository.cs @@ -4,18 +4,18 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Application; -using Backbone.Modules.Relationships.Application.Infrastructure; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Common; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Extensions; +using Backbone.Relationships.Application; +using Backbone.Relationships.Application.Infrastructure; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Common; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Extensions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.Repository; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.Repository; public class RelationshipsRepository : IRelationshipsRepository { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipChangeIdEntityFrameworkValueConverter.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipChangeIdEntityFrameworkValueConverter.cs index 39becddaa8..c405e17bd3 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipChangeIdEntityFrameworkValueConverter.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipChangeIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; public class RelationshipChangeIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs index 9b4b381c9d..16b21b4cbc 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; public class RelationshipIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipTemplateIdEntityFrameworkValueConverter.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipTemplateIdEntityFrameworkValueConverter.cs index a344cbdca5..10f1dce93a 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipTemplateIdEntityFrameworkValueConverter.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/Database/ValueConverters/RelationshipTemplateIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Relationships.Infrastructure.Persistence.Database.ValueConverters; public class RelationshipTemplateIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/IServiceCollectionExtensions.cs index 03e692b17f..2146c8b69b 100644 --- a/Modules/Relationships/src/Relationships.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Relationships/src/Relationships.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Relationships.Application.Infrastructure; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database.Repository; +using Backbone.Relationships.Application.Infrastructure; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Infrastructure.Persistence.Database.Repository; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Relationships.Infrastructure.Persistence; +namespace Backbone.Relationships.Infrastructure.Persistence; public static class IServiceCollectionExtensions { @@ -32,6 +32,6 @@ public static void AddPersistence(this IServiceCollection services, PersistenceO public class PersistenceOptions { - public global::Backbone.Modules.Relationships.Infrastructure.Persistence.Database.IServiceCollectionExtensions.DbOptions DbOptions { get; set; } = new(); + public global::Backbone.Relationships.Infrastructure.Persistence.Database.IServiceCollectionExtensions.DbOptions DbOptions { get; set; } = new(); public BlobStorageOptions BlobStorageOptions { get; set; } = new(); } diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Extensions/IConfigurationExtensions.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Extensions/IConfigurationExtensions.cs index 5d6d22553e..8ad79d9201 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Extensions/IConfigurationExtensions.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Extensions/IConfigurationExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Extensions; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Extensions; internal static class IConfigurationExtensions { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/DataSource.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/DataSource.cs index 3710c7c356..f69f81334a 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/DataSource.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/DataSource.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Relationships.Application.Infrastructure; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Application.Infrastructure; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; public class DataSource : IDataSource { @@ -29,6 +29,6 @@ public async Task> GetBlobIdsAsync(CancellationToken cancell public async Task> GetDatabaseIdsAsync(CancellationToken cancellationToken) { - return await _dbContext.SetReadOnly().Select(u => u.Id).ToListAsync(cancellationToken); + return await _dbContext.SetReadOnly().Select(u => u.Id).ToListAsync(cancellationToken); } } diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/IDataSource.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/IDataSource.cs index 8417b761de..d217029b63 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/IDataSource.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/DataSource/IDataSource.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; public interface IDataSource { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/IReporter.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/IReporter.cs index 5e1b3c67b7..d03feb2c0b 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/IReporter.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/IReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; public interface IReporter { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/LogReporter.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/LogReporter.cs index 22ff370b06..ee5e7a4272 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/LogReporter.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/Reporter/LogReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; public class LogReporter : IReporter { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/SanityCheck/SanityCheck.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/SanityCheck/SanityCheck.cs index b88faf4d55..d499a6ca0c 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/SanityCheck/SanityCheck.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Infrastructure/SanityCheck/SanityCheck.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.SanityCheck; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.SanityCheck; public class SanityCheck { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Program.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Program.cs index 6be501597a..253b2d1720 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Program.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Program.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Backbone.Modules.Relationships.Infrastructure.Persistence; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Extensions; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; +using Backbone.Relationships.Infrastructure.Persistence; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Extensions; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange; public class Program { public static void Main(string[] args) diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Worker.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Worker.cs index d5a9e49cbb..e4412cf5b1 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Worker.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipChange/Worker.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipChange; public class Worker : IHostedService { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Extensions/IConfigurationExtensions.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Extensions/IConfigurationExtensions.cs index 22ed05ec17..c53a5ad5a1 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Extensions/IConfigurationExtensions.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Extensions/IConfigurationExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Extensions; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Extensions; internal static class IConfigurationExtensions { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/DataSource.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/DataSource.cs index 4df9ec29e3..e226af1674 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/DataSource.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/DataSource.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Relationships.Application.Infrastructure; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Application.Infrastructure; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; public class DataSource : IDataSource { @@ -29,6 +29,6 @@ public async Task> GetBlobIdsAsync(CancellationToken cancell public async Task> GetDatabaseIdsAsync(CancellationToken cancellationToken) { - return await _dbContext.SetReadOnly().Select(u => u.Id).ToListAsync(cancellationToken); + return await _dbContext.SetReadOnly().Select(u => u.Id).ToListAsync(cancellationToken); } } diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/IDataSource.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/IDataSource.cs index 4a47f71e2b..53c092f0b2 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/IDataSource.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/DataSource/IDataSource.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; public interface IDataSource { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/IReporter.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/IReporter.cs index 063b9d49a2..925cde6081 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/IReporter.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/IReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; public interface IReporter { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/LogReporter.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/LogReporter.cs index 703321386c..dd32ef2545 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/LogReporter.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/Reporter/LogReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Ids; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; public class LogReporter : IReporter { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/SanityCheck/SanityCheck.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/SanityCheck/SanityCheck.cs index 71af5c4859..10f4f3cdeb 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/SanityCheck/SanityCheck.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Infrastructure/SanityCheck/SanityCheck.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.SanityCheck; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.SanityCheck; public class SanityCheck { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Program.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Program.cs index ded4322abc..e5981dd0c5 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Program.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Program.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Backbone.Modules.Relationships.Infrastructure.Persistence; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Extensions; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; +using Backbone.Relationships.Infrastructure.Persistence; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Extensions; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate; public class Program { diff --git a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Worker.cs b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Worker.cs index 7dc871b1f5..58c463f549 100644 --- a/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Worker.cs +++ b/Modules/Relationships/src/Relationships.Jobs.SanityCheck.RelationshipTemplate/Worker.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate; +namespace Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate; public class Worker : IHostedService { diff --git a/Modules/Relationships/test/Relationships.Application.Tests/Extensions/RelationshipTemplateQueryableExtensionsTests.cs b/Modules/Relationships/test/Relationships.Application.Tests/Extensions/RelationshipTemplateQueryableExtensionsTests.cs index 4ded9d5e14..feeaf146f3 100644 --- a/Modules/Relationships/test/Relationships.Application.Tests/Extensions/RelationshipTemplateQueryableExtensionsTests.cs +++ b/Modules/Relationships/test/Relationships.Application.Tests/Extensions/RelationshipTemplateQueryableExtensionsTests.cs @@ -1,12 +1,12 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Infrastructure.Extensions; -using Backbone.Modules.Relationships.Infrastructure.Persistence.Database; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Infrastructure.Extensions; +using Backbone.Relationships.Infrastructure.Persistence.Database; using Backbone.UnitTestTools.TestDoubles.Fakes; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Relationships.Application.Tests.Extensions; +namespace Backbone.Relationships.Application.Tests.Extensions; public class RelationshipTemplateQueryableExtensionsTests { diff --git a/Modules/Relationships/test/Relationships.Application.Tests/TestDataGenerator.cs b/Modules/Relationships/test/Relationships.Application.Tests/TestDataGenerator.cs index de94afd10a..7e2e859a50 100644 --- a/Modules/Relationships/test/Relationships.Application.Tests/TestDataGenerator.cs +++ b/Modules/Relationships/test/Relationships.Application.Tests/TestDataGenerator.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Relationships.Application.Tests; +namespace Backbone.Relationships.Application.Tests; public static class TestDataGenerator { diff --git a/Modules/Relationships/test/Relationships.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs b/Modules/Relationships/test/Relationships.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs index f218900e5b..63996ea91d 100644 --- a/Modules/Relationships/test/Relationships.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs +++ b/Modules/Relationships/test/Relationships.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs @@ -1,8 +1,8 @@ using AutoMapper; -using Backbone.Modules.Relationships.Application.AutoMapper; +using Backbone.Relationships.Application.AutoMapper; using Xunit; -namespace Backbone.Modules.Relationships.Application.Tests.Tests.AutoMapper; +namespace Backbone.Relationships.Application.Tests.Tests.AutoMapper; public class AutoMapperProfileTests { diff --git a/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Commands/CreateRelationshipTemplate/HandlerTests.cs b/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Commands/CreateRelationshipTemplate/HandlerTests.cs index 3ac43f56de..99a16603d7 100644 --- a/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Commands/CreateRelationshipTemplate/HandlerTests.cs +++ b/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Commands/CreateRelationshipTemplate/HandlerTests.cs @@ -2,15 +2,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Relationships.Application.IntegrationEvents; -using Backbone.Modules.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Application.Infrastructure.Persistence.Repository; +using Backbone.Relationships.Application.IntegrationEvents; +using Backbone.Relationships.Application.RelationshipTemplates.Commands.CreateRelationshipTemplate; +using Backbone.Relationships.Domain.Entities; using FakeItEasy; using FluentAssertions.Execution; using Xunit; -namespace Backbone.Modules.Relationships.Application.Tests.Tests.RelationshipTemplates.Commands.CreateRelationshipTemplate; +namespace Backbone.Relationships.Application.Tests.Tests.RelationshipTemplates.Commands.CreateRelationshipTemplate; public class HandlerTests { private readonly IUserContext _userContext; diff --git a/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidatorTests.cs b/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidatorTests.cs index ecb2593f61..e545c9f051 100644 --- a/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidatorTests.cs +++ b/Modules/Relationships/test/Relationships.Application.Tests/Tests/RelationshipTemplates/Queries/ListRelationshipTemplates/ListRelationshipTemplatesValidatorTests.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application.RelationshipTemplates.Queries.ListRelationshipTemplates; +using Backbone.Relationships.Domain.Ids; using FluentAssertions; using FluentValidation.TestHelper; using Xunit; -namespace Backbone.Modules.Relationships.Application.Tests.Tests.RelationshipTemplates.Queries.ListRelationshipTemplates; +namespace Backbone.Relationships.Application.Tests.Tests.RelationshipTemplates.Queries.ListRelationshipTemplates; public class ListRelationshipTemplatesValidatorTests { diff --git a/Modules/Relationships/test/Relationships.Application.Tests/Tests/Relationships/Queries/ListRelationshipsValidatorTests.cs b/Modules/Relationships/test/Relationships.Application.Tests/Tests/Relationships/Queries/ListRelationshipsValidatorTests.cs index 90eba23f3d..e081c11039 100644 --- a/Modules/Relationships/test/Relationships.Application.Tests/Tests/Relationships/Queries/ListRelationshipsValidatorTests.cs +++ b/Modules/Relationships/test/Relationships.Application.Tests/Tests/Relationships/Queries/ListRelationshipsValidatorTests.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Relationships.Application.Relationships.Queries.ListRelationships; -using Backbone.Modules.Relationships.Domain.Ids; +using Backbone.Relationships.Application.Relationships.Queries.ListRelationships; +using Backbone.Relationships.Domain.Ids; using FluentAssertions; using FluentValidation.TestHelper; using Xunit; -namespace Backbone.Modules.Relationships.Application.Tests.Tests.Relationships.Queries; +namespace Backbone.Relationships.Application.Tests.Tests.Relationships.Queries; public class ListRelationshipsValidatorTests { diff --git a/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/ExceptionAssertionsExtensions.cs b/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/ExceptionAssertionsExtensions.cs index 7cdd503209..c9933c2115 100644 --- a/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/ExceptionAssertionsExtensions.cs +++ b/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/ExceptionAssertionsExtensions.cs @@ -3,7 +3,7 @@ using FluentAssertions; using FluentAssertions.Specialized; -namespace Backbone.Modules.Relationships.Domain.Tests.Extensions; +namespace Backbone.Relationships.Domain.Tests.Extensions; public static class ExceptionAssertionsExtensions { diff --git a/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/IChangeLogExtensions.cs b/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/IChangeLogExtensions.cs index bfc177d3e7..0bf22e946b 100644 --- a/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/IChangeLogExtensions.cs +++ b/Modules/Relationships/test/Relationships.Domain.Tests/Extensions/IChangeLogExtensions.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Entities; -namespace Backbone.Modules.Relationships.Domain.Tests.Extensions; +namespace Backbone.Relationships.Domain.Tests.Extensions; public static class IChangeLogExtensions { diff --git a/Modules/Relationships/test/Relationships.Domain.Tests/Tests/RelationshipTests.cs b/Modules/Relationships/test/Relationships.Domain.Tests/Tests/RelationshipTests.cs index 580ba6fe3a..6ffdd18bf2 100644 --- a/Modules/Relationships/test/Relationships.Domain.Tests/Tests/RelationshipTests.cs +++ b/Modules/Relationships/test/Relationships.Domain.Tests/Tests/RelationshipTests.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.Errors; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Relationships.Domain.Entities; -using Backbone.Modules.Relationships.Domain.Errors; -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Domain.Tests.Extensions; +using Backbone.Relationships.Domain.Entities; +using Backbone.Relationships.Domain.Errors; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Domain.Tests.Extensions; using Backbone.Tooling; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Relationships.Domain.Tests.Tests; +namespace Backbone.Relationships.Domain.Tests.Tests; public class RelationshipTests { diff --git a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipChange.cs b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipChange.cs index 59c859087c..8fe8911242 100644 --- a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipChange.cs +++ b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipChange.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.DataSource; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +namespace Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; public class FakeDataSourceRelationshipChange : IDataSource { diff --git a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipTemplate.cs b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipTemplate.cs index 20420f9f61..eb205fabb9 100644 --- a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipTemplate.cs +++ b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSourceRelationshipTemplate.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.DataSource; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +namespace Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; public class FakeDataSourceRelationshipTemplate : IDataSource { diff --git a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipChange.cs b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipChange.cs index ae77ba3f09..8af7bf7bcf 100644 --- a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipChange.cs +++ b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipChange.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.Reporter; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +namespace Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; public class TestReporterRelationshipChange : IReporter { diff --git a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipTemplate.cs b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipTemplate.cs index f5c44dc6d3..240f039e83 100644 --- a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipTemplate.cs +++ b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporterRelationshipTemplate.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.Reporter; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +namespace Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; public class TestReporterRelationshipTemplate : IReporter { diff --git a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipChange.cs b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipChange.cs index c168e4b83f..10ee53b3db 100644 --- a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipChange.cs +++ b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipChange.cs @@ -1,10 +1,10 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Tests; +namespace Backbone.Relationships.Jobs.SanityCheck.Tests.Tests; public class SanityCheckTestsRelationshipChange { @@ -13,13 +13,13 @@ public class SanityCheckTestsRelationshipChange private readonly FakeDataSourceRelationshipChange _dataSource; private readonly TestReporterRelationshipChange _reporter; - private readonly Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.SanityCheck.SanityCheck _sanityCheck; + private readonly RelationshipChange.Infrastructure.SanityCheck.SanityCheck _sanityCheck; public SanityCheckTestsRelationshipChange() { _dataSource = new FakeDataSourceRelationshipChange(); _reporter = new TestReporterRelationshipChange(); - _sanityCheck = new Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipChange.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); + _sanityCheck = new RelationshipChange.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); } [Fact] diff --git a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipTemplate.cs b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipTemplate.cs index 0e0ce3e2db..b7a7c95f16 100644 --- a/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipTemplate.cs +++ b/Modules/Relationships/test/Relationships.Jobs.SanityCheck.Tests/Tests/SanityCheckTestsRelationshipTemplate.cs @@ -1,22 +1,22 @@ -using Backbone.Modules.Relationships.Domain.Ids; -using Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; -using Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +using Backbone.Relationships.Domain.Ids; +using Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +using Backbone.Relationships.Jobs.SanityCheck.Tests.Infrastructure.Reporter; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Relationships.Jobs.SanityCheck.Tests.Tests; +namespace Backbone.Relationships.Jobs.SanityCheck.Tests.Tests; public class SanityCheckTestsRelationshipTemplate { private readonly FakeDataSourceRelationshipTemplate _dataSource; private readonly TestReporterRelationshipTemplate _reporter; - private readonly Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.SanityCheck.SanityCheck _sanityCheck; + private readonly RelationshipTemplate.Infrastructure.SanityCheck.SanityCheck _sanityCheck; public SanityCheckTestsRelationshipTemplate() { _dataSource = new FakeDataSourceRelationshipTemplate(); _reporter = new TestReporterRelationshipTemplate(); - _sanityCheck = new Backbone.Modules.Relationships.Jobs.SanityCheck.RelationshipTemplate.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); + _sanityCheck = new RelationshipTemplate.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); } [Fact] diff --git a/Modules/Synchronization/src/Synchronization.Application/ApplicationErrors.cs b/Modules/Synchronization/src/Synchronization.Application/ApplicationErrors.cs index 8cbe851d7c..3a7ac94bc5 100644 --- a/Modules/Synchronization/src/Synchronization.Application/ApplicationErrors.cs +++ b/Modules/Synchronization/src/Synchronization.Application/ApplicationErrors.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application; +namespace Backbone.Synchronization.Application; public static class ApplicationErrors { diff --git a/Modules/Synchronization/src/Synchronization.Application/ApplicationOptions.cs b/Modules/Synchronization/src/Synchronization.Application/ApplicationOptions.cs index 8ee3d85e49..53304b9ff6 100644 --- a/Modules/Synchronization/src/Synchronization.Application/ApplicationOptions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/ApplicationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Synchronization.Application; +namespace Backbone.Synchronization.Application; public class ApplicationOptions { diff --git a/Modules/Synchronization/src/Synchronization.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Synchronization/src/Synchronization.Application/AutoMapper/AutoMapperProfile.cs index 8e55036c21..adc0c8d83e 100644 --- a/Modules/Synchronization/src/Synchronization.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Synchronization/src/Synchronization.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Synchronization.Application.AutoMapper; +namespace Backbone.Synchronization.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/Handler.cs index 0d960254cf..12ffe40b1f 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/Handler.cs @@ -6,16 +6,16 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.BuildingBlocks.Application.Extensions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.IntegrationEvents.Outgoing; +using Backbone.Synchronization.Domain.Entities; using MediatR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -using static Backbone.Modules.Synchronization.Domain.Entities.Datawallet; +using static Backbone.Synchronization.Domain.Entities.Datawallet; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +namespace Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; public class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommand.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommand.cs index 82825a6033..64f9ac05b2 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommand.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommand.cs @@ -1,8 +1,8 @@ using System.Text.Json.Serialization; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; using MediatR; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +namespace Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; public class PushDatawalletModificationsCommand : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidator.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidator.cs index d4eaa92dad..f678979fb0 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidator.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidator.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; using FluentValidation; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +namespace Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; // ReSharper disable once UnusedMember.Global public class PushDatawalletModificationsCommandValidator : AbstractValidator diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsResponse.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsResponse.cs index c50ce62bfd..e44a694313 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Commands/PushDatawalletModifications/PushDatawalletModificationsResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +namespace Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; public class PushDatawalletModificationsResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/CreatedDatawalletModificationDTO.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/CreatedDatawalletModificationDTO.cs index ab4e64ee6c..750edc4bdd 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/CreatedDatawalletModificationDTO.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/CreatedDatawalletModificationDTO.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +namespace Backbone.Synchronization.Application.Datawallets.DTOs; public class CreatedDatawalletModificationDTO : IMapTo { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletDTO.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletDTO.cs index 920a7997e6..3291e36497 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletDTO.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletDTO.cs @@ -1,8 +1,8 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +namespace Backbone.Synchronization.Application.Datawallets.DTOs; public class DatawalletDTO : IHaveCustomMapping { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletModificationDTO.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletModificationDTO.cs index 97019b75ce..5f9d6d7bb8 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletModificationDTO.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/DatawalletModificationDTO.cs @@ -2,9 +2,9 @@ using AutoMapper.Extensions.EnumMapping; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +namespace Backbone.Synchronization.Application.Datawallets.DTOs; public class DatawalletModificationDTO : IHaveCustomMapping { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/PushDatawalletModificationItem.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/PushDatawalletModificationItem.cs index c09525c7cf..d4a9021cc1 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/PushDatawalletModificationItem.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/DTOs/PushDatawalletModificationItem.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.FluentValidation; using FluentValidation; -namespace Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +namespace Backbone.Synchronization.Application.Datawallets.DTOs; public class PushDatawalletModificationItem { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/GetDatawalletQuery.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/GetDatawalletQuery.cs index fe710ac3e3..d94f9eb245 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/GetDatawalletQuery.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/GetDatawalletQuery.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; using MediatR; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetDatawallet; +namespace Backbone.Synchronization.Application.Datawallets.Queries.GetDatawallet; public class GetDatawalletQuery : IRequest { } diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/Handler.cs index 9abb688b92..842bb2b233 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetDatawallet/Handler.cs @@ -2,12 +2,12 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Domain.Entities; using MediatR; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetDatawallet; +namespace Backbone.Synchronization.Application.Datawallets.Queries.GetDatawallet; internal class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsQuery.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsQuery.cs index f15aac4352..c24216c0c6 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsQuery.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsQuery.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.Pagination; using MediatR; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetModifications; +namespace Backbone.Synchronization.Application.Datawallets.Queries.GetModifications; public class GetModificationsQuery : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsResponse.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsResponse.cs index 243e7a8aee..880166459d 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/GetModificationsResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetModifications; +namespace Backbone.Synchronization.Application.Datawallets.Queries.GetModifications; public class GetModificationsResponse : PagedResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/Handler.cs index ee1ea27ec7..b4a4870234 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Datawallets/Queries/GetModifications/Handler.cs @@ -4,14 +4,14 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Domain.Entities; using Backbone.Tooling.Extensions; using MediatR; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetModifications; +namespace Backbone.Synchronization.Application.Datawallets.Queries.GetModifications; public class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletModificationsQueryableExtensions.cs b/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletModificationsQueryableExtensions.cs index 1958874aa8..33e837d3a6 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletModificationsQueryableExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletModificationsQueryableExtensions.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Application.Extensions; +namespace Backbone.Synchronization.Application.Extensions; public static class DatawalletModificationsQueryableExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletQueryableExtensions.cs b/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletQueryableExtensions.cs index 0bf13bebef..4b9f2b7c14 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletQueryableExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Extensions/DatawalletQueryableExtensions.cs @@ -1,8 +1,8 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Synchronization.Application.Extensions; +namespace Backbone.Synchronization.Application.Extensions; public static class DatawalletQueryableExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Extensions/ExternalEventsQueryableExtensions.cs b/Modules/Synchronization/src/Synchronization.Application/Extensions/ExternalEventsQueryableExtensions.cs index 9cbaaf7630..dd7425c3cf 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Extensions/ExternalEventsQueryableExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Extensions/ExternalEventsQueryableExtensions.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.Extensions; +namespace Backbone.Synchronization.Application.Extensions; public static class ExternalEventsQueryableExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Extensions/IEventBusExtensions.cs b/Modules/Synchronization/src/Synchronization.Application/Extensions/IEventBusExtensions.cs index b8e5d892b5..044843776d 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Extensions/IEventBusExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Extensions/IEventBusExtensions.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.MessageCreated; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; +using Backbone.Synchronization.Application.IntegrationEvents.Incoming.MessageCreated; +using Backbone.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; +using Backbone.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; -namespace Backbone.Modules.Synchronization.Application.Extensions; +namespace Backbone.Synchronization.Application.Extensions; public static class IEventBusExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Synchronization/src/Synchronization.Application/Extensions/IServiceCollectionExtensions.cs index 2b0f6b134d..89dbe889e3 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Extensions/IServiceCollectionExtensions.cs @@ -2,14 +2,14 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Synchronization.Application.AutoMapper; -using Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +using Backbone.Synchronization.Application.AutoMapper; +using Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; using FluentValidation; using MediatR; using Microsoft.Extensions.DependencyInjection; using ValidationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ValidationException; -namespace Backbone.Modules.Synchronization.Application.Extensions; +namespace Backbone.Synchronization.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Extensions/SyncRunsQueryableExtensions.cs b/Modules/Synchronization/src/Synchronization.Application/Extensions/SyncRunsQueryableExtensions.cs index 58f868c25b..72965c8100 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Extensions/SyncRunsQueryableExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Extensions/SyncRunsQueryableExtensions.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Synchronization.Application.Extensions; +namespace Backbone.Synchronization.Application.Extensions; public static class SyncRunsQueryableExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Infrastructure/BlobOptions.cs b/Modules/Synchronization/src/Synchronization.Application/Infrastructure/BlobOptions.cs index 1370d4d6b7..3530a582e9 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Infrastructure/BlobOptions.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Infrastructure/BlobOptions.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Application.Infrastructure; +namespace Backbone.Synchronization.Application.Infrastructure; public class BlobOptions { diff --git a/Modules/Synchronization/src/Synchronization.Application/Infrastructure/DbErrorCodes.cs b/Modules/Synchronization/src/Synchronization.Application/Infrastructure/DbErrorCodes.cs index 11e5d9db49..a4a73719a0 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Infrastructure/DbErrorCodes.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Infrastructure/DbErrorCodes.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Application.Infrastructure; +namespace Backbone.Synchronization.Application.Infrastructure; public static class DbErrorCodes { diff --git a/Modules/Synchronization/src/Synchronization.Application/Infrastructure/ISynchronizationDbContext.cs b/Modules/Synchronization/src/Synchronization.Application/Infrastructure/ISynchronizationDbContext.cs index 4c957fd6a1..7061de19cc 100644 --- a/Modules/Synchronization/src/Synchronization.Application/Infrastructure/ISynchronizationDbContext.cs +++ b/Modules/Synchronization/src/Synchronization.Application/Infrastructure/ISynchronizationDbContext.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.Infrastructure; +namespace Backbone.Synchronization.Application.Infrastructure; public interface ISynchronizationDbContext : IDbContext { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs index d6f3932b0c..12ad5f94f3 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.MessageCreated; +namespace Backbone.Synchronization.Application.IntegrationEvents.Incoming.MessageCreated; public class MessageCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs index e885e047d5..474dcc5895 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/MessageCreated/MessageCreatedIntegrationEventHandler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.IntegrationEvents.Outgoing; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.MessageCreated; +namespace Backbone.Synchronization.Application.IntegrationEvents.Incoming.MessageCreated; public class MessageCreatedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs index 2abd796da8..61849fce7c 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; +namespace Backbone.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; public class RelationshipChangeCompletedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs index 6e88a4a741..48dc80907c 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCompleted/RelationshipChangeCompletedIntegrationEventHandler.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.IntegrationEvents.Outgoing; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; +namespace Backbone.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCompleted; public class RelationshipChangeCompletedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs index 3f1d4eb710..ec696bd409 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEvent.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; +namespace Backbone.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; public class RelationshipChangeCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs index fd6a1b1839..8b0a563e6c 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Incoming/RelationshipChangeCreated/RelationshipChangeCreatedIntegrationEventHandler.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.IntegrationEvents.Outgoing; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.Extensions.Logging; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; +namespace Backbone.Synchronization.Application.IntegrationEvents.Incoming.RelationshipChangeCreated; public class RelationshipChangeCreatedIntegrationEventHandler : IIntegrationEventHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/DatawalletModifiedIntegrationEvent.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/DatawalletModifiedIntegrationEvent.cs index 1499eda8db..c8a1bab013 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/DatawalletModifiedIntegrationEvent.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/DatawalletModifiedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; +namespace Backbone.Synchronization.Application.IntegrationEvents.Outgoing; public class DatawalletModifiedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/ExternalEventCreatedIntegrationEvent.cs b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/ExternalEventCreatedIntegrationEvent.cs index fabf95c6fe..8bb8dfc6ac 100644 --- a/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/ExternalEventCreatedIntegrationEvent.cs +++ b/Modules/Synchronization/src/Synchronization.Application/IntegrationEvents/Outgoing/ExternalEventCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; +namespace Backbone.Synchronization.Application.IntegrationEvents.Outgoing; public class ExternalEventCreatedIntegrationEvent : IntegrationEvent { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommand.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommand.cs index 205157266c..ee68e1b57a 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommand.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommand.cs @@ -1,9 +1,9 @@ using System.Text.Json.Serialization; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; public class FinalizeDatawalletVersionUpgradeSyncRunCommand : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommandValidator.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommandValidator.cs index 53359f6b72..c860db8c28 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommandValidator.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunCommandValidator.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; using FluentValidation; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; // ReSharper disable once UnusedMember.Global public class FinalizeDatawalletVersionUpgradeSyncRunCommandValidator : AbstractValidator diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunResponse.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunResponse.cs index 66a08e6cb6..68a53e9116 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeDatawalletVersionUpgradeSyncRunResponse.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; public class FinalizeDatawalletVersionUpgradeSyncRunResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommand.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommand.cs index 942e7ab9de..6a4a3e820b 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommand.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommand.cs @@ -1,10 +1,10 @@ using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; public class FinalizeExternalEventSyncSyncRunCommand : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommandValidator.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommandValidator.cs index d625a04b91..b3b483ad4a 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommandValidator.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunCommandValidator.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.FluentValidation; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; using FluentValidation; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; // ReSharper disable once UnusedMember.Global public class FinalizeExternalEventSyncSyncRunCommandValidator : AbstractValidator diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunResponse.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunResponse.cs index cd3b33a00a..761680547b 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/FinalizeExternalEventSyncSyncRunResponse.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.DTOs; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; public class FinalizeExternalEventSyncSyncRunResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/Handler.cs index 27d32c0867..35a6d751bc 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/FinalizeSyncRun/Handler.cs @@ -5,16 +5,16 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.IntegrationEvents.Outgoing; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.IntegrationEvents.Outgoing; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; public class Handler : IRequestHandler, IRequestHandler diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/Handler.cs index 2eaea83105..f1fcb051d6 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/Handler.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; public class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunCommand.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunCommand.cs index 5faf08256e..0b194f51cb 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunCommand.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunCommand.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; public class RefreshExpirationTimeOfSyncRunCommand : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunResponse.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunResponse.cs index 183ac42d3d..3885e5c2b0 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/RefreshExpirationTimeOfSyncRunResponse.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; public class RefreshExpirationTimeOfSyncRunResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/Handler.cs index 956d8414e5..5592c2d2fe 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/Handler.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.BuildingBlocks.Application.Extensions; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; using Microsoft.EntityFrameworkCore; -using static Backbone.Modules.Synchronization.Domain.Entities.Datawallet; +using static Backbone.Synchronization.Domain.Entities.Datawallet; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; public class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommand.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommand.cs index 683d94813f..e78298b3d5 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommand.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommand.cs @@ -1,8 +1,8 @@ using System.Text.Json.Serialization; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.SyncRuns.DTOs; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; public class StartSyncRunCommand : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidator.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidator.cs index 8df4fe9fba..9d9e66681b 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidator.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidator.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using FluentValidation; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; internal class StartSyncRunCommandValidator : AbstractValidator { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunResponse.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunResponse.cs index 286c436352..f8f85d58e9 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Commands/StartSyncRun/StartSyncRunResponse.cs @@ -1,7 +1,7 @@ using System.Text.Json.Serialization; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.SyncRuns.DTOs; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; public class StartSyncRunResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/ExternalEventDTO.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/ExternalEventDTO.cs index ca43cefc90..cdecb294a3 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/ExternalEventDTO.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/ExternalEventDTO.cs @@ -1,8 +1,8 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +namespace Backbone.Synchronization.Application.SyncRuns.DTOs; public class ExternalEventDTO : IHaveCustomMapping { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/SyncRunDTO.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/SyncRunDTO.cs index 3cbc303e77..055e74c9b1 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/SyncRunDTO.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/DTOs/SyncRunDTO.cs @@ -2,9 +2,9 @@ using AutoMapper.Extensions.EnumMapping; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +namespace Backbone.Synchronization.Application.SyncRuns.DTOs; public class SyncRunDTO : IHaveCustomMapping { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunQuery.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunQuery.cs index ac94d567d6..704fc86227 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunQuery.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunQuery.cs @@ -1,9 +1,9 @@ using System.Text.Json.Serialization; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; public class GetExternalEventsOfSyncRunQuery : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunResponse.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunResponse.cs index dda7815cad..c858770783 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunResponse.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/GetExternalEventsOfSyncRunResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.SyncRuns.DTOs; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; public class GetExternalEventsOfSyncRunResponse : PagedResponse { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/Handler.cs index 5b040820b7..89bba5b9d4 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetExternalEventsOfSyncRun/Handler.cs @@ -2,11 +2,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.SyncRuns.DTOs; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; +namespace Backbone.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; public class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/GetSyncRunByIdQuery.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/GetSyncRunByIdQuery.cs index 50f52fa315..945200d23b 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/GetSyncRunByIdQuery.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/GetSyncRunByIdQuery.cs @@ -1,9 +1,9 @@ using System.Text.Json.Serialization; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetSyncRunById; +namespace Backbone.Synchronization.Application.SyncRuns.Queries.GetSyncRunById; public class GetSyncRunByIdQuery : IRequest { diff --git a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/Handler.cs b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/Handler.cs index 6ef4e5e0c1..8f344f3046 100644 --- a/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/Handler.cs +++ b/Modules/Synchronization/src/Synchronization.Application/SyncRuns/Queries/GetSyncRunById/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.SyncRuns.DTOs; using MediatR; -namespace Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetSyncRunById; +namespace Backbone.Synchronization.Application.SyncRuns.Queries.GetSyncRunById; public class Handler : IRequestHandler { diff --git a/Modules/Synchronization/src/Synchronization.ConsumerApi/Configuration.cs b/Modules/Synchronization/src/Synchronization.ConsumerApi/Configuration.cs index 4a64fedf97..4f247e06ba 100644 --- a/Modules/Synchronization/src/Synchronization.ConsumerApi/Configuration.cs +++ b/Modules/Synchronization/src/Synchronization.ConsumerApi/Configuration.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Synchronization.Application; +using Backbone.Synchronization.Application; -namespace Backbone.Modules.Synchronization.ConsumerApi; +namespace Backbone.Synchronization.ConsumerApi; public class Configuration { diff --git a/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/DatawalletController.cs b/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/DatawalletController.cs index 987e13557c..76d4df8682 100644 --- a/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/DatawalletController.cs +++ b/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/DatawalletController.cs @@ -3,11 +3,11 @@ using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Synchronization.Application; -using Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetDatawallet; -using Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetModifications; +using Backbone.Synchronization.Application; +using Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.Queries.GetDatawallet; +using Backbone.Synchronization.Application.Datawallets.Queries.GetModifications; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -15,7 +15,7 @@ using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Synchronization.ConsumerApi.Controllers; +namespace Backbone.Synchronization.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/SyncRunsController.cs b/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/SyncRunsController.cs index 5745b8f21d..1cdc74f081 100644 --- a/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/SyncRunsController.cs +++ b/Modules/Synchronization/src/Synchronization.ConsumerApi/Controllers/SyncRunsController.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Synchronization.Application; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; -using Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; -using Backbone.Modules.Synchronization.Application.SyncRuns.Queries.GetSyncRunById; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Application; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +using Backbone.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; +using Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +using Backbone.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.SyncRuns.Queries.GetExternalEventsOfSyncRun; +using Backbone.Synchronization.Application.SyncRuns.Queries.GetSyncRunById; +using Backbone.Synchronization.Domain.Entities.Sync; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -19,7 +19,7 @@ using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Synchronization.ConsumerApi.Controllers; +namespace Backbone.Synchronization.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Synchronization/src/Synchronization.ConsumerApi/SynchronizationModule.cs b/Modules/Synchronization/src/Synchronization.ConsumerApi/SynchronizationModule.cs index 588ed88ac3..3c75bcc5a6 100644 --- a/Modules/Synchronization/src/Synchronization.ConsumerApi/SynchronizationModule.cs +++ b/Modules/Synchronization/src/Synchronization.ConsumerApi/SynchronizationModule.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Synchronization.Application; -using Backbone.Modules.Synchronization.Application.Extensions; -using Backbone.Modules.Synchronization.Infrastructure.Persistence; +using Backbone.Synchronization.Application; +using Backbone.Synchronization.Application.Extensions; +using Backbone.Synchronization.Infrastructure.Persistence; using Backbone.Tooling.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Synchronization.ConsumerApi; +namespace Backbone.Synchronization.ConsumerApi; public class SynchronizationModule : AbstractModule { diff --git a/Modules/Synchronization/src/Synchronization.Domain/DomainErrors.cs b/Modules/Synchronization/src/Synchronization.Domain/DomainErrors.cs index 67cd1ce896..538b2c3789 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/DomainErrors.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/DomainErrors.cs @@ -1,6 +1,6 @@ using Backbone.BuildingBlocks.Domain.Errors; -namespace Backbone.Modules.Synchronization.Domain; +namespace Backbone.Synchronization.Domain; public static class DomainErrors { public static class Datawallet diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Datawallet.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Datawallet.cs index bea43812e5..dfe97f4cbd 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Datawallet.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Datawallet.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Synchronization.Domain.Entities; +namespace Backbone.Synchronization.Domain.Entities; public class Datawallet { diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletId.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletId.cs index d9628311e8..297013930f 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletId.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Synchronization.Domain.Entities; +namespace Backbone.Synchronization.Domain.Entities; [Serializable] [TypeConverter(typeof(DatawalletIdTypeConverter))] diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModification.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModification.cs index 18cdd9530a..000da694b2 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModification.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModification.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Synchronization.Domain.Entities; +namespace Backbone.Synchronization.Domain.Entities; public class DatawalletModification { diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModificationId.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModificationId.cs index 02fe2247e6..84db1eee20 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModificationId.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/DatawalletModificationId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Synchronization.Domain.Entities; +namespace Backbone.Synchronization.Domain.Entities; [Serializable] [TypeConverter(typeof(DatawalletModificationIdTypeConverter))] diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEvent.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEvent.cs index f2fb26fbb0..c7a797323e 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEvent.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEvent.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Synchronization.Domain.Entities.Sync; +namespace Backbone.Synchronization.Domain.Entities.Sync; public class ExternalEvent { diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEventId.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEventId.cs index 122639b93f..5fa6bdff53 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEventId.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/ExternalEventId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Synchronization.Domain.Entities.Sync; +namespace Backbone.Synchronization.Domain.Entities.Sync; [Serializable] [TypeConverter(typeof(ExternalEventIdTypeConverter))] diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncError.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncError.cs index 19a641b50f..0eba89b120 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncError.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncError.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Domain.Entities.Sync; +namespace Backbone.Synchronization.Domain.Entities.Sync; public class SyncError { diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncErrorId.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncErrorId.cs index 0343ed66a5..5d9b649ff9 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncErrorId.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncErrorId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Synchronization.Domain.Entities.Sync; +namespace Backbone.Synchronization.Domain.Entities.Sync; [Serializable] [TypeConverter(typeof(SyncErrorIdTypeConverter))] diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRun.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRun.cs index 25a143694a..ceb0275d55 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRun.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRun.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Synchronization.Domain.Entities.Sync; +namespace Backbone.Synchronization.Domain.Entities.Sync; public class SyncRun { diff --git a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRunId.cs b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRunId.cs index e472a9a09a..9eedf81750 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRunId.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/Entities/Sync/SyncRunId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Synchronization.Domain.Entities.Sync; +namespace Backbone.Synchronization.Domain.Entities.Sync; [Serializable] [TypeConverter(typeof(SyncRunIdTypeConverter))] diff --git a/Modules/Synchronization/src/Synchronization.Domain/SimpleValueObject.cs b/Modules/Synchronization/src/Synchronization.Domain/SimpleValueObject.cs index 35778b9af3..9af3d94f3c 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/SimpleValueObject.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/SimpleValueObject.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Domain; +namespace Backbone.Synchronization.Domain; [Serializable] public abstract class SimpleValueObject : ValueObject diff --git a/Modules/Synchronization/src/Synchronization.Domain/ValueObject.cs b/Modules/Synchronization/src/Synchronization.Domain/ValueObject.cs index f181408e72..2f8679ec42 100644 --- a/Modules/Synchronization/src/Synchronization.Domain/ValueObject.cs +++ b/Modules/Synchronization/src/Synchronization.Domain/ValueObject.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Domain; +namespace Backbone.Synchronization.Domain; [Serializable] public abstract class ValueObject : IComparable, IComparable diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20230208155957_Init.Designer.cs b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20230208155957_Init.Designer.cs index ee4de82b47..c713a4c1f2 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20230208155957_Init.Designer.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20230208155957_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20231004081756_AddBlobReferencePropertyToDatawalletModification.Designer.cs b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20231004081756_AddBlobReferencePropertyToDatawalletModification.Designer.cs index 11005fa517..80c5708012 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20231004081756_AddBlobReferencePropertyToDatawalletModification.Designer.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/20231004081756_AddBlobReferencePropertyToDatawalletModification.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/SynchronizationDbContextModelSnapshot.cs b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/SynchronizationDbContextModelSnapshot.cs index befce1c1e7..18c14a3a2b 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/SynchronizationDbContextModelSnapshot.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.Postgres/Migrations/SynchronizationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20220929134820_Init.Designer.cs b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20220929134820_Init.Designer.cs index 45c69e7bcb..97b2a2a755 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20220929134820_Init.Designer.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20220929134820_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20231004081751_AddBlobReferencePropertyToDatawalletModification.Designer.cs b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20231004081751_AddBlobReferencePropertyToDatawalletModification.Designer.cs index 0f58af41cc..7abbe0cd95 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20231004081751_AddBlobReferencePropertyToDatawalletModification.Designer.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/20231004081751_AddBlobReferencePropertyToDatawalletModification.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index 0cb5ab95fb..cc3174b211 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletEntityType.cs index c1812d01b5..9f1f321894 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletEntityType.cs @@ -3,8 +3,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletModificationEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletModificationEntityType.cs index 131ecda0a1..7f7018d111 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletModificationEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/DatawalletModificationEntityType.cs @@ -4,8 +4,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/ExternalEventEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/ExternalEventEntityType.cs index 0edd19f5b9..15ccdca7f0 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/ExternalEventEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/ExternalEventEntityType.cs @@ -4,8 +4,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncErrorEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncErrorEntityType.cs index aee83a5436..b1d6c7d454 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncErrorEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncErrorEntityType.cs @@ -2,8 +2,8 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncRunEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncRunEntityType.cs index b98178e586..fdb136cd60 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncRunEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SyncRunEntityType.cs @@ -3,8 +3,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SynchronizationDbContextModel.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SynchronizationDbContextModel.cs index fd57ad1f32..6fc79c7fa4 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SynchronizationDbContextModel.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/Postgres/SynchronizationDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; + +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletEntityType.cs index 4cfabf79ff..d7ffe0636e 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletEntityType.cs @@ -3,8 +3,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletModificationEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletModificationEntityType.cs index 355de98f80..8330b39cf2 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletModificationEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/DatawalletModificationEntityType.cs @@ -4,8 +4,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/ExternalEventEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/ExternalEventEntityType.cs index 4f03f2e1f3..e3611982b9 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/ExternalEventEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/ExternalEventEntityType.cs @@ -4,8 +4,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncErrorEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncErrorEntityType.cs index ebee83f214..da99b1d725 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncErrorEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncErrorEntityType.cs @@ -2,8 +2,8 @@ using System; using System.Collections.Generic; using System.Reflection; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncRunEntityType.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncRunEntityType.cs index 30d9ea4ae5..d361bb01ee 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncRunEntityType.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SyncRunEntityType.cs @@ -3,8 +3,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SynchronizationDbContextModel.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SynchronizationDbContextModel.cs index 2f64308b01..8fda8107a9 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SynchronizationDbContextModel.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/CompiledModels/SqlServer/SynchronizationDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; + +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletEntityTypeConfiguration.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletEntityTypeConfiguration.cs index eed1262325..5eb36fce55 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletEntityTypeConfiguration.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.Configurations; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.Configurations; public class DatawalletEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletModificationEntityTypeConfiguration.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletModificationEntityTypeConfiguration.cs index b96405250f..7e5c34139e 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletModificationEntityTypeConfiguration.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/DatawalletModificationEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.Configurations; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.Configurations; public class DatawalletModificationEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/ExternalEventEntityTypeConfiguration.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/ExternalEventEntityTypeConfiguration.cs index 1dcd00e106..6c8dad9777 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/ExternalEventEntityTypeConfiguration.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/ExternalEventEntityTypeConfiguration.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.Configurations; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.Configurations; public class ExternalEventEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncErrorEntityTypeConfiguration.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncErrorEntityTypeConfiguration.cs index 2af8d65fad..5bd4516fca 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncErrorEntityTypeConfiguration.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncErrorEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.Configurations; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.Configurations; public class SyncErrorEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncRunEntityTypeConfiguration.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncRunEntityTypeConfiguration.cs index dbec9308b1..46f4ff8d52 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncRunEntityTypeConfiguration.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/Configurations/SyncRunEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.Configurations; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.Configurations; public class SyncRunEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs index ddbe3b5b24..a904972716 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database; public static class IServiceCollectionExtensions { @@ -32,7 +32,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(SQLSERVER_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.SqlServer.SynchronizationDbContextModel.Instance); + }).UseModel(Modules.Synchronization.Infrastructure.CompiledModels.SqlServer.SynchronizationDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.DbConnectionString, sqlOptions => @@ -40,7 +40,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(POSTGRES_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.Postgres.SynchronizationDbContextModel.Instance); + }).UseModel(Modules.Synchronization.Infrastructure.CompiledModels.Postgres.SynchronizationDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/SynchronizationDbContext.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/SynchronizationDbContext.cs index 1408c174ac..ae13785d34 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/SynchronizationDbContext.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/SynchronizationDbContext.cs @@ -5,18 +5,18 @@ using Backbone.BuildingBlocks.Application.Pagination; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.Extensions; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Synchronization.Application.Extensions; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.Data.SqlClient; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; using Npgsql; using NpgsqlTypes; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database; public class SynchronizationDbContext : AbstractDbContextBase, ISynchronizationDbContext { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletIdEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletIdEntityFrameworkValueConverter.cs index af83f64797..92b9676d81 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletIdEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class DatawalletIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletModificationIdEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletModificationIdEntityFrameworkValueConverter.cs index e9b03f40ed..a126a2a0d9 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletModificationIdEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletModificationIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class DatawalletModificationIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletVersionEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletVersionEntityFrameworkValueConverter.cs index 01c676fec4..e0f73241f0 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletVersionEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/DatawalletVersionEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class DatawalletVersionEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdEntityFrameworkValueConverter.cs index 9625379d5b..9f4366eb5f 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class ExternalEventIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdPayloadEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdPayloadEntityFrameworkValueConverter.cs index a5c2c0b060..2bfb618d62 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdPayloadEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/ExternalEventIdPayloadEntityFrameworkValueConverter.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Newtonsoft.Json; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class ExternalEventIdPayloadEntityFrameworkValueConverter : ValueConverter { public ExternalEventIdPayloadEntityFrameworkValueConverter() : base( diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncErrorIdEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncErrorIdEntityFrameworkValueConverter.cs index e43388ca65..06cc9a3018 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncErrorIdEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncErrorIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class SyncErrorIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncRunIdEntityFrameworkValueConverter.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncRunIdEntityFrameworkValueConverter.cs index 4825ad4711..e46ce4c5d4 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncRunIdEntityFrameworkValueConverter.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/Database/ValueConverters/SyncRunIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Synchronization.Infrastructure.Persistence.Database.ValueConverters; public class SyncRunIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/IServiceCollectionExtensions.cs index 0aa74efa10..9ba138e5b9 100644 --- a/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Synchronization.Infrastructure.Persistence; +namespace Backbone.Synchronization.Infrastructure.Persistence; public static class IServiceCollectionExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs index cd1cf29784..52de50014b 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Extensions; +namespace Backbone.Synchronization.Jobs.SanityCheck.Extensions; internal static class IConfigurationExtensions { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs index bb0c05e5af..c6684d8008 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; public class DataSource : IDataSource { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs index f26792d2fd..7e2827c5f5 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; public interface IDataSource { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs index 71fd99ec6f..0ccf57aaa7 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; public interface IReporter { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs index e0f8a37c5f..34d79a1546 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; public class LogReporter : IReporter { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs index 050a930c7a..e492fa3ccd 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.SanityCheck; +namespace Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.SanityCheck; public class SanityCheck { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Program.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Program.cs index a48cfe0c9a..9a192b30ac 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Program.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Program.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Backbone.Modules.Synchronization.Infrastructure.Persistence; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Extensions; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Synchronization.Infrastructure.Persistence; +using Backbone.Synchronization.Jobs.SanityCheck.Extensions; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck; +namespace Backbone.Synchronization.Jobs.SanityCheck; public class Program { diff --git a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Worker.cs b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Worker.cs index c2676ebd42..489fd2eb71 100644 --- a/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Worker.cs +++ b/Modules/Synchronization/src/Synchronization.Jobs.SanityCheck/Worker.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck; +namespace Backbone.Synchronization.Jobs.SanityCheck; public class Worker : IHostedService { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextExtensions.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextExtensions.cs index 9cfd7d8579..f13c660a17 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextExtensions.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextExtensions.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public static class ApplicationDbContextExtensions { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextWithDelayedSave.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextWithDelayedSave.cs index e490ea09d9..c344ef046e 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextWithDelayedSave.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/ApplicationDbContextWithDelayedSave.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using FakeItEasy; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public class ApplicationDbContextWithDelayedSave : SynchronizationDbContext { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/DatawalletExtensions.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/DatawalletExtensions.cs index 46f8fda3d1..a354090fd0 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/DatawalletExtensions.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/DatawalletExtensions.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public static class DatawalletExtensions { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/ExceptionAssertionsExtensions.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/ExceptionAssertionsExtensions.cs index 66e5ffed22..cdbc1a1a5a 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/ExceptionAssertionsExtensions.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/ExceptionAssertionsExtensions.cs @@ -4,7 +4,7 @@ using FluentAssertions.Specialized; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public static class ApplicationExceptionExtensions { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/ExternalEventBuilder.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/ExternalEventBuilder.cs index ddc1e5de83..78493fd011 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/ExternalEventBuilder.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/ExternalEventBuilder.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public class ExternalEventBuilder { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/SyncRunBuilder.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/SyncRunBuilder.cs index 9dba83d62c..8e81ffdb48 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/SyncRunBuilder.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/SyncRunBuilder.cs @@ -1,7 +1,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Domain.Entities.Sync; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public class SyncRunBuilder { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/TestDataGenerator.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/TestDataGenerator.cs index 865acbcd68..ff79727a7e 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/TestDataGenerator.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/TestDataGenerator.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Synchronization.Application.Tests; +namespace Backbone.Synchronization.Application.Tests; public static class TestDataGenerator { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs index f06687cc0d..291d1e07d0 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs @@ -1,8 +1,8 @@ using AutoMapper; -using Backbone.Modules.Synchronization.Application.AutoMapper; +using Backbone.Synchronization.Application.AutoMapper; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.AutoMapper; +namespace Backbone.Synchronization.Application.Tests.Tests.AutoMapper; public class AutoMapperProfileTests { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/HandlerTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/HandlerTests.cs index 2a2da9e0e6..5ee5632036 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/HandlerTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/HandlerTests.cs @@ -4,11 +4,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.AutoMapper; -using Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Application.AutoMapper; +using Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using FakeItEasy; using FluentAssertions; using Microsoft.Data.Sqlite; @@ -16,7 +16,7 @@ using Microsoft.Extensions.Options; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.Datawallet.Commands.PushDatawalletModifications; +namespace Backbone.Synchronization.Application.Tests.Tests.Datawallet.Commands.PushDatawalletModifications; public class HandlerTests { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidatorTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidatorTests.cs index 0f22e70459..e9dad3381f 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidatorTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Commands/PushDatawalletModifications/PushDatawalletModificationsCommandValidatorTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Datawallets.Commands.PushDatawalletModifications; +using Backbone.Synchronization.Application.Datawallets.DTOs; using FluentValidation.TestHelper; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.Datawallet.Commands.PushDatawalletModifications; +namespace Backbone.Synchronization.Application.Tests.Tests.Datawallet.Commands.PushDatawalletModifications; public class PushDatawalletModificationsCommandValidatorTests { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Queries/GetDatawalletModifications/HandlerTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Queries/GetDatawalletModifications/HandlerTests.cs index 698c3eb565..76508c918d 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Queries/GetDatawalletModifications/HandlerTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/Datawallet/Queries/GetDatawalletModifications/HandlerTests.cs @@ -2,11 +2,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.AutoMapper; -using Backbone.Modules.Synchronization.Application.Datawallets.Queries.GetModifications; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Application.AutoMapper; +using Backbone.Synchronization.Application.Datawallets.Queries.GetModifications; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Backbone.UnitTestTools.TestDoubles.Fakes; using FakeItEasy; using FluentAssertions; @@ -14,7 +14,7 @@ using Microsoft.Extensions.Options; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.Datawallet.Queries.GetDatawalletModifications; +namespace Backbone.Synchronization.Application.Tests.Tests.Datawallet.Queries.GetDatawalletModifications; public class HandlerTests { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/FinalizeSyncRun/HandlerTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/FinalizeSyncRun/HandlerTests.cs index dae43f2c88..f01c2aadb0 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/FinalizeSyncRun/HandlerTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/FinalizeSyncRun/HandlerTests.cs @@ -3,18 +3,18 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.AutoMapper; -using Backbone.Modules.Synchronization.Application.Datawallets.DTOs; -using Backbone.Modules.Synchronization.Application.Infrastructure; -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Application.AutoMapper; +using Backbone.Synchronization.Application.Datawallets.DTOs; +using Backbone.Synchronization.Application.Infrastructure; +using Backbone.Synchronization.Application.SyncRuns.Commands.FinalizeSyncRun; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Backbone.UnitTestTools.BaseClasses; using FakeItEasy; using FluentAssertions; using Microsoft.Extensions.Options; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.SyncRuns.Commands.FinalizeSyncRun; +namespace Backbone.Synchronization.Application.Tests.Tests.SyncRuns.Commands.FinalizeSyncRun; public class HandlerTests : RequestHandlerTestsBase { @@ -23,7 +23,7 @@ public class HandlerTests : RequestHandlerTestsBase public HandlerTests() { - _arrangeContext.SaveEntity(new Backbone.Modules.Synchronization.Domain.Entities.Datawallet(new Backbone.Modules.Synchronization.Domain.Entities.Datawallet.DatawalletVersion(1), _activeIdentity)); + _arrangeContext.SaveEntity(new Domain.Entities.Datawallet(new Domain.Entities.Datawallet.DatawalletVersion(1), _activeIdentity)); } [Fact] diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/HandlerTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/HandlerTests.cs index d599473505..20b5480e3c 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/HandlerTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/RefreshExpirationTimeOfSyncRun/HandlerTests.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Application.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Backbone.Tooling; using Backbone.UnitTestTools.BaseClasses; using FakeItEasy; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; +namespace Backbone.Synchronization.Application.Tests.Tests.SyncRuns.Commands.RefreshExpirationTimeOfSyncRun; public class HandlerTests : RequestHandlerTestsBase { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/HandlerTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/HandlerTests.cs index 64ab1942fd..61b338dcd1 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/HandlerTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/HandlerTests.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Synchronization.Application.AutoMapper; -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; -using Backbone.Modules.Synchronization.Domain.Entities.Sync; -using Backbone.Modules.Synchronization.Infrastructure.Persistence.Database; +using Backbone.Synchronization.Application.AutoMapper; +using Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +using Backbone.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Domain.Entities.Sync; +using Backbone.Synchronization.Infrastructure.Persistence.Database; using Backbone.Tooling; using FakeItEasy; using FluentAssertions; @@ -13,7 +13,7 @@ using Microsoft.EntityFrameworkCore; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.SyncRuns.Commands.StartSyncRun; +namespace Backbone.Synchronization.Application.Tests.Tests.SyncRuns.Commands.StartSyncRun; public class HandlerTests { @@ -39,7 +39,7 @@ public HandlerTests() _actContext = CreateDbContext(); _assertionContext = CreateDbContext(); - _arrangeContext.SaveEntity(new Backbone.Modules.Synchronization.Domain.Entities.Datawallet(new Backbone.Modules.Synchronization.Domain.Entities.Datawallet.DatawalletVersion(DATAWALLET_VERSION), _activeIdentity)); + _arrangeContext.SaveEntity(new Domain.Entities.Datawallet(new Domain.Entities.Datawallet.DatawalletVersion(DATAWALLET_VERSION), _activeIdentity)); } [Fact] diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidatorTests.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidatorTests.cs index c4673bf95e..2887979250 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidatorTests.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/SyncRuns/Commands/StartSyncRun/StartSyncRunCommandValidatorTests.cs @@ -1,9 +1,9 @@ -using Backbone.Modules.Synchronization.Application.SyncRuns.Commands.StartSyncRun; -using Backbone.Modules.Synchronization.Application.SyncRuns.DTOs; +using Backbone.Synchronization.Application.SyncRuns.Commands.StartSyncRun; +using Backbone.Synchronization.Application.SyncRuns.DTOs; using FluentValidation.TestHelper; using Xunit; -namespace Backbone.Modules.Synchronization.Application.Tests.Tests.SyncRuns.Commands.StartSyncRun; +namespace Backbone.Synchronization.Application.Tests.Tests.SyncRuns.Commands.StartSyncRun; public class StartSyncRunCommandValidatorTests { diff --git a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/TestData.cs b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/TestData.cs index 0809ae520e..52006fb39a 100644 --- a/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/TestData.cs +++ b/Modules/Synchronization/test/Synchronization.Application.Tests/Tests/TestData.cs @@ -1,4 +1,4 @@ -namespace Backbone.Modules.Synchronization.Application.Tests.Tests; +namespace Backbone.Synchronization.Application.Tests.Tests; public static class TestData { diff --git a/Modules/Synchronization/test/Synchronization.Domain.Tests/DatawalletTests.cs b/Modules/Synchronization/test/Synchronization.Domain.Tests/DatawalletTests.cs index 7efa862169..056f81b288 100644 --- a/Modules/Synchronization/test/Synchronization.Domain.Tests/DatawalletTests.cs +++ b/Modules/Synchronization/test/Synchronization.Domain.Tests/DatawalletTests.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Domain; -using Backbone.Modules.Synchronization.Domain.Entities; +using Backbone.Synchronization.Domain.Entities; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Synchronization.Domain.Tests; +namespace Backbone.Synchronization.Domain.Tests; public class DatawalletTests { diff --git a/Modules/Synchronization/test/Synchronization.Domain.Tests/TestDataGenerator.cs b/Modules/Synchronization/test/Synchronization.Domain.Tests/TestDataGenerator.cs index 8a9b3290f1..36ab698baa 100644 --- a/Modules/Synchronization/test/Synchronization.Domain.Tests/TestDataGenerator.cs +++ b/Modules/Synchronization/test/Synchronization.Domain.Tests/TestDataGenerator.cs @@ -1,6 +1,6 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; -namespace Backbone.Modules.Synchronization.Domain.Tests; +namespace Backbone.Synchronization.Domain.Tests; public static class TestDataGenerator { diff --git a/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs b/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs index 8513799f56..13db07a781 100644 --- a/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs +++ b/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.DataSource; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +namespace Backbone.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.DataSource; public class FakeDataSource : IDataSource { diff --git a/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs b/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs index 1600d37f53..8727c8d86e 100644 --- a/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs +++ b/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +namespace Backbone.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.Reporter; public class TestReporter : IReporter { diff --git a/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs b/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs index 9ed784a701..8a19e7fb52 100644 --- a/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs +++ b/Modules/Synchronization/test/Synchronization.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs @@ -1,22 +1,22 @@ -using Backbone.Modules.Synchronization.Domain.Entities; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.DataSource; -using Backbone.Modules.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +using Backbone.Synchronization.Domain.Entities; +using Backbone.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +using Backbone.Synchronization.Jobs.SanityCheck.Tests.Infrastructure.Reporter; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Synchronization.Jobs.SanityCheck.Tests.Tests; +namespace Backbone.Synchronization.Jobs.SanityCheck.Tests.Tests; public class SanityCheckTests { private readonly FakeDataSource _dataSource; private readonly TestReporter _reporter; - private readonly Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; + private readonly SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; public SanityCheckTests() { _dataSource = new FakeDataSource(); _reporter = new TestReporter(); - _sanityCheck = new Backbone.Modules.Synchronization.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); + _sanityCheck = new SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); } [Fact] diff --git a/Modules/Tokens/src/Tokens.Application/ApplicationErrors.cs b/Modules/Tokens/src/Tokens.Application/ApplicationErrors.cs index f9fd92a792..e55e68fac7 100644 --- a/Modules/Tokens/src/Tokens.Application/ApplicationErrors.cs +++ b/Modules/Tokens/src/Tokens.Application/ApplicationErrors.cs @@ -1,3 +1,3 @@ -namespace Backbone.Modules.Tokens.Application; +namespace Backbone.Tokens.Application; public static class ApplicationErrors { } diff --git a/Modules/Tokens/src/Tokens.Application/ApplicationOptions.cs b/Modules/Tokens/src/Tokens.Application/ApplicationOptions.cs index e0169efcad..0b9edd140c 100644 --- a/Modules/Tokens/src/Tokens.Application/ApplicationOptions.cs +++ b/Modules/Tokens/src/Tokens.Application/ApplicationOptions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Tokens.Application; +namespace Backbone.Tokens.Application; public class ApplicationOptions { diff --git a/Modules/Tokens/src/Tokens.Application/AutoMapper/AutoMapperProfile.cs b/Modules/Tokens/src/Tokens.Application/AutoMapper/AutoMapperProfile.cs index cd2ec79918..ce5c3db98f 100644 --- a/Modules/Tokens/src/Tokens.Application/AutoMapper/AutoMapperProfile.cs +++ b/Modules/Tokens/src/Tokens.Application/AutoMapper/AutoMapperProfile.cs @@ -2,7 +2,7 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.AutoMapper; -namespace Backbone.Modules.Tokens.Application.AutoMapper; +namespace Backbone.Tokens.Application.AutoMapper; public class AutoMapperProfile : AutoMapperProfileBase { diff --git a/Modules/Tokens/src/Tokens.Application/Extensions/IServiceCollectionExtensions.cs b/Modules/Tokens/src/Tokens.Application/Extensions/IServiceCollectionExtensions.cs index ff99dcbee9..aef2db7b5d 100644 --- a/Modules/Tokens/src/Tokens.Application/Extensions/IServiceCollectionExtensions.cs +++ b/Modules/Tokens/src/Tokens.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,10 +1,10 @@ using Backbone.BuildingBlocks.Application.MediatR; -using Backbone.Modules.Tokens.Application.AutoMapper; -using Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; +using Backbone.Tokens.Application.AutoMapper; +using Backbone.Tokens.Application.Tokens.Commands.CreateToken; using FluentValidation; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Tokens.Application.Extensions; +namespace Backbone.Tokens.Application.Extensions; public static class IServiceCollectionExtensions { diff --git a/Modules/Tokens/src/Tokens.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs b/Modules/Tokens/src/Tokens.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs index e71a298cbd..3a021bfab4 100644 --- a/Modules/Tokens/src/Tokens.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs +++ b/Modules/Tokens/src/Tokens.Application/Infrastructure/Persistence/Repository/ITokensRepository.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.Database; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; +namespace Backbone.Tokens.Application.Infrastructure.Persistence.Repository; public interface ITokensRepository { diff --git a/Modules/Tokens/src/Tokens.Application/IntegrationEvents/TokenCreatedIntegrationEvent.cs b/Modules/Tokens/src/Tokens.Application/IntegrationEvents/TokenCreatedIntegrationEvent.cs index 7854379b3d..383b409349 100644 --- a/Modules/Tokens/src/Tokens.Application/IntegrationEvents/TokenCreatedIntegrationEvent.cs +++ b/Modules/Tokens/src/Tokens.Application/IntegrationEvents/TokenCreatedIntegrationEvent.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Application.IntegrationEvents; +namespace Backbone.Tokens.Application.IntegrationEvents; public class TokenCreatedIntegrationEvent : IntegrationEvent { public TokenCreatedIntegrationEvent(Token newToken) : base($"{newToken.Id}/Created") diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommand.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommand.cs index 7351f766a5..2e2e653b92 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommand.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommand.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.BuildingBlocks.Application.Attributes; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; +namespace Backbone.Tokens.Application.Tokens.Commands.CreateToken; [ApplyQuotasForMetrics("NumberOfTokens")] public class CreateTokenCommand : IRequest, IMapTo diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommandValidator.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommandValidator.cs index bec0f2c896..0560e91b68 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommandValidator.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenCommandValidator.cs @@ -4,7 +4,7 @@ using Backbone.Tooling.Extensions; using FluentValidation; -namespace Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; +namespace Backbone.Tokens.Application.Tokens.Commands.CreateToken; public class CreateTokenCommandValidator : AbstractValidator { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenResponse.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenResponse.cs index b1dd011b47..7e201023b3 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenResponse.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/CreateTokenResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; +namespace Backbone.Tokens.Application.Tokens.Commands.CreateToken; public class CreateTokenResponse : IMapTo { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/Handler.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/Handler.cs index 1fd792b7b9..3b50fc2482 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/Handler.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Commands/CreateToken/Handler.cs @@ -1,12 +1,12 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; -using Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Tokens.Application.IntegrationEvents; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Application.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Application.IntegrationEvents; +using Backbone.Tokens.Domain.Entities; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; +namespace Backbone.Tokens.Application.Tokens.Commands.CreateToken; public class Handler : IRequestHandler { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs b/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs index 71fad7976e..78ed73af72 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/DTOs/TokenDTO.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Mapping; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Application.Tokens.DTOs; +namespace Backbone.Tokens.Application.Tokens.DTOs; public class TokenDTO : IMapTo { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/GetTokenQuery.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/GetTokenQuery.cs index 4d6bdf50e8..b2aae278cd 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/GetTokenQuery.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/GetTokenQuery.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Tokens.Application.Tokens.DTOs; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Application.Tokens.DTOs; +using Backbone.Tokens.Domain.Entities; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens.Queries.GetToken; +namespace Backbone.Tokens.Application.Tokens.Queries.GetToken; public class GetTokenQuery : IRequest { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/Handler.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/Handler.cs index 29916f9514..1bbe5094c2 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/Handler.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/GetToken/Handler.cs @@ -1,9 +1,9 @@ using AutoMapper; -using Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Tokens.Application.Tokens.DTOs; +using Backbone.Tokens.Application.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Application.Tokens.DTOs; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens.Queries.GetToken; +namespace Backbone.Tokens.Application.Tokens.Queries.GetToken; public class Handler : IRequestHandler { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/Handler.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/Handler.cs index 924a1c3f56..b95f7e43a4 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/Handler.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/Handler.cs @@ -1,11 +1,11 @@ using AutoMapper; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Tokens.Application.Tokens.DTOs; +using Backbone.Tokens.Application.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Application.Tokens.DTOs; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens.Queries.ListTokens; +namespace Backbone.Tokens.Application.Tokens.Queries.ListTokens; public class Handler : IRequestHandler { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQuery.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQuery.cs index fa7cb26d4f..096525db34 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQuery.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQuery.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens.Queries.ListTokens; +namespace Backbone.Tokens.Application.Tokens.Queries.ListTokens; public class ListTokensQuery : IRequest { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQueryValidator.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQueryValidator.cs index 71ec3baed6..ec8b11514b 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQueryValidator.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensQueryValidator.cs @@ -2,7 +2,7 @@ using Backbone.BuildingBlocks.Application.Pagination; using FluentValidation; -namespace Backbone.Modules.Tokens.Application.Tokens.Queries.ListTokens; +namespace Backbone.Tokens.Application.Tokens.Queries.ListTokens; // ReSharper disable once UnusedMember.Global public class ListTokensQueryValidator : AbstractValidator diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensResponse.cs b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensResponse.cs index 5f7f3179c2..42cedb1214 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensResponse.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/Queries/ListTokens/ListTokensResponse.cs @@ -1,7 +1,7 @@ using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Tokens.Application.Tokens.DTOs; +using Backbone.Tokens.Application.Tokens.DTOs; -namespace Backbone.Modules.Tokens.Application.Tokens.Queries.ListTokens; +namespace Backbone.Tokens.Application.Tokens.Queries.ListTokens; public class ListTokensResponse : PagedResponse { diff --git a/Modules/Tokens/src/Tokens.Application/Tokens/RequestHandlerBase.cs b/Modules/Tokens/src/Tokens.Application/Tokens/RequestHandlerBase.cs index 132878c32a..8f7305ef5e 100644 --- a/Modules/Tokens/src/Tokens.Application/Tokens/RequestHandlerBase.cs +++ b/Modules/Tokens/src/Tokens.Application/Tokens/RequestHandlerBase.cs @@ -3,7 +3,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using MediatR; -namespace Backbone.Modules.Tokens.Application.Tokens; +namespace Backbone.Tokens.Application.Tokens; public abstract class RequestHandlerBase : IRequestHandler where TRequest : IRequest { diff --git a/Modules/Tokens/src/Tokens.ConsumerApi/Configuration.cs b/Modules/Tokens/src/Tokens.ConsumerApi/Configuration.cs index be60ba14ab..f04b4ed2b2 100644 --- a/Modules/Tokens/src/Tokens.ConsumerApi/Configuration.cs +++ b/Modules/Tokens/src/Tokens.ConsumerApi/Configuration.cs @@ -1,7 +1,7 @@ using System.ComponentModel.DataAnnotations; -using Backbone.Modules.Tokens.Application; +using Backbone.Tokens.Application; -namespace Backbone.Modules.Tokens.ConsumerApi; +namespace Backbone.Tokens.ConsumerApi; public class Configuration { diff --git a/Modules/Tokens/src/Tokens.ConsumerApi/Controllers/TokensController.cs b/Modules/Tokens/src/Tokens.ConsumerApi/Controllers/TokensController.cs index 81883242ad..5d4c77b65e 100644 --- a/Modules/Tokens/src/Tokens.ConsumerApi/Controllers/TokensController.cs +++ b/Modules/Tokens/src/Tokens.ConsumerApi/Controllers/TokensController.cs @@ -3,12 +3,12 @@ using Backbone.BuildingBlocks.API.Mvc.ControllerAttributes; using Backbone.BuildingBlocks.Application.Abstractions.Exceptions; using Backbone.BuildingBlocks.Application.Pagination; -using Backbone.Modules.Tokens.Application; -using Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; -using Backbone.Modules.Tokens.Application.Tokens.DTOs; -using Backbone.Modules.Tokens.Application.Tokens.Queries.GetToken; -using Backbone.Modules.Tokens.Application.Tokens.Queries.ListTokens; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Application; +using Backbone.Tokens.Application.Tokens.Commands.CreateToken; +using Backbone.Tokens.Application.Tokens.DTOs; +using Backbone.Tokens.Application.Tokens.Queries.GetToken; +using Backbone.Tokens.Application.Tokens.Queries.ListTokens; +using Backbone.Tokens.Domain.Entities; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -16,7 +16,7 @@ using Microsoft.Extensions.Options; using ApplicationException = Backbone.BuildingBlocks.Application.Abstractions.Exceptions.ApplicationException; -namespace Backbone.Modules.Tokens.ConsumerApi.Controllers; +namespace Backbone.Tokens.ConsumerApi.Controllers; [Route("api/v1/[controller]")] [Authorize("OpenIddict.Validation.AspNetCore")] diff --git a/Modules/Tokens/src/Tokens.ConsumerApi/TokensModule.cs b/Modules/Tokens/src/Tokens.ConsumerApi/TokensModule.cs index 3bf646db06..27562f8de2 100644 --- a/Modules/Tokens/src/Tokens.ConsumerApi/TokensModule.cs +++ b/Modules/Tokens/src/Tokens.ConsumerApi/TokensModule.cs @@ -1,15 +1,15 @@ using Backbone.BuildingBlocks.API; using Backbone.BuildingBlocks.API.Extensions; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus; -using Backbone.Modules.Tokens.Application; -using Backbone.Modules.Tokens.Application.Extensions; -using Backbone.Modules.Tokens.Infrastructure.Persistence; +using Backbone.Tokens.Application; +using Backbone.Tokens.Application.Extensions; +using Backbone.Tokens.Infrastructure.Persistence; using Backbone.Tooling.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Tokens.ConsumerApi; +namespace Backbone.Tokens.ConsumerApi; public class TokensModule : AbstractModule { diff --git a/Modules/Tokens/src/Tokens.Domain/Entities/Token.cs b/Modules/Tokens/src/Tokens.Domain/Entities/Token.cs index 47db71b820..bf47e1790b 100644 --- a/Modules/Tokens/src/Tokens.Domain/Entities/Token.cs +++ b/Modules/Tokens/src/Tokens.Domain/Entities/Token.cs @@ -2,7 +2,7 @@ using Backbone.DevelopmentKit.Identity.ValueObjects; using Backbone.Tooling; -namespace Backbone.Modules.Tokens.Domain.Entities; +namespace Backbone.Tokens.Domain.Entities; public class Token { diff --git a/Modules/Tokens/src/Tokens.Domain/Entities/TokenId.cs b/Modules/Tokens/src/Tokens.Domain/Entities/TokenId.cs index 95ac55bcb2..3688c2d903 100644 --- a/Modules/Tokens/src/Tokens.Domain/Entities/TokenId.cs +++ b/Modules/Tokens/src/Tokens.Domain/Entities/TokenId.cs @@ -3,7 +3,7 @@ using Backbone.BuildingBlocks.Domain; using Backbone.BuildingBlocks.Domain.StronglyTypedIds.Classes; -namespace Backbone.Modules.Tokens.Domain.Entities; +namespace Backbone.Tokens.Domain.Entities; [Serializable] [TypeConverter(typeof(TokenIdTypeConverter))] diff --git a/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/20230208154633_Init.Designer.cs b/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/20230208154633_Init.Designer.cs index 9f406e441a..015e5638db 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/20230208154633_Init.Designer.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/20230208154633_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; diff --git a/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/TokensDbContextModelSnapshot.cs b/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/TokensDbContextModelSnapshot.cs index d2bfb30b2f..0fdf598ec7 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/TokensDbContextModelSnapshot.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure.Database.Postgres/Migrations/TokensDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; diff --git a/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/20220929134835_Init.Designer.cs b/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/20220929134835_Init.Designer.cs index 7f81eb0cf1..d346f068a3 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/20220929134835_Init.Designer.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/20220929134835_Init.Designer.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs b/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs index 80ffd03d53..7d5392fde9 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure.Database.SqlServer/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs index a8e2290930..2a2cd2cb57 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokenEntityType.cs @@ -3,8 +3,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokensDbContextModel.cs b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokensDbContextModel.cs index ec0b7604ae..fb1c3dd70e 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokensDbContextModel.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/Postgres/TokensDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; + +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs index e0254ea32e..c508fc4d1e 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokenEntityType.cs @@ -3,8 +3,8 @@ using System.Reflection; using Backbone.BuildingBlocks.Infrastructure.Persistence.Database.ValueConverters; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore.Metadata; #pragma warning disable 219, 612, 618 diff --git a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokensDbContextModel.cs b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokensDbContextModel.cs index 2d142386e9..20d7f23f40 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokensDbContextModel.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/CompiledModels/SqlServer/TokensDbContextModel.cs @@ -1,5 +1,6 @@ // -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; + +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs index a64a5fb3f6..778dd6eb4a 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/EntityConfigurations/TokenEntityTypeConfiguration.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Database.EntityConfigurations; +namespace Backbone.Tokens.Infrastructure.Persistence.Database.EntityConfigurations; public class TokenEntityTypeConfiguration : IEntityTypeConfiguration { diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs index 24039afe53..6196e79ab3 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/IServiceCollectionExtensions.cs @@ -1,7 +1,7 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +namespace Backbone.Tokens.Infrastructure.Persistence.Database; public static class IServiceCollectionExtensions { @@ -31,7 +31,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(SQLSERVER_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.SqlServer.TokensDbContextModel.Instance); + }).UseModel(Modules.Tokens.Infrastructure.CompiledModels.SqlServer.TokensDbContextModel.Instance); break; case POSTGRES: dbContextOptions.UseNpgsql(options.DbConnectionString, sqlOptions => @@ -39,7 +39,7 @@ public static void AddDatabase(this IServiceCollection services, DbOptions optio sqlOptions.CommandTimeout(20); sqlOptions.MigrationsAssembly(POSTGRES_MIGRATIONS_ASSEMBLY); sqlOptions.EnableRetryOnFailure(options.RetryOptions.MaxRetryCount, TimeSpan.FromSeconds(options.RetryOptions.MaxRetryDelayInSeconds), null); - }).UseModel(CompiledModels.Postgres.TokensDbContextModel.Instance); + }).UseModel(Modules.Tokens.Infrastructure.CompiledModels.Postgres.TokensDbContextModel.Instance); break; default: throw new Exception($"Unsupported database provider: {options.Provider}"); diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/TokensDbContext.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/TokensDbContext.cs index 1a536236ba..c80663f5ab 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/TokensDbContext.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/TokensDbContext.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.Database; -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database.ValueConverters; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Infrastructure.Persistence.Database.ValueConverters; using Microsoft.EntityFrameworkCore; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +namespace Backbone.Tokens.Infrastructure.Persistence.Database; public class TokensDbContext : AbstractDbContextBase { diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/ValueConverters/TokenIdEntityFrameworkValueConverter.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/ValueConverters/TokenIdEntityFrameworkValueConverter.cs index 715e547426..344bc20d4c 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/ValueConverters/TokenIdEntityFrameworkValueConverter.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Database/ValueConverters/TokenIdEntityFrameworkValueConverter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Database.ValueConverters; +namespace Backbone.Tokens.Infrastructure.Persistence.Database.ValueConverters; public class TokenIdEntityFrameworkValueConverter : ValueConverter { diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/IServiceCollectionExtensions.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/IServiceCollectionExtensions.cs index ea1924335c..0d5aa1f162 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/IServiceCollectionExtensions.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/IServiceCollectionExtensions.cs @@ -1,9 +1,9 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Infrastructure.Persistence.Repository; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence; +namespace Backbone.Tokens.Infrastructure.Persistence; public static class IServiceCollectionExtensions { diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/IServiceCollectionExtensions.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/IServiceCollectionExtensions.cs index 08c26dc8c1..edd280d4d5 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/IServiceCollectionExtensions.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/IServiceCollectionExtensions.cs @@ -1,8 +1,8 @@ using Backbone.BuildingBlocks.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Application.Infrastructure.Persistence.Repository; using Microsoft.Extensions.DependencyInjection; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Repository; +namespace Backbone.Tokens.Infrastructure.Persistence.Repository; public static class IServiceCollectionExtensions { diff --git a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/TokensRepository.cs b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/TokensRepository.cs index 6916fb1e52..0c02469beb 100644 --- a/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/TokensRepository.cs +++ b/Modules/Tokens/src/Tokens.Infrastructure/Persistence/Repository/TokensRepository.cs @@ -4,13 +4,13 @@ using Backbone.BuildingBlocks.Application.Extensions; using Backbone.BuildingBlocks.Application.Pagination; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Application.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Infrastructure.Persistence.Database; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Repository; +namespace Backbone.Tokens.Infrastructure.Persistence.Repository; public class TokensRepository : ITokensRepository { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs index 256801b035..d091639f9f 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Extensions/IConfigurationExtensions.cs @@ -1,6 +1,6 @@ using System.ComponentModel.DataAnnotations; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Extensions; +namespace Backbone.Tokens.Jobs.SanityCheck.Extensions; internal static class IConfigurationExtensions { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs index ae70f67b75..08c4c06b99 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/DataSource.cs @@ -1,11 +1,11 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.Persistence.BlobStorage; -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Database; -using Backbone.Modules.Tokens.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Infrastructure.Persistence.Database; +using Backbone.Tokens.Infrastructure.Persistence.Repository; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; public class DataSource : IDataSource { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs index 0b964a4d9c..733fca6729 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/DataSource/IDataSource.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; +namespace Backbone.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; public interface IDataSource { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs index a1070ef412..83495b8260 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/IReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; public interface IReporter { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs index 650878e664..0cd5c62123 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/Reporter/LogReporter.cs @@ -1,6 +1,6 @@ -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Domain.Entities; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; +namespace Backbone.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; public class LogReporter : IReporter { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs index b279eab4ea..db3ed7f615 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Infrastructure/SanityCheck/SanityCheck.cs @@ -1,8 +1,8 @@ -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.SanityCheck; +namespace Backbone.Tokens.Jobs.SanityCheck.Infrastructure.SanityCheck; public class SanityCheck { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Program.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Program.cs index f9061d2048..43eb10db18 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Program.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Program.cs @@ -1,11 +1,11 @@ using System.Reflection; -using Backbone.Modules.Tokens.Infrastructure.Persistence; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Extensions; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Tokens.Infrastructure.Persistence; +using Backbone.Tokens.Jobs.SanityCheck.Extensions; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; using Backbone.Tooling.Extensions; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck; +namespace Backbone.Tokens.Jobs.SanityCheck; public class Program { diff --git a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Worker.cs b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Worker.cs index 2c5ae9909c..011ea21625 100644 --- a/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Worker.cs +++ b/Modules/Tokens/src/Tokens.Jobs.SanityCheck/Worker.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck; +namespace Backbone.Tokens.Jobs.SanityCheck; public class Worker : IHostedService { diff --git a/Modules/Tokens/test/Tokens.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs b/Modules/Tokens/test/Tokens.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs index 14deb0ec22..5a2f95fe5c 100644 --- a/Modules/Tokens/test/Tokens.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs +++ b/Modules/Tokens/test/Tokens.Application.Tests/Tests/AutoMapper/AutoMapperProfileTests.cs @@ -1,8 +1,8 @@ using AutoMapper; -using Backbone.Modules.Tokens.Application.AutoMapper; +using Backbone.Tokens.Application.AutoMapper; using Xunit; -namespace Backbone.Modules.Tokens.Application.Tests.Tests.AutoMapper; +namespace Backbone.Tokens.Application.Tests.Tests.AutoMapper; public class AutoMapperProfileTests { diff --git a/Modules/Tokens/test/Tokens.Application.Tests/Tests/Tokens/CreateToken/HandlerTests.cs b/Modules/Tokens/test/Tokens.Application.Tests/Tests/Tokens/CreateToken/HandlerTests.cs index 01c9cf0d78..558f9d032f 100644 --- a/Modules/Tokens/test/Tokens.Application.Tests/Tests/Tokens/CreateToken/HandlerTests.cs +++ b/Modules/Tokens/test/Tokens.Application.Tests/Tests/Tokens/CreateToken/HandlerTests.cs @@ -3,15 +3,15 @@ using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.EventBus.Events; using Backbone.BuildingBlocks.Application.Abstractions.Infrastructure.UserContext; using Backbone.DevelopmentKit.Identity.ValueObjects; -using Backbone.Modules.Tokens.Application.Infrastructure.Persistence.Repository; -using Backbone.Modules.Tokens.Application.IntegrationEvents; -using Backbone.Modules.Tokens.Application.Tokens.Commands.CreateToken; -using Backbone.Modules.Tokens.Domain.Entities; +using Backbone.Tokens.Application.Infrastructure.Persistence.Repository; +using Backbone.Tokens.Application.IntegrationEvents; +using Backbone.Tokens.Application.Tokens.Commands.CreateToken; +using Backbone.Tokens.Domain.Entities; using FakeItEasy; using FluentAssertions.Execution; using Xunit; -namespace Backbone.Modules.Tokens.Application.Tests.Tests.Tokens.CreateToken; +namespace Backbone.Tokens.Application.Tests.Tests.Tokens.CreateToken; public class HandlerTests { private readonly IUserContext _userContext; diff --git a/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs b/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs index 062d152dd4..cc0c8dc804 100644 --- a/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs +++ b/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/DataSource/FakeDataSource.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.DataSource; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +namespace Backbone.Tokens.Jobs.SanityCheck.Tests.Infrastructure.DataSource; public class FakeDataSource : IDataSource { diff --git a/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs b/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs index cf81b5511d..0607263fc2 100644 --- a/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs +++ b/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Infrastructure/Reporter/TestReporter.cs @@ -1,7 +1,7 @@ -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Jobs.SanityCheck.Infrastructure.Reporter; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +namespace Backbone.Tokens.Jobs.SanityCheck.Tests.Infrastructure.Reporter; public class TestReporter : IReporter { diff --git a/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs b/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs index 104c7a04f9..cd272f4d26 100644 --- a/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs +++ b/Modules/Tokens/test/Tokens.Jobs.SanityCheck.Tests/Tests/SanityCheckTests.cs @@ -1,22 +1,22 @@ -using Backbone.Modules.Tokens.Domain.Entities; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Tests.Infrastructure.DataSource; -using Backbone.Modules.Tokens.Jobs.SanityCheck.Tests.Infrastructure.Reporter; +using Backbone.Tokens.Domain.Entities; +using Backbone.Tokens.Jobs.SanityCheck.Tests.Infrastructure.DataSource; +using Backbone.Tokens.Jobs.SanityCheck.Tests.Infrastructure.Reporter; using FluentAssertions; using Xunit; -namespace Backbone.Modules.Tokens.Jobs.SanityCheck.Tests.Tests; +namespace Backbone.Tokens.Jobs.SanityCheck.Tests.Tests; public class SanityCheckTests { private readonly FakeDataSource _dataSource; private readonly TestReporter _reporter; - private readonly Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; + private readonly SanityCheck.Infrastructure.SanityCheck.SanityCheck _sanityCheck; public SanityCheckTests() { _dataSource = new FakeDataSource(); _reporter = new TestReporter(); - _sanityCheck = new Backbone.Modules.Tokens.Jobs.SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); + _sanityCheck = new SanityCheck.Infrastructure.SanityCheck.SanityCheck(_dataSource, _reporter); } [Fact]