56 Commits

Author SHA1 Message Date
Savorboard
cf44ba2fd8 Refactor Ordering Api eventbus using CAP 2019-03-14 11:59:57 +08:00
Miguel Veloso
76e1072d07 Add logging of subscription events 2019-03-04 19:08:14 +00:00
Miguel Veloso
ad7b33234f Add log traces for commands 2019-02-21 15:56:15 +00:00
Miguel Veloso
12148c9723 Refactor LogContext for IntegrationEvent Handlers to include AppName 2019-02-21 15:51:37 +00:00
Miguel Veloso
f3cd3738d9 Add logging to CreateOrderCommandHandler 2019-02-06 21:36:40 +00:00
Ramón Tomás
24bed0aa33 Send IntegrationEvents after committing transactions 2018-10-11 17:16:31 +02:00
Ramón Tomás
adafb9abf4 Send commands for modifying state in IntegrationEventHandlers 2018-10-08 10:14:23 +02:00
Ramón Tomás
f1f17798da Added missing Task.Background service docker-compose configuration
Added signalr client for MVC
Added signalr hub
Added signalr events when order status changes
2018-04-13 13:45:21 +02:00
David Britch
e519fbde43 Merge branch 'bff' into xamarin-settings 2018-03-29 13:52:03 +01:00
Robert Raboud
047e3a945a Handled uncaught exception in command handling 2018-03-02 21:54:02 -05:00
Eduard Tomàs
b0d4ae5a72 All order flow goes through Purchase BFF API. Also some refactorings. 2018-02-02 12:26:47 +01:00
Sychev Igor
ed0988a3a1 MediatR from 3 to 4 2017-12-13 09:12:59 +03:00
Ramón Tomás
e9a89ae553 Fixed issue #403
Fixed issue #419
2017-12-11 16:25:00 +01:00
Cesar De la Torre
127864d3bd Additional refactoring on IdentifiedCommandHandlers 2017-11-12 16:28:28 -08:00
Cesar De la Torre
ebf9822af3 Refactored code related to Idempotent CommandHandlers 2017-11-12 14:07:51 -08:00
Ramón Tomás
4be61abdde Merge new creation ordering workflow 2017-06-12 13:52:23 +02:00
Ramón Tomás
1ef6e0c060 Removed Saga feature 2017-05-24 08:53:36 +02:00
igorsych
9e75504690 Newtonsoft.Json and MediatR with fixes of all based on MediatR classes
also from csproj files excluded direct specification of runtime to make compile happy if on a system we have higher version.
2017-05-19 18:03:05 +03:00
Christian Arenas
f3b6444e63 minor changes 2017-05-17 00:40:40 +02:00
Ramón Tomás
4e79875d26 Merge 2017-05-16 09:31:45 +02:00
Christian Arenas
82fe859584 Adding Integration Event handlers to ordering Api 2017-05-15 19:14:37 +02:00
Ramón Tomás
f79806e899 Created Ship order process in WebMVC app
Create Ship order command and handler in Ordering.api
Create Order management page in WebMVC app
2017-05-14 14:48:37 +02:00
Ramón Tomás
00a0824bbd Fix issue identityService.getuseridentity fails when called from integration event 2017-05-11 18:34:07 +02:00
Ramón Tomás
f525e9db01 Move UserCheckoutAcceptedIntegrationEvent out of the order saga 2017-05-11 13:55:40 +02:00
Eduard Tomas
ed641df444 Merge branch 'master' into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-03 12:33:51 +02:00
Cesar De la Torre
4b1467a7b9 Fixing the CreateOrderCommand so it is 100% immutable. It shouldn't have the AddOrderItem() method. In any case, it was not really used but in the tets, since this Command is serialized in the client side, then deserialized in the service level. 2017-05-02 17:42:59 -07:00
Ramón Tomás
3f3b9b09e9 Moved Integrationevent to Application folder
Created basic structure for order process saga
2017-04-28 14:25:52 +02:00
Unai Zorrilla Castro
4ef6b63913 Review on 17/04/2017 2017-04-17 12:28:12 +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
cea9600227 Refactoring of idempotent elements and logic. 2017-03-28 12:02:30 +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
Danny Chen
260df610b7 use non generic repository interface 2017-03-20 01:42:31 -04:00
Ramón Tomás
c8f0776f1f Added domain events in Ordering Api 2017-03-14 18:02:28 +01:00
Cesar De la Torre
1995befeaf Updated eBook .PDF to latest DRAFT version 2017-03-05 11:09:34 -08:00
Ramón Tomás
7db5119a87 Merge branch 'master' of https://github.com/dotnet/eShopOnContainers 2017-03-03 17:52:05 +01:00
Ramón Tomás
e7ec7260bb Added ordering unit tests 2017-03-03 17:51:32 +01:00
etomas
f9b15481d1 Idempotent updates based on requestid 2017-03-03 12:03:31 +01:00
Cesar De la Torre
a07bb18dca Added some comments about immutability Commands 2017-02-27 21:05:28 -08:00
Cesar De la Torre
ac58c12862 Using [DataContract] and [DataMember] for the immutable Command.
De-serializes good, I see the data coming at the Controller and the CommandHandler level, bu I get an error at the end about: JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path '[1].total', line 1, position 176.
Gerard, can you take a look to that?
If it works with attibutes, let's do it. In parallel I/m opening an issue with the ASP.NET team.
2017-02-27 18:23:15 -08:00
etomas
67ab1159df Immutable commands - wip 2017-02-27 17:52:14 +01:00
etomas
b4162035f9 Merge branch 'vs2017' of https://github.com/dotnet/eShopOnContainers into vs2017 2017-02-27 10:35:42 +01:00
etomas
e66b6a2402 ArgumentNullException handling using throw expressions
Solves #64
2017-02-27 10:35:31 +01:00
Cesar De la Torre
bfe2139a09 Refactoring so we enforce to have a Repository only per Aggregate 2017-02-26 20:32:34 -08:00
unai
e991060a51 Set adddress as value object with workaround about Id and Hashkey 2017-02-08 19:26:05 +01:00
CESARDL
8325ddbd30 Refactored: From Buyer.FullName to Buyer.IdentityGuid.
Also similar changes at the CreateOrderCommand
Plus an update to the README.md for GitHub
2017-02-07 23:03:35 -08:00
CESARDL
9f80be5ed9 Added DDD comments about the CreateOrderCommandHandler 2017-02-07 16:59:09 -08:00
PLAINCONCEPTS\ccanizares
1c1f7571e6 - Some minor refactoring (renaming) and make work web clients applications that were 'broken' after refactoring dtos in ordering service in this branch.
- Update dockerfile to asp.net 1.1 in ordering
2017-01-30 15:46:43 +01:00
Unai Zorrilla Castro
607d1ca2fa Fix query with new model. Add missing properties into migration. Work on github issues 2017-01-27 11:38:23 +01:00
Unai Zorrilla Castro
9d2d152c2d Improve ordering int order to solve feedback 2017-01-25 17:10:08 +01:00
CESARDELATORRE
4670a6da89 Refactoring: Moved RepositoryContracts/Interfaces each one to its related Aggregate's folder, so it is clear the "relationship" between Aggregate-Root and Repository Contract/Interface 2017-01-23 09:30:19 -08:00