268 Commits

Author SHA1 Message Date
Bill Wagner
d97ae6d6ae Fix API signatures for collections
The methods that return collections should return
Task<IEnumerable<dynamic>> not Task<dynamic>
2017-05-04 10:36:23 -04:00
Cesar De la Torre
b1c0c72ec7 CreateOrder refactored so return code lines are more compact 2017-05-03 18:36:52 -07:00
Eduard Tomas
11495156e1 Merge branch 'dev' 2017-05-03 12:04:43 +02:00
Eduard Tomas
0d7e6a16aa Merge branch 'refactor-event-bus' into dev 2017-05-03 11:00:03 +02:00
Eduard Tomas
79f8f1b949 EventBus refactor.
Instead to register EventHandlers we register Func<EventHandlers> which solves scope problems (having transient/scoped objects owned by singletons)
2017-05-03 10:59:36 +02:00
Cesar De la Torre
4b1467a7b9 Fixing the CreateOrderCommand so it is 100% immutable. It shouldn't have the AddOrderItem() method. In any case, it was not really used but in the tets, since this Command is serialized in the client side, then deserialized in the service level. 2017-05-02 17:42:59 -07:00
Eduard Tomas
829f13aff0 Updated healthcheck lib 2017-05-02 10:29:24 +02:00
Cesar De la Torre
1df0019981 Minor comment typo changeed 2017-05-01 17:56:33 -07:00
Cesar De la Torre
6f8cd174c7 Refactoring to better terms 2017-04-29 21:58:11 -07:00
Cesar De la Torre
ed7970802a Revert "Fix API signatures for collections" 2017-04-29 15:30:17 -07:00
Bill Wagner
995cc890ff Fix API signatures for collections
The methods that return collections should return
Task<IEnumerable<dynamic>> not Task<dynamic>
2017-04-28 09:25:24 -04:00
Eduard Tomas
46a030b095 Merge branch 'reviews/rabbitmq' 2017-04-24 12:18:16 +02:00
Steve Smith
a8536b0f3e Cleaning up and fixing typos 2017-04-22 15:14:42 -04:00
Geert Van Laethem
3d8fadece4 Fixed two typos to the filter 2017-04-20 13:27:52 +02:00
Unai Zorrilla Castro
44e39a685c Added IRabbitMQPersisterConnection and more resilient work on rabbitmq event bus 2017-04-20 10:53:17 +02:00
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
Eduard Tomas
6ea2e1ed8b Merge branch 'reviews/uzorrilla' into dev
# Conflicts:
#	src/Services/Basket/Basket.API/Model/RedisBasketRepository.cs
2017-04-18 15:34:31 +02:00
Unai Zorrilla Castro
4ef6b63913 Review on 17/04/2017 2017-04-17 12:28:12 +02:00
Cesar De la Torre
63eed87292 Merge pull request #142 from chlowell/hosting-changes
Set application discriminators, work around Redis client issue
2017-04-08 11:15:28 -07:00
dsanz
ccde4a09f4 Remove commented code 2017-04-07 15:23:05 +02:00
Cesar De la Torre
a07a88f9c4 Added DDD comment about the Address Id as "Shadow property" as a Value Object shouldn't have an ID in the domain model. 2017-04-06 11:47:10 -07:00
dsanz
c16941cf25 Fix warnings 2017-04-06 11:59:11 +02:00
Eduard Tomas
756cb3dafa Merge branch 'master' into dev
# Conflicts:
#	src/Mobile/eShopOnContainers/eShopOnContainers.Core/eShopOnContainers.Core.csproj
#	src/Services/Catalog/Catalog.API/Startup.cs
#	src/Services/Ordering/Ordering.API/Infrastructure/AutofacModules/MediatorModule.cs
#	src/Web/WebMVC/Startup.cs
2017-04-05 17:05:14 +02:00
Eduard Tomàs
70fc4c90ca Merge pull request #156 from dotnet/idsvr-new-config
Idsvr new config
2017-04-05 16:07:47 +02:00
Eduard Tomas
d00588ae37 Updated IdSvr for Xamarin-UWP signin related problems 2017-04-05 15:53:04 +02:00
André Passos
f337898143
upgrade to Identity Server 4 rtm 2017-04-05 09:23:22 -03:00
Eduard Tomas
be440a9a02 Removing PaymentMethod property from order 2017-04-05 13:15:27 +02:00
Ramón Tomás
6803781bf8 Merge from Dev 2017-04-05 11:12:49 +02:00
Ramón Tomás
00f7226f30 Rename OrderingIntegrationEvent service methods
Remove clean basket instruction from SPA client
2017-04-05 11:07:26 +02:00
Cesar De la Torre
393b47fa93 CatalogIntegrationEventService Refactored 2017-04-04 17:01:58 -07:00
Eduard Tomas
5eb5db1b8c Error on registring event handlers 2017-04-04 19:22:18 +02:00
Ramón Tomás
3c909ff392 Refactor transaction and publishing in integration events 2017-04-03 13:13:40 +02:00
Eduard Tomas
a7c7426659 Removing Buyer navigation property in Order 2017-04-03 11:32:35 +02:00
Eduard Tomas
75629193b7 Xamarin callback client configurable 2017-04-03 10:18:56 +02:00
Eduard Tomas
202882aa7c Fixed healthcheck errors 2017-03-31 12:47:56 +02:00
Ramón Tomás
2e50097c65 Merge branch 'master' of https://github.com/dotnet/eShopOnContainers 2017-03-31 11:04:03 +02:00
Ramón Tomás
25a70605de Fix issue ordering event handler registration 2017-03-31 11:03:29 +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
fa541444c7 Fixed bug in HealthChecks so the Catalog.API microservice checks the SQL database.
Also, added more UrlChecks to the MVC app so it checks all its dependencies.
Plus minor bugs/missing code in docker-compose.pro.yml that was evolved in the .override.yml
2017-03-30 18:25:19 -07:00
dsanz
3b4556b9c4 Add comment. 2017-03-30 11:38:10 +02:00
dsanz
ba71b192a9 Fix issue #118 Token lifetime handling 2017-03-29 16:49:48 +02:00
dsanz
35cc2f9d7b Merge branch 'dev'
# Conflicts:
#	src/Services/Basket/Basket.API/Model/IBasketRepository.cs
#	src/Services/Basket/Basket.API/Model/RedisBasketRepository.cs
#	src/Services/Catalog/Catalog.API/Startup.cs
#	src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderCommandHandler.cs
#	src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs
#	test/Services/UnitTest/Ordering/Application/NewOrderCommandHandlerTest.cs
2017-03-29 11:43:30 +02:00
Ramón Tomás
3ef2aeff9a Fix issue after merge 2017-03-28 16:37:48 +02:00
Ramón Tomás
fd0a30d62a Merge from Dev 2017-03-28 16:37:36 +02:00
Ramón Tomás
e08fe895a3 Added MVC and SPA Apps to healthChecker
Added styles to view
2017-03-28 16:16:01 +02:00
dsanz
e596926b9b add comment about known bug in .net core 1.1 2017-03-28 13:55:27 +02:00
dsanz
5fed56db51 Domain validation errors must throw domain exceptions. 2017-03-28 13:50:16 +02:00
dsanz
cea9600227 Refactoring of idempotent elements and logic. 2017-03-28 12:02:30 +02:00
Charles Lowell
eba2ea8bf9 Support 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-27 13:06:49 -07:00
Charles Lowell
2f3df2715d 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-27 09:53:35 -07:00