71 Commits

Author SHA1 Message Date
Roma Marusyk
d4cca7440e Code style refactoring for Ordering service 2018-01-28 22:11:09 +02:00
Sychev Igor
ed0988a3a1 MediatR from 3 to 4 2017-12-13 09:12:59 +03:00
Cesar De la Torre
5bc8f126f8 Removing not required await Task.CompletedTask; 2017-11-22 16:22:18 -08:00
Cesar De la Torre
21484d6385 Improved the IHostedService background task (GracePeriodManagerService) in the Ordering microservice to use the new BackgroundService abstract base class from .NET Core 2.1 (.NET Standard 2.1). We're currently using that class code embeded in eShopOnContainers project until .NET Core 2.1 is released with this new class.
The new class BackgroundService is compatible with the current IHostedService interface in .NET Core 2.0.
I removed the similar but nont-tested HostedService base class (it was not official from the .NET team) that we were previously using.
2017-11-18 14:24:07 -08:00
Cesar De la Torre
b1e3bdefbe Cleaned-up the registration of DomainEventHandlers and FluentValidation Validators 2017-11-08 11:36:10 -08:00
Ramón Tomás
2ad61d9057 Created new load test scenarios 2017-10-24 18:05:50 +02:00
Ramón Tomás
c51c101f90 Updated Load Tests
Added middleware to bypass authorization in load testing
2017-10-23 17:39:45 +02:00
Unai Zorrilla Castro
ec5aee5187 Remove hardcoded database name from GracePeriodManagerService 2017-10-06 12:09:16 +02:00
Unai Zorrilla Castro
04c90f09f9 Fix view models namespaces issues. Remove unnecessary design time ordering context provider 2017-09-14 13:43:41 +02:00
Unai Zorrilla Castro
226c03b573 Refactoring all dbcontext seed using new MigrateDbContext extension method on IWebHost. This prevent errors when using dotnet ef cli and seeders in Startup 2017-09-13 14:53:06 +02:00
Ramón Tomás
9ed7325e0e Downgrade Identity.api version due to compatibility issues
Updated Test project version
Fix issue Idsrv token
2017-08-29 18:11:30 +02:00
Ramón Tomás
8dc176add9 Fixed issue #291ordering.api fails after submitting orders 2017-08-26 22:55:24 +02:00
Ramón Tomás
58f3b5b274 Removed GracePeriod microservice and added as a HostService 2017-08-23 00:10:28 +02:00
Ramón Tomás
2baedadc7a Merge from Dev 2017-08-22 19:46:53 +02:00
Eduard Tomàs
0c73b09406 Using MediatR behaviors instead of Autofac decorators. Solves #187 2017-08-10 16:05:42 +02:00
Ramón Tomás
f39fdb92ca Fix Failing middleware and move it to Basket.api 2017-07-13 17:35:19 +02:00
Eduard Tomas
eeda5bcb9d Order.Address is a value object. It has no table and no ID 2017-07-13 13:42:29 +02:00
Ramón Tomás
d289ec00cf Add swagger authorization option in APIs 2017-07-12 12:10:10 +02:00
Shaun Walker
18b91ee5f1 minor fixes to data and UI customization 2017-06-23 11:49:25 -07:00
Shaun Walker
445101b376 data and UI customization enhancements 2017-06-20 12:54:32 -07:00
Ramón Tomás
4be61abdde Merge new creation ordering workflow 2017-06-12 13:52:23 +02:00
Ramón Tomás
8c0d41e4ad Fix issue Autofac IAsyncRequestHandler not registered with Mediatr 3.0 2017-06-06 19:20:42 +02:00
Cesar De la Torre
2a7c1d740b Minor refactoring 2017-05-20 12:35:16 -07:00
igorsych
c1320f4445 swagger update https://github.com/domaindrivendev/Swashbuckle.AspNetCore 2017-05-19 08:11:32 +03:00
Ramón Tomás
87e57b9a44 Merge from Dev 2017-05-18 15:39:31 +02:00
Christian Arenas
82fe859584 Adding Integration Event handlers to ordering Api 2017-05-15 19:14:37 +02:00
Christian Arenas
9ae4d93a54 Add Order Description field 2017-05-11 16:04:35 +02:00
Eduard Tomas
d23576b8ca FailingMiddleware is now IStartupFilter 2017-05-09 18:33:58 +02:00
Christian Arenas
870ae0dabd Add Confirm Grade period Handler and add new items to Orders status 2017-05-09 13:58:48 +02:00
Christian Arenas
c5cca8f320 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-08 13:59:59 +02:00
Geert Van Laethem
3d8fadece4 Fixed two typos to the filter 2017-04-20 13:27:52 +02:00
Eduard Tomas
756cb3dafa Merge branch 'master' into dev
# Conflicts:
#	src/Mobile/eShopOnContainers/eShopOnContainers.Core/eShopOnContainers.Core.csproj
#	src/Services/Catalog/Catalog.API/Startup.cs
#	src/Services/Ordering/Ordering.API/Infrastructure/AutofacModules/MediatorModule.cs
#	src/Web/WebMVC/Startup.cs
2017-04-05 17:05:14 +02:00
Eduard Tomas
be440a9a02 Removing PaymentMethod property from order 2017-04-05 13:15:27 +02:00
Ramón Tomás
6803781bf8 Merge from Dev 2017-04-05 11:12:49 +02:00
Eduard Tomas
5eb5db1b8c Error on registring event handlers 2017-04-04 19:22:18 +02:00
Eduard Tomas
a7c7426659 Removing Buyer navigation property in Order 2017-04-03 11:32:35 +02:00
Ramón Tomás
25a70605de Fix issue ordering event handler registration 2017-03-31 11:03:29 +02:00
Ramón Tomás
d9c004a92d Added integration event for cleaning basket when order is created 2017-03-31 10:30:56 +02:00
dsanz
35cc2f9d7b Merge branch 'dev'
# Conflicts:
#	src/Services/Basket/Basket.API/Model/IBasketRepository.cs
#	src/Services/Basket/Basket.API/Model/RedisBasketRepository.cs
#	src/Services/Catalog/Catalog.API/Startup.cs
#	src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderCommandHandler.cs
#	src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs
#	test/Services/UnitTest/Ordering/Application/NewOrderCommandHandlerTest.cs
2017-03-29 11:43:30 +02:00
dsanz
e596926b9b add comment about known bug in .net core 1.1 2017-03-28 13:55:27 +02:00
dsanz
cea9600227 Refactoring of idempotent elements and logic. 2017-03-28 12:02:30 +02:00
Ramón Tomás
a14b7e580f Merge from Dev 2017-03-27 15:00:46 +02:00
Ramón Tomás
3a7a14bdb7 Created global filters for web apis
Fix bug BadRequest response  after creating order
2017-03-27 14:05:28 +02:00
Ramón Tomás
94c7fd31e1 Added decorator for validation in commands
Added Validation for orders and identified commands
2017-03-23 13:44:15 +01:00
Danny Chen
260df610b7 use non generic repository interface 2017-03-20 01:42:31 -04:00
Cesar De la Torre
aee1ac6a06 Domain Event Handlers refactored with some missing cases 2017-03-18 22:01:05 -07:00
Cesar De la Torre
3ed136b00f Domain Event Handlers are now grouped by Domain Events, as any Domain Event could have 'n' handlers related. 2017-03-18 11:44:18 -07:00
Cesar De la Torre
c7e317413e Refactoring Domain Events 2017-03-17 18:36:34 -07:00
etomas
9fdb5e6c96 FailingMiddleware for Ordering API 2017-03-17 16:28:05 +01:00
Cesar De la Torre
b9c1778d9d Refactoring Domain Events so it is clear and differenciated versus Integration Events 2017-03-16 18:52:02 -07:00