Skip to content

Conversation

@giovanninocco
Copy link
Member

Fix and removed unused references

- Updated project files for `Genocs.APIGateway`, `Genocs.Identities.Application`, `Genocs.Identities.WebApi`, `Genocs.Orders.WebApi`, `Genocs.Products.WebApi`, and `Genocs.SignalR.WebApi` to target .NET 9.0.
- Removed `IsPublishable` and `IsPackable` properties from project files; updated `UserSecretsId` in `Genocs.Orders.WebApi`.
- Modified Dockerfiles to expose ports 8080 and 8081, and included additional configuration files in the build context.
- Streamlined Docker build process by removing redundant copy commands and ensuring proper publish execution.
- Added `IMAGE_VERSION` environment variable in `local.env` for Docker image versioning.
- Updated constructor in `ProductServiceClient.cs` to include new parameters for `VaultOptions` and `SecurityOptions`, with added XML documentation.
This commit introduces a MongoDB-based configuration provider for the YARP library in the Genocs.APIGateway project. Key changes include:

- Added project and package references for `Genocs.Persistence.MongoDb`.
- Created `MongoDbOptions` class for MongoDB configuration settings.
- Defined `IMongodbConfigProvider` interface extending `IProxyConfigProvider`.
- Implemented `MongodbConfigProvider` to read configurations from MongoDB collections.
- Added `MongoDbConfigProviderExtensions` with `LoadFromDatabase` method for integration.
- Updated `Startup.cs` to utilize the new MongoDB configuration provider.
- Modified `appsettings.json` to include MongoDB configuration sections.
- Added necessary using directives across various files.
- Clarified Docker Compose instructions in README.md.
- Updated MassTransit.RabbitMQ package version in multiple projects.
- Upgraded OpenTelemetry instrumentation packages in relevant projects.
- Added PackageId, RootNamespace, and AssemblyName properties to several project files.
- Refactored CreateOrder to handle multiple products and introduced OrderItem class.
- Updated Order class to calculate total amount based on OrderItems.
- Enhanced CreateProduct and Product classes with additional properties.
- Maintained folder structure for logs in Genocs.SignalR.WebApi.csproj.
Updated README.md with setup instructions for Docker services and monitoring tools. Modified API workbench configuration for endpoint changes.

Refined application structure with new services, command/query handlers, and MongoDB configurations. Enhanced SignalR service for real-time notifications and improved error handling.

Introduced new project files for ASP.NET Core web project, including appsettings.json for configuration and Program.cs/Startup.cs for application setup. Added SSL certificate files for secure communication.

Implemented new classes for messaging options, correlation context, and middleware for user authentication and messaging. Created command handlers for user management and logging decorators for command/event handling.

Added domain exceptions, repository interfaces, and DTOs for user operations. Enhanced UI with SignalR support for real-time notifications.
- Bump `Roslynator.Analyzers` to version `4.12.10`.
- Remove project references to `Genocs.Core` and `Genocs.HTTP`.
- Add `Genocs.Logging` reference in multiple projects.
- Refactor `CommandHandlerLoggingDecorator` and `EventHandlerLoggingDecorator` for improved clarity and type safety.
- Remove unnecessary `Serilog.Expressions` package reference.
- Disable `consul` and `fabio` settings in `appsettings.json`.
- Clean up project references across various `.csproj` files.
@giovanninocco giovanninocco merged commit 44e1550 into master Dec 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants