84 Commits

Author SHA1 Message Date
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
Eduard Tomas
5b9b92397d Updates to dockerfile / docker-compose for windows containers 2017-03-24 13:15:40 +01:00
Eduard Tomas
45499808b9 Merge remote-tracking branch 'origin/windows-containers-test' into dev 2017-03-24 09:35:57 +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
dsanz
8a689c45f2 Add Delete and Create actions to the CatalogController. 2017-03-21 13:10:40 +01:00
etomas
3ec61e0df6 Tried patch proposed by Sandeep Bansal 2017-03-18 11:13:20 +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
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
dsanz
faf4ada8ac Fix unit tests 2017-03-15 15:32:13 +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
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
c38e078265 Deleting windows container files as they are not still supported 2017-03-06 15:00:41 +01:00
Cesar De la Torre
9e2500071a Updates at multiple README.MD pointing to the Wiki setup procedures 2017-03-05 13:49:25 -08:00
Cesar De la Torre
ba11c78ef9 Refactoring Catalog.API controllers and EF config 2017-03-04 17:29:36 -08:00
etomas
29473b455f Merge branch 'vs2017' 2017-03-03 19:40:55 +01:00
etomas
f9b15481d1 Idempotent updates based on requestid 2017-03-03 12:03:31 +01:00
etomas
dba93514e8 Merge branch 'windows-containers' 2017-03-02 15:54:52 +01:00
etomas
32bb724d80 Simplifying use of windows containers 2017-03-02 15:54:30 +01:00
etomas
77de525916 Merge branch 'windows-containers' 2017-03-01 12:06:28 +01:00
etomas
faa24c757c Docker files added again
docker-use-platform creates mark file
2017-03-01 12:03:37 +01:00
Charles Lowell
3df4f3a206 Configure service URLs via environment variables 2017-02-28 14:54:21 -08:00
Steve Smith
a1f4082ee3 Minor copy updates
Added rename TODO suggestion for CatalogSettings
2017-02-26 13:44:07 -05:00
etomas
92daab8fae Unwanted files (now Dockerfiles are autogenerated) 2017-02-24 18:09:08 +01:00
etomas
79615664cf Dockerfiles for win and linux containers 2017-02-24 18:07:52 +01:00
etomas
5b97c7329b Infrastructure to support Dockerfiles for both Windows & Linux 2017-02-23 16:39:18 +01:00
Bill Wagner
bb5d48735d update build script for Mac
Until adding these, the project would not build correctly on a Mac.

script working for SPA

Add execute permissions to build-bits.sh on macOS

fix a rebase / automatic merge issue.

Somehow, the MVC image got in there twice.

update content nodes

Bug workaround for for the CLI. It turns out that the CLI does not
handle content nodes that have multiple paths. Instead, multiple nodes
are needed.

use the standard names for the web docker images.

fix a typo and update the csproj content listings.

Also, execute nom install as part of publishing  the spa application.
2017-02-21 14:04:35 -05:00
Cesar De la Torre
439ec70edf Better way to include the images/pictures in the bits/image:
<None Update="Pics\*">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
2017-02-16 16:30:46 -08:00
Cesar De la Torre
bf6e696ccb Fix: Manual update to .CSPROJ file XML as VS 2017 was throwing an error when trying to go to the pics folder properties to include it in the output directoy. Added:
<None Update="Pics">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </None>

See possible related bug in VS 2017:
https://github.com/dotnet/roslyn-project-system/issues/1579
2017-02-16 13:22:42 -08:00
Cesar De la Torre
fafaf42c63 Minor change in Catalog.API 2017-02-16 12:37:09 -08:00
Cesar De la Torre
9ccf7f11ce Changes for CLI compatibility and New .PDF version 2017-02-16 12:31:53 -08:00
etomas
c7e362ac67 Docker files ready for the Visual Studio Docker Tools
Everything works as exepcted except SPA version which need further adjustments
2017-02-14 18:11:51 +01:00
etomas
af14d37378 Projects migrated to vs2017 csproj format 2017-02-14 16:23:26 +01:00
etomas
d07b98468b Issue #9 - Do not hold the ASP.NET Core Configuration object as Singleton in the IoC container 2017-02-06 13:53:36 +01:00
unai
0a18af14dc Added ValueObject abstract class. Set NoTracking on CatalogItems 2017-02-06 12:51:56 +01:00
etomas
8c6ee1003c Update to netcore1.1 2017-02-01 13:19:47 +01:00