Closed italopessoa closed 2 months ago
The project has undergone significant changes, transitioning from MongoDB to MySQL, involving updates in Docker configurations, entity adjustments, and enhancements in API, domain, and infrastructure layers. The introduction of new services, settings, and repository implementations reflects a shift towards a more structured and scalable architecture. This revamp facilitates better data management and expands the system’s capabilities to handle order processing more efficiently.
File Path | Change Summary |
---|---|
.docker/setup.sql , docker-compose.yml |
Updated to support MySQL, including new service dependencies and SQL script for initial database setup. |
src/.../Configuration/MySqlSettings.cs , src/.../Program.cs , src/.../appsettings.Development.json |
Introduced MySQL configuration settings across various configuration files. |
src/.../Controllers/OrderController.cs , src/.../Model/... , src/.../Dockerfile |
Enhanced API layer with new order management controllers, DTOs, and Dockerfile optimizations. |
src/.../Domain/Entities/... , src/.../Domain/Ports/... , src/.../Domain/ValueObjects/OrderStatus.cs |
Domain model adjustments including new methods, updated entities, and enum changes reflecting business logic. |
src/.../Infrastructure/Repository/... , src/.../Infrastructure/FIAP.TechChallenge.ByteMeBurger.Infrastructure.csproj |
Infrastructure enhancements with new repository implementations using Dapper and added package references. |
tests/.../Controllers/OrderControllerTest.cs , tests/.../Services/OrderServiceTest.cs , tests/.../Entities/... |
Expanded test coverage for API controllers, services, and domain entities to ensure functionality. |
tests/.../FIAP.TechChallenge.ByteMeBurger.Domain.Test/FIAP.TechChallenge.ByteMeBurger.Domain.Test.csproj , tests/.../FIAP.TechChallenge.ByteMeBurger.Infrastructure.Test/FIAP.TechChallenge.ByteMeBurger.Infrastructure.Test.csproj |
Project configuration updates in test projects, including new package references and structural changes. |
This table summarizes the major changes across the project, highlighting the shift towards MySQL and enhancements in various components to support robust order management functionalities.
@coderabbitai generate interesting stats about this repository and render them as a table.
[!TIP] For best results, initiate chat on the files or code changes.
@italopessoa, here are the interesting statistics about the repository, formatted as a table:
Statistic | Value |
---|---|
Number of Authors | 1 |
Total Lines of Code | 2653 |
Total Comments | 229 |
Number of TODO Comments | 4 |
These statistics provide a snapshot of the current state of the repository, including contributions, codebase size, and areas marked for future improvements. If you need more specific statistics or further details, feel free to ask!
Create and list orders, it's still missing some logic to handle non-existent products or customers, but that can be done later
9
7
Note: dapper unit testing can be complicated and and takes a big effort that might not worth to tackle for this project, it might be lacking coverage on some methods, that's ok for now