Ramón Tomás
46ee0db400
Merge branch 'dev' into order-processflow-redesign
2017-05-09 13:46:01 +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
etomas
5771f6ddd3
Solves error on order detail. Related to #4
2017-02-10 12:42:57 +01: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
etomas
15f2cc7da1
Removing pending Configuration registration as Singleton.
...
Solving #9
2017-02-07 09:35:21 +01: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
80f223ec42
fix unsaved file on vs
2017-01-27 11:39:30 +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
CESARDELATORRE
42501a5a0b
Minor refactoring and docs updates
2017-01-19 19:51:28 -08:00
CESARDELATORRE
2babf6e4fe
Added field "Alias" to PaymentMethod and created EF migration for that
...
Refactoring related to OrderCommand (instead NewOrderCommand)
Refactoring in Buyer.IdentityGuid instead of fullname variables..
2017-01-18 16:51:44 -08:00
CESARDELATORRE
57ae6ab3be
Refactoring in Ordering Domain Model so it shows a clear AggregateModel and clusters of entities as Aggregates.
...
Also, showing Repository Interfaces as RepositoryContracts.
2017-01-17 18:32:40 -08:00