* +semver: major upgrading from net5.0 to net6.0
* packages upgraded
* removed global.json for ocelot sf sample
* update build image
* test new build
* remove make
* fix tests
* make test fail like in CI
* tests passing locally
* updated docs
Co-authored-by: TGP <thomasgardham-pallister@Thomass-MacBook-Pro-2.local>
* Make rate-limiting client whitelist dynamic
* Refactor `RateLimitOptions.ClientWhiteList`
* Fix typo in variable `enbleRateLimiting`
* Fix case in variable `clientIdheader`
author Taiwo Otubamowo <totubamowo@deloitte.co.uk>
* fix 1045
* #492 log 500 with error log level, acceptance test, unit test
* #492 minor changes
* 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
* test
Co-authored-by: Taiwo O. <44668623+totubamowo@users.noreply.github.com>
Co-authored-by: Catcher Wong <catcher_hwq@outlook.com>
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>
* 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
* 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
* #262 - Integrated Steeltoe Service Discovery with Ocelot for review.
* messing around
* seems to be working with eureka
* acceptance test passing with external lib references
* #262 support for netflix eureka service discovery thanks to pivotal
* #262 fixed warnings
* #296 renamed configuration.json to ocelot.json in preparation
* removed things we dont need for tests
* another file we dont need
* removed some async we dont need
* refactoring to consolidate configuration code
* removed another pointless abstraction
* #296 started writing merge code
* #296 coming up with ideas for this config merging
* #296 still hacking this idea around
* #296 will now do a crappy merge on the configuration
* #296 change so tests pass on windows
* removed file
* updated package
* updated package
* updated package
* updated package
* updated package
* updated package
* updated package
* all packages updated
* #295 can add token to service provider config and this will be used by consul clients to get services and configuration
* #295 wait longer for this test
* squash SA1649 warnings (file/type name mismatch)
* squash SA1127 warnings (generic constraint on own line)
* squash SA1507 warnings (multiple blank lines)
* squash package analysis warnings re: summary text
It's not actually possible to provide a summary right now as per
https://github.com/NuGet/Home/issues/4587
* squash missing castle.core reference warning
* squash obsolete method warnings re: AddOcelotBaseUrl
* #264 added handlers to config
* #264 added global handlers object and defaut param for method, not sure this is correct api for users yet
* #264 Can now add all sorts of delegating handlers in all sorts of ways
* +semver: breaking #264
* failing test
* failing test but needs real butterfly server running..need to fix that...also worked out ive broken tracing...yey
* brought in butterfly source code so i can work out how to write acceptance tests for this...
* fixed the bug but still need to fix tracing
* tracing working again across services but need to make tracing hook into new Ocelot middleware as it still uses asp.net middleware
* removed butterfly libs brought in for testing
* hacked together load balancing reroutes in fileconfig
* some renaming and refactoring
* more renames
* hacked away the old config json
* test for issue 213
* renamed key
* dont share ports
* oops
* updated docs
* mvoed docs around
* port being used
* changed name to cache options to fix issue #146
* Add acceptance test that exposes JSON deserialization bug from issue #146
- Create InMemoryJsonHandle for CacheManager that mimics DictionaryHandle but uses ICacheSerializer to serialize/deserialize values instead of saving references
- Add CacheManager.Serialization.Json package
- Add StartupWithCustomCacheHandle class that extends Startup and overrides ConfigureServices to register InMemoryJsonHandle
- Add GivenOcelotIsRunningUsingConsulToStoreConfigAndJsonSerializedCache method to initiate Ocelot with StartupWithCustomCacheHandle
- Add test should_return_response_200_with_simple_url_when_using_jsonserialized_cache
* Create Acceptance test that exposes issue #152
- Add GivenOcelotIsRunningUsingJsonSerializedCache() that initializes Ocelot with InMemoryJsonHandle
- Add should_return_cached_response_when_using_jsonserialized_cache test
* Change Consul port to 9502 on should_return_response_200_with_simple_url_when_using_jsonserialized_cache() test
* Implement mapping of HttpResponseMessage to CachedResponse to enable distributed caching
- Add CachedResponse class that holds HttpResponse data
- Add mapping methods in OutputCacheMiddleware to create HttpResponseMessage from CachedResponse and vice versa
- Replace HttpResponseMessage with CachedResponse in services registrations
- Replace HttpResponseMessage with CachedResponse in OutputCacheController's IOcelotCache
* Fix unit tests for OutputCacheMiddleware and OutputCacheController by replacing HttpResponseMessage with CachedResponse
* Add .editorconfig with default identation settings (spaces with size 4)
* Re-format broken files with new identation settings
* Add Startup_WithConsul_And_CustomCacheHandle class
- Use Startup_WithConsul_And_CustomCacheHandle in GivenOcelotIsRunningUsingConsulToStoreConfigAndJsonSerializedCache step
* Do minor cleanups
- Rename StartupWithCustomCacheHandle to Startup_WithCustomCacheHandle for better readability
- Remove cachemanager settings Action in Startup since it is not used anymore
* Drop Task in CreateHttpResponseMessage - unnecessary overhead
* Make setters private in CachedResponse
- Rework CreateCachedResponse to use new CachedResponse constructor