151 Commits

Author SHA1 Message Date
Eduard Tomàs
0c73b09406 Using MediatR behaviors instead of Autofac decorators. Solves #187 2017-08-10 16:05:42 +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
a9c185a41a Updated number of products in catalog stock
Orders list ordered
Refresh orders list periodically
Fix bug SPA basket not dropped after creating order
2017-06-14 16:38:27 +02:00
Ramón Tomás
4be61abdde Merge new creation ordering workflow 2017-06-12 13:52:23 +02:00
Ramón Tomás
8c2af8c048 Clean Basket event is launched once basket is converted to order and before starting creating order.
Change grace period time  to 1 minute
Remove unecessary clean basket methods on client
2017-05-24 16:09:03 +02:00
Ramón Tomás
1ef6e0c060 Removed Saga feature 2017-05-24 08:53:36 +02:00
Cesar De la Torre
2a7c1d740b Minor refactoring 2017-05-20 12:35:16 -07: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
45fff656d0 - Remove unused IntegrationCommands folders
- minor name changes
2017-05-18 12:03:17 +02:00
Christian Arenas
a2eb2a348d Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	src/Services/Ordering/Ordering.API/Startup.cs
2017-05-18 11:51:12 +02:00
Christian Arenas
55a82c24f4 - Change Integration Command to Integration Events
- Refactor PublishThroughEventBusAsync methods from OrderingIntegrationEventService
- Add private empty Address constructor.
- Modify order aggregate methods.
- Remove GetWithDependenciesAsync methods and modify GetAsync with entity framework Explicit loading.
2017-05-18 11:42:22 +02:00
Ramón Tomás
3f9574c8c9 Merge 2017-05-18 09:14:21 +02:00
Ramón Tomás
6c9d2cdb31 Adapt test cases to new order flow
Create new service test cases
2017-05-18 08:40:35 +02:00
Christian Arenas
0ee173cd34 naming changes 2017-05-17 11:57:02 +02:00
Christian Arenas
f3b6444e63 minor changes 2017-05-17 00:40:40 +02:00
Christian Arenas
b95bf247cf Change SaveEntitiesAsync to SaveChangesAsync 2017-05-16 18:40:34 +02:00
Christian Arenas
2b202bdc6c SaveChangesAsync() from Integration events 2017-05-16 15:11:03 +02:00
Christian Arenas
888dca003e Get ChildItems 2017-05-16 15:10:23 +02:00
Christian Arenas
504efbd191 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Order.cs
2017-05-16 11:21:37 +02:00
Christian Arenas
db41124d78 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Order.cs
2017-05-16 11:11:09 +02:00
Christian Arenas
e6c59f093c remove CheckValidSagaId replicated method 2017-05-16 10:18:57 +02:00
Ramón Tomás
374c1d5317 Update order saga cancel and ship commands 2017-05-16 09:58:06 +02:00
Ramón Tomás
4e79875d26 Merge 2017-05-16 09:31:45 +02:00
Christian Arenas
7c27ac498b Add new methods to order aggregate root and modify saga process 2017-05-15 19:17:16 +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
Christian Arenas
11dde70316 remove unused Interfaces dependencies 2017-05-11 18:43:13 +02:00
Christian Arenas
04c9579bcb Remove old integration event call from OrderStockConfirmedIntegrationEventHandler 2017-05-11 18:41:34 +02:00
Christian Arenas
3fcf8a0bcd 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
d6ccf27100 OrderStockConfirmedDomainEvent implemented 2017-05-11 18:39:06 +02:00
Ramón Tomás
7f5687d91e 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
00a0824bbd Fix issue identityService.getuseridentity fails when called from integration event 2017-05-11 18:34:07 +02:00
Christian Arenas
07f3eb45a7 Merge 2017-05-11 16:10:19 +02:00
Christian Arenas
01211322f7 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
3d05230a2b Add Order Payment Integration events 2017-05-11 16:05:27 +02:00
Christian Arenas
9ae4d93a54 Add Order Description field 2017-05-11 16:04:35 +02:00
Ramón Tomás
e64a4fac24 Merge 2017-05-11 13:59:27 +02:00
Ramón Tomás
f525e9db01 Move UserCheckoutAcceptedIntegrationEvent out of the order saga 2017-05-11 13:55:40 +02:00
Eduard Tomas
7fc63fe196 Messagebus dispatch messages in its own scope 2017-05-11 13:44:38 +02:00
Ramón Tomás
9074143577 Merge 2017-05-11 11:52:31 +02:00
Ramón Tomás
21fe9b7be4 Create checkout call in webmvc
Created Cancel call in webmvc
2017-05-11 11:51:13 +02:00
Christian Arenas
9a6ad2cc85 Continue implementing OrderStockConfirmed events 2017-05-10 19:48:36 +02:00
Christian Arenas
61cc09edbd Add ConfirmOrderStockIntegrationEvent implementation 2017-05-09 18:35:59 +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
4371e4860b 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
46ee0db400 Merge branch 'dev' into order-processflow-redesign 2017-05-09 13:46:01 +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
Christian Arenas
04b5577e99 Fix some errors 2017-05-08 11:32:57 +02:00
Christian Arenas
cde4c3a258 Create a SagaManager events 2017-05-08 10:48:06 +02:00
BillWagner
223dcda0cb 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