402 Commits

Author SHA1 Message Date
Christian Arenas
ea1c50db7b Add OrderingDomainException when the order doesn't exist with id orderId 2017-05-16 10:18:28 +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
Ramón Tomás
afc247da67 Change SPA app to call basket for order checkout 2017-05-16 09:23:35 +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
38fd965e1c Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign 2017-05-11 16:42:24 +02:00
Ramón Tomás
e4c8462f2b Fix merge 2017-05-11 16:33:11 +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
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
Eduard Tomas
95af2d9a02 Autorefresh on healthchecks with config timeout 2017-05-09 13:54:45 +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
7fe643f06a Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
#	src/Services/Basket/Basket.API/Controllers/BasketController.cs
#	src/Services/Basket/Basket.API/Startup.cs
2017-05-08 15:11:31 +02:00
Christian Arenas
af24e35b66 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
#	src/Services/Basket/Basket.API/Controllers/BasketController.cs
#	src/Services/Basket/Basket.API/Startup.cs
2017-05-08 15:03:33 +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
Cesar De la Torre
3e5d38dae1 Merge pull request #181 from BillWagner/use-IEnumerable-dynamic
Use IEnumerable<dynamic> instead of dynamic for collections
2017-05-05 15:53:44 -07:00
Cesar De la Torre
c247261929 Minor refactoring for the CreateOrder Web API method and the Entity base class 2017-05-04 12:29:00 -07: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
Bill Wagner
d97ae6d6ae 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
Cesar De la Torre
b1c0c72ec7 CreateOrder refactored so return code lines are more compact 2017-05-03 18:36:52 -07:00
Eduard Tomas
bfe86c1cba 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
ed641df444 Merge branch 'master' into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-03 12:33:51 +02:00
Eduard Tomas
11495156e1 Merge branch 'dev' 2017-05-03 12:04:43 +02:00
Eduard Tomas
0d7e6a16aa Merge branch 'refactor-event-bus' into dev 2017-05-03 11:00:03 +02:00
Eduard Tomas
79f8f1b949 EventBus refactor.
Instead to register EventHandlers we register Func<EventHandlers> which solves scope problems (having transient/scoped objects owned by singletons)
2017-05-03 10:59:36 +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
Eduard Tomas
829f13aff0 Updated healthcheck lib 2017-05-02 10:29:24 +02:00
Cesar De la Torre
1df0019981 Minor comment typo changeed 2017-05-01 17:56:33 -07:00
Cesar De la Torre
6f8cd174c7 Refactoring to better terms 2017-04-29 21:58:11 -07:00