115 Commits

Author SHA1 Message Date
etomas
decb87e0c6 Merge branch 'migration/net11'
# Conflicts:
#	docs/architecting-and-developing-containerized-and-microservice-based-net-applications-ebook-early-draft.pdf
#	src/Services/Ordering/Ordering.API/Startup.cs
2017-02-14 16:16:42 +01:00
CESARDL
46534d5688 Minor refactoring 2017-02-13 14:03:21 -08:00
etomas
5771f6ddd3 Solves error on order detail. Related to #4 2017-02-10 12:42:57 +01:00
unai
b60ac953d8 Solve issue with latest commit commenting code 2017-02-09 19:33:15 +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
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
CESARDL
bf5af56d32 Setting ServiceLifetime.Scoped to OrderingContext so it is explicit instead of implicit (by default). 2017-02-01 18:56:28 -08:00
CESARDELATORRE
d134dd4dd5 Taken from Remote 2017-02-01 12:04:26 -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
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
CESARDELATORRE
7ae197da32 Interesting comments about DI and DbContext lifetime scope 2017-01-26 16:23:49 -08:00
CESARDELATORRE
fa6a273a33 Minor refactoring and Unit Test fix 2017-01-26 15:08:51 -08: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
PLAINCONCEPTS\ccanizares
2e84154e37 SPA: override with compose settings (environment variables) configuration in spa angular settings service. 2017-01-10 11:37:36 +01:00
Carlos Cañizares Estévez
00d8538976 . 2017-01-04 13:57:58 +01:00
Unai Zorrilla Castro
3c277a49de Modify AsyncRequestNames, include UnitTest project, remove unused application ordering layer 2016-12-29 11:04:55 +01:00
Unai Zorrilla Castro
099cd1b350 Modify AsyncRequestNames, include UnitTest project, remove unused application ordering layer 2016-12-29 11:03:03 +01:00
Carlos Cañizares Estévez
ac146f4475 Added Unit Test Project for services 2016-12-22 13:20:12 +01:00
Carlos Cañizares Estévez
d8a0d9bb66 BasketApi: Add authorizationHeader (pass bearer from Swagger Ui to authorize request...).
MVC: Solve some design feedback (filter selector in catalog)

CatalogApi: Move models from infrastructure to Model folder.
2016-12-21 11:30:11 +01:00
Carlos Cañizares Estévez
0e7e4e41d7 MVC: Solve feedback, improve validations
Identity: Solve Microsoft Edge problem
Ordering: Remove application tier
2016-12-20 12:22:28 +01:00
Carlos Cañizares Estévez
e4d3c66d27 Logout fix for Xamarin in identity 2016-12-19 17:55:48 +01:00
Carlos Cañizares Estévez
10f3e17b55 Add Swagger to Basket Api
SQL databases with the same prefix for services
Move application tier to api tier in ordering api
2016-12-19 10:20:02 +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
44f238f3fd same SQL for catalog and ordering 2016-12-14 21:08:42 +01:00
Carlos Cañizares Estévez
9e72fe7c7c Order items in ordering api 2016-12-14 18:23:57 +01:00
Carlos Cañizares Estévez
64d3919a80 Secure orders api and add bearer token in calls from MVC application to orders api. 2016-12-12 10:15:24 +01:00
Carlos Cañizares Estévez
3f21d9c357 merge dev into Dev 2016-12-09 10:23:17 +01:00
unai
cbd5682ea0 minor refactoring on reviews 2016-12-07 18:59:41 +01:00
Carlos Cañizares Estévez
42f3537441 scripts to build individual services, readme files for all services and clients, compose in all projects, fix build problems (Dependent seeds), solve some kwnon build problems in solution (identity on localhost, ...) 2016-12-07 13:57:31 +01:00
Carlos Cañizares Estévez
0a344f6cdc Improvements in identity, securice basket api, login-logout from mvc application and consume securiced basket. 2016-11-29 15:10:16 +01:00
Carlos Cañizares Estévez
a939fe7a51 MVC App: Authentication against IdentityService and Order Api basic integration. 2016-11-28 12:58:51 +01:00
Unai
339ea43f49 Added functional Tests for catalog and ordering 2016-11-24 16:26:59 +01:00
Unai
fb8294a5c5 Finished first iteration over ordering.data 2016-11-24 14:59:25 +01:00
Unai
d25f1c64a9 Finished first iteration over ordering.data 2016-11-24 14:58:37 +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
Unai
b0cc1a14d7 Minor refactoring and review on ordering bc 2016-11-21 10:02:52 +01:00