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
etomas
3ec61e0df6
Tried patch proposed by Sandeep Bansal
2017-03-18 11:13:20 +01:00
Cesar De la Torre
c7e317413e
Refactoring Domain Events
2017-03-17 18:36:34 -07:00
etomas
cfecbc5dba
Merge branch 'dev' of https://github.com/dotnet/eShopOnContainers into dev
2017-03-17 16:28:13 +01:00
etomas
9fdb5e6c96
FailingMiddleware for Ordering API
2017-03-17 16:28:05 +01:00
dsanz
a0da160a77
Merge from origin/dev to dev
2017-03-17 16:11:58 +01:00
dsanz
e996593d32
Add functional test for integration events. Implement IDisposable for EventBusRabbitMQ.
2017-03-17 15:57:57 +01:00
Ramón Tomás
bbc1481979
Removed event file from catalog api csproj
2017-03-17 13:20:52 +01:00
Cesar De la Torre
5a374e97b5
Refactoring Integration Events so they cannot be confused with Domain Events
2017-03-16 18:59:20 -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
Cesar De la Torre
6f6f09e11e
Minor refactoring on the Event Bus IntegrationEventLog
2017-03-16 15:54:01 -07:00
dsanz
33335eb230
Change in integration event publication fow as agreed. Flow is 1- start transaction 2- modify catalog iin db 3- add event to db 4- close transaction 5- publish event 6- update event state in db
2017-03-16 16:08:55 +01:00
dsanz
c8df9a232a
Refactoring integration events: move event bus implementation to building block projects.
2017-03-16 13:30:01 +01:00
Cesar De la Torre
8423c8bb63
Larger Refactoring of IntegrationEvents
2017-03-15 18:42:47 -07:00
Cesar De la Torre
e41ce96f81
Minor refactoring related to the ProductPriceChanged integration event
2017-03-15 14:50:10 -07:00
dsanz
faf4ada8ac
Fix unit tests
2017-03-15 15:32:13 +01:00
dsanz
d35cefb887
Fix merge issue.
2017-03-15 15:04:13 +01:00
Ramón Tomás
1e47a3378f
Merge domain events to DEV
2017-03-14 19:04:59 +01:00
Ramón Tomás
c8f0776f1f
Added domain events in Ordering Api
2017-03-14 18:02:28 +01:00
DESKTOP-V1VLQ15\dsanz
f6b2335518
Fix issue with tests and Authorize attribute
2017-03-14 14:15:34 +01:00
DESKTOP-V1VLQ15\dsanz
f1ffb95abf
Merge branch 'dev' into integration-events-rmq
...
# Conflicts:
# docker-compose.override.yml
# eShopOnContainers-ServicesAndWebApps.sln
2017-03-14 11:50:28 +01:00
dsanz
254d479582
Renaming.
2017-03-14 09:54:30 +01:00
dsanz
f502c2388f
Add persistence of published integration events for Catalog (the only microservice publishing integration events by the moment).
2017-03-14 09:47:36 +01:00
dsanz
6617981303
Fix for #80
2017-03-13 11:34:25 +01:00
dsanz
172367d9d1
Connect to the rabbitmq container using settings.
2017-03-13 11:03:35 +01:00
dsanz
4d1269b8f2
Add handler logic for basket repository. Add Post to CatalogController (only for price update).
2017-03-10 18:34:58 +01:00
dsanz
5b38a49f11
Add Basket handler and subscription to events. Change in EventBus to use broker and one message queue per microservice http://www.rabbitmq.com/tutorials/tutorial-four-dotnet.html
2017-03-10 13:17:16 +01:00
Cesar De la Torre
3e795ac3ce
Revert "Revert "Removes Docker profile from launchSettings.json""
2017-03-09 12:50:41 -08:00
Cesar De la Torre
ee13198242
Revert "Removes Docker profile from launchSettings.json"
2017-03-09 11:59:29 -08:00
David Zhao (DEVDIV)
9edf68ba11
Removes Docker profile from launchSettings.json
2017-03-09 10:27:33 -08:00
dsanz
18a402044e
Add basic first implementation of Event bus with rabbitMQ
2017-03-09 15:56:34 +01:00
etomas
d01a548bbb
Merge branch 'master' of https://github.com/dotnet/eShopOnContainers
2017-03-07 18:49:03 +01:00
etomas
39d4280b31
Fix for #81
2017-03-07 18:48:53 +01:00
dsanz
1b6ff6cb20
Fix issue #80 logging out crashes.
2017-03-07 16:50:19 +01:00