75 Commits

Author SHA1 Message Date
Christian Arenas
d74ac50e67 remove unused Interfaces dependencies 2017-05-11 18:43:13 +02:00
Christian Arenas
b88c15abe3 Remove old integration event call from OrderStockConfirmedIntegrationEventHandler 2017-05-11 18:41:34 +02:00
Christian Arenas
7dd91bc244 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign 2017-05-11 18:39:12 +02:00
Christian Arenas
d3d15f1de5 OrderStockConfirmedDomainEvent implemented 2017-05-11 18:39:06 +02:00
Ramón Tomás
8045d6302b Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign 2017-05-11 18:35:12 +02:00
Ramón Tomás
f302316cb0 Fix issue identityService.getuseridentity fails when called from integration event 2017-05-11 18:34:07 +02:00
Christian Arenas
f0c4d1a2db Merge 2017-05-11 16:10:19 +02:00
Christian Arenas
09a2ab4058 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/UserCheckoutAcceptedIntegrationEventHandler.cs
2017-05-11 16:08:49 +02:00
Christian Arenas
bf6360a82a Add Order Payment Integration events 2017-05-11 16:05:27 +02:00
Christian Arenas
38f86f2cd6 Add Order Description field 2017-05-11 16:04:35 +02:00
Ramón Tomás
28e92c5a33 Merge 2017-05-11 13:59:27 +02:00
Ramón Tomás
276de11bec Move UserCheckoutAcceptedIntegrationEvent out of the order saga 2017-05-11 13:55:40 +02:00
Eduard Tomas
1c72853552 Messagebus dispatch messages in its own scope 2017-05-11 13:44:38 +02:00
Ramón Tomás
7cbd77bc7a Merge 2017-05-11 11:52:31 +02:00
Ramón Tomás
9e00dceeb1 Create checkout call in webmvc
Created Cancel call in webmvc
2017-05-11 11:51:13 +02:00
Christian Arenas
10e2427253 Continue implementing OrderStockConfirmed events 2017-05-10 19:48:36 +02:00
Christian Arenas
629693043b Add ConfirmOrderStockIntegrationEvent implementation 2017-05-09 18:35:59 +02:00
Christian Arenas
00e2634b16 Add Confirm Grade period Handler and add new items to Orders status 2017-05-09 13:58:48 +02:00
Christian Arenas
6c0838399b Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign 2017-05-09 13:52:45 +02:00
Ramón Tomás
1cf7df3a8f Merge branch 'dev' into order-processflow-redesign 2017-05-09 13:46:01 +02:00
Christian Arenas
8d09abbb75 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
Christian Arenas
f5ab8333ce Fix some errors 2017-05-08 11:32:57 +02:00
Christian Arenas
6f7605776d Create a SagaManager events 2017-05-08 10:48:06 +02:00
BillWagner
aa69e11095 add back the async state machine
Because of the using blocks, these one line methods need the async
modifier so that the that async state machiner is created. Otherwise, if
the method does not complete synchronously, the connection is closed
before the database has returned its results.
2017-05-04 10:36:23 -04:00
Bill Wagner
e813332890 Fix API signatures for collections
The methods that return collections should return
Task<IEnumerable<dynamic>> not Task<dynamic>
2017-05-04 10:36:23 -04:00
Eduard Tomas
f297f8b6fc Refactor to event bus to support dynamic subscriptions to events
Checkout HTTP entrypoint in Basket API
2017-05-03 16:34:41 +02:00
Eduard Tomas
0c18168dc3 Merge branch 'master' into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-03 12:33:51 +02:00
Cesar De la Torre
69d7399eec 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
Cesar De la Torre
ee787dcaad Revert "Fix API signatures for collections" 2017-04-29 15:30:17 -07:00
Bill Wagner
077868e51d Fix API signatures for collections
The methods that return collections should return
Task<IEnumerable<dynamic>> not Task<dynamic>
2017-04-28 09:25:24 -04:00
Ramón Tomás
d2dc0351e9 Created Payment.api microservice 2017-04-28 15:04:38 +02:00
Ramón Tomás
30d8905125 Moved Integrationevent to Application folder
Created basic structure for order process saga
2017-04-28 14:25:52 +02:00
Unai Zorrilla Castro
c33513303d Review on 17/04/2017 2017-04-17 12:28:12 +02:00
Ramón Tomás
00f7226f30 Rename OrderingIntegrationEvent service methods
Remove clean basket instruction from SPA client
2017-04-05 11:07:26 +02:00
Ramón Tomás
3c909ff392 Refactor transaction and publishing in integration events 2017-04-03 13:13:40 +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
5fed56db51 Domain validation errors must throw domain exceptions. 2017-03-28 13:50:16 +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
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
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