654 Commits

Author SHA1 Message Date
Eduard Tomas
5d098b1478 Autorefresh on healthchecks with config timeout 2017-05-09 13:54:45 +02:00
Eduard Tomas
e42e00f19b Merge branch 'concurrenthttp' into dev 2017-05-08 19:08:31 +02:00
Unai Zorrilla Castro
86e11f1bfb First iteration over ResilientHttpClient. In this case ConcurrentDictionary is used and control concurrency to add new origin and policies 2017-05-08 18:57:58 +02:00
Eduard Tomas
0668048b0a Healthchecks updated 2017-05-08 18:54:11 +02:00
Cesar De la Torre
f9e60c53a3 Removing -all rights reserved- as this is Open Source. 2017-05-08 08:50:02 -07:00
Eduard Tomas
6f7ee11cd3 Merge branch 'httpclientreview' into dev 2017-05-08 16:08:35 +02:00
Eduard Tomas
af6c942aac Fixed error on sharing policies between origins 2017-05-08 16:07:51 +02:00
Eduard Tomas
c0553e239a Added support for PUT HTTP method 2017-05-08 14:40:55 +02:00
Cesar De la Torre
14cbbe6bcb Removed NMP INSTALL from docker-compose.ci.build.yml. Shouldn't need to do that every time. 2017-05-06 23:28:38 -07:00
Cesar De la Torre
53777d5105 Minor description refactoring 2017-05-06 21:41:32 -07:00
Cesar De la Torre
cd19973a9f Deleted policy class not being used 2017-05-06 15:38:04 -07:00
Cesar De la Torre
940ea16948 Minor refactoring and deleted a ResilientPolicy class not being used. 2017-05-06 15:37:31 -07: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
Ramón Tomás
42d23a7da8 Merge branch 'dev' of https://github.com/dotnet-architecture/eShopOnContainers into dev 2017-05-05 09:45:18 +02: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
Unai Zorrilla Castro
62126f5cf5 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
Ramón Tomás
0d71edf214 Merge from Dev 2017-05-04 11:57:49 +02:00
Cesar De la Torre
e5217c1756 CreateOrder refactored so return code lines are more compact 2017-05-03 18:36:52 -07:00
Cesar De la Torre
bcd77d8edc Temporal change of DefaultCacheDuration for the Health Checks so it is shorter for a demo. Need to add overloads at the Health Check library so this is more flexible. 2017-05-03 13:42:06 -07: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
a4b7d485cd Minor comment typo changeed 2017-05-01 17:56:33 -07: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
David Britch
e7cacd7063 Merge branch 'master' into xamarin 2017-04-27 15:38:04 +01:00
Cesar De la Torre
527e66cea0 Merge pull request #175 from dotnet-architecture/ardalis/typo-patch
Cleaning up and fixing typos
2017-04-25 15:26:44 -07:00
David Britch
c0800ede1e Refactored unit tests. 2017-04-25 15:31:02 +01:00
David Britch
641bf1a1ac Validation unit tests updated. 2017-04-25 11:52:46 +01:00
David Britch
64b37cd4eb Unit tests added. 2017-04-25 11:07:35 +01:00
RamonTC
1ccc87e743 Merge pull request #167 from andrelmp/dev
Upgrade to angular-cli and Angular 4
2017-04-25 10:29:31 +02:00
David Britch
40dddbaa3f View model unit tests added. 2017-04-24 17:37:53 +01:00
Eduard Tomas
9d0e1e0e64 Merge branch 'reviews/rabbitmq' 2017-04-24 12:18:16 +02:00
Steve Smith
ac9775c90c Cleaning up and fixing typos 2017-04-22 15:14:42 -04:00
Ramón Tomás
add8bc2c11 Merge from Dev 2017-04-21 15:46:15 +02:00
David Britch
7d3a0db546 Formatting changes. 2017-04-20 16:06:06 +01:00
Unai Zorrilla Castro
70f50a0fce Fix bug with queue names 2017-04-20 16:44:07 +02:00
Geert Van Laethem
f9c70ed0d7 Merge branch 'master' of https://github.com/dotnet/eShopOnContainers 2017-04-20 13:28:30 +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
David Britch
ba18031b82 Removed unused namespaces. 2017-04-19 17:19:14 +01:00
David Britch
f4bbc90298 Formatting changes. 2017-04-19 17:08:53 +01:00
David Britch
b7c8d0eed9 Removed unused method. 2017-04-19 17:07:45 +01:00
Eduard Tomas
39813424f9 Solves error building SPA on linux host due to case error 2017-04-19 15:45:32 +02:00
Eduard Tomas
9ed2f1ce7b 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