diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a067f879cc82..0ed3ee0f71a1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -38,6 +38,8 @@ src/Identity @bitwarden/team-auth-dev bitwarden_license/src/Scim @bitwarden/team-admin-console-dev bitwarden_license/src/test/Scim.IntegrationTest @bitwarden/team-admin-console-dev bitwarden_license/src/test/Scim.ScimTest @bitwarden/team-admin-console-dev +src/Events @bitwarden/team-admin-console-dev +src/EventsProcessor @bitwarden/team-admin-console-dev # Billing team **/*billing* @bitwarden/team-billing-dev diff --git a/src/Api/Controllers/EventsController.cs b/src/Api/AdminConsole/Controllers/EventsController.cs similarity index 100% rename from src/Api/Controllers/EventsController.cs rename to src/Api/AdminConsole/Controllers/EventsController.cs diff --git a/src/Api/Public/Controllers/EventsController.cs b/src/Api/AdminConsole/Public/Controllers/EventsController.cs similarity index 100% rename from src/Api/Public/Controllers/EventsController.cs rename to src/Api/AdminConsole/Public/Controllers/EventsController.cs diff --git a/src/Core/Entities/Event.cs b/src/Core/AdminConsole/Entities/Event.cs similarity index 100% rename from src/Core/Entities/Event.cs rename to src/Core/AdminConsole/Entities/Event.cs diff --git a/src/Core/Enums/EventSystemUser.cs b/src/Core/AdminConsole/Enums/EventSystemUser.cs similarity index 100% rename from src/Core/Enums/EventSystemUser.cs rename to src/Core/AdminConsole/Enums/EventSystemUser.cs diff --git a/src/Core/Enums/EventType.cs b/src/Core/AdminConsole/Enums/EventType.cs similarity index 100% rename from src/Core/Enums/EventType.cs rename to src/Core/AdminConsole/Enums/EventType.cs diff --git a/src/Core/Models/Data/EventMessage.cs b/src/Core/AdminConsole/Models/Data/EventMessage.cs similarity index 100% rename from src/Core/Models/Data/EventMessage.cs rename to src/Core/AdminConsole/Models/Data/EventMessage.cs diff --git a/src/Core/Models/Data/EventTableEntity.cs b/src/Core/AdminConsole/Models/Data/EventTableEntity.cs similarity index 100% rename from src/Core/Models/Data/EventTableEntity.cs rename to src/Core/AdminConsole/Models/Data/EventTableEntity.cs diff --git a/src/Core/Models/Data/IEvent.cs b/src/Core/AdminConsole/Models/Data/IEvent.cs similarity index 100% rename from src/Core/Models/Data/IEvent.cs rename to src/Core/AdminConsole/Models/Data/IEvent.cs diff --git a/src/Core/Repositories/IEventRepository.cs b/src/Core/AdminConsole/Repositories/IEventRepository.cs similarity index 100% rename from src/Core/Repositories/IEventRepository.cs rename to src/Core/AdminConsole/Repositories/IEventRepository.cs diff --git a/src/Core/Repositories/TableStorage/EventRepository.cs b/src/Core/AdminConsole/Repositories/TableStorage/EventRepository.cs similarity index 100% rename from src/Core/Repositories/TableStorage/EventRepository.cs rename to src/Core/AdminConsole/Repositories/TableStorage/EventRepository.cs diff --git a/src/Infrastructure.Dapper/Repositories/EventRepository.cs b/src/Infrastructure.Dapper/AdminConsole/Repositories/EventRepository.cs similarity index 100% rename from src/Infrastructure.Dapper/Repositories/EventRepository.cs rename to src/Infrastructure.Dapper/AdminConsole/Repositories/EventRepository.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/EventRepository.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/EventRepository.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/EventRepository.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/EventRepository.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByCipherIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByCipherIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByCipherIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByCipherIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByOrganizationIdActingUserIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByOrganizationIdActingUserIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByOrganizationIdActingUserIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByOrganizationIdActingUserIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByOrganizationIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByOrganizationIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByOrganizationIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByOrganizationIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByOrganizationIdServiceAccountIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByOrganizationIdServiceAccountIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByOrganizationIdServiceAccountIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByOrganizationIdServiceAccountIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByProviderIdActingUserIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByProviderIdActingUserIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByProviderIdActingUserIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByProviderIdActingUserIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByProviderIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByProviderIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByProviderIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByProviderIdQuery.cs diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByUserIdQuery.cs b/src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByUserIdQuery.cs similarity index 100% rename from src/Infrastructure.EntityFramework/Repositories/Queries/EventReadPageByUserIdQuery.cs rename to src/Infrastructure.EntityFramework/AdminConsole/Repositories/Queries/EventReadPageByUserIdQuery.cs