diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 0879914..3f18ab7 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -41,4 +41,7 @@ - Apply the matching file-scoped rule in `.github/instructions/` when editing Application, Domain, Infrastructure, Presentation.Web, or Presentation.Api. - Use `docs/governance/` for detailed architecture, coding, tool, governance, runtime-observability, and administrative UX guidance. - Use `docs/product/` for product intent, ontology, user flows, feature definitions, and completion criteria. -- Follow existing patterns in the local folder before adding a new abstraction or dependency. \ No newline at end of file +- Follow existing patterns in the local folder before adding a new abstraction or dependency. + +## Command and Query Guidelines +- Commands and queries in Core.Application must remain presentation/infrastructure-agnostic; formatting and response shaping for agent/tool interactions belong in Infrastructure.AgentFramework tools/adapters, not in application handlers. \ No newline at end of file diff --git a/docs/governance/coding-standards.md b/docs/governance/coding-standards.md index 3881d9d..7049ee4 100644 --- a/docs/governance/coding-standards.md +++ b/docs/governance/coding-standards.md @@ -6,6 +6,9 @@ Define implementation expectations for contributors and AI agents. ## Naming Standards - Projects and folders: PascalCase. - Namespaces: align with folder/project structure. +- Use plural folders for feature and collection boundaries, such as `Actors`, `Chats`, `Tools`, `Configurations`, and `Endpoints`. +- Name each source file after its primary type. Use singular or plural type names according to the type's responsibility, not mechanically: `ActorEntity.cs`, `ChatSession.cs`, `ChatSessionsQuery.cs`, and `ActorsTool.cs` are all valid. +- Do not create a file whose name duplicates a folder merely to satisfy a naming rule; use the type's precise responsibility in the filename. - Classes, records, enums: PascalCase. - Interfaces: `I` prefix + PascalCase. - Private fields: `_camelCase`. diff --git a/docs/governance/project-guide-blazor.md b/docs/governance/project-guide-blazor.md index a824e53..512b88c 100644 --- a/docs/governance/project-guide-blazor.md +++ b/docs/governance/project-guide-blazor.md @@ -80,7 +80,7 @@ Features │ ├── HomePage.razor │ -├── Chat +├── Chats │ ├── ChatPage.razor │ ├── Components │ ├── Models @@ -101,6 +101,7 @@ Features ## Rules +- Use plural feature folders for collection boundaries, such as `Chats`, `Assets`, and `Attestations`; name files after their primary singular or plural type responsibility. - Features own their components. - Features own their models. - Features own their services. diff --git a/docs/governance/style-guide.md b/docs/governance/style-guide.md index b5a99ee..b9c8ac1 100644 --- a/docs/governance/style-guide.md +++ b/docs/governance/style-guide.md @@ -24,7 +24,9 @@ Define repository-wide documentation and collaboration style. - Update affected docs when behavior or requirements change. ## GitHub Issue Style -- Include business problem, value, acceptance criteria, and out-of-scope items. +- Bug reports require the problem, steps to reproduce, expected behavior, error page URL, and screenshot. +- Feature requests require the problem and requested outcome; contributors may add supporting context when useful. +- Maintainers expand accepted work into feature documentation only when implementation planning needs additional detail. ## Pull Request Style - Summarize intent, changed layers, testing evidence, and follow-up risks. diff --git a/src/Core.Application/Abstractions/IAgentFrameworkContext.cs b/src/Core.Application/Abstractions/IAgentFrameworkContext.cs index f230365..3e2bfd9 100644 --- a/src/Core.Application/Abstractions/IAgentFrameworkContext.cs +++ b/src/Core.Application/Abstractions/IAgentFrameworkContext.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Domain.Actor; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentFramework.Core.Domain.Chats; using Microsoft.EntityFrameworkCore.Metadata; namespace Goodtocode.AgentFramework.Core.Application.Abstractions; diff --git a/src/Core.Application/Actor/ActorDto.cs b/src/Core.Application/Actors/ActorDto.cs similarity index 90% rename from src/Core.Application/Actor/ActorDto.cs rename to src/Core.Application/Actors/ActorDto.cs index 81af883..744a02c 100644 --- a/src/Core.Application/Actor/ActorDto.cs +++ b/src/Core.Application/Actors/ActorDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class ActorDto { diff --git a/src/Core.Application/Actor/ActorGuard.cs b/src/Core.Application/Actors/ActorGuard.cs similarity index 93% rename from src/Core.Application/Actor/ActorGuard.cs rename to src/Core.Application/Actors/ActorGuard.cs index da71625..dbcde28 100644 --- a/src/Core.Application/Actor/ActorGuard.cs +++ b/src/Core.Application/Actors/ActorGuard.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public static class ActorGuard { diff --git a/src/Core.Application/Actor/CreateOurActorCommand.cs b/src/Core.Application/Actors/CreateOurActorCommand.cs similarity index 89% rename from src/Core.Application/Actor/CreateOurActorCommand.cs rename to src/Core.Application/Actors/CreateOurActorCommand.cs index 2cefe7b..f7524f5 100644 --- a/src/Core.Application/Actor/CreateOurActorCommand.cs +++ b/src/Core.Application/Actors/CreateOurActorCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class CreateOurActorCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/CreateOurActorCommandValidator.cs b/src/Core.Application/Actors/CreateOurActorCommandValidator.cs similarity index 83% rename from src/Core.Application/Actor/CreateOurActorCommandValidator.cs rename to src/Core.Application/Actors/CreateOurActorCommandValidator.cs index 96d8776..955f4c7 100644 --- a/src/Core.Application/Actor/CreateOurActorCommandValidator.cs +++ b/src/Core.Application/Actors/CreateOurActorCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class CreateOurActorCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/DeleteOurActorByOwnerIdCommand.cs b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs similarity index 92% rename from src/Core.Application/Actor/DeleteOurActorByOwnerIdCommand.cs rename to src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs index 08e50de..f58292c 100644 --- a/src/Core.Application/Actor/DeleteOurActorByOwnerIdCommand.cs +++ b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class DeleteActorByOwnerIdCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/DeleteOurActorByOwnerIdCommandValidator.cs b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs similarity index 78% rename from src/Core.Application/Actor/DeleteOurActorByOwnerIdCommandValidator.cs rename to src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs index 8fe05ad..fbebddd 100644 --- a/src/Core.Application/Actor/DeleteOurActorByOwnerIdCommandValidator.cs +++ b/src/Core.Application/Actors/DeleteOurActorByOwnerIdCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class DeleteOurActorByOwnerIdCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/DeleteOurActorCommand.cs b/src/Core.Application/Actors/DeleteOurActorCommand.cs similarity index 92% rename from src/Core.Application/Actor/DeleteOurActorCommand.cs rename to src/Core.Application/Actors/DeleteOurActorCommand.cs index c1a8252..3d2965c 100644 --- a/src/Core.Application/Actor/DeleteOurActorCommand.cs +++ b/src/Core.Application/Actors/DeleteOurActorCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class DeleteOurActorCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/DeleteOurActorCommandValidator.cs b/src/Core.Application/Actors/DeleteOurActorCommandValidator.cs similarity index 75% rename from src/Core.Application/Actor/DeleteOurActorCommandValidator.cs rename to src/Core.Application/Actors/DeleteOurActorCommandValidator.cs index 92434a5..d10b613 100644 --- a/src/Core.Application/Actor/DeleteOurActorCommandValidator.cs +++ b/src/Core.Application/Actors/DeleteOurActorCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class DeleteOurActorCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/GetMyActorQuery.cs b/src/Core.Application/Actors/GetMyActorQuery.cs similarity index 91% rename from src/Core.Application/Actor/GetMyActorQuery.cs rename to src/Core.Application/Actors/GetMyActorQuery.cs index 1390d81..b6d95d7 100644 --- a/src/Core.Application/Actor/GetMyActorQuery.cs +++ b/src/Core.Application/Actors/GetMyActorQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetMyActorQuery : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/GetMyActorQueryValidator.cs b/src/Core.Application/Actors/GetMyActorQueryValidator.cs similarity index 66% rename from src/Core.Application/Actor/GetMyActorQueryValidator.cs rename to src/Core.Application/Actors/GetMyActorQueryValidator.cs index 11b5d7c..093d8cf 100644 --- a/src/Core.Application/Actor/GetMyActorQueryValidator.cs +++ b/src/Core.Application/Actors/GetMyActorQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetMyActorQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/GetOurActorChatSessionQuery.cs b/src/Core.Application/Actors/GetOurActorChatSessionQuery.cs similarity index 87% rename from src/Core.Application/Actor/GetOurActorChatSessionQuery.cs rename to src/Core.Application/Actors/GetOurActorChatSessionQuery.cs index 286e71e..59dbb69 100644 --- a/src/Core.Application/Actor/GetOurActorChatSessionQuery.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorChatSessionQuery : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/GetOurActorChatSessionQueryValidator.cs b/src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs similarity index 80% rename from src/Core.Application/Actor/GetOurActorChatSessionQueryValidator.cs rename to src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs index 5e57f96..edff521 100644 --- a/src/Core.Application/Actor/GetOurActorChatSessionQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorChatSessionQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/GetOurActorChatSessionsPaginatedQuery.cs b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs similarity index 90% rename from src/Core.Application/Actor/GetOurActorChatSessionsPaginatedQuery.cs rename to src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs index 657d30f..f57e5e0 100644 --- a/src/Core.Application/Actor/GetOurActorChatSessionsPaginatedQuery.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorChatSessionsPaginatedQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Actor/GetOurActorChatSessionsPaginatedQueryValidator.cs b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs similarity index 90% rename from src/Core.Application/Actor/GetOurActorChatSessionsPaginatedQueryValidator.cs rename to src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs index 8825835..dc76c6a 100644 --- a/src/Core.Application/Actor/GetOurActorChatSessionsPaginatedQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsPaginatedQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorChatSessionsPaginatedQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/GetOurActorChatSessionsQuery.cs b/src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs similarity index 89% rename from src/Core.Application/Actor/GetOurActorChatSessionsQuery.cs rename to src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs index 09ff9b4..83f6937 100644 --- a/src/Core.Application/Actor/GetOurActorChatSessionsQuery.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsQuery.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorChatSessionsQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Actor/GetOurActorChatSessionsQueryValidator.cs b/src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs similarity index 88% rename from src/Core.Application/Actor/GetOurActorChatSessionsQueryValidator.cs rename to src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs index 8b3e87d..eb386bc 100644 --- a/src/Core.Application/Actor/GetOurActorChatSessionsQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorChatSessionsQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorChatSessionsQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/GetOurActorQuery.cs b/src/Core.Application/Actors/GetOurActorQuery.cs similarity index 91% rename from src/Core.Application/Actor/GetOurActorQuery.cs rename to src/Core.Application/Actors/GetOurActorQuery.cs index 241a139..6f9a5f4 100644 --- a/src/Core.Application/Actor/GetOurActorQuery.cs +++ b/src/Core.Application/Actors/GetOurActorQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorQuery : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/GetOurActorQueryValidator.cs b/src/Core.Application/Actors/GetOurActorQueryValidator.cs similarity index 73% rename from src/Core.Application/Actor/GetOurActorQueryValidator.cs rename to src/Core.Application/Actors/GetOurActorQueryValidator.cs index a5c5907..aee4094 100644 --- a/src/Core.Application/Actor/GetOurActorQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/GetOurActorsByNameQuery.cs b/src/Core.Application/Actors/GetOurActorsByNameQuery.cs similarity index 94% rename from src/Core.Application/Actor/GetOurActorsByNameQuery.cs rename to src/Core.Application/Actors/GetOurActorsByNameQuery.cs index 414be5e..1c4ef8d 100644 --- a/src/Core.Application/Actor/GetOurActorsByNameQuery.cs +++ b/src/Core.Application/Actors/GetOurActorsByNameQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorsByNameQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Actor/GetOurActorsByNameQueryValidator.cs b/src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs similarity index 75% rename from src/Core.Application/Actor/GetOurActorsByNameQueryValidator.cs rename to src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs index 93ffebf..7f13383 100644 --- a/src/Core.Application/Actor/GetOurActorsByNameQueryValidator.cs +++ b/src/Core.Application/Actors/GetOurActorsByNameQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class GetOurActorsByNameQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Actor/SaveMyActorCommand.cs b/src/Core.Application/Actors/SaveMyActorCommand.cs similarity index 92% rename from src/Core.Application/Actor/SaveMyActorCommand.cs rename to src/Core.Application/Actors/SaveMyActorCommand.cs index e3536f0..e36c28d 100644 --- a/src/Core.Application/Actor/SaveMyActorCommand.cs +++ b/src/Core.Application/Actors/SaveMyActorCommand.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Domain.Actors; -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class SaveMyActorCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Actor/SaveMyActorCommandValidator.cs b/src/Core.Application/Actors/SaveMyActorCommandValidator.cs similarity index 82% rename from src/Core.Application/Actor/SaveMyActorCommandValidator.cs rename to src/Core.Application/Actors/SaveMyActorCommandValidator.cs index 51f6967..f207656 100644 --- a/src/Core.Application/Actor/SaveMyActorCommandValidator.cs +++ b/src/Core.Application/Actors/SaveMyActorCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Actor; +namespace Goodtocode.AgentFramework.Core.Application.Actors; public class SaveMyActorCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/ChatGuard.cs b/src/Core.Application/Chats/ChatGuard.cs similarity index 96% rename from src/Core.Application/Chat/ChatGuard.cs rename to src/Core.Application/Chats/ChatGuard.cs index 61da490..5f1e0fc 100644 --- a/src/Core.Application/Chat/ChatGuard.cs +++ b/src/Core.Application/Chats/ChatGuard.cs @@ -1,7 +1,7 @@ -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Chats; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public static class ChatGuard { diff --git a/src/Core.Application/Chat/ChatMessageDto.cs b/src/Core.Application/Chats/ChatMessageDto.cs similarity index 86% rename from src/Core.Application/Chat/ChatMessageDto.cs rename to src/Core.Application/Chats/ChatMessageDto.cs index 447dcc4..ae8f824 100644 --- a/src/Core.Application/Chat/ChatMessageDto.cs +++ b/src/Core.Application/Chats/ChatMessageDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class ChatMessageDto { diff --git a/src/Core.Application/Chat/ChatSessionDto.cs b/src/Core.Application/Chats/ChatSessionDto.cs similarity index 86% rename from src/Core.Application/Chat/ChatSessionDto.cs rename to src/Core.Application/Chats/ChatSessionDto.cs index 4349bcd..81ac784 100644 --- a/src/Core.Application/Chat/ChatSessionDto.cs +++ b/src/Core.Application/Chats/ChatSessionDto.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Chats; -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class ChatSessionDto { diff --git a/src/Core.Application/Chat/CreateMyChatMessageCommand.cs b/src/Core.Application/Chats/CreateMyChatMessageCommand.cs similarity index 96% rename from src/Core.Application/Chat/CreateMyChatMessageCommand.cs rename to src/Core.Application/Chats/CreateMyChatMessageCommand.cs index 90cd4d7..ae60c1d 100644 --- a/src/Core.Application/Chat/CreateMyChatMessageCommand.cs +++ b/src/Core.Application/Chats/CreateMyChatMessageCommand.cs @@ -1,9 +1,9 @@ -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Chats; using Goodtocode.AgentFramework.Core.Application.Governance; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class CreateMyChatMessageCommand : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Chat/CreateMyChatMessageCommandValidator.cs b/src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs similarity index 83% rename from src/Core.Application/Chat/CreateMyChatMessageCommandValidator.cs rename to src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs index f6cf481..5bb8a9b 100644 --- a/src/Core.Application/Chat/CreateMyChatMessageCommandValidator.cs +++ b/src/Core.Application/Chats/CreateMyChatMessageCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class CreateMyChatMessageCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/CreateMyChatSessionCommand.cs b/src/Core.Application/Chats/CreateMyChatSessionCommand.cs similarity index 95% rename from src/Core.Application/Chat/CreateMyChatSessionCommand.cs rename to src/Core.Application/Chats/CreateMyChatSessionCommand.cs index 9bb7d21..0f8530e 100644 --- a/src/Core.Application/Chat/CreateMyChatSessionCommand.cs +++ b/src/Core.Application/Chats/CreateMyChatSessionCommand.cs @@ -1,10 +1,10 @@ -using Goodtocode.AgentFramework.Core.Domain.Actor; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentFramework.Core.Domain.Chats; using Goodtocode.AgentFramework.Core.Application.Governance; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class CreateMyChatSessionCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Chat/CreateMyChatSessionCommandValidator.cs b/src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs similarity index 79% rename from src/Core.Application/Chat/CreateMyChatSessionCommandValidator.cs rename to src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs index aca3160..d220a90 100644 --- a/src/Core.Application/Chat/CreateMyChatSessionCommandValidator.cs +++ b/src/Core.Application/Chats/CreateMyChatSessionCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class CreateMyChatSessionCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/DeleteMyChatSessionCommand.cs b/src/Core.Application/Chats/DeleteMyChatSessionCommand.cs similarity index 94% rename from src/Core.Application/Chat/DeleteMyChatSessionCommand.cs rename to src/Core.Application/Chats/DeleteMyChatSessionCommand.cs index 61f9ca9..7967db5 100644 --- a/src/Core.Application/Chat/DeleteMyChatSessionCommand.cs +++ b/src/Core.Application/Chats/DeleteMyChatSessionCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class DeleteMyChatSessionCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Chat/DeleteMyChatSessionCommandValidator.cs b/src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs similarity index 78% rename from src/Core.Application/Chat/DeleteMyChatSessionCommandValidator.cs rename to src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs index 7b0536c..4529f80 100644 --- a/src/Core.Application/Chat/DeleteMyChatSessionCommandValidator.cs +++ b/src/Core.Application/Chats/DeleteMyChatSessionCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class DeleteMyChatSessionCommandValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/GetMyChatMessageQuery.cs b/src/Core.Application/Chats/GetMyChatMessageQuery.cs similarity index 93% rename from src/Core.Application/Chat/GetMyChatMessageQuery.cs rename to src/Core.Application/Chats/GetMyChatMessageQuery.cs index 1099452..ef37d71 100644 --- a/src/Core.Application/Chat/GetMyChatMessageQuery.cs +++ b/src/Core.Application/Chats/GetMyChatMessageQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatMessageQuery : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Chat/GetMyChatMessageQueryValidator.cs b/src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs similarity index 77% rename from src/Core.Application/Chat/GetMyChatMessageQueryValidator.cs rename to src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs index 3688bac..ba69e39 100644 --- a/src/Core.Application/Chat/GetMyChatMessageQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatMessageQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatMessageQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/GetMyChatMessagesPaginatedQuery.cs b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs similarity index 95% rename from src/Core.Application/Chat/GetMyChatMessagesPaginatedQuery.cs rename to src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs index 8bedfbb..aa55939 100644 --- a/src/Core.Application/Chat/GetMyChatMessagesPaginatedQuery.cs +++ b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatMessagesPaginatedQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Chat/GetMyChatMessagesPaginatedQueryValidator.cs b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs similarity index 92% rename from src/Core.Application/Chat/GetMyChatMessagesPaginatedQueryValidator.cs rename to src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs index bed6e21..29923b0 100644 --- a/src/Core.Application/Chat/GetMyChatMessagesPaginatedQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatMessagesPaginatedQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatMessagesPaginatedQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/GetMyChatSessionMessagesQuery.cs b/src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs similarity index 94% rename from src/Core.Application/Chat/GetMyChatSessionMessagesQuery.cs rename to src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs index c942052..90caa32 100644 --- a/src/Core.Application/Chat/GetMyChatSessionMessagesQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionMessagesQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionMessagesQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Chat/GetMyChatSessionMessagesQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs similarity index 78% rename from src/Core.Application/Chat/GetMyChatSessionMessagesQueryValidator.cs rename to src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs index 7dc4d90..3a4e485 100644 --- a/src/Core.Application/Chat/GetMyChatSessionMessagesQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionMessagesQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionMessagesQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/GetMyChatSessionQuery.cs b/src/Core.Application/Chats/GetMyChatSessionQuery.cs similarity index 94% rename from src/Core.Application/Chat/GetMyChatSessionQuery.cs rename to src/Core.Application/Chats/GetMyChatSessionQuery.cs index 0fc29b4..76dbcfd 100644 --- a/src/Core.Application/Chat/GetMyChatSessionQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionQuery : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Chat/GetMyChatSessionQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs similarity index 77% rename from src/Core.Application/Chat/GetMyChatSessionQueryValidator.cs rename to src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs index fac9808..e2ba9b2 100644 --- a/src/Core.Application/Chat/GetMyChatSessionQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/GetMyChatSessionsPaginatedQuery.cs b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs similarity index 95% rename from src/Core.Application/Chat/GetMyChatSessionsPaginatedQuery.cs rename to src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs index 047c74f..c345b09 100644 --- a/src/Core.Application/Chat/GetMyChatSessionsPaginatedQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionsPaginatedQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Chat/GetMyChatSessionsPaginatedQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs similarity index 92% rename from src/Core.Application/Chat/GetMyChatSessionsPaginatedQueryValidator.cs rename to src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs index 565d2f8..dcae49b 100644 --- a/src/Core.Application/Chat/GetMyChatSessionsPaginatedQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsPaginatedQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionsPaginatedQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/GetMyChatSessionsQuery.cs b/src/Core.Application/Chats/GetMyChatSessionsQuery.cs similarity index 95% rename from src/Core.Application/Chat/GetMyChatSessionsQuery.cs rename to src/Core.Application/Chats/GetMyChatSessionsQuery.cs index a38ec0b..55fa0e9 100644 --- a/src/Core.Application/Chat/GetMyChatSessionsQuery.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsQuery.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionsQuery : UserScopedRequest, IRequest> { diff --git a/src/Core.Application/Chat/GetMyChatSessionsQueryValidator.cs b/src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs similarity index 89% rename from src/Core.Application/Chat/GetMyChatSessionsQueryValidator.cs rename to src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs index 26163c3..82be05b 100644 --- a/src/Core.Application/Chat/GetMyChatSessionsQueryValidator.cs +++ b/src/Core.Application/Chats/GetMyChatSessionsQueryValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class GetMyChatSessionsQueryValidator : SecuredValidator { diff --git a/src/Core.Application/Chat/PatchMyChatSessionCommand.cs b/src/Core.Application/Chats/PatchMyChatSessionCommand.cs similarity index 94% rename from src/Core.Application/Chat/PatchMyChatSessionCommand.cs rename to src/Core.Application/Chats/PatchMyChatSessionCommand.cs index 8d08b0f..998182b 100644 --- a/src/Core.Application/Chat/PatchMyChatSessionCommand.cs +++ b/src/Core.Application/Chats/PatchMyChatSessionCommand.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class PatchMyChatSessionCommand : UserScopedRequest, IRequest { diff --git a/src/Core.Application/Chat/PatchMyChatSessionCommandValidator.cs b/src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs similarity index 82% rename from src/Core.Application/Chat/PatchMyChatSessionCommandValidator.cs rename to src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs index 1eb80c6..97c72b2 100644 --- a/src/Core.Application/Chat/PatchMyChatSessionCommandValidator.cs +++ b/src/Core.Application/Chats/PatchMyChatSessionCommandValidator.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Application.Chat; +namespace Goodtocode.AgentFramework.Core.Application.Chats; public class PatchMyChatSessionCommandValidator : SecuredValidator { diff --git a/src/Core.Domain/Actor/ActorEntity.cs b/src/Core.Domain/Actors/ActorEntity.cs similarity index 96% rename from src/Core.Domain/Actor/ActorEntity.cs rename to src/Core.Domain/Actors/ActorEntity.cs index 11cf5a5..532ec3a 100644 --- a/src/Core.Domain/Actor/ActorEntity.cs +++ b/src/Core.Domain/Actors/ActorEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Actor; +namespace Goodtocode.AgentFramework.Core.Domain.Actors; public class ActorEntity : SecuredEntity { diff --git a/src/Core.Domain/Chat/ChatMessageEntity.cs b/src/Core.Domain/Chats/ChatMessageEntity.cs similarity index 96% rename from src/Core.Domain/Chat/ChatMessageEntity.cs rename to src/Core.Domain/Chats/ChatMessageEntity.cs index 44bcabf..c84ec9f 100644 --- a/src/Core.Domain/Chat/ChatMessageEntity.cs +++ b/src/Core.Domain/Chats/ChatMessageEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Chat; +namespace Goodtocode.AgentFramework.Core.Domain.Chats; public class ChatMessageEntity : SecuredEntity, IDomainEntity { diff --git a/src/Core.Domain/Chat/ChatMessageRoles.cs b/src/Core.Domain/Chats/ChatMessageRoles.cs similarity index 57% rename from src/Core.Domain/Chat/ChatMessageRoles.cs rename to src/Core.Domain/Chats/ChatMessageRoles.cs index 0199cd5..b98a163 100644 --- a/src/Core.Domain/Chat/ChatMessageRoles.cs +++ b/src/Core.Domain/Chats/ChatMessageRoles.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Chat; +namespace Goodtocode.AgentFramework.Core.Domain.Chats; public enum ChatMessageRole { diff --git a/src/Core.Domain/Chat/ChatSessionEntity.cs b/src/Core.Domain/Chats/ChatSessionEntity.cs similarity index 97% rename from src/Core.Domain/Chat/ChatSessionEntity.cs rename to src/Core.Domain/Chats/ChatSessionEntity.cs index e8b7afd..9b58c5a 100644 --- a/src/Core.Domain/Chat/ChatSessionEntity.cs +++ b/src/Core.Domain/Chats/ChatSessionEntity.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Core.Domain.Chat; +namespace Goodtocode.AgentFramework.Core.Domain.Chats; public class ChatSessionEntity : SecuredEntity { diff --git a/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs b/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs index 8a8e38b..3ebef60 100644 --- a/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/ActorsTool.cs @@ -1,5 +1,5 @@ using System.ComponentModel; -using Goodtocode.AgentFramework.Core.Application.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; diff --git a/src/Infrastructure.AgentFramework/Tools/ChatMessagesTool.cs b/src/Infrastructure.AgentFramework/Tools/ChatMessagesTool.cs index 03d91f7..2d5cbc2 100644 --- a/src/Infrastructure.AgentFramework/Tools/ChatMessagesTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/ChatMessagesTool.cs @@ -1,5 +1,5 @@ using System.ComponentModel; -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; diff --git a/src/Infrastructure.AgentFramework/Tools/ChatSessionsTool.cs b/src/Infrastructure.AgentFramework/Tools/ChatSessionsTool.cs index 17e0894..a8b4654 100644 --- a/src/Infrastructure.AgentFramework/Tools/ChatSessionsTool.cs +++ b/src/Infrastructure.AgentFramework/Tools/ChatSessionsTool.cs @@ -1,5 +1,5 @@ using System.ComponentModel; -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; namespace Goodtocode.AgentFramework.Infrastructure.AgentFramework.Tools; diff --git a/src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs b/src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs index 43e1525..eb4491c 100644 --- a/src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs +++ b/src/Infrastructure.SqlServer/Persistence/AgentFrameworkContext.cs @@ -1,7 +1,7 @@ using System.Reflection; using Goodtocode.AgentFramework.Core.Application.Abstractions; -using Goodtocode.AgentFramework.Core.Domain.Actor; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentFramework.Core.Domain.Chats; using Microsoft.EntityFrameworkCore.ChangeTracking; namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence; diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs index 74cd99b..782e4af 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ActorsConfig.cs @@ -1,4 +1,4 @@ -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs index 7565f41..191d86f 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatMessagesConfig.cs @@ -1,4 +1,4 @@ -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; diff --git a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs index b870908..e1cd0e9 100644 --- a/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs +++ b/src/Infrastructure.SqlServer/Persistence/Configurations/ChatSessionsConfig.cs @@ -1,4 +1,4 @@ -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Infrastructure.SqlServer.Persistence.Configurations; diff --git a/src/Presentation.Api/Endpoints/Actor/MyActorEndpoints.cs b/src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs similarity index 97% rename from src/Presentation.Api/Endpoints/Actor/MyActorEndpoints.cs rename to src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs index 65e23dd..8e7ce1d 100644 --- a/src/Presentation.Api/Endpoints/Actor/MyActorEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Actors/MyActorEndpoints.cs @@ -1,4 +1,4 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Actor; diff --git a/src/Presentation.Api/Endpoints/Chat/MyChatMessageEndpoints.cs b/src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs similarity index 98% rename from src/Presentation.Api/Endpoints/Chat/MyChatMessageEndpoints.cs rename to src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs index 0ad98c9..25193b1 100644 --- a/src/Presentation.Api/Endpoints/Chat/MyChatMessageEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Chats/MyChatMessageEndpoints.cs @@ -1,4 +1,4 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Chat; diff --git a/src/Presentation.Api/Endpoints/Chat/MyChatSessionEndpoints.cs b/src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs similarity index 98% rename from src/Presentation.Api/Endpoints/Chat/MyChatSessionEndpoints.cs rename to src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs index 4663c1a..9b58d80 100644 --- a/src/Presentation.Api/Endpoints/Chat/MyChatSessionEndpoints.cs +++ b/src/Presentation.Api/Endpoints/Chats/MyChatSessionEndpoints.cs @@ -1,4 +1,4 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; namespace Goodtocode.AgentFramework.Presentation.Api.Endpoints.Chat; diff --git a/src/Presentation.Web/ConfigureServices.cs b/src/Presentation.Web/ConfigureServices.cs index b771f33..38fed3d 100644 --- a/src/Presentation.Web/ConfigureServices.cs +++ b/src/Presentation.Web/ConfigureServices.cs @@ -1,8 +1,8 @@ using System.Reflection; using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Auth; using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Storage; -using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services; -using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Formatting; +using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services; +using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting; using Microsoft.Extensions.Options; using Microsoft.FluentUI.AspNetCore.Components; using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services; diff --git a/src/Presentation.Web/Features/Chat/ChatPage.razor b/src/Presentation.Web/Features/Chats/ChatPage.razor similarity index 96% rename from src/Presentation.Web/Features/Chat/ChatPage.razor rename to src/Presentation.Web/Features/Chats/ChatPage.razor index 6a6d07b..f9cd293 100644 --- a/src/Presentation.Web/Features/Chat/ChatPage.razor +++ b/src/Presentation.Web/Features/Chats/ChatPage.razor @@ -1,13 +1,13 @@ @page "/chat" -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Components -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services +@using System.Text.RegularExpressions +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Components +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services @using Goodtocode.AgentFramework.Presentation.Web.Library.Auth.Services @using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Components.Authorization @using Microsoft.JSInterop -@using System.Text.RegularExpressions @attribute [Authorize] @implements IAsyncDisposable @@ -227,7 +227,7 @@ { if (firstRender) { - chatPageJsModule = await JSRuntime.InvokeAsync("import", "./Features/Chat/ChatPage.razor.js"); + chatPageJsModule = await JSRuntime.InvokeAsync("import", "./Features/Chats/ChatPage.razor.js"); shouldScrollToBottom = true; } diff --git a/src/Presentation.Web/Features/Chat/ChatPage.razor.js b/src/Presentation.Web/Features/Chats/ChatPage.razor.js similarity index 100% rename from src/Presentation.Web/Features/Chat/ChatPage.razor.js rename to src/Presentation.Web/Features/Chats/ChatPage.razor.js diff --git a/src/Presentation.Web/Features/Chat/Components/ChatActionStrip.razor b/src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor similarity index 90% rename from src/Presentation.Web/Features/Chat/Components/ChatActionStrip.razor rename to src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor index d51e064..0af0d88 100644 --- a/src/Presentation.Web/Features/Chat/Components/ChatActionStrip.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatActionStrip.razor @@ -1,4 +1,4 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models @if (Actions.Count > 0) { diff --git a/src/Presentation.Web/Features/Chat/Components/ChatMessageList.razor b/src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor similarity index 92% rename from src/Presentation.Web/Features/Chat/Components/ChatMessageList.razor rename to src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor index 472b599..f7fd898 100644 --- a/src/Presentation.Web/Features/Chat/Components/ChatMessageList.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatMessageList.razor @@ -1,7 +1,7 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Formatting -@using Microsoft.AspNetCore.Components @using System.Text.RegularExpressions +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Microsoft.AspNetCore.Components @inject IChatMessageFormatter ChatMessageFormatter diff --git a/src/Presentation.Web/Features/Chat/Components/ChatSessionEditForm.razor b/src/Presentation.Web/Features/Chats/Components/ChatSessionEditForm.razor similarity index 100% rename from src/Presentation.Web/Features/Chat/Components/ChatSessionEditForm.razor rename to src/Presentation.Web/Features/Chats/Components/ChatSessionEditForm.razor diff --git a/src/Presentation.Web/Features/Chat/Components/ChatSessionList.razor b/src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor similarity index 96% rename from src/Presentation.Web/Features/Chat/Components/ChatSessionList.razor rename to src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor index 5d81c62..5f3ac63 100644 --- a/src/Presentation.Web/Features/Chat/Components/ChatSessionList.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatSessionList.razor @@ -1,6 +1,6 @@ +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services @using Goodtocode.AgentFramework.Presentation.Web.Library.Skeleton -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chat/Components/ChatSessionStrip.razor b/src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor similarity index 96% rename from src/Presentation.Web/Features/Chat/Components/ChatSessionStrip.razor rename to src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor index b4e900d..bfbf0ab 100644 --- a/src/Presentation.Web/Features/Chat/Components/ChatSessionStrip.razor +++ b/src/Presentation.Web/Features/Chats/Components/ChatSessionStrip.razor @@ -1,6 +1,6 @@ +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services @using Goodtocode.AgentFramework.Presentation.Web.Library.Skeleton -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chat/Components/NewChatMessageCard.razor b/src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor similarity index 95% rename from src/Presentation.Web/Features/Chat/Components/NewChatMessageCard.razor rename to src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor index 7ccac09..212ac47 100644 --- a/src/Presentation.Web/Features/Chat/Components/NewChatMessageCard.razor +++ b/src/Presentation.Web/Features/Chats/Components/NewChatMessageCard.razor @@ -1,5 +1,5 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chat/Components/NewChatMessageInput.razor b/src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor similarity index 95% rename from src/Presentation.Web/Features/Chat/Components/NewChatMessageInput.razor rename to src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor index d19cb80..f16ebaf 100644 --- a/src/Presentation.Web/Features/Chat/Components/NewChatMessageInput.razor +++ b/src/Presentation.Web/Features/Chats/Components/NewChatMessageInput.razor @@ -1,5 +1,5 @@ -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models -@using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models +@using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services @inject IChatService chatService diff --git a/src/Presentation.Web/Features/Chat/Components/NewChatSessionButton.razor b/src/Presentation.Web/Features/Chats/Components/NewChatSessionButton.razor similarity index 100% rename from src/Presentation.Web/Features/Chat/Components/NewChatSessionButton.razor rename to src/Presentation.Web/Features/Chats/Components/NewChatSessionButton.razor diff --git a/src/Presentation.Web/Features/Chat/Components/SuggestedPromptsStrip.razor b/src/Presentation.Web/Features/Chats/Components/SuggestedPromptsStrip.razor similarity index 100% rename from src/Presentation.Web/Features/Chat/Components/SuggestedPromptsStrip.razor rename to src/Presentation.Web/Features/Chats/Components/SuggestedPromptsStrip.razor diff --git a/src/Presentation.Web/Features/Chat/Formatting/IChatMessageFormatter.cs b/src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs similarity index 91% rename from src/Presentation.Web/Features/Chat/Formatting/IChatMessageFormatter.cs rename to src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs index ab5dd86..79ce009 100644 --- a/src/Presentation.Web/Features/Chat/Formatting/IChatMessageFormatter.cs +++ b/src/Presentation.Web/Features/Chats/Formatting/IChatMessageFormatter.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Formatting; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting; public interface IChatMessageFormatter { diff --git a/src/Presentation.Web/Features/Chat/Formatting/MarkdownChatMessageFormatter.cs b/src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs similarity index 99% rename from src/Presentation.Web/Features/Chat/Formatting/MarkdownChatMessageFormatter.cs rename to src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs index 85ba5e7..f520989 100644 --- a/src/Presentation.Web/Features/Chat/Formatting/MarkdownChatMessageFormatter.cs +++ b/src/Presentation.Web/Features/Chats/Formatting/MarkdownChatMessageFormatter.cs @@ -1,7 +1,7 @@ using System.Text.RegularExpressions; using Markdig; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Formatting; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Formatting; public sealed partial class MarkdownChatMessageFormatter : IChatMessageFormatter { diff --git a/src/Presentation.Web/Features/Chat/Models/ChatActionOption.cs b/src/Presentation.Web/Features/Chats/Models/ChatActionOption.cs similarity index 94% rename from src/Presentation.Web/Features/Chat/Models/ChatActionOption.cs rename to src/Presentation.Web/Features/Chats/Models/ChatActionOption.cs index 6e866d9..53e1726 100644 --- a/src/Presentation.Web/Features/Chat/Models/ChatActionOption.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatActionOption.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; public sealed class ChatActionOption { diff --git a/src/Presentation.Web/Features/Chat/Models/ChatMessageModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs similarity index 97% rename from src/Presentation.Web/Features/Chat/Models/ChatMessageModel.cs rename to src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs index e78fbbf..f67ba4c 100644 --- a/src/Presentation.Web/Features/Chat/Models/ChatMessageModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatMessageModel.cs @@ -1,4 +1,4 @@ -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; public class ChatMessageModel { diff --git a/src/Presentation.Web/Features/Chat/Models/ChatSessionModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs similarity index 99% rename from src/Presentation.Web/Features/Chat/Models/ChatSessionModel.cs rename to src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs index b5c547f..5ddf1f4 100644 --- a/src/Presentation.Web/Features/Chat/Models/ChatSessionModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSessionModel.cs @@ -1,6 +1,6 @@ using System.ComponentModel; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; public class ChatSessionModel : INotifyPropertyChanged { diff --git a/src/Presentation.Web/Features/Chat/Models/ChatSessionTreeViewItem.cs b/src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs similarity index 99% rename from src/Presentation.Web/Features/Chat/Models/ChatSessionTreeViewItem.cs rename to src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs index 5b7f2d1..4597ea3 100644 --- a/src/Presentation.Web/Features/Chat/Models/ChatSessionTreeViewItem.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSessionTreeViewItem.cs @@ -1,6 +1,6 @@ using Microsoft.FluentUI.AspNetCore.Components; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models { public class ChatSessionTreeViewItem(ChatSessionModel session) : ITreeViewItem { diff --git a/src/Presentation.Web/Features/Chat/Models/ChatSessionsModel.cs b/src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs similarity index 99% rename from src/Presentation.Web/Features/Chat/Models/ChatSessionsModel.cs rename to src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs index a2f365a..6f3f9f9 100644 --- a/src/Presentation.Web/Features/Chat/Models/ChatSessionsModel.cs +++ b/src/Presentation.Web/Features/Chats/Models/ChatSessionsModel.cs @@ -1,7 +1,7 @@ using System.Collections.ObjectModel; using System.ComponentModel; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; public class ChatSessionsModel : Collection { diff --git a/src/Presentation.Web/Features/Chat/Services/ChatService.cs b/src/Presentation.Web/Features/Chats/Services/ChatService.cs similarity index 96% rename from src/Presentation.Web/Features/Chat/Services/ChatService.cs rename to src/Presentation.Web/Features/Chats/Services/ChatService.cs index 15bb8a4..3a0ff48 100644 --- a/src/Presentation.Web/Features/Chat/Services/ChatService.cs +++ b/src/Presentation.Web/Features/Chats/Services/ChatService.cs @@ -1,8 +1,8 @@ using Goodtocode.AgentFramework.Presentation.Web.Infrastructure.Http; -using Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Models; +using Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Models; using Goodtocode.AgentFramework.Presentation.Web.Library.Auth; -namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chat.Services; +namespace Goodtocode.AgentFramework.Presentation.Web.Features.Chats.Services; public interface IChatService { diff --git a/src/Tests.Integration/Actor/CreateActorCommand.feature b/src/Tests.Integration/Actors/CreateActorCommand.feature similarity index 100% rename from src/Tests.Integration/Actor/CreateActorCommand.feature rename to src/Tests.Integration/Actors/CreateActorCommand.feature diff --git a/src/Tests.Integration/Actor/CreateActorCommand.feature.cs b/src/Tests.Integration/Actors/CreateActorCommand.feature.cs similarity index 96% rename from src/Tests.Integration/Actor/CreateActorCommand.feature.cs rename to src/Tests.Integration/Actors/CreateActorCommand.feature.cs index e651fda..835ff4b 100644 --- a/src/Tests.Integration/Actor/CreateActorCommand.feature.cs +++ b/src/Tests.Integration/Actors/CreateActorCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actor +namespace Goodtocode.AgentFramework.Tests.Integration.Actors { @@ -28,7 +28,7 @@ public partial class CreateActorCommandFeature private static string[] featureTags = new string[] { "createActorCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actor", "Create Actor Command", "As a owner\r\nWhen I want to save a new Actor\r\nThen I should see the Actor created " + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actors", "Create Actor Command", "As a owner\r\nWhen I want to save a new Actor\r\nThen I should see the Actor created " + "with the initial response", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "CreateActorCommand.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actor/CreateActorCommand.feature.ndjson", 3); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actors/CreateActorCommand.feature.ndjson", 3); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Create Actor")] diff --git a/src/Tests.Integration/Actor/CreateActorCommandStepDefinitions.cs b/src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs similarity index 96% rename from src/Tests.Integration/Actor/CreateActorCommandStepDefinitions.cs rename to src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs index 355e5f8..4460439 100644 --- a/src/Tests.Integration/Actor/CreateActorCommandStepDefinitions.cs +++ b/src/Tests.Integration/Actors/CreateActorCommandStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Tests.Integration.Actor; diff --git a/src/Tests.Integration/Actor/DeleteActorCommand.feature b/src/Tests.Integration/Actors/DeleteActorCommand.feature similarity index 100% rename from src/Tests.Integration/Actor/DeleteActorCommand.feature rename to src/Tests.Integration/Actors/DeleteActorCommand.feature diff --git a/src/Tests.Integration/Actor/DeleteActorCommand.feature.cs b/src/Tests.Integration/Actors/DeleteActorCommand.feature.cs similarity index 95% rename from src/Tests.Integration/Actor/DeleteActorCommand.feature.cs rename to src/Tests.Integration/Actors/DeleteActorCommand.feature.cs index d9151ae..adafe39 100644 --- a/src/Tests.Integration/Actor/DeleteActorCommand.feature.cs +++ b/src/Tests.Integration/Actors/DeleteActorCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actor +namespace Goodtocode.AgentFramework.Tests.Integration.Actors { @@ -28,7 +28,7 @@ public partial class DeleteActorCommandFeature private static string[] featureTags = new string[] { "deleteActorCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actor", "Delete Actor Command", "As a Actor owner\r\nWhen I select a Actor\r\nI can delete the Actor", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actors", "Delete Actor Command", "As a Actor owner\r\nWhen I select a Actor\r\nI can delete the Actor", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "DeleteActorCommand.feature" #line hidden @@ -118,7 +118,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actor/DeleteActorCommand.feature.ndjson", 4); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actors/DeleteActorCommand.feature.ndjson", 4); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Delete Actor")] diff --git a/src/Tests.Integration/Actor/DeleteActorCommandStepDefinitions.cs b/src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs similarity index 95% rename from src/Tests.Integration/Actor/DeleteActorCommandStepDefinitions.cs rename to src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs index 7f13b7a..67eb3e7 100644 --- a/src/Tests.Integration/Actor/DeleteActorCommandStepDefinitions.cs +++ b/src/Tests.Integration/Actors/DeleteActorCommandStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Tests.Integration.Actor { diff --git a/src/Tests.Integration/Actor/GetActorByOwnerIdQuery.feature b/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature similarity index 100% rename from src/Tests.Integration/Actor/GetActorByOwnerIdQuery.feature rename to src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature diff --git a/src/Tests.Integration/Actor/GetActorByOwnerIdQuery.feature.cs b/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs similarity index 95% rename from src/Tests.Integration/Actor/GetActorByOwnerIdQuery.feature.cs rename to src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs index 1c0f603..b20f348 100644 --- a/src/Tests.Integration/Actor/GetActorByOwnerIdQuery.feature.cs +++ b/src/Tests.Integration/Actors/GetActorByOwnerIdQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actor +namespace Goodtocode.AgentFramework.Tests.Integration.Actors { @@ -28,7 +28,7 @@ public partial class GetActorByOwnerIdQueryFeature private static string[] featureTags = new string[] { "getAuthorByOwnerIdQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actor", "Get Actor By OwnerId Query", "As a actor owner\r\nWhen I select an existing Actor\r\nI can see the actor detail", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actors", "Get Actor By OwnerId Query", "As a actor owner\r\nWhen I select an existing Actor\r\nI can see the actor detail", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetActorByOwnerIdQuery.feature" #line hidden @@ -118,7 +118,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actor/GetActorByOwnerIdQuery.feature.ndjson", 4); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actors/GetActorByOwnerIdQuery.feature.ndjson", 4); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get Actor By OwnerId")] diff --git a/src/Tests.Integration/Actor/GetActorByOwnerIdQueryStepDefinitions.cs b/src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs similarity index 95% rename from src/Tests.Integration/Actor/GetActorByOwnerIdQueryStepDefinitions.cs rename to src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs index 51f5572..0e5293d 100644 --- a/src/Tests.Integration/Actor/GetActorByOwnerIdQueryStepDefinitions.cs +++ b/src/Tests.Integration/Actors/GetActorByOwnerIdQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Tests.Integration.Actor; diff --git a/src/Tests.Integration/Actor/GetActorQuery.feature b/src/Tests.Integration/Actors/GetActorQuery.feature similarity index 100% rename from src/Tests.Integration/Actor/GetActorQuery.feature rename to src/Tests.Integration/Actors/GetActorQuery.feature diff --git a/src/Tests.Integration/Actor/GetActorQuery.feature.cs b/src/Tests.Integration/Actors/GetActorQuery.feature.cs similarity index 95% rename from src/Tests.Integration/Actor/GetActorQuery.feature.cs rename to src/Tests.Integration/Actors/GetActorQuery.feature.cs index a5b97ff..8ebd6b2 100644 --- a/src/Tests.Integration/Actor/GetActorQuery.feature.cs +++ b/src/Tests.Integration/Actors/GetActorQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actor +namespace Goodtocode.AgentFramework.Tests.Integration.Actors { @@ -28,7 +28,7 @@ public partial class GetActorQueryFeature private static string[] featureTags = new string[] { "getAuthorQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actor", "Get Actor Query", "As a actor owner\r\nWhen I select an existing Actor\r\nI can see the actor detail", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actors", "Get Actor Query", "As a actor owner\r\nWhen I select an existing Actor\r\nI can see the actor detail", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetActorQuery.feature" #line hidden @@ -118,7 +118,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actor/GetActorQuery.feature.ndjson", 5); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actors/GetActorQuery.feature.ndjson", 5); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get Actor")] diff --git a/src/Tests.Integration/Actor/GetActorQueryStepDefinitions.cs b/src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs similarity index 95% rename from src/Tests.Integration/Actor/GetActorQueryStepDefinitions.cs rename to src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs index 32cb946..9841d1f 100644 --- a/src/Tests.Integration/Actor/GetActorQueryStepDefinitions.cs +++ b/src/Tests.Integration/Actors/GetActorQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Tests.Integration.Actor; diff --git a/src/Tests.Integration/Actor/GetOurActorsByNameQuery.feature b/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature similarity index 100% rename from src/Tests.Integration/Actor/GetOurActorsByNameQuery.feature rename to src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature diff --git a/src/Tests.Integration/Actor/GetOurActorsByNameQuery.feature.cs b/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs similarity index 96% rename from src/Tests.Integration/Actor/GetOurActorsByNameQuery.feature.cs rename to src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs index f95681e..7ca7b9f 100644 --- a/src/Tests.Integration/Actor/GetOurActorsByNameQuery.feature.cs +++ b/src/Tests.Integration/Actors/GetOurActorsByNameQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actor +namespace Goodtocode.AgentFramework.Tests.Integration.Actors { @@ -28,7 +28,7 @@ public partial class GetOurActorsByNameQueryFeature private static string[] featureTags = new string[] { "getOurActorsByNameQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actor", "Get Our Actors By Name Query", "As a tenant user\r\nWhen I search actors by name\r\nI receive only matching actors fr" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actors", "Get Our Actors By Name Query", "As a tenant user\r\nWhen I search actors by name\r\nI receive only matching actors fr" + "om my tenant", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetOurActorsByNameQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actor/GetOurActorsByNameQuery.feature.ndjson", 6); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actors/GetOurActorsByNameQuery.feature.ndjson", 6); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get actors by name")] diff --git a/src/Tests.Integration/Actor/GetOurActorsByNameQueryStepDefinitions.cs b/src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs similarity index 96% rename from src/Tests.Integration/Actor/GetOurActorsByNameQueryStepDefinitions.cs rename to src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs index 7440fd6..3f9dd0b 100644 --- a/src/Tests.Integration/Actor/GetOurActorsByNameQueryStepDefinitions.cs +++ b/src/Tests.Integration/Actors/GetOurActorsByNameQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Tests.Integration.Actor; diff --git a/src/Tests.Integration/Actor/SaveActorCommand.feature b/src/Tests.Integration/Actors/SaveActorCommand.feature similarity index 100% rename from src/Tests.Integration/Actor/SaveActorCommand.feature rename to src/Tests.Integration/Actors/SaveActorCommand.feature diff --git a/src/Tests.Integration/Actor/SaveActorCommand.feature.cs b/src/Tests.Integration/Actors/SaveActorCommand.feature.cs similarity index 96% rename from src/Tests.Integration/Actor/SaveActorCommand.feature.cs rename to src/Tests.Integration/Actors/SaveActorCommand.feature.cs index 1234395..264eb82 100644 --- a/src/Tests.Integration/Actor/SaveActorCommand.feature.cs +++ b/src/Tests.Integration/Actors/SaveActorCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Actor +namespace Goodtocode.AgentFramework.Tests.Integration.Actors { @@ -28,7 +28,7 @@ public partial class SaveActorCommandFeature private static string[] featureTags = new string[] { "saveActorCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actor", "Save Actor Command", "As a owner\r\nWhen I want to save a new Actor\r\nThen I should see the Actor created " + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Actors", "Save Actor Command", "As a owner\r\nWhen I want to save a new Actor\r\nThen I should see the Actor created " + "with the initial response", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "SaveActorCommand.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actor/SaveActorCommand.feature.ndjson", 3); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Actors/SaveActorCommand.feature.ndjson", 3); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Save Actor")] diff --git a/src/Tests.Integration/Actor/SaveActorCommandStepDefinitions.cs b/src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs similarity index 96% rename from src/Tests.Integration/Actor/SaveActorCommandStepDefinitions.cs rename to src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs index ed8fcb1..4aa1069 100644 --- a/src/Tests.Integration/Actor/SaveActorCommandStepDefinitions.cs +++ b/src/Tests.Integration/Actors/SaveActorCommandStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Domain.Actor; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Domain.Actors; namespace Goodtocode.AgentFramework.Tests.Integration.Actor; diff --git a/src/Tests.Integration/Application/NotFoundSemanticsTests.cs b/src/Tests.Integration/Application/NotFoundSemanticsTests.cs index 7ad99f6..993676c 100644 --- a/src/Tests.Integration/Application/NotFoundSemanticsTests.cs +++ b/src/Tests.Integration/Application/NotFoundSemanticsTests.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Actor; -using Goodtocode.AgentFramework.Core.Application.Chat; +using Goodtocode.AgentFramework.Core.Application.Actors; +using Goodtocode.AgentFramework.Core.Application.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Application; diff --git a/src/Tests.Integration/Chat/CreateChatMessageCommand.feature b/src/Tests.Integration/Chats/CreateChatMessageCommand.feature similarity index 100% rename from src/Tests.Integration/Chat/CreateChatMessageCommand.feature rename to src/Tests.Integration/Chats/CreateChatMessageCommand.feature diff --git a/src/Tests.Integration/Chat/CreateChatMessageCommand.feature.cs b/src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs similarity index 97% rename from src/Tests.Integration/Chat/CreateChatMessageCommand.feature.cs rename to src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs index f7b1ec2..e80162b 100644 --- a/src/Tests.Integration/Chat/CreateChatMessageCommand.feature.cs +++ b/src/Tests.Integration/Chats/CreateChatMessageCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class CreateChatMessageCommandFeature private static string[] featureTags = new string[] { "createChatMessageCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Create Chat Message Command", "As a chat user\r\nWhen I start a new Chat Message and enter an initial message\r\nThe" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Create Chat Message Command", "As a chat user\r\nWhen I start a new Chat Message and enter an initial message\r\nThe" + "n I should see the Chat Message created with the initial response", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "CreateChatMessageCommand.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/CreateChatMessageCommand.feature.ndjson", 8); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/CreateChatMessageCommand.feature.ndjson", 8); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Create Chat Message")] diff --git a/src/Tests.Integration/Chat/CreateChatMessageCommandStepDefinitions.cs b/src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs similarity index 95% rename from src/Tests.Integration/Chat/CreateChatMessageCommandStepDefinitions.cs rename to src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs index 63d4d96..16f6476 100644 --- a/src/Tests.Integration/Chat/CreateChatMessageCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/CreateChatMessageCommandStepDefinitions.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Actor; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/CreateChatSessionCommand.feature b/src/Tests.Integration/Chats/CreateChatSessionCommand.feature similarity index 100% rename from src/Tests.Integration/Chat/CreateChatSessionCommand.feature rename to src/Tests.Integration/Chats/CreateChatSessionCommand.feature diff --git a/src/Tests.Integration/Chat/CreateChatSessionCommand.feature.cs b/src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs similarity index 96% rename from src/Tests.Integration/Chat/CreateChatSessionCommand.feature.cs rename to src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs index 52625de..e335abe 100644 --- a/src/Tests.Integration/Chat/CreateChatSessionCommand.feature.cs +++ b/src/Tests.Integration/Chats/CreateChatSessionCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class CreateChatSessionCommandFeature private static string[] featureTags = new string[] { "createChatSessionCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Create Chat Session Command", "As a chat user\r\nWhen I start a new chat session and enter an initial message\r\nThe" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Create Chat Session Command", "As a chat user\r\nWhen I start a new chat session and enter an initial message\r\nThe" + "n I should see the chat session created with the initial response", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "CreateChatSessionCommand.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/CreateChatSessionCommand.feature.ndjson", 4); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/CreateChatSessionCommand.feature.ndjson", 4); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Create Chat Session")] diff --git a/src/Tests.Integration/Chat/CreateChatSessionCommandStepDefinitions.cs b/src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs similarity index 94% rename from src/Tests.Integration/Chat/CreateChatSessionCommandStepDefinitions.cs rename to src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs index 689a708..80807c7 100644 --- a/src/Tests.Integration/Chat/CreateChatSessionCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/CreateChatSessionCommandStepDefinitions.cs @@ -1,6 +1,6 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Actor; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Actors; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/DeleteChatSessionCommand.feature b/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature similarity index 100% rename from src/Tests.Integration/Chat/DeleteChatSessionCommand.feature rename to src/Tests.Integration/Chats/DeleteChatSessionCommand.feature diff --git a/src/Tests.Integration/Chat/DeleteChatSessionCommand.feature.cs b/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs similarity index 96% rename from src/Tests.Integration/Chat/DeleteChatSessionCommand.feature.cs rename to src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs index b725ca0..94a7083 100644 --- a/src/Tests.Integration/Chat/DeleteChatSessionCommand.feature.cs +++ b/src/Tests.Integration/Chats/DeleteChatSessionCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class DeleteChatSessionCommandFeature private static string[] featureTags = new string[] { "deleteChatSessionCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Delete Chat Session Command", "As a chat session owner\r\nWhen I select a chat session\r\nI can delete the chat sess" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Delete Chat Session Command", "As a chat session owner\r\nWhen I select a chat session\r\nI can delete the chat sess" + "ion", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "DeleteChatSessionCommand.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/DeleteChatSessionCommand.feature.ndjson", 5); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/DeleteChatSessionCommand.feature.ndjson", 5); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Delete Chat Session")] diff --git a/src/Tests.Integration/Chat/DeleteChatSessionCommandStepDefinitions.cs b/src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs similarity index 95% rename from src/Tests.Integration/Chat/DeleteChatSessionCommandStepDefinitions.cs rename to src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs index 274b4ba..856b3a9 100644 --- a/src/Tests.Integration/Chat/DeleteChatSessionCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/DeleteChatSessionCommandStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat { diff --git a/src/Tests.Integration/Chat/GetChatMessageQuery.feature b/src/Tests.Integration/Chats/GetChatMessageQuery.feature similarity index 100% rename from src/Tests.Integration/Chat/GetChatMessageQuery.feature rename to src/Tests.Integration/Chats/GetChatMessageQuery.feature diff --git a/src/Tests.Integration/Chat/GetChatMessageQuery.feature.cs b/src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs similarity index 96% rename from src/Tests.Integration/Chat/GetChatMessageQuery.feature.cs rename to src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs index 3319983..8ddbcca 100644 --- a/src/Tests.Integration/Chat/GetChatMessageQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetChatMessageQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class GetChatMessageQueryFeature private static string[] featureTags = new string[] { "getChatMessageQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Get Chat Message Query", "As a chat user\r\nWhen I select an existing Chat Message\r\nI can see the chat histor" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Get Chat Message Query", "As a chat user\r\nWhen I select an existing Chat Message\r\nI can see the chat histor" + "y messages", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetChatMessageQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/GetChatMessageQuery.feature.ndjson", 5); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/GetChatMessageQuery.feature.ndjson", 5); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get Chat Message")] diff --git a/src/Tests.Integration/Chat/GetChatMessageQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs similarity index 96% rename from src/Tests.Integration/Chat/GetChatMessageQueryStepDefinitions.cs rename to src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs index e1428c4..e8b2ec2 100644 --- a/src/Tests.Integration/Chat/GetChatMessageQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetChatMessageQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/GetChatMessagesPaginatedQuery.feature b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature similarity index 100% rename from src/Tests.Integration/Chat/GetChatMessagesPaginatedQuery.feature rename to src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature diff --git a/src/Tests.Integration/Chat/GetChatMessagesPaginatedQuery.feature.cs b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs similarity index 97% rename from src/Tests.Integration/Chat/GetChatMessagesPaginatedQuery.feature.cs rename to src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs index eba1f0f..420eb34 100644 --- a/src/Tests.Integration/Chat/GetChatMessagesPaginatedQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class GetChatMessagesPaginatedQueryFeature private static string[] featureTags = new string[] { "getChatMessagesPaginatedQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Get Chat Messages Paginated Query", "As an owner of Chat Messages\r\nWhen I get Chat Messages all or by date range\r\nI ca" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Get Chat Messages Paginated Query", "As an owner of Chat Messages\r\nWhen I get Chat Messages all or by date range\r\nI ca" + "n get a paginated collection of Chat Messages", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetChatMessagesPaginatedQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/GetChatMessagesPaginatedQuery.feature.ndjson", 7); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/GetChatMessagesPaginatedQuery.feature.ndjson", 7); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get Chat Messages paginated")] diff --git a/src/Tests.Integration/Chat/GetChatMessagesPaginatedQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs similarity index 98% rename from src/Tests.Integration/Chat/GetChatMessagesPaginatedQueryStepDefinitions.cs rename to src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs index c0513f3..cf8b853 100644 --- a/src/Tests.Integration/Chat/GetChatMessagesPaginatedQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetChatMessagesPaginatedQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/GetMyChatSessionMessagesQuery.feature b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature similarity index 100% rename from src/Tests.Integration/Chat/GetMyChatSessionMessagesQuery.feature rename to src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature diff --git a/src/Tests.Integration/Chat/GetMyChatSessionMessagesQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs similarity index 96% rename from src/Tests.Integration/Chat/GetMyChatSessionMessagesQuery.feature.cs rename to src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs index 80769b3..b1920ff 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionMessagesQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class GetMyChatSessionMessagesQueryFeature private static string[] featureTags = new string[] { "getMyChatSessionMessagesQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Get My Chat Session Messages Query", "As a chat-session owner\r\nWhen I request messages for a chat session\r\nI receive on" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Get My Chat Session Messages Query", "As a chat-session owner\r\nWhen I request messages for a chat session\r\nI receive on" + "ly messages that I own within my tenant", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetMyChatSessionMessagesQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/GetMyChatSessionMessagesQuery.feature.ndjson", 6); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/GetMyChatSessionMessagesQuery.feature.ndjson", 6); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get chat session messages")] diff --git a/src/Tests.Integration/Chat/GetMyChatSessionMessagesQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs similarity index 97% rename from src/Tests.Integration/Chat/GetMyChatSessionMessagesQueryStepDefinitions.cs rename to src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs index c877936..866a504 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionMessagesQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionMessagesQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/GetMyChatSessionQuery.feature b/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature similarity index 100% rename from src/Tests.Integration/Chat/GetMyChatSessionQuery.feature rename to src/Tests.Integration/Chats/GetMyChatSessionQuery.feature diff --git a/src/Tests.Integration/Chat/GetMyChatSessionQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs similarity index 96% rename from src/Tests.Integration/Chat/GetMyChatSessionQuery.feature.cs rename to src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs index 46b27d3..b0ce4df 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class GetChatSessionQueryFeature private static string[] featureTags = new string[] { "getChatSessionQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Get Chat Session Query", "As a chat user\r\nWhen I select an existing chat session\r\nI can see the chat histor" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Get Chat Session Query", "As a chat user\r\nWhen I select an existing chat session\r\nI can see the chat histor" + "y messages", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetMyChatSessionQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/GetMyChatSessionQuery.feature.ndjson", 5); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/GetMyChatSessionQuery.feature.ndjson", 5); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get chat session")] diff --git a/src/Tests.Integration/Chat/GetMyChatSessionQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs similarity index 95% rename from src/Tests.Integration/Chat/GetMyChatSessionQueryStepDefinitions.cs rename to src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs index 60f1921..44e4ef9 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQuery.feature b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature similarity index 100% rename from src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQuery.feature rename to src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature diff --git a/src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs similarity index 97% rename from src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQuery.feature.cs rename to src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs index e406fb3..cd5df06 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class GetChatSessionsPaginatedQueryFeature private static string[] featureTags = new string[] { "getChatSessionsPaginatedQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Get Chat Sessions Paginated Query", "As an owner of chat sessions\r\nWhen I get chat sessions all or by date range\r\nI ca" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Get Chat Sessions Paginated Query", "As an owner of chat sessions\r\nWhen I get chat sessions all or by date range\r\nI ca" + "n get a paginated collection of chat sessions", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetMyChatSessionsPaginatedQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/GetMyChatSessionsPaginatedQuery.feature.ndjson", 7); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/GetMyChatSessionsPaginatedQuery.feature.ndjson", 7); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get chat sessions paginated")] diff --git a/src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs similarity index 98% rename from src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQueryStepDefinitions.cs rename to src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs index 1099e98..ba83479 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionsPaginatedQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsPaginatedQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/GetMyChatSessionsQuery.feature b/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature similarity index 100% rename from src/Tests.Integration/Chat/GetMyChatSessionsQuery.feature rename to src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature diff --git a/src/Tests.Integration/Chat/GetMyChatSessionsQuery.feature.cs b/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs similarity index 97% rename from src/Tests.Integration/Chat/GetMyChatSessionsQuery.feature.cs rename to src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs index 6e505b6..87ff2d9 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionsQuery.feature.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsQuery.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class GetChatSessionsQueryFeature private static string[] featureTags = new string[] { "getChatSessionsQuery"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Get Chat Sessions Query", "As a session owner\r\nWhen I query chat sessions optionally by date range\r\nI get al" + + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Get Chat Sessions Query", "As a session owner\r\nWhen I query chat sessions optionally by date range\r\nI get al" + "l sessions that fit the date range", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "GetMyChatSessionsQuery.feature" @@ -119,7 +119,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/GetMyChatSessionsQuery.feature.ndjson", 6); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/GetMyChatSessionsQuery.feature.ndjson", 6); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 7, DisplayName="Get chat sessions")] diff --git a/src/Tests.Integration/Chat/GetMyChatSessionsQueryStepDefinitions.cs b/src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs similarity index 97% rename from src/Tests.Integration/Chat/GetMyChatSessionsQueryStepDefinitions.cs rename to src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs index 833f1c5..1f1606b 100644 --- a/src/Tests.Integration/Chat/GetMyChatSessionsQueryStepDefinitions.cs +++ b/src/Tests.Integration/Chats/GetMyChatSessionsQueryStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat; diff --git a/src/Tests.Integration/Chat/PatchChatSessionCommand.feature b/src/Tests.Integration/Chats/PatchChatSessionCommand.feature similarity index 100% rename from src/Tests.Integration/Chat/PatchChatSessionCommand.feature rename to src/Tests.Integration/Chats/PatchChatSessionCommand.feature diff --git a/src/Tests.Integration/Chat/PatchChatSessionCommand.feature.cs b/src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs similarity index 96% rename from src/Tests.Integration/Chat/PatchChatSessionCommand.feature.cs rename to src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs index 76bbd0b..8fcce71 100644 --- a/src/Tests.Integration/Chat/PatchChatSessionCommand.feature.cs +++ b/src/Tests.Integration/Chats/PatchChatSessionCommand.feature.cs @@ -11,7 +11,7 @@ #region Designer generated code #pragma warning disable using Reqnroll; -namespace Goodtocode.AgentFramework.Tests.Integration.Chat +namespace Goodtocode.AgentFramework.Tests.Integration.Chats { @@ -28,7 +28,7 @@ public partial class PatchChatSessionCommandFeature private static string[] featureTags = new string[] { "patchChatSessionCommand"}; - private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chat", "Patch ChatSession Command", "As a creator\r\nI can patch a chatSession ", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); + private static global::Reqnroll.FeatureInfo featureInfo = new global::Reqnroll.FeatureInfo(new global::System.Globalization.CultureInfo("en-US"), "Chats", "Patch ChatSession Command", "As a creator\r\nI can patch a chatSession ", global::Reqnroll.ProgrammingLanguage.CSharp, featureTags, InitializeCucumberMessages()); #line 1 "PatchChatSessionCommand.feature" #line hidden @@ -118,7 +118,7 @@ public void ScenarioInitialize(global::Reqnroll.ScenarioInfo scenarioInfo, globa private static global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages InitializeCucumberMessages() { - return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chat/PatchChatSessionCommand.feature.ndjson", 5); + return new global::Reqnroll.Formatters.RuntimeSupport.FeatureLevelCucumberMessages("Chats/PatchChatSessionCommand.feature.ndjson", 5); } [global::Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute(callerLineNumber: 6, DisplayName="Patch Chat Session")] diff --git a/src/Tests.Integration/Chat/PatchChatSessionCommandStepDefinitions.cs b/src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs similarity index 96% rename from src/Tests.Integration/Chat/PatchChatSessionCommandStepDefinitions.cs rename to src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs index d70821e..7be8917 100644 --- a/src/Tests.Integration/Chat/PatchChatSessionCommandStepDefinitions.cs +++ b/src/Tests.Integration/Chats/PatchChatSessionCommandStepDefinitions.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; namespace Goodtocode.AgentFramework.Tests.Integration.Chat { diff --git a/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs b/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs index eb32bd1..9682166 100644 --- a/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs +++ b/src/Tests.Integration/Governance/ChatGovernanceInvocationTests.cs @@ -1,5 +1,5 @@ -using Goodtocode.AgentFramework.Core.Application.Chat; -using Goodtocode.AgentFramework.Core.Domain.Chat; +using Goodtocode.AgentFramework.Core.Application.Chats; +using Goodtocode.AgentFramework.Core.Domain.Chats; using Microsoft.Extensions.AI; namespace Goodtocode.AgentFramework.Tests.Integration.Governance;