Repository navigation
http-client-java, upgrade compiler to 1.10 - #9993
Merged
Weidong Xu (weidongxu-microsoft) merged 24 commits intoMar 12, 2026
Merged
Conversation
…unit seconds scenarios Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
…ient-java_upgrade-compiler
Contributor
|
All changed packages have been documented.
Show changes
|
Collaborator
|
You can try these changes here
|
…9994) No e2e test coverage existed for the generated clients under `azure/clientgenerator/core/clientinitialization`. Adds Spector-backed tests for all three sub-packages against the `azure-http-specs` mock API definitions. ## New test files - **`DefaultClientTests.java`** — covers all 6 default clients: `HeaderParam`, `MultipleParams`, `MixedParams`, `PathParam`, `ParamAlias`, `QueryParam` - **`IndividuallyClientTests.java`** — covers 6 individually-configured nested clients (path, query, header, multiple, mixed, paramAlias variants) - **`IndividuallyParentClientTests.java`** — covers the parent factory pattern where `IndividuallyParentClient` spawns typed child clients ## Test values Derived directly from `mockapi.ts` in `azure-http-specs`: | Param | Value | |---|---| | `name` (header) | `test-name-value` | | `blobName` (query/path) | `test-blob` or `sample-blob` | | `region` | `us-west` | ## Example ```java // DefaultClientTests — mixed params: name stored in client, region+id as method args MixedParamsClient mixedParamsClient = new MixedParamsClientBuilder() .name("test-name-value") .buildClient(); mixedParamsClient.withQuery("us-west", "test-id"); mixedParamsClient.withBody("us-west", new WithBodyRequest("test-name")); // IndividuallyParentClientTests — factory pattern IndividuallyParentClient parentClient = new IndividuallyParentClientBuilder().buildClient(); IndividuallyParentNestedWithPathClient pathClient = parentClient.getIndividuallyParentNestedWithPathClient("test-blob"); BlobProperties props = pathClient.getStandalone(); ``` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> Co-authored-by: Weidong Xu <weidxu@microsoft.com>
…ore 0.66.0 -> 0.66.1
Weidong Xu (weidongxu-microsoft)
marked this pull request as ready for review
March 11, 2026 08:12
Xiaofei Cao (XiaofeiCao)
approved these changes
Mar 12, 2026
Weidong Xu (weidongxu-microsoft)
deleted the
http-client-java_upgrade-compiler
branch
March 12, 2026 02:10
Weidong Xu (weidongxu-microsoft)
added a commit
to Azure/autorest.java
that referenced
this pull request
Mar 12, 2026
* Initial plan * update node.js dependencies: sync core to PR #9993, update packages to latest Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> * prepare release 0.43.0, sync tests, delete loadtesting patch Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> * core on main --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com> Co-authored-by: Weidong Xu <weidxu@microsoft.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
misc included
downstream
Azure/autorest.java#3301
Azure/azure-sdk-for-java#48382 <-- checking