Jean Gatto
5daa506d55
feat: Add nuget.config file
2023-08-31 09:47:30 -03:00
Jean Gatto
9b8c9a148b
feat(ResultExtensions): Add support for Forbidden status code
2023-08-31 09:20:52 -03:00
Jean Gatto
96b565a8c7
chore(api): Remove unused import in Program.cs (main)
2023-08-31 09:19:57 -03:00
Jean Gatto
8735a0d01f
chore(Shop.PublicApi.csproj): Remove SonarQube Settings (main)
2023-08-30 17:08:50 -03:00
Jean Gatto
f4c659cfdd
feat: Add createCustomers and getCustomers endpoints
2023-08-30 17:07:25 -03:00
Jean Gatto
39c58ddbbf
feat(api): add integration tests for the DELETE
2023-08-30 17:01:04 -03:00
Jean Gatto
02a94f912d
chore(Directory.Packages.props): update Microsoft.NET.Test.Sdk package version to 17.7.2
2023-08-30 10:23:42 -03:00
Jean Gatto
a53569e679
fix(Email.cs): change error messages to English
2023-08-28 08:28:24 -03:00
Jean Gatto
7f6128e69d
feat(CustomersControllerTests.cs): add integration tests for GET /api/customer/ endpoint
...
feat(CustomersControllerTests.cs): add integration tests for GET /api/customer/{id} endpoint
2023-08-27 16:41:13 -03:00
Jean Gatto
304e816a16
test(CustomersControllerTests.cs): update test method name from Should_ReturnsHttpStatus200Ok_When_GetById to Should_ReturnsHttpStatus200Ok_When_GetById_ValidRequest
...
test(CustomersControllerTests.cs): add new test Should_eturnsHttpStatus400BadRequest_When_GetById_InvalidRequest
test(CustomersControllerTests.cs): add new test Should_ReturnsStatus404NotFound_When_GetById_NonExistingCustomer
2023-08-27 16:33:38 -03:00
Jean Gatto
b67c58f566
chore(FakerExtensions.cs): remove trailing whitespace
2023-08-27 16:33:24 -03:00
Jean Gatto
4115b864b1
feat(Controllers/V1/CustomersControllerTests.cs): add test case for GetById endpoint
2023-08-27 16:24:52 -03:00
Jean Gatto
75ffe1863b
feat(FakerExtensions.cs): add FakerExtensions class with UsePrivateConstructor method
2023-08-27 16:24:26 -03:00
Jean Gatto
1a53d6b33a
refactor(CustomerQueryModel.cs): make properties private set and add private parameterless constructor
2023-08-27 16:24:20 -03:00
Jean Gatto
a1ef4a277e
chore(Directory.Packages.props): update Microsoft.AspNetCore.Mvc.Testing package version to 7.0.10
2023-08-27 16:24:14 -03:00
Jean Gatto
83d7e71b97
chore(appsettings.Development.json): update ConnectionStrings and CacheOptions values to empty strings and zeros respectively
2023-08-27 15:50:26 -03:00
Jean Gatto
cdf5bbe862
fix(EventStoreDbContext.cs): change access modifier of EventStores property from internal to public
2023-08-27 12:50:04 -03:00
Jean Gatto
9aca412f84
docs(README.md): update architecture section
2023-08-27 12:48:24 -03:00
Jean Gatto
467e2df644
feat: add integration tests
2023-08-27 12:19:43 -03:00
Jean Gatto
5e55bc847c
refactor(EventToQueryModelProfile.cs): rename Create method to CreateCustomerQueryModel for clarity and consistency
2023-08-26 08:22:28 -03:00
Jean Gatto
0007ef03e4
chore(BaseDbContext.cs): fix formatting
2023-08-25 16:28:55 -03:00
Jean Gatto
4060cc35a9
chore(Directory.Packages.props): update FluentAssertions package version to 6.12.0
2023-08-23 09:49:53 -03:00
Jean Gatto
7a5a622b75
chore(Shop.UnitTests.csproj): remove FluentAssertions.Analyzers package reference
2023-08-23 09:49:44 -03:00
Jean Gatto
8bf11c34c7
chore(Directory.Packages.props): update SonarAnalyzer.CSharp package version from 9.7.0.75501 to 9.8.0.76515
2023-08-22 09:05:45 -03:00
Jean Gatto
8940593837
chore(Directory.Packages.props): update Microsoft.CodeAnalysis.CSharp package version from 4.6.0 to 4.7.0
2023-08-20 09:53:24 -03:00
Jean Gatto
8e8b604e2b
fix(sonar-cloud.yml): change runs-on value from ubuntu-latest to windows-latest
2023-08-20 09:42:32 -03:00
Jean Gatto
285ca2e9dd
chore(Shop.PublicApi.csproj): add SonarQube coverage exclusions for Migrations folder
2023-08-20 09:42:21 -03:00
Jean Gatto
83c9766dd2
chore(sonar-cloud.yml): change runs-on from windows-latest to ubuntu-latest
...
chore(sonar-cloud.yml): add check-latest flag to setup-java step
2023-08-20 09:38:17 -03:00
Jean Gatto
a4902d31d8
chore(sonar-cloud.yml): update JDK version to 17
...
fix(sonar-cloud.yml): fix the name of the sonar token variable
2023-08-20 09:32:38 -03:00
Jean Gatto
6e0ff0cdd7
fix(Program.cs): enable FluentValidation language manager
2023-08-19 09:36:48 -03:00
Jean Gatto
7d46379e03
feat(Program.cs): add support for FluentValidation localization in English (en-US) language
2023-08-19 09:35:19 -03:00
Jean Gatto
2bae524c85
feat(query): update IReadOnlyRepository interface
2023-08-18 10:53:17 -03:00
Jean Gatto
e8f568ec17
chore(sharedkernel): update IWriteOnlyRepository interface signature
2023-08-18 10:53:02 -03:00
Jean Gatto
1745e31cb5
chore(EfSqliteFixture.cs): remove commented out code and unnecessary comments
2023-08-17 16:15:52 -03:00
Jean Gatto
44cd82a777
refactor(BaseWriteOnlyRepository.cs): remove redundant comment and empty line
2023-08-17 16:15:46 -03:00
Jean Gatto
1f91d33c9a
chore(CustomersController.cs): fix spacing in Create and Update methods parameters
2023-08-17 16:15:39 -03:00
Jean Gatto
4a003b58c8
fix: Fix route parameter type in CustomersController.cs
2023-08-16 19:59:45 -03:00
Jean Gatto
8faf6f12e6
fix: Remove duplicate retry policy in NoSqlDbContext.cs
2023-08-16 19:57:23 -03:00
Jean Gatto
0288490a33
docs(IEntity.cs): add base interface for all entities with a key
2023-08-16 17:09:46 -03:00
Jean Gatto
3d1ab88ca5
chore(Directory.Packages.props): update Microsoft.NET.Test.Sdk package version to 17.7.1
2023-08-16 15:37:44 -03:00
Jean Gatto
124ae6e292
chore(BaseDbContext.cs): add ConfigureConventions method to set default convention for string properties to VARCHAR(255)
2023-08-15 17:04:02 -03:00
Jean Gatto
ad37ab281a
chore(Directory.Packages.props): update FluentAssertions.Analyzers package version to 0.22.0
2023-08-15 16:34:41 -03:00
Jean Gatto
37386d3ebf
refactor(GetAllCustomerQueryHandler.cs): improve comments for clarity and readability
2023-08-13 21:39:45 -03:00
Jean Gatto
831c649f96
refactor(ServicesCollectionExtensions.cs): reformat code indentation for AddReadOnlyRepositories method
2023-08-13 11:24:39 -03:00
Jean Gatto
c16e397e07
feat: adjustments and refinements
2023-08-13 11:23:20 -03:00
Jean Gatto
64da5de6dd
feat: add summaries
2023-08-13 10:53:15 -03:00
Jean Gatto
2afd29fef3
refactor(CustomerEventHandler.cs): rename IReadDbContext to ISynchronizeDb
...
fix(CustomerEventHandler.cs): update references to IReadDbContext to ISynchronizeDb
feat(CustomerEventHandler.cs): update database operations to use ISynchronizeDb instead of IReadDbContext
2023-08-13 10:52:47 -03:00
Jean Gatto
e03f68746a
feat(ISynchronizeDb.cs): add interface for synchronizing query models with the database
2023-08-13 10:52:03 -03:00
Jean Gatto
96cd4209dc
refactor(IReadDbContext.cs): Remove unused methods and update comments
2023-08-13 10:51:56 -03:00
Jean Gatto
5b8a2abe40
feat(NoSqlDbContext.cs): add implementation of NoSqlDbContext class for MongoDB database access
2023-08-13 10:51:48 -03:00