-
Notifications
You must be signed in to change notification settings - Fork 2k
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
refactorInsecureConnectionConfig #42972
refactorInsecureConnectionConfig #42972
Conversation
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosClientBuilder.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/Configs.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/Configs.java
Outdated
Show resolved
Hide resolved
sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/Configs.java
Show resolved
Hide resolved
...c/test/java/com/azure/cosmos/rx/changefeed/pkversion/IncrementalChangeFeedProcessorTest.java
Outdated
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 - Thanks!
API change check API changes are not detected in this pull request. |
ab9849f
to
ed15e41
Compare
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
/check-enforcer override |
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
/check-enforcer override |
In previous PR #42912, we added a config to allow using insecure connections for emulator. In this PR, we are splitting the config into three different system properties so we can have a more granular config.
using
COSMOS.HTTP_CONNECTION_WITHOUT_TLS_ALLOWED
orCOSMOS_HTTP_CONNECTION_WITHOUT_TLS_ALLOWED
to allow http connection against emulator.Using
COSMOS.EMULATOR_SERVER_CERTIFICATE_VERIFICATION_DISABLED
orCOSMOS_EMULATOR_SERVER_CERTIFICATE_VERIFICATION_DISABLED
to disable cert verification for emulator.Using
COSMOS.EMULATOR_HOST
orCOSMOS_EMULATOR_HOST
to config the emulator host name. By default it will try to match withlocalhost
or127.0.0.1
or[::1]
or[0:0:0:0:0:0:0:1]
.