-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for http proxy #450
Add support for http proxy #450
Conversation
client/src/main/scala/io/delta/sharing/client/DeltaSharingFileSystem.scala
Outdated
Show resolved
Hide resolved
client/src/main/scala/io/delta/sharing/client/DeltaSharingFileSystem.scala
Show resolved
Hide resolved
client/src/main/scala/io/delta/sharing/client/DeltaSharingFileSystem.scala
Outdated
Show resolved
Hide resolved
client/src/test/scala/io/delta/sharing/client/DeltaSharingFileSystemSuite.scala
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
assert(content.trim == "Hello, World!") | ||
|
||
// Assert that the request is not passed through proxy. | ||
assert(proxyServer.getCapturedRequests().isEmpty) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Adds support for Http Proxy when reading data from storage sample configuration: ``` spark.delta.sharing.network.proxyHost=1.2.3.4 spark.delta.sharing.network.proxyPort=3128 spark.delta.sharing.network.noProxyHosts=5.6.7.8,12.13.14.15 ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good though there are some lint nits.
Adds support for Http Proxy when reading data from storage
sample configuration: