Commit Graph
123 Commits
Author SHA1 Message Date
Alazari-mainandGitHub 4110837a04 Fix code-blocks in kubernetes.rst (#1128)
line 70 – added missing period
lines 84-95 – added missing indent
2020-04-11 09:52:41 +01:00
TomPallister ede5650a3c docs 2020-02-21 16:53:03 +00:00
TomPallister fc3b6fdb8b fix docs formatting for http method transformation 2020-02-09 18:15:24 +00:00
TomPallister d879721978 Merge branch 'master' into pitming-feature/MethodTransformer 2020-02-09 16:55:14 +00:00
TomPallister 89b2decf50 added docs for http method transformation 2020-02-09 16:52:59 +00:00
PavelandGitHub 4147aee587 RABC typo fix (#1123) 2020-02-09 14:05:07 +00:00
86e8d66daf Activate ChangeToken when Ocelot's configuration changes #1037
* Add configuration change token (#1036)

* Add IOptionsMonitor<IInternalConfiguration>

* Activate change token from *ConfigurationRepository instead of FileAndInternalConfigurationSetter; add acceptance & integration tests

* Update documentation

* Use IWebHostEnvironment as IHostingEnvironment deprecated

Co-authored-by: Chris Swinchatt <chrisswinchatt@gmail.com>
2020-02-04 20:50:40 +00:00
65710f4a94 +semver: breaking PRs merged from Develop, Eureka honour scheme, don't crash on dispose and validate duplicate placeholders in UpstreamPathTemplate
* initial commit for new feature #1077

allow to limit the number of concurrent tcp connection to a downstream service

* protect code against value not in accurate range

add unit test

* Do not crash host on Dispose

* Add test

* Pin GitVersion.CommandLine package version

* #683 validate if there are duplicated placeholders in UpstreamPathTemplate

* Use registered scheme from Eureka (#1087)

* extra test

* very brief mention MaxConnectionsPerServer in docs

* build develop like a PR

* more docs

Co-authored-by: jlukawska <56401969+jlukawska@users.noreply.github.com>
Co-authored-by: buretjph <58700930+buretjph@users.noreply.github.com>
Co-authored-by: Jonathan Mezach <jonathanmezach@gmail.com>
Co-authored-by: 彭伟 <pengweiqhca@sina.com>
2020-01-19 15:00:21 +00:00
TomPallister 836923d268 more docs 2020-01-19 11:19:03 +00:00
TomPallister 49d1748105 very brief mention MaxConnectionsPerServer in docs 2020-01-19 11:14:42 +00:00
TomPallister 92ce87c61c docker build works on windows 2020-01-16 21:37:51 -08:00
TomPallister 0e6f44b342 updated to remove develop 2020-01-16 22:15:16 +00:00
Karol DelandandThiago Loureiro f4c9e2a737 Fix typo LeadConnection --> LeastConnection (#1027) 2019-10-05 20:38:25 +08:00
Víctor MartosandThiago Loureiro 0ac77f2e50 Add the documentation for ChangeDownstreamPathTemplate (#991) 2019-08-23 23:51:09 +08:00
StjepanandThiago Loureiro 647a21bb2d Update requestid.rst (#973)
Typo fix
2019-08-13 00:59:28 +08:00
Jesus AnguloandThiago Loureiro 3216dfdc00 Fix incorrect command rendered (#949)
When you read docs the command about enabling RBAC permissions for Kubernetes integration are badly rendered.
2019-07-01 10:06:02 +08:00
Jason MortonandThiago Loureiro e1d7f28951 Fix issue #936: Kubernetes service discovery provider doesn't allow cross-namespace discovery (#938)
* Allow default k8s namespace to be overridden

* Add ServiceNamespace to ReRoute configuration

* Remove debug comments

* Update unit tests

* Unit tests (Eureka)

* Update docs

* Re-run build
2019-06-25 11:08:18 +08:00
Jesus AnguloandThiago Loureiro 959a92ec6a Fixing docs , a brace is out of code section (#931)
A closing brace is out of code section and appears before the description paragraph after JSON code sample.
2019-06-18 14:36:14 +08:00
Dheeraj KumarandThiago Loureiro ab1988b155 Update authentication.rst (#907) 2019-05-30 22:57:59 +08:00
AnkitandThiago Loureiro 2b5adab34a Update qualityofservice.rst (#906)
- Fixed typo, corrected spelling for isolation
- Updated `QoSOptions` example by setting the `DurationOfBreak` to 1000 ms instead of 5 ms. Also, updated the explanation for `DurationOfBreak` since it was not clear from the documentation that `DurationOfBreak` is in ms. From example, it appear to be required to set in second which is not the case.
2019-05-30 14:56:11 +08:00
AnkitandThiago Loureiro fd6f36dab8 Fixed Typo and formatting (#905) 2019-05-30 14:55:34 +08:00
Kapil PatelandThiago Loureiro bb588c50af Typo error, single grammar change 'Indentity' to 'Identify' (#898) 2019-05-22 09:48:17 +08:00
geffzhangandGitHub 5cf873eb52 Update kubernetes.rst 2019-05-13 13:05:12 +08:00
geffzhangandGitHub d43383ba8d update k8s doc & samples (#885)
* refactor :kubernetes use in cluster

* feat:delete KubeClient

* feat :  update k8s doc & samples
2019-05-13 13:00:09 +08:00
Rob BihunandThiago Loureiro 340d0de233 Update information for Okta Authorization (#853) 2019-04-13 20:09:17 +02:00
Marcus KohnertandThiago Loureiro f27566b65d Fixed broken link to issue 340 (#857) 2019-04-13 20:09:04 +02:00
Marcus KohnertandThiago Loureiro 0ed4fdf498 Fixes broken links (#858)
* Fix link to issue 262

* Fixes broken link to issue 340
2019-04-13 20:08:32 +02:00
Ankit SarkarandGitHub 9d77600b58 Fixed Format Issue for Kubernetes ServiceDiscoveryProvider 2019-04-08 08:22:43 +05:30
SychevIgorandMarcelo Castagna 6f95b20b48 Okta integration (#807)
Okta integration
2019-03-11 10:53:51 -03:00
Vincent LefebvreandMarcelo Castagna 3c580e3d96 Update qualityofservice.rst (#801)
Tiny typo
2019-03-07 23:18:59 -03:00
Shengjie YanandMarcelo Castagna eedc47c850 Update loadbalancer.rst (#796) 2019-02-26 09:28:27 -03:00
Marcell TothandMarcelo Castagna 292c30fd8f Fix code example for SSL Errors (#780)
DangerousAcceptAnyServerCertificateValidator has to be set to "true" to disable certification validation, not "false".
2019-02-06 16:59:38 -03:00
geffzhangandMarcelo Castagna 44dccf1fce kubernetes provider (#772)
* feat: Kubernetes ServiceDiscoveryProvider

* 编写k8s测试例子

* feat:fix kube config

* feat: remove port

* feat : complete the k8s test

* feat :  add kubeserviceDiscovery test

* feat : add kube provider unittest

* feat :add kubetnetes docs

how to use ocelot with kubetnetes docs

* keep the configuration as simple as possible, no qos, no cache

* fix: use http

* add PollingKubeServiceDiscovery

* feat : refactor logger

* feat : add  pollkube docs

* feat:Remove unnecessary code

* feat : code-block json
2019-01-31 07:19:32 -03:00
Deon HeynsandAbolfazl 05ede70e62 Typos (#768) 2019-01-27 19:47:39 +03:30
Deon HeynsandAbolfazl 0b54894e68 Typo usual => usually (#767) 2019-01-27 19:46:44 +03:30
Deon HeynsandMarcelo Castagna 938fa9687f Typo querystring => query string (#766) 2019-01-27 08:44:14 -03:00
Deon HeynsandThiago Loureiro bf9bd16c08 Typo algorythm => algorithm (#764) 2019-01-26 16:13:21 +01:00
Deon HeynsandThiago Loureiro a2c1956417 Some Typo fixes (#765) 2019-01-26 16:12:20 +01:00
Tom PallisterandGitHub 11a2d13f18 Feat/monorepo (#734)
* copied everything from repos back to ocelot repo

* added src projects to sln

* removed all test projects that have no tests

* added all test projects to sln

* removed test not on master

* merged unit tests

* merged acceptance tests

* merged integration tests

* fixed namepaces

* build script creates packages for all projects

* updated docs to make sure no references to external repos that we will remove

* +semver: breaking
2019-01-07 19:52:53 +00:00
Vinicius CavagnolliandTom Pallister 44209e97be Fixing a syntax error in qualityofservice.rst (#691) 2018-12-17 19:32:57 +00:00
EdwinandBrian Delgado 5533907ad7 Grammar (#672) 2018-12-07 23:41:10 -08:00
Tom Pallister 89639ce7e7 removed text we dont need 2018-10-13 17:48:04 +01:00
GilandTom Pallister 724fe2fb6f Update doc file loadbalancer.rst (#644)
* Update doc file loadbalancer.rst

* Update loadbalancer.rst

Resolve typo
2018-10-13 17:46:49 +01:00
Tom PallisterandGitHub aa14b2f877 Feature/#623 (#632)
* #630 only set status code if response hasnt started, otherwise exception

* #623 made {RemoteIpAddress} available as placeholder so you can do x-forwarded-for

* #623 local address different on mac, windows and linux for integration test
2018-09-24 08:22:44 +01:00
Tom Gardham-Pallister dcc3f0deae #559 +semver: breaking always use environment when working out AddOcelot on builder 2018-09-20 18:33:00 +01:00
Tom PallisterandGitHub a5c1839ed7 Feature/adding some re route specific validation tests (#590)
* started refactoring json config validation stack because ive made it crap

* inject validators from DI rather than instanciating, next step mock them

* added some unit tests for specific validators on the train yey
2018-09-04 22:27:54 +01:00
Tom PallisterandGitHub 55277cac45 Feature/should not start if specified using service discovery but no provider registered (#584)
* #580 added failing test

* #580 added failing test for dynamic reroutes

* #580 added failing test for validator

* #580 validation tests passing

* #580 acceptance tests passing

* #580 got rid of the list in sdp factory

* +semver: breaking #580 service discovery provider returned by delegate must be the same as name in config, this is a breaking change because you have to specify consul now

* #580 removed use servide discovery property from file config, we dont need it, just use the service name as indicator the user wants to use service discovery for the given reroute
2018-08-31 18:28:43 +01:00
JustinandTom Pallister 0a7d81038e Update requestid.rst (#587)
fixing a typo
2018-08-31 18:20:13 +01:00
Andrew RissingandTom Pallister 1ea59f12b3 Correcting minor typos. (#583) 2018-08-30 06:54:11 +01:00
Tom PallisterandGitHub 6d8b18c01d Feature/inject error mapper (#562)
* added delegate to select last handler

* #529 implemented a way we can inject the last delegating handler

* wip - moving code

* #529 removed loads of qos code and moved it into Ocelot.Provider.Polly

* #529 can now inject http client expcetions to ocelot errors mappers and updated docs
2018-08-19 12:57:43 +01:00