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
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
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
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
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
Cesar De la Torre
ed7970802a
Revert "Fix API signatures for collections"
2017-04-29 15:30:17 -07:00
Bill Wagner
995cc890ff
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
8a19fad3a5
Created Payment.api microservice
2017-04-28 15:04:38 +02: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
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
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
Cesar De la Torre
7b9d14fe2a
Minor refactoring in LogDecorator
2017-02-21 12:17:16 -08:00