Commit Graph

15 Commits

Author SHA1 Message Date
Arthur Passos
53b9ea483f black fix 2024-06-04 15:23:52 -03:00
Arthur Passos
c769b3bda0 fix conflicts and adapt 2024-06-04 15:04:14 -03:00
Arthur Passos
5b79ba0b4f Merge branch 'master' into no_proxy_support 2024-06-04 14:55:12 -03:00
Arthur Passos
4ab5c2c7f7 style 2024-05-30 11:14:56 -03:00
Arthur Passos
b1861fa851 bring back multiple proxy test back 2024-05-30 11:00:23 -03:00
Arthur Passos
dba8c98e5f minor changes 2024-05-30 09:33:59 -03:00
Arthur Passos
5f2cd1740b increase time to wait for proxy resolver 2024-05-23 11:18:21 +00:00
Arthur Passos
ac603d6ba9 add space between assert and parenthesis 2024-05-10 17:37:26 -03:00
Arthur Passos
2d904dec5f add missing parenthesis 2024-05-10 17:22:49 -03:00
Arthur Passos
6a2aa29946 don't use stringstream 2024-05-10 17:20:36 -03:00
Arthur Passos
0f56e0d1ad fix black 2024-05-10 16:54:14 -03:00
Arthur Passos
a64cf57375 modify tests so unexpected http methods in proxy logs are errors 2024-05-09 11:43:59 -03:00
Arthur Passos
f4da4f1eb0 env no proxy tests 2024-05-02 20:29:05 -03:00
Arthur Passos
fd417c84ef resolve might return proxy2 in some cases, account for that 2023-09-01 13:41:12 -03:00
Arthur Passos
2bade7db08
Add global proxy setting (#51749)
* initial impl

* fix env ut

* move ut directory

* make sure no null proxy resolver is returned by ProxyConfigurationResolverProvider

* minor adjustment

* add a few tests, still incomplete

* add proxy support for url table function

* use proxy for select from url as well

* remove optional from return type, just returns empty config

* fix style

* style

* black

* ohg boy

* rm in progress file

* god pls don't let me kill anyone

* ...

* add use_aws guards

* remove hard coded s3 proxy resolver

* add concurrency-mt-unsafe

* aa

* black

* add logging back

* revert change

* imrpove code a bit

* helper functions and separate tests

* for some reason, this env test is not working..

* formatting

* :)

* clangtidy

* lint

* revert some stupid things

* small test adjusmtments

* simplify tests

* rename test

* remove extra line

* freaking style change

* simplify a bit

* fix segfault & remove an extra call

* tightly couple proxy provider with context..

* remove useless include

* rename config prefix parameter

* simplify provider a bit

* organize provider a bit

* add a few comments

* comment out proxy env tests

* fix nullptr in unit tests

* make sure old storage proxy config is properly covered without global context instance

* move a few functions from class to anonymous namespace

* fix no fallback for specific storage conf

* change API to accept http method instead of bool

* implement http/https distinction in listresolver, any still not implemented

* implement http/https distinction in remote resolver

* progress on code, improve tests and add url function working test

* use protcol instead of method for http and https

* small fix

* few more adjustments

* fix style

* black

* move enum to proxyconfiguration

* wip

* fix build

* fix ut

* delete atomicroundrobin class

* remove stale include

* add some tests.. need to spend some more time on the design..

* change design a bit

* progress

* use existing context for tests

* rename aux function and fix ut

* ..

* rename test

* try to simplify tests a bit

* simplify tests a bit more

* attempt to fix tests, accept more than one remote resolver

* use proper log id

* try waiting for resolver

* proper wait logic

* black

* empty

* address a few comments

* refactor tests

* remove old tests

* baclk

* use RAII to set/unset env

* black

* clang tidy

* fix env proxy not respecting any

* use log trace

* fix wrong logic in getRemoteREsolver

* fix wrong logic in getRemoteREsolver

* fix test

* remove unwanted code

* remove ClientConfigurationperRequest and auxilary classes

* remove unwanted code

* remove adapter test

* few adjustments and add test for s3 storage conf  with new proxy settings

* black

* use chassert for context

* Add getenv comment
2023-08-24 16:07:26 +03:00