49 Commits

Author SHA1 Message Date
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
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
Unai Zorrilla Castro
4ef6b63913 Review on 17/04/2017 2017-04-17 12:28:12 +02:00
dsanz
c16941cf25 Fix warnings 2017-04-06 11:59:11 +02:00
Eduard Tomas
be440a9a02 Removing PaymentMethod property from order 2017-04-05 13:15:27 +02:00
Eduard Tomas
a7c7426659 Removing Buyer navigation property in Order 2017-04-03 11:32:35 +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
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
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
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
etomas
6d72c7dda0 OrderStatus and CardTypes as Enumerations 2017-02-23 13:57:36 +01:00
etomas
af14d37378 Projects migrated to vs2017 csproj format 2017-02-14 16:23:26 +01:00
etomas
7521e7434d Fixing a nullreference exception
Also util files to start only "external containers"
2017-02-14 16:17:30 +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
unai
0a18af14dc Added ValueObject abstract class. Set NoTracking on CatalogItems 2017-02-06 12:51:56 +01:00
CESARDL
963de048ef Refactoring: Using List<>.AsReadOnly() instead of HashSet<>.ToList() that is more expensive. Related to issues: https://github.com/dotnet/eShopOnContainers/issues/29 and 2017-02-02 17:30:15 -08:00
CESARDL
be02c92d90 Missing file rename 2017-02-02 16:11:31 -08:00
CESARDL
795c786625 Renamed IRepository to IAggregateRepository 2017-02-02 16:10:06 -08:00
CESARDL
4708b89457 Partial refactoring about Order and OrderItems.
Set the fields to explicit private
Using .ToReadOnly(), but still might need to use List<> instead HashSet<> so we won't need the .ToList() conversion which is "expensive"..
2017-02-02 13:34:44 -08: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
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
CESARDELATORRE
d09bffd294 Added Comments TO DO: 2017-01-12 17:09:23 -08:00
Carlos Cañizares Estévez
00d8538976 . 2017-01-04 13:57:58 +01:00
Carlos Cañizares Estévez
31753fc057 MVC: Finish Orders integration (detail), validations, some refactor ...
Orders: Detail Query, new field in OrderDetail..
Identity: Validations in Register View, ensure all claims are returned in user end point..
2016-12-17 14:41:16 +01:00
Carlos Cañizares Estévez
9e72fe7c7c Order items in ordering api 2016-12-14 18:23:57 +01:00
Unai
fb8294a5c5 Finished first iteration over ordering.data 2016-11-24 14:59:25 +01:00
Unai
1ae4d01f82 More iteration on Ordering Refactoring 2016-11-22 18:40:47 +01:00
Unai
95af336404 Remove old code and projects. Add MediatR. Added first commands. Review Entities and domain. Create queries 2016-11-21 12:41:36 +01:00
Cesar De la Torre
67e94c3c45 - Consuming Ordering.API microservice from WebMVC app
- SQL DB updated with EF Migrations
- build-images.ps1 updated
2016-10-10 21:52:57 -07:00
Cesar De la Torre
28b4ccb317 Working Ordering microservice on Docker with Docker-compose deployment 2016-09-14 00:44:13 -07:00
Cesar De la Torre
68bcb70fd2 Added OrderItem features and moved queries to the OrderingQueries class 2016-09-13 00:20:46 -07:00
Cesar De la Torre
1ba7087965 Advanced further with Repositories and Dynamic-Queries 2016-09-12 20:28:55 -07:00
Cesar De la Torre
ec6256ef6e More implementation of Ordering microservice with draft EF Core DbContext linked to a SQL LocalDB. Code in WebAPI related to the Context still to be refactored and moved to the Infrastructure.SqlData project. 2016-09-09 17:24:24 -07:00
Cesar De la Torre
9aed8221f2 Work in progress for the Ordering microservice Domain Model 2016-09-08 16:33:23 -07:00
Cesar De la Torre
e898bc0daf Changed to eShopOnContainers and added basic NetStandard Libraries for Models and SqlData/Repositories code 2016-09-07 13:52:26 -07:00