Tom Pallister
e636cefdb1
check which version of .net framework before creating http handler ( #412 )
...
* #405 needto check which version of .net we are using but cannot use compiler directives
* #405 started puttig abstraction around static method to get frameworks so we can test this logic
* #405 added test for all methods and tidied up tests
* #405 made contains as ms docs are wrong, thanks to davidni for the heads up
2018-06-20 20:44:38 +01:00
Joseph Woodward
b5a827cf70
Minor tweaks ( #413 )
2018-06-19 20:56:35 +01:00
JoJo2406
e0f76210f7
Change port in Consul documentation ( #418 )
...
* Fix Consul default port
the default port for the consul api is 8500 not 9500 - https://www.consul.io/docs/agent/options.html
* Fix typo
2018-06-19 20:54:57 +01:00
Ni Yanwei
347303ee7b
修改查找ocelot配置文件正则表达式中的问题 ( #410 )
...
正则表达式"(?i)ocelot.([a-zA-Z0-9]*).json",“ocelot.”中的“.”能匹配除"\n"外的任意字符;".json"原因是匹配json文件,但实际能匹配任何"*.json*"文件
2018-06-17 19:25:45 +01:00
Tom Pallister
8e1a5ce827
Feature/dont validate cached content headers ( #406 )
...
* #372 use period timespan to decide when client can make requests again
* #400 dont validate cached body headers
2018-06-15 20:30:25 +01:00
Tom Pallister
9979f8a4b8
#372 use period timespan to decide when client can make requests again ( #404 )
2018-06-15 20:29:49 +01:00
Marco Antonio Araujo
87c13bd9b4
Add ability to specify whether to UseProxy or not on ReRoutes ( #390 ) ( #391 )
...
* Add ability to specify whether to UseProxy or not on ReRoutes (#390 )
* Remove useProxy default value from HttpHandlerOptions constructor
2018-06-12 08:08:25 +03:00
Tom Pallister
0f2a9c1d0d
Feature/poll consul ( #392 )
...
* WIP - implement a consul service discovery poller, lots of shared code with existing, refactor next and a todo in the docs to finish
* #374 implement polling for consul as option
* #374 updated docs to remove todo
* #374 fixed failing unit test
* #374 fixed failing unit test
* #374 fixed failing acceptance test
2018-06-12 00:58:08 +03:00
Tom Gardham-Pallister
14308ff5fb
added ignore code coverage to experimental sqllitelog class that cannot be unit tested anyway really
2018-06-11 22:57:43 +01:00
Alex Kuriatnyk
095406bd45
Fix incorrect response StatusCode for middleware added before Ocelot ( #380 )
2018-06-11 22:23:45 +03:00
Wayne Douglas
3bde18f6f8
Update raft.rst ( #394 )
2018-06-11 22:04:43 +03:00
Wayne Douglas
7d0320beca
Update authentication.rst ( #395 )
...
Fix spelling
2018-06-11 22:04:13 +03:00
geffzhang
3ef978460c
update LoadBalancer Options ( #388 )
...
update LoadBalancer with LoadBalancerOptions
2018-06-08 17:55:58 +03:00
Tom Gardham-Pallister
04139333ea
#245 ignored these tests against as still not working
2018-06-08 17:54:56 +03:00
Philip Wood
0023fe2599
Hard-code coveralls.net version as 1.0.0 seems to only support .net core 2.1 ( #379 )
2018-06-03 05:51:14 +01:00
Tom Pallister
7cd3ff2ff7
Feature/fix unstable int tests ( #376 )
...
* updated packages but build wont work
* #245 implementing more stable rafty
* #245 OK so these raft integration tests are passing everytime on my local mac now...lets see about the build servergit log
* #245 added donation button
* #245 removed file we dont need
2018-05-31 22:08:50 +01:00
Tom Gardham-Pallister
e55b27de0f
bit of refactoring
2018-05-24 22:56:08 +01:00
Tom Gardham-Pallister
900c18908f
Merge branch 'master' into develop
2018-05-24 22:40:31 +01:00
Tsirkin Evgeny
34598f4edf
made http client work under full .net 46 ( #367 )
...
* made http client work under full .net 46
* Changed the way the requests without body are checked & comments
* fixed a type
2018-05-24 22:39:27 +01:00
Catcher Wong
32a258fd3f
Upgrade Pivotal.Discovery.Client to Pivotal.Discovery.ClientCore ( #369 )
2018-05-22 07:13:45 +01:00
Tom Pallister
d01720c349
#363 added a test to prove rr lb works, this doesnt have a lock so it… ( #365 )
...
* #363 added a test to prove rr lb works, this doesnt have a lock so it isnt perfect, not sure what the tradeoff is between a lock and a bit of randomness, can change to have a lock anytie
* #363 had a look at other oss roudn robin lbs and they all use a lock so imlemented a lock
2018-05-21 18:46:39 +01:00
geffzhang
6f2eaa412f
Merge pull request #46 from ThreeMammals/develop
...
merge newest code
2018-05-19 09:17:40 +08:00
Tom Pallister
f96adf9583
#349 always get all the services when using no loadbalancer ( #362 )
2018-05-17 07:46:01 +01:00
Tom Gardham-Pallister
7ed058687d
bit of a hack to increment build
2018-05-15 21:20:19 +01:00
Tom Pallister
a55c75efdc
decided to stick a basic cache in for downstream route creator, can make fancy if required ( #359 )
2018-05-15 20:39:15 +01:00
Tom Pallister
061a90f1dd
#349 default to no load balancer so that in load balaner house we dont always rebuild the loadbalancer infrastructure because the load balancer options type is null ( #358 )
2018-05-15 18:29:35 +01:00
Tom Pallister
1e2e953b2c
Feature/automatic routes with sd ( #351 )
...
* #340 started looking at supporting automatic routing when using service discovery
* #340 getting old routing tests to pass
* #340 renamed stuff to provider rather than finder, as its not longer finding anything
* #340 working towards supporting dynamic routing
* #340 loads of refactoring to make configuration work with dynamic routing
* #340 refactor consul config code so the registry class owns it
* #340 default to consul to maintain backwards compat
* #340 added docs, finished this branches todos
2018-05-14 21:26:10 +01:00
geffzhang
4a0d355446
Merge pull request #45 from ThreeMammals/develop
...
merge newest code
2018-05-13 11:22:10 +08:00
Tom Pallister
dadb43ef6f
Merge branch 'davidni-davidni/netstandard' into develop
2018-05-11 07:59:27 +01:00
Tom Pallister
1823c832a6
+semver: major merged netstandard2.0 upgrade and updated all packages. Also had to change identity server test due to scope deduping and put a few awaits in.
2018-05-11 07:59:03 +01:00
David Nissimoff
7345bdccda
README improvements
2018-05-10 16:22:27 -07:00
David Nissimoff
5c0498cba0
Updated README
2018-05-10 16:20:13 -07:00
David Nissimoff
b1641e003c
netstandard2.0 support
2018-05-10 16:12:36 -07:00
Tom Gardham-Pallister
aa3de16464
skip raft tests but merging all the other hardening i did in that branch
2018-05-09 18:42:10 +01:00
Tom Gardham-Pallister
e32823c58b
Merge branch 'feature/fix-unstable-raft-tests' into develop
2018-05-09 18:41:11 +01:00
Tom Gardham-Pallister
22fc8668af
hacking around
2018-05-08 22:57:59 +01:00
Tom Pallister
4e17190b3f
Feature/service discovery config key ( #347 )
...
* #346 make service discoery config key configurable
* #346 missed this test
* #346 updated docs
2018-05-08 21:18:38 +01:00
Tom Pallister
66bc6203ad
added cache back in
2018-05-07 09:03:15 +01:00
Tom Pallister
66a1bfc257
identified tests are failing because sometimes more than one log entry in raft, this is deffo wrong, also made int tests not use cache manager
2018-05-07 09:00:41 +01:00
Tom Pallister
54c7464919
change to firm up consul tests
2018-05-07 08:25:16 +01:00
Tom Gardham-Pallister
a2c7fda4c9
test should be at least once
2018-05-06 18:43:24 +01:00
Tom Pallister
5ed8257a58
still trying to get these stable
2018-05-05 16:31:40 +01:00
Tom Pallister
b536a88dca
sorted sticky session cookie tests
2018-05-05 15:42:26 +01:00
Tom Pallister
fb3af754ab
implemented a send to self pattern for sticky session timeouts rather than a normal timer
2018-05-05 13:43:38 +01:00
Tom Gardham-Pallister
c041d90e38
more messing with send ot self
2018-05-05 12:53:19 +01:00
Tom Gardham-Pallister
17a515c4c0
sticking send messages toself in to make this testable
2018-05-05 10:38:47 +01:00
Tom Gardham-Pallister
4c405f0f29
revert
2018-05-03 23:00:40 +01:00
Tom Gardham-Pallister
da0dd68502
another quick hack to work this out
2018-05-03 22:49:44 +01:00
Tom Gardham-Pallister
334d4bf368
another quick hack to work this out
2018-05-03 22:32:07 +01:00
Tom Gardham-Pallister
e57b72173e
changes to make test more stable
2018-05-03 22:06:08 +01:00