288 Commits

Author SHA1 Message Date
Eduard Tomas
a7c7426659 Removing Buyer navigation property in Order 2017-04-03 11:32:35 +02:00
Eduard Tomas
75629193b7 Xamarin callback client configurable 2017-04-03 10:18:56 +02:00
Eduard Tomas
202882aa7c Fixed healthcheck errors 2017-03-31 12:47:56 +02:00
Ramón Tomás
2e50097c65 Merge branch 'master' of https://github.com/dotnet/eShopOnContainers 2017-03-31 11:04:03 +02:00
Ramón Tomás
25a70605de Fix issue ordering event handler registration 2017-03-31 11:03:29 +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
Cesar De la Torre
fa541444c7 Fixed bug in HealthChecks so the Catalog.API microservice checks the SQL database.
Also, added more UrlChecks to the MVC app so it checks all its dependencies.
Plus minor bugs/missing code in docker-compose.pro.yml that was evolved in the .override.yml
2017-03-30 18:25:19 -07:00
dsanz
3b4556b9c4 Add comment. 2017-03-30 11:38:10 +02:00
dsanz
ba71b192a9 Fix issue #118 Token lifetime handling 2017-03-29 16:49:48 +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
3ef2aeff9a Fix issue after merge 2017-03-28 16:37:48 +02:00
Ramón Tomás
fd0a30d62a Merge from Dev 2017-03-28 16:37:36 +02:00
Ramón Tomás
e08fe895a3 Added MVC and SPA Apps to healthChecker
Added styles to view
2017-03-28 16:16:01 +02:00
dsanz
e596926b9b add comment about known bug in .net core 1.1 2017-03-28 13:55:27 +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
Charles Lowell
eba2ea8bf9 Support IP address connection string in Basket.API
Dns.GetHostAddressesAsync can return problematic results when passed an IP address, and if the connection string is already an IP address, we needn't call it anyway.
2017-03-27 13:06:49 -07:00
Charles Lowell
2f3df2715d Set data protection application discriminators
This prevents cookie confusion when applications are hosted at the same domain and path. For example, under default settings, WebMVC may attempt to decrypt Identity's antiforgery cookie rather than its own.
2017-03-27 09:53:35 -07:00
Ramón Tomás
2119ae19bd Fix startup after merge 2017-03-27 15:24:29 +02:00
Ramón Tomás
a14b7e580f Merge from Dev 2017-03-27 15:00:46 +02:00
David Sanz
92501eb0d9 Merge pull request #133 from dotnet/Validation-decorator-integration
#39 Validation decorator integration
2017-03-27 14:10: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
dsanz
d8d1e5a8b2 Remove unused code 2017-03-27 11:55:54 +02:00
dsanz
395768d574 Merge branch 'dev' into IntegrationEventLogService-refactor
# Conflicts:
#	src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs
#	src/Services/Catalog/Catalog.API/Startup.cs
2017-03-27 10:18:41 +02:00
Cesar De la Torre
0d78461a08 Implemented EF Core DB connections resiliency with explicit retries and execution strategy when using multiple DbContexts 2017-03-26 18:00:04 -07:00
Cesar De la Torre
c07665aef6 Renamed from EditProduct to UpdateProduct, also its HTTP Route, etc. 2017-03-25 15:50:26 -07:00
Cesar De la Torre
313976da80 Fixed bugs related to the Product Update and PriceChangedIntegrationEvent. It was updating only when the price was changing... additional refactoring performed, too. 2017-03-25 14:47:23 -07:00
Cesar De la Torre
92777dc538 Merge branch 'dev' of https://github.com/dotnet/eShopOnContainers into dev 2017-03-24 15:37:38 -07:00
Eduard Tomas
5b9b92397d Updates to dockerfile / docker-compose for windows containers 2017-03-24 13:15:40 +01:00
dsanz
0372fada82 IntegrationEventLogService refactoring 2017-03-24 12:37:44 +01:00
Eduard Tomas
45499808b9 Merge remote-tracking branch 'origin/windows-containers-test' into dev 2017-03-24 09:35:57 +01:00
Cesar De la Torre
85b65753c9 Minor update 2017-03-23 14:45:57 -07:00
Eduard Tomas
561ba3b1ec 1st version of healthcheck & webstatus 2017-03-23 19:10:55 +01:00
Ramón Tomás
007525b4cc Merge branch 'dev' into Validation-decorator-integration 2017-03-23 13:46:21 +01: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
dsanz
6e4d9461de Add shared scope transaction between updating catalog product priceand store ProductPriceChangedIntegrationEvent. Added service to encapsulate logic for storage of integration event logs. 2017-03-23 13:24:17 +01:00
dsanz
7a63490558 Add the sql implementation for the storage of Integration events. 2017-03-22 16:10:46 +01:00
dsanz
696610ed36 Fix #129 Post_update_product_price_and_catalog_and_basket_list_modified test failing 2017-03-22 09:57:08 +01:00
Charles Lowell
4dc56c4bf7 Enable IP address connection string in Basket.API
Dns.GetHostAddressesAsync can return problematic results when passed an IP address, and if the connection string is already an IP address, we needn't call it anyway.
2017-03-21 13:57:43 -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
Charles Lowell
68c3ebaf46 Set data protection application discriminators
This prevents cookie confusion when applications are hosted at the same domain and path. For example, under default settings, WebMVC may attempt to decrypt Identity's antiforgery cookie rather than its own.
2017-03-21 10:42:37 -07:00
dsanz
8a689c45f2 Add Delete and Create actions to the CatalogController. 2017-03-21 13:10:40 +01:00
Cesar De la Torre
29dc6b41ca Merge pull request #123 from dotnet/bugs/61-AsyncSuffixNamingConvention
Fix #61 Async suffix for namig convention.
2017-03-20 10:59:07 -07:00
Cesar De la Torre
b1b7ca5a4c Merge pull request #122 from dotnet/bugs/#75-NoRetryLoginAtCatch
Removed the catch with retry logic from CatalogContextSeed
2017-03-20 10:49:34 -07:00
dsanz
de8aded2b0 Fix #61 Async suffix for namig convention. 2017-03-20 16:12:11 +01:00
Ramón Tomás
8a054ed349 Removed the catch with retry logic from CatalogContextSeed and create a retry loop at startup for db availability 2017-03-20 15:37:31 +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