72 Commits

Author SHA1 Message Date
Miguel Veloso
2717659a0d Refactor ModelDTOs for a more consistent folder structure 2019-03-04 13:31:29 +00:00
Miguel Veloso
0105808354 Remove unused external logins classes 2019-03-01 11:49:10 +00:00
Unai Zorrilla Castro
654555387c Minor refactoring 2018-05-22 16:20:28 +02:00
Unai Zorrilla Castro
88fa0a6309 Remove unnecesary catch 2018-05-22 15:34:24 +02:00
Unai Zorrilla Castro
70a2682806 Working on compose dependencies and check new httpclient handlers retries 2018-05-22 15:33:21 +02:00
Unai Zorrilla Castro
094ba7c3c6 Review HTTP Aggregators. Remove IHTTPClient Resiliency building block. Fix TestController code ( ask about on this controller ). Tested with VS and docker-compose up directly 2018-05-21 11:38:09 +02:00
Unai Zorrilla Castro
cf4b7ff47f Added sample for use new IHttpClientFactory feature on WebMVC 2018-05-16 12:44:32 +02:00
Eduard Tomàs
6cc87fc80a renaming of PurchaseBff to Aggregator 2018-02-15 17:30:39 +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
Eduard Tomàs
dcb9b87361 2018-01-30 09:50:45 +01:00
Ramón Tomás
4dff728d11 Replaced custom DataProtection.Redis lib with official Microsoft pkg
Removed Sessions in WebMVC app
Fixed GracePeriodMgr issues using multiple instances
2017-11-30 11:40:30 +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
eb4396e659 Fix accountcontroller signin unit test 2017-08-21 17:57:53 +02:00
Cesar De la Torre
4876dd562d Merge pull request #222 from SychevIgor/IdentityInMVCFix
Identity in mvc fix
2017-08-16 14:11:15 -07:00
IgorSychev
f16d0ddffe 2 Views survived after identity redesign.
In AccountController we don't have view for index action it's also looks like a some rudement
2017-08-16 22:00:44 +03:00
IgorSychev
dd100f643c we are not using identityparser in AccountController. we can drop it from a constructor 2017-08-16 22:00:44 +03:00
IgorSychev
c43d1922a1 Error action extracted from CatalogController, because otherwise was violated Single Responsibility Principal, when even to generate an Error we will create Transient ICatalogService for each error. 2017-08-16 21:55:40 +03:00
Ramón Tomás
d42033a83b Added UI alert and circuit-breaker handlers for components that depend on Basket.api 2017-07-14 14:53:17 +02:00
Ramón Tomás
f39fdb92ca Fix Failing middleware and move it to Basket.api 2017-07-13 17:35:19 +02:00
Eduard Tomas
2e64a97b4c Changes for retrieving all claims under netcore2 2017-07-12 17:28:04 +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
Ramón Tomás
f993463856 Implemented service bus for marketing.api locations.api graceperiodProcess payment.api 2017-06-30 08:59:26 +02:00
Eduard Tomas
fdd9a36719 MVC auth updated to 2.0.0 2017-06-22 16:55:57 +02:00
Christian Arenas
71f1a67934 Merge branch 'feature/display-marketing-campaigns-on-xamarin' into dev 2017-06-20 11:37:33 +02:00
Christian Arenas
08dcc320f6 Fix marketing pagination display page number 2017-06-20 11:37:01 +02:00
Christian Arenas
d9db0a65f2 dev merge 2017-06-19 18:50:43 +02:00
Christian Arenas
ed97efaf61 Check when the user doesn't have any location in database 2017-06-19 00:34:00 +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
86e4051235 Add Pagination to Campaign View 2017-06-16 16:50:15 +02:00
Christian Arenas
278083ae8e Check when list is null and campaign details doesn't exist 2017-06-16 10:13:26 +02:00
Christian Arenas
ff790afe56 remove fake campaing test in CampaignsController 2017-06-16 09:14:17 +02:00
Christian Arenas
e80c5efdd3 Add details view and add marketing scope in mvc project and identity config 2017-06-16 01:20:03 +02:00
Christian Arenas
6a315764a8 Create view for index campaing and his controller method 2017-06-15 19:23:57 +02:00
Christian Arenas
5d4023649f Create CampaignsController 2017-06-15 02:22:24 +02:00
Ramón Tomás
4be61abdde Merge new creation ordering workflow 2017-06-12 13:52:23 +02:00
Ramón Tomás
3a10038d71 Fix bug antiforgery decryption issue when deploying in a k8s cluster
Changed in-memory grant store in idsrv to persist in db
2017-06-08 17:45:07 +02:00
Ramón Tomás
41101164fa Persist identity grant store to db
Persist machine Keys to Redis
2017-06-05 21:54:03 +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
21fe9b7be4 Create checkout call in webmvc
Created Cancel call in webmvc
2017-05-11 11:51:13 +02:00
Cesar De la Torre
99cbbe484e Minor description refactoring 2017-05-06 21:41:32 -07:00
dsanz
c16941cf25 Fix warnings 2017-04-06 11:59:11 +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
2e5dca4467 Minor refactoring related to Circuit Breaker, Exponential Backoff and the Order controller 2017-03-28 19:48:04 -07: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
cb3f682872 Created Retry and CircuitBreaker policies for MVC App 2017-03-17 10:00:18 +01:00
etomas
29473b455f Merge branch 'vs2017' 2017-03-03 19:40:55 +01:00
dsanz
a8d2fafb79 Fix for wrong items per page calculation for the view 2017-03-03 16:12:38 +01:00