From 09d07d864e6a03f007cea845f2658b059b13c8fd Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Thu, 30 Nov 2023 07:04:56 +1000 Subject: [PATCH] [AC-1751] AC Team code ownership moves: OrganizationUser (part 1) (#3487) * Move OrganizationUser domain to AC Team ownership * Namespaces will be updated in a separate commit --- src/Core/{ => AdminConsole}/Entities/OrganizationUser.cs | 0 src/Core/{ => AdminConsole}/Enums/OrganizationUserStatusType.cs | 0 src/Core/{ => AdminConsole}/Enums/OrganizationUserType.cs | 0 .../Models/Business/ImportedOrganizationUser.cs | 0 .../{ => AdminConsole}/Models/Business/OrganizationUserInvite.cs | 0 .../Organizations/OrganizationUsers/OrganizationUserInviteData.cs | 0 .../OrganizationUsers/OrganizationUserOrganizationDetails.cs | 0 .../OrganizationUsers/OrganizationUserPolicyDetails.cs | 0 .../Organizations/OrganizationUsers/OrganizationUserPublicKey.cs | 0 .../OrganizationUsers/OrganizationUserResetPasswordDetails.cs | 0 .../OrganizationUsers/OrganizationUserUserDetails.cs | 0 .../OrganizationUsers/OrganizationUserWithCollections.cs | 0 src/Core/{ => AdminConsole}/Models/Data/Permissions.cs | 0 .../OrganizationUsers/AcceptOrgUserCommand.cs | 0 .../OrganizationUsers/Interfaces/IAcceptOrgUserCommand.cs | 0 .../Repositories/IOrganizationUserRepository.cs | 0 .../{ => AdminConsole}/Repositories/OrganizationUserRepository.cs | 0 .../{ => AdminConsole}/Repositories/OrganizationUserRepository.cs | 0 .../Queries/OrganizationUserOrganizationDetailsViewQuery.cs | 0 .../OrganizationUserReadCountByFreeOrganizationAdminUserQuery.cs | 0 .../OrganizationUserReadCountByOrganizationIdEmailQuery.cs | 0 .../Queries/OrganizationUserReadCountByOrganizationIdQuery.cs | 0 .../OrganizationUserReadOccupiedSeatCountByOrganizationIdQuery.cs | 0 ...rganizationUserReadOccupiedSmSeatCountByOrganizationIdQuery.cs | 0 .../Queries/OrganizationUserUpdateWithCollectionsQuery.cs | 0 .../Repositories/Queries/OrganizationUserUserViewQuery.cs | 0 .../{ => AdminConsole}/AutoFixture/OrganizationFixtures.cs | 0 .../{ => AdminConsole}/AutoFixture/OrganizationUserFixtures.cs | 0 .../OrganizationUsers/AcceptOrgUserCommandTests.cs | 0 .../Repositories/EqualityComparers/OrganizationCompare.cs | 0 .../Repositories/EqualityComparers/OrganizationUserCompare.cs | 0 .../EqualityComparers/OrganizationUserPolicyDetailsCompare.cs | 0 .../Repositories/OrganizationUserRepositoryTests.cs | 0 .../Repositories/OrganizationUserRepositoryTests.cs | 0 34 files changed, 0 insertions(+), 0 deletions(-) rename src/Core/{ => AdminConsole}/Entities/OrganizationUser.cs (100%) rename src/Core/{ => AdminConsole}/Enums/OrganizationUserStatusType.cs (100%) rename src/Core/{ => AdminConsole}/Enums/OrganizationUserType.cs (100%) rename src/Core/{ => AdminConsole}/Models/Business/ImportedOrganizationUser.cs (100%) rename src/Core/{ => AdminConsole}/Models/Business/OrganizationUserInvite.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserInviteData.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserOrganizationDetails.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserPolicyDetails.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserPublicKey.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserResetPasswordDetails.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserUserDetails.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Organizations/OrganizationUsers/OrganizationUserWithCollections.cs (100%) rename src/Core/{ => AdminConsole}/Models/Data/Permissions.cs (100%) rename src/Core/{ => AdminConsole}/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs (100%) rename src/Core/{ => AdminConsole}/OrganizationFeatures/OrganizationUsers/Interfaces/IAcceptOrgUserCommand.cs (100%) rename src/Core/{ => AdminConsole}/Repositories/IOrganizationUserRepository.cs (100%) rename src/Infrastructure.Dapper/{ => AdminConsole}/Repositories/OrganizationUserRepository.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/OrganizationUserRepository.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserOrganizationDetailsViewQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserReadCountByFreeOrganizationAdminUserQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserReadCountByOrganizationIdEmailQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserReadCountByOrganizationIdQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserReadOccupiedSeatCountByOrganizationIdQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserReadOccupiedSmSeatCountByOrganizationIdQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserUpdateWithCollectionsQuery.cs (100%) rename src/Infrastructure.EntityFramework/{ => AdminConsole}/Repositories/Queries/OrganizationUserUserViewQuery.cs (100%) rename test/Core.Test/{ => AdminConsole}/AutoFixture/OrganizationFixtures.cs (100%) rename test/Core.Test/{ => AdminConsole}/AutoFixture/OrganizationUserFixtures.cs (100%) rename test/Core.Test/{ => AdminConsole}/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommandTests.cs (100%) rename test/Infrastructure.EFIntegration.Test/{ => AdminConsole}/Repositories/EqualityComparers/OrganizationCompare.cs (100%) rename test/Infrastructure.EFIntegration.Test/{ => AdminConsole}/Repositories/EqualityComparers/OrganizationUserCompare.cs (100%) rename test/Infrastructure.EFIntegration.Test/{ => AdminConsole}/Repositories/EqualityComparers/OrganizationUserPolicyDetailsCompare.cs (100%) rename test/Infrastructure.EFIntegration.Test/{ => AdminConsole}/Repositories/OrganizationUserRepositoryTests.cs (100%) rename test/Infrastructure.IntegrationTest/{ => AdminConsole}/Repositories/OrganizationUserRepositoryTests.cs (100%) diff --git a/src/Core/Entities/OrganizationUser.cs b/src/Core/AdminConsole/Entities/OrganizationUser.cs similarity index 100% rename from src/Core/Entities/OrganizationUser.cs rename to src/Core/AdminConsole/Entities/OrganizationUser.cs diff --git a/src/Core/Enums/OrganizationUserStatusType.cs b/src/Core/AdminConsole/Enums/OrganizationUserStatusType.cs similarity index 100% rename from src/Core/Enums/OrganizationUserStatusType.cs rename to src/Core/AdminConsole/Enums/OrganizationUserStatusType.cs diff --git a/src/Core/Enums/OrganizationUserType.cs b/src/Core/AdminConsole/Enums/OrganizationUserType.cs similarity index 100% rename from src/Core/Enums/OrganizationUserType.cs rename to src/Core/AdminConsole/Enums/OrganizationUserType.cs diff --git a/src/Core/Models/Business/ImportedOrganizationUser.cs b/src/Core/AdminConsole/Models/Business/ImportedOrganizationUser.cs similarity index 100% rename from src/Core/Models/Business/ImportedOrganizationUser.cs rename to src/Core/AdminConsole/Models/Business/ImportedOrganizationUser.cs diff --git a/src/Core/Models/Business/OrganizationUserInvite.cs b/src/Core/AdminConsole/Models/Business/OrganizationUserInvite.cs similarity index 100% rename from src/Core/Models/Business/OrganizationUserInvite.cs rename to src/Core/AdminConsole/Models/Business/OrganizationUserInvite.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserInviteData.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserInviteData.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserInviteData.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserInviteData.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserOrganizationDetails.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserOrganizationDetails.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserOrganizationDetails.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserOrganizationDetails.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserPolicyDetails.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserPolicyDetails.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserPolicyDetails.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserPolicyDetails.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserPublicKey.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserPublicKey.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserPublicKey.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserPublicKey.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserResetPasswordDetails.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserResetPasswordDetails.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserResetPasswordDetails.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserResetPasswordDetails.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserUserDetails.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserUserDetails.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserUserDetails.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserUserDetails.cs diff --git a/src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserWithCollections.cs b/src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserWithCollections.cs similarity index 100% rename from src/Core/Models/Data/Organizations/OrganizationUsers/OrganizationUserWithCollections.cs rename to src/Core/AdminConsole/Models/Data/Organizations/OrganizationUsers/OrganizationUserWithCollections.cs diff --git a/src/Core/Models/Data/Permissions.cs b/src/Core/AdminConsole/Models/Data/Permissions.cs similarity index 100% rename from src/Core/Models/Data/Permissions.cs rename to src/Core/AdminConsole/Models/Data/Permissions.cs diff --git a/src/Core/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs similarity index 100% rename from src/Core/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs rename to src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs diff --git a/src/Core/OrganizationFeatures/OrganizationUsers/Interfaces/IAcceptOrgUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/Interfaces/IAcceptOrgUserCommand.cs similarity index 100% rename from src/Core/OrganizationFeatures/OrganizationUsers/Interfaces/IAcceptOrgUserCommand.cs rename to src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/Interfaces/IAcceptOrgUserCommand.cs diff --git a/src/Core/Repositories/IOrganizationUserRepository.cs b/src/Core/AdminConsole/Repositories/IOrganizationUserRepository.cs similarity index 100% rename from src/Core/Repositories/IOrganizationUserRepository.cs rename to src/Core/AdminConsole/Repositories/IOrganizationUserRepository.cs diff --git a/src/Infrastructure.Dapper/Repositories/OrganizationUserRepository.cs b/src/Infrastructure.Dapper/AdminConsole/Repositories/OrganizationUserRepository.cs similarity index 100% rename from src/Infrastructure.Dapper/Repositories/OrganizationUserRepository.cs rename to src/Infrastructure.Dapper/AdminConsole/Repositories/OrganizationUserRepository.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/OrganizationUserRepository.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/OrganizationUserRepository.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/OrganizationUserRepository.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/OrganizationUserRepository.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserOrganizationDetailsViewQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserOrganizationDetailsViewQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserOrganizationDetailsViewQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserOrganizationDetailsViewQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadCountByFreeOrganizationAdminUserQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadCountByFreeOrganizationAdminUserQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadCountByFreeOrganizationAdminUserQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadCountByFreeOrganizationAdminUserQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadCountByOrganizationIdEmailQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadCountByOrganizationIdEmailQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadCountByOrganizationIdEmailQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadCountByOrganizationIdEmailQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadCountByOrganizationIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadCountByOrganizationIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadCountByOrganizationIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadCountByOrganizationIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadOccupiedSeatCountByOrganizationIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadOccupiedSeatCountByOrganizationIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadOccupiedSeatCountByOrganizationIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadOccupiedSeatCountByOrganizationIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadOccupiedSmSeatCountByOrganizationIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadOccupiedSmSeatCountByOrganizationIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserReadOccupiedSmSeatCountByOrganizationIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserReadOccupiedSmSeatCountByOrganizationIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserUpdateWithCollectionsQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserUpdateWithCollectionsQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserUpdateWithCollectionsQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserUpdateWithCollectionsQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserUserViewQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserUserViewQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/OrganizationUserUserViewQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/OrganizationUserUserViewQuery.cs diff --git a/test/Core.Test/AutoFixture/OrganizationFixtures.cs b/test/Core.Test/AdminConsole/AutoFixture/OrganizationFixtures.cs similarity index 100% rename from test/Core.Test/AutoFixture/OrganizationFixtures.cs rename to test/Core.Test/AdminConsole/AutoFixture/OrganizationFixtures.cs diff --git a/test/Core.Test/AutoFixture/OrganizationUserFixtures.cs b/test/Core.Test/AdminConsole/AutoFixture/OrganizationUserFixtures.cs similarity index 100% rename from test/Core.Test/AutoFixture/OrganizationUserFixtures.cs rename to test/Core.Test/AdminConsole/AutoFixture/OrganizationUserFixtures.cs diff --git a/test/Core.Test/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommandTests.cs b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommandTests.cs similarity index 100% rename from test/Core.Test/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommandTests.cs rename to test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommandTests.cs diff --git a/test/Infrastructure.EFIntegration.Test/Repositories/EqualityComparers/OrganizationCompare.cs b/test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/EqualityComparers/OrganizationCompare.cs similarity index 100% rename from test/Infrastructure.EFIntegration.Test/Repositories/EqualityComparers/OrganizationCompare.cs rename to test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/EqualityComparers/OrganizationCompare.cs diff --git a/test/Infrastructure.EFIntegration.Test/Repositories/EqualityComparers/OrganizationUserCompare.cs b/test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/EqualityComparers/OrganizationUserCompare.cs similarity index 100% rename from test/Infrastructure.EFIntegration.Test/Repositories/EqualityComparers/OrganizationUserCompare.cs rename to test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/EqualityComparers/OrganizationUserCompare.cs diff --git a/test/Infrastructure.EFIntegration.Test/Repositories/EqualityComparers/OrganizationUserPolicyDetailsCompare.cs b/test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/EqualityComparers/OrganizationUserPolicyDetailsCompare.cs similarity index 100% rename from test/Infrastructure.EFIntegration.Test/Repositories/EqualityComparers/OrganizationUserPolicyDetailsCompare.cs rename to test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/EqualityComparers/OrganizationUserPolicyDetailsCompare.cs diff --git a/test/Infrastructure.EFIntegration.Test/Repositories/OrganizationUserRepositoryTests.cs b/test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/OrganizationUserRepositoryTests.cs similarity index 100% rename from test/Infrastructure.EFIntegration.Test/Repositories/OrganizationUserRepositoryTests.cs rename to test/Infrastructure.EFIntegration.Test/AdminConsole/Repositories/OrganizationUserRepositoryTests.cs diff --git a/test/Infrastructure.IntegrationTest/Repositories/OrganizationUserRepositoryTests.cs b/test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationUserRepositoryTests.cs similarity index 100% rename from test/Infrastructure.IntegrationTest/Repositories/OrganizationUserRepositoryTests.cs rename to test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationUserRepositoryTests.cs