-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated endpoint discovery behavior for operations that require endpo…
…int discovery. Specifically, when endpoint discovery is required: 1. If endpoint discovery is disabled, throw an exception. Endpoint discovery is required. Disabling it should not be allowed. 2. If an endpoint override is specified, throw an exception. Endpoint discovery being required implies the endpoint MUST be discovered. 3. Introduce an "allowEndpointOverrideForEndpointDiscoveryRequiredOperations" customization flag that can be used by services that need to disable (2) before we can reach a more long-term state of consistency across the SDKs. This flag will treat the "endpointOverride" as the *discovered* endpoint. Motivation: 1. The behavior across the SDKs is inconsistent, so this brings the Java SDK more into line with the other SDKs. 2. This removes the ambiguity as to whether the "endpoint override" is the *discovery* endpoint or the *discovered* endpoint by just disallowing its use altogether. In the future we can add a "discoveryEndpointOverride" to codify "endpointOverride" as being the *discovered* endpoint.
- Loading branch information
Showing
15 changed files
with
684 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.