67 Commits

Author SHA1 Message Date
Cesar De la Torre
e36e606d64 Cleaned-up BuyerRepository.cs 2017-11-09 13:09:09 -08:00
Cesar De la Torre
d2f7d6a5d6 Minor clean-up on Entity, Domain Events. 2017-11-07 16:53:41 -08:00
Cesar De la Torre
a88fbf339f Minor clean-up in Ordering Context 2017-11-07 16:15:03 -08:00
Igor Sychev
e1c93bd05a update to latest packages 2017-10-13 13:04:06 +01:00
Unai Zorrilla Castro
d8b374ac4a Create DesignTimeFactories for context used on startup with dependencies 2017-09-14 15:33:39 +02:00
Unai Zorrilla Castro
04c90f09f9 Fix view models namespaces issues. Remove unnecessary design time ordering context provider 2017-09-14 13:43:41 +02:00
Unai Zorrilla Castro
70e429b760 Added IEntityTypeConfiguration feature from EF Core 2 2017-08-31 17:16:28 +02:00
Ramón Tomás
8288acf3a4 Update projects from netcore 2.0.0 preview to 2.0.0
Fix netcore 2.0.0 breaking changes in authentication middleware
2017-08-22 22:36:23 +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
Eduard Tomas
2f1f1cd616 Address as EF Value object 2017-07-13 12:34:19 +02:00
Eduard Tomas
d65a112535 References updated to preview-2
code adjustements to work with preview-2
2017-06-29 18:36:57 +02:00
Eduard Tomas
6b466a2c66 Fixing NetStandard.Library versions 2017-06-22 16:15:58 +02:00
Eduard Tomas
3c2ce4d7a7 Ordering.API nuget update 2017-06-21 19:48:13 +02:00
Eduard Tomas
56902a5549 [WIP] Projects & Dockerfile migrated to 2.0
Lots of things to address yet, because nuget packages are still on 1.1
2017-06-21 19:03:48 +02:00
Ramón Tomás
4be61abdde Merge new creation ordering workflow 2017-06-12 13:52:23 +02: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
igorsych
c5778a04f3 .NET core packages update 2017-05-19 08:11:18 +03: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
Christian Arenas
b95bf247cf Change SaveEntitiesAsync to SaveChangesAsync 2017-05-16 18:40:34 +02:00
Christian Arenas
888dca003e Get ChildItems 2017-05-16 15:10:23 +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
ea1c50db7b Add OrderingDomainException when the order doesn't exist with id orderId 2017-05-16 10:18:28 +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
9ae4d93a54 Add Order Description field 2017-05-11 16:04:35 +02:00
Eduard Tomas
7fc63fe196 Messagebus dispatch messages in its own scope 2017-05-11 13:44:38 +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
Cesar De la Torre
1df0019981 Minor comment typo changeed 2017-05-01 17:56:33 -07:00
Unai Zorrilla Castro
4ef6b63913 Review on 17/04/2017 2017-04-17 12:28:12 +02:00
Cesar De la Torre
a07a88f9c4 Added DDD comment about the Address Id as "Shadow property" as a Value Object shouldn't have an ID in the domain model. 2017-04-06 11:47:10 -07:00
Eduard Tomas
be440a9a02 Removing PaymentMethod property from order 2017-04-05 13:15:27 +02:00
Ramón Tomás
6803781bf8 Merge from Dev 2017-04-05 11:12:49 +02:00
Eduard Tomas
a7c7426659 Removing Buyer navigation property in Order 2017-04-03 11:32:35 +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
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
Cesar De la Torre
85b65753c9 Minor update 2017-03-23 14:45:57 -07:00
Cesar De la Torre
bb39e5fd6e Minor comment change 2017-03-21 12:58:07 -07:00
Cesar De la Torre
cb4da9864d Dispatching Domain Events right before DbContext SaveChanges() so side effects from additional Domain Event Handlers are included within the same transaction 2017-03-21 12:55:33 -07:00
dsanz
de8aded2b0 Fix #61 Async suffix for namig convention. 2017-03-20 16:12:11 +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
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
etomas
f9b15481d1 Idempotent updates based on requestid 2017-03-03 12:03:31 +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