Christian Arenas
83ae0d48fc
remove ServiceBusConnectionString variable from appsettings.json
2017-05-30 17:56:36 +02:00
Christian Arenas
41a6814293
Add new connection string
2017-05-29 10:12:07 +02:00
Christian Arenas
ed0e548e2d
minor naming
2017-05-26 01:35:44 +02:00
Christian Arenas
e454940801
environment variable renaming
2017-05-24 19:23:14 +02:00
Christian Arenas
9a100c9a27
Remove retry policy from DefaultServiceBusPersisterConnection parameter
2017-05-24 18:59:29 +02:00
Christian Arenas
04b35492c3
Add SubscriptionClientName EnvironmentVariable
2017-05-24 16:25:41 +02:00
Christian Arenas
7980c2679d
- Declare new ServiceBus instance with "AzureServiceBus" boolean condition
...
- Add ServiceBusConnection and AzureServiceBus variables in settings
- Add EventBusServiceBus dependencies
2017-05-24 15:32:22 +02:00
Eduard Tomas
d23576b8ca
FailingMiddleware is now IStartupFilter
2017-05-09 18:33:58 +02:00
Eduard Tomas
95af2d9a02
Autorefresh on healthchecks with config timeout
2017-05-09 13:54:45 +02:00
Cesar De la Torre
3e5d38dae1
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
c247261929
Minor refactoring for the CreateOrder Web API method and the Entity base class
2017-05-04 12:29:00 -07:00
BillWagner
223dcda0cb
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
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
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
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
Unai Zorrilla Castro
4ef6b63913
Review on 17/04/2017
2017-04-17 12:28:12 +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 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
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
Eduard Tomas
5b9b92397d
Updates to dockerfile / docker-compose for windows containers
2017-03-24 13:15:40 +01:00
Eduard Tomas
45499808b9
Merge remote-tracking branch 'origin/windows-containers-test' into dev
2017-03-24 09:35:57 +01:00
Eduard Tomas
561ba3b1ec
1st version of healthcheck & webstatus
2017-03-23 19:10:55 +01:00
Ramón Tomás
94c7fd31e1
Added decorator for validation in commands
...
Added Validation for orders and identified commands
2017-03-23 13:44:15 +01:00
Danny Chen
260df610b7
use non generic repository interface
2017-03-20 01:42:31 -04:00