157 Commits

Author SHA1 Message Date
Eduard Tomas
1c72853552 Messagebus dispatch messages in its own scope 2017-05-11 13:44:38 +02:00
Christian Arenas
10e2427253 Continue implementing OrderStockConfirmed events 2017-05-10 19:48:36 +02:00
Christian Arenas
629693043b Add ConfirmOrderStockIntegrationEvent implementation 2017-05-09 18:35:59 +02:00
Christian Arenas
00e2634b16 Add Confirm Grade period Handler and add new items to Orders status 2017-05-09 13:58:48 +02:00
Christian Arenas
6c0838399b Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign 2017-05-09 13:52:45 +02:00
Ramón Tomás
1cf7df3a8f Merge branch 'dev' into order-processflow-redesign 2017-05-09 13:46:01 +02:00
Christian Arenas
39feb0171a Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
#	src/Services/Basket/Basket.API/Controllers/BasketController.cs
#	src/Services/Basket/Basket.API/Startup.cs
2017-05-08 15:11:31 +02:00
Christian Arenas
acccddb96e Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
#	src/Services/Basket/Basket.API/Controllers/BasketController.cs
#	src/Services/Basket/Basket.API/Startup.cs
2017-05-08 15:03:33 +02:00
Christian Arenas
8d09abbb75 Merge branch 'order-processflow-redesign' of https://github.com/dotnet-architecture/eShopOnContainers into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-08 13:59:59 +02:00
Christian Arenas
f5ab8333ce Fix some errors 2017-05-08 11:32:57 +02:00
Christian Arenas
6f7605776d Create a SagaManager events 2017-05-08 10:48:06 +02:00
Cesar De la Torre
660e1932a3 Merge pull request #181 from BillWagner/use-IEnumerable-dynamic
Use IEnumerable<dynamic> instead of dynamic for collections
2017-05-05 15:53:44 -07:00
Cesar De la Torre
e31ee0dcd8 Minor refactoring for the CreateOrder Web API method and the Entity base class 2017-05-04 12:29:00 -07:00
BillWagner
aa69e11095 add back the async state machine
Because of the using blocks, these one line methods need the async
modifier so that the that async state machiner is created. Otherwise, if
the method does not complete synchronously, the connection is closed
before the database has returned its results.
2017-05-04 10:36:23 -04:00
Bill Wagner
e813332890 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
e5217c1756 CreateOrder refactored so return code lines are more compact 2017-05-03 18:36:52 -07:00
Eduard Tomas
f297f8b6fc Refactor to event bus to support dynamic subscriptions to events
Checkout HTTP entrypoint in Basket API
2017-05-03 16:34:41 +02:00
Eduard Tomas
0c18168dc3 Merge branch 'master' into order-processflow-redesign
# Conflicts:
#	eShopOnContainers-ServicesAndWebApps.sln
2017-05-03 12:33:51 +02:00
Eduard Tomas
4bf1988d3f Merge branch 'dev' 2017-05-03 12:04:43 +02:00
Eduard Tomas
f5c196925a Merge branch 'refactor-event-bus' into dev 2017-05-03 11:00:03 +02:00
Eduard Tomas
a09d7fd3a5 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
69d7399eec 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
22cc8daa65 Updated healthcheck lib 2017-05-02 10:29:24 +02:00
Cesar De la Torre
aeddf51a33 Refactoring to better terms 2017-04-29 21:58:11 -07:00
Cesar De la Torre
ee787dcaad Revert "Fix API signatures for collections" 2017-04-29 15:30:17 -07:00
Bill Wagner
077868e51d 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
Ramón Tomás
d2dc0351e9 Created Payment.api microservice 2017-04-28 15:04:38 +02:00
Ramón Tomás
30d8905125 Moved Integrationevent to Application folder
Created basic structure for order process saga
2017-04-28 14:25:52 +02:00
Eduard Tomas
9d0e1e0e64 Merge branch 'reviews/rabbitmq' 2017-04-24 12:18:16 +02:00
Geert Van Laethem
ebff02fb1f Fixed two typos to the filter 2017-04-20 13:27:52 +02:00
Unai Zorrilla Castro
09a53f0137 Added IRabbitMQPersisterConnection and more resilient work on rabbitmq event bus 2017-04-20 10:53:17 +02:00
Unai Zorrilla Castro
c33513303d Review on 17/04/2017 2017-04-17 12:28:12 +02:00
Eduard Tomas
9c4f4a4e7f 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 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
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
202882aa7c Fixed healthcheck errors 2017-03-31 12:47:56 +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
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
fd0a30d62a Merge from Dev 2017-03-28 16:37:36 +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
Ramón Tomás
a14b7e580f Merge from Dev 2017-03-27 15:00:46 +02:00
David Sanz
92501eb0d9 Merge pull request #133 from dotnet/Validation-decorator-integration
#39 Validation decorator integration
2017-03-27 14:10:30 +02: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