61 Commits

Author SHA1 Message Date
Miguel Veloso
2717659a0d Refactor ModelDTOs for a more consistent folder structure 2019-03-04 13:31:29 +00:00
Unai Zorrilla Castro
2f9fa4dcca Added HTTPClient services and review application on WebMVC 2018-05-18 12:36:33 +02:00
Unai Zorrilla Castro
cf4b7ff47f Added sample for use new IHttpClientFactory feature on WebMVC 2018-05-16 12:44:32 +02:00
eiximenis
181b475e32 MVC adapted to marketing bff apigw 2018-02-28 13:13:18 +01:00
Eduard Tomàs
704e6ae693 Finished purchase-bff implementation and ocelot rerouting 2018-02-02 16:55:33 +01:00
Eduard Tomàs
2a81a080ba Moved Create Order from MVC logic client to Purchase logic. 2018-02-01 15:04:20 +01:00
Eduard Tomàs
0256c6a7ad Moved Change Basket Quantities to PurchaseBFF. MVC client updated 2018-01-31 17:29:07 +01:00
Eduard Tomàs
1c6431d503 Moved "AddItemToBasket" from MVC Client to a single call in PurchaseBFF 2018-01-31 16:35:40 +01:00
Ramón Tomás
cecdc40ac1 Fix Authentication issue in Locations.api
Created input in user campaigns view to update the user's location
2017-09-15 13:54:48 +02:00
Ramón Tomás
2baedadc7a Merge from Dev 2017-08-22 19:46:53 +02:00
Ramón Tomás
485505a7be Adapt changed Basket.Api url to Mvc and SPA apps 2017-07-12 12:43:15 +02:00
Eduard Tomas
d9b9578e48 Merge remote-tracking branch 'origin/dev' into netcore2
# Conflicts:
#	docker-compose.dcproj
#	docker-compose.vs.debug.yml
#	docker-compose.vs.release.yml
#	src/BuildingBlocks/EventBus/EventBus/EventBus.csproj
#	src/Services/Marketing/Marketing.API/Startup.cs
#	src/Web/WebMVC/Startup.cs
#	src/Web/WebMVC/WebMVC.csproj
2017-07-11 12:01:45 +02:00
Christian Arenas
b28c650e06 Remove userId setting from xamarin app and remove userId parameter from GetCampaignsByUserId in Campaign API 2017-06-26 18:29:51 +02:00
Eduard Tomas
fdd9a36719 MVC auth updated to 2.0.0 2017-06-22 16:55:57 +02:00
Christian Arenas
db4403b75c Add Pagination to Campaign View
(cherry picked from commit 86e40512352a44021ea69ed948062d0b510141cf)
2017-06-16 16:51:35 +02:00
Christian Arenas
b764aebcd1 Add campaign service methods 2017-06-15 19:23:10 +02:00
Christian Arenas
6168b52db8 Add campaign Service 2017-06-15 02:20:02 +02:00
Ramón Tomás
8c2af8c048 Clean Basket event is launched once basket is converted to order and before starting creating order.
Change grace period time  to 1 minute
Remove unecessary clean basket methods on client
2017-05-24 16:09:03 +02:00
Ramón Tomás
afc247da67 Change SPA app to call basket for order checkout 2017-05-16 09:23:35 +02:00
Ramón Tomás
f79806e899 Created Ship order process in WebMVC app
Create Ship order command and handler in Ordering.api
Create Order management page in WebMVC app
2017-05-14 14:48:37 +02:00
Ramón Tomás
00a0824bbd Fix issue identityService.getuseridentity fails when called from integration event 2017-05-11 18:34:07 +02:00
Ramón Tomás
21fe9b7be4 Create checkout call in webmvc
Created Cancel call in webmvc
2017-05-11 11:51:13 +02:00
Unai Zorrilla Castro
9cc6adbd89 Remove reference to HttpClient from IHttpClient. Change methods to allow specify authorization token and requestid headers in each request. Added API to group uri definitions 2017-05-04 13:01:14 +02:00
dsanz
6ca7f25669 Renaming of the resilience.http project 2017-04-06 16:59:17 +02:00
dsanz
6ac5a8cc70 Move Polly implementation to Building block project 2017-03-30 15:05:19 +02:00
Ramón Tomás
482b5d239c Fix bug logger not working in HttpClient 2017-03-29 11:20:33 +02:00
Cesar De la Torre
649950f2df Minor change in Exponential Backoff config for the RetryPolicy 2017-03-28 23:58:04 -07:00
Cesar De la Torre
2e5dca4467 Minor refactoring related to Circuit Breaker, Exponential Backoff and the Order controller 2017-03-28 19:48:04 -07:00
Cesar De la Torre
61df92872a Renaming to ResilientHttpClient and StandardHttpClient 2017-03-28 14:30:30 -07: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
Ramón Tomás
449ee3f7a3 Increase Retries in HttpClientWrapper 2017-03-22 12:40:20 +01:00
Ramón Tomás
6f8512f434 Increased circuit breaker threshold
Fix lifescope issue with IHttpClient
Adapt circuit breaker to trigger its counter for no success http response
2017-03-22 12:24:55 +01:00
RamonTC
8c6d880f18 Remove async await issue comments
Thanks for the review!
2017-03-21 12:51:25 +01:00
Bill Wagner
00491910a2 C# 7 language feature updates
Controllers/AccountController:
Replace single line methods with expression bodied members.
Includes constructor, C# 7 feature.

Controllers/CatalogController:
Remove unnecessary ToString() call.
Replace single line methods with expression bodied members.

Extensions/HttpClientExtensions:
Replace single line methods with expression bodied members.

Extensions/SessionExtensions:
Replace single line methods with expression bodied members.

Services/BasketService:
Remove unnecessary ToString() calls.
Add ?? to simplify conditional initialization
Use TryGetValue and out variable initialization to simplify Quantity
calculation

Services/CatalogService:
Use Value<T> generic method instead of dynamic types.
There is a lot of overhead for dynamic and it seems overkill here.

Services/IdentityParser:
Use the pattern matching is expression.
Refactor the LINQ queries to enumerate the collection (and create an
enumerator)
only once. The previous code had 3 enumerations.

Services/Utilities/HttpApiClient:
Remove the 'async' modifier and 'await' statements from methods where
the only asynchronous statement is the final statement of the method,
and
the task from the underlying method can be returned.

Services/Utilities/HttpApiClientWrapper:
Use expression bodied members where applicable.
Remove the 'async' modifier and 'await' statements from methods where
the only asynchronous statement is the final statement of the method,
and
the task from the underlying method can be returned.

ViewComponents/Cart:
Use expression bodied members where applicable.

ViewComponents/CartList:
Use expression bodied members where applicable.
Remove the 'async' modifier and 'await' statements from methods where
the only asynchronous statement is the final statement of the method,
and
the task from the underlying method can be returned.

ViewModels/Annotations/CardExpiration:
Use the out variable initializer to simplify the validation of the
card expiration date.

ViewModels/Basket:
Use property initializer syntax instead of constructor body

ViewModels/CatalogViewModels/IndexViewModel:
Use expression bodied property to return the calculated 'Disabled'
property

ViewModels/Order:
Use property initializer syntax.
2017-03-20 14:18:20 -04:00
Ramón Tomás
ddb03a0aa8 Refactoing HttpClientApi 2017-03-17 13:12:34 +01:00
Ramón Tomás
cb3f682872 Created Retry and CircuitBreaker policies for MVC App 2017-03-17 10:00:18 +01:00
Cesar De la Torre
4469a4b851 Raising the number of retries with exponential backoff so in potential slower machines there's time enough.
Related to issue:
https://github.com/dotnet/eShopOnContainers/issues/97
2017-03-08 17:10:34 -08:00
dsanz
a1f2cc9975 Fix for issue #67 https://github.com/dotnet/eShopOnContainers/issues/67 renamed Models folder to ViewModels in WebMVC 2017-03-03 16:00:15 +01:00
etomas
f9b15481d1 Idempotent updates based on requestid 2017-03-03 12:03:31 +01:00
Cesar De la Torre
2576c695ad Raising number of Retries With Exponential Backoff so slower machines don't get a "maxNumber of retries reached" exception.. 2017-02-16 11:16:47 -08:00
Cesar De la Torre
68ad1895c6 Fixed bug https://github.com/dotnet/eShopOnContainers/issues/45
with Retry with Exponential Backoff
2017-02-15 23:12:37 -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
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
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
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
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
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