Add support for Response body generation in Compile time generation #44150
Merged
samvaity merged 13 commits intoAzure:mainfrom Feb 21, 2025
Merged
Add support for Response body generation in Compile time generation #44150samvaity merged 13 commits intoAzure:mainfrom
samvaity merged 13 commits intoAzure:mainfrom
Conversation
Collaborator
|
API change check API changes are not detected in this pull request. |
samvaity
commented
Feb 11, 2025
sdk/clientcore/core/src/test/java/io/clientcore/core/http/RestProxyTests.java
Outdated
Show resolved
Hide resolved
37f9e4b to
4550b7c
Compare
fb19e65 to
ac80e23
Compare
ac80e23 to
42d2588
Compare
samvaity
commented
Feb 19, 2025
...src/main/java/io/clientcore/annotation/processor/templating/JavaParserTemplateProcessor.java
Outdated
Show resolved
Hide resolved
0f71636 to
79aae01
Compare
79aae01 to
6612a67
Compare
...processor-test/src/main/java/io/clientcore/annotation/processor/test/implementation/Foo.java
Outdated
Show resolved
Hide resolved
...processor-test/src/main/java/io/clientcore/annotation/processor/test/implementation/Foo.java
Outdated
Show resolved
Hide resolved
...processor-test/src/main/java/io/clientcore/annotation/processor/test/implementation/Foo.java
Outdated
Show resolved
Hide resolved
...src/main/java/io/clientcore/annotation/processor/templating/JavaParserTemplateProcessor.java
Outdated
Show resolved
Hide resolved
...src/main/java/io/clientcore/annotation/processor/templating/JavaParserTemplateProcessor.java
Show resolved
Hide resolved
sdk/clientcore/core/src/main/java/io/clientcore/core/utils/CodegenUtil.java
Show resolved
Hide resolved
sdk/clientcore/core/src/main/java/io/clientcore/core/utils/CodegenUtil.java
Show resolved
Hide resolved
...src/main/java/io/clientcore/annotation/processor/templating/JavaParserTemplateProcessor.java
Outdated
Show resolved
Hide resolved
...essor/src/main/java/io/clientcore/annotation/processor/utils/ResponseBodyModeGeneration.java
Outdated
Show resolved
Hide resolved
...essor/src/main/java/io/clientcore/annotation/processor/utils/ResponseBodyModeGeneration.java
Outdated
Show resolved
Hide resolved
...essor/src/main/java/io/clientcore/annotation/processor/utils/ResponseBodyModeGeneration.java
Show resolved
Hide resolved
5d707f8 to
eaba80e
Compare
…nsebody mode to util
48e4f6b to
9dd7a58
Compare
alzimmermsft
approved these changes
Feb 21, 2025
3 tasks
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.
Key Changes
ResponseBodyModes(IGNORE, BUFFER, STREAM, DESERIALIZE).RequestOptionsare provided in the Service interface, they will be used instead of the default fromhttpRequest.getRequestOptions().HttpRequestclass now uses setter methods instead of constructor arguments.HttpClientTeststo transition from usingRestProxyto using theImplinstance for service calls [As we go].Closes : #44038, #44150
Latest generated TestInterfaceClientServiceImpl