42 Commits

Author SHA1 Message Date
Eduard Tomas
c85e880dad Catalog.API methods following more rest conventions:
Create/Update routed by POST/PUT & Location header returned
A new GET endpoint for returning single item by id created to honour Location header of previous methods.
2017-04-18 17:58:52 +02:00
Unai Zorrilla Castro
4ef6b63913 Review on 17/04/2017 2017-04-17 12:28:12 +02:00
Cesar De la Torre
393b47fa93 CatalogIntegrationEventService Refactored 2017-04-04 17:01:58 -07:00
Ramón Tomás
3c909ff392 Refactor transaction and publishing in integration events 2017-04-03 13:13:40 +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
dsanz
0372fada82 IntegrationEventLogService refactoring 2017-03-24 12:37:44 +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
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
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
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
dsanz
18a402044e Add basic first implementation of Event bus with rabbitMQ 2017-03-09 15:56:34 +01:00
Cesar De la Torre
ba11c78ef9 Refactoring Catalog.API controllers and EF config 2017-03-04 17:29:36 -08: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
PLAINCONCEPTS\ccanizares
93bbd6516b Catalog Seed: Dynamic host url for image pics 2017-01-09 10:33:43 +01:00
PLAINCONCEPTS\ccanizares
bbb6303f2a Catalog Api: pic url. 2017-01-05 18:23:00 +01:00
PLAINCONCEPTS\ccanizares
d1602e6f6a Catalog Api: Use composePicUri method in api catalog items endpoint. 2017-01-05 09:27:25 +01:00
Carlos Cañizares Estévez
a42f47b3f6 SPA: Observable for basket-status refresh when basket is dropped 2016-12-30 12:26:12 +01:00
Carlos Cañizares Estévez
ed3b73c622 More products and images in Catalog Seed 2016-12-29 15:25:36 +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
3f21d9c357 merge dev into Dev 2016-12-09 10:23:17 +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
CESARDELATORRE
ebf181c595 Minor changes in Catalog API 2016-11-28 17:34:21 -08:00
Unai
3e001b40f0 Remove unnecesary comments and review settings 2016-11-14 15:48:30 +01:00
Unai
725d658697 Add new method in catalog controller to support filter by type and brand 2016-11-03 12:37:46 +01:00
Unai
da2282783b Add more web api methods on catalog.api. Implement pagination featue. 2016-11-03 12:09:44 +01:00
Unai
34043afa6b Review project. Update packages. Fix Http api 2016-10-31 16:54:55 +01:00
glennc
9dd626360a some initial dockerfiles and catalog work. Proof of concept more than anything else. 2016-09-14 11:35:36 -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