Skip to content

Commit 4b62e7f

Browse files
authored
Add support for Response body generation in Compile time generation (#44150)
1 parent f436305 commit 4b62e7f

File tree

21 files changed

+959
-477
lines changed

21 files changed

+959
-477
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ io.clientcore:annotation-processor-test;1.0.0-beta.1;1.0.0-beta.1
494494
# In the pom, the version update tag after the version should name the unreleased package and the dependency version:
495495
# <!-- {x-version-update;unreleased_com.azure:azure-core;dependency} -->
496496

497-
unreleased_io.clientcore:core;1.0.0-beta.5
497+
unreleased_io.clientcore:core;1.0.0-beta.6
498498

499499
# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
500500
# version and set the version to the released beta. Released beta dependencies are only valid

sdk/clientcore/annotation-processor-test/pom.xml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,48 @@
4242
<spotless.skip>true</spotless.skip>
4343
<revapi.skip>true</revapi.skip>
4444
<doclint>all,-missing</doclint>
45+
<javaModulesSurefireArgLine>
46+
--add-exports io.clientcore.core/io.clientcore.core.implementation.http=ALL-UNNAMED
47+
--add-exports io.clientcore.core/io.clientcore.core.implementation.http.serializer=ALL-UNNAMED
48+
--add-exports io.clientcore.core/io.clientcore.core.implementation.utils=ALL-UNNAMED
49+
50+
--add-opens io.clientcore.http.okhttp3/io.clientcore.http.okhttp3=ALL-UNNAMED
51+
</javaModulesSurefireArgLine>
4552
</properties>
4653

4754
<dependencies>
4855
<dependency>
4956
<groupId>io.clientcore</groupId>
5057
<artifactId>core</artifactId>
51-
<version>1.0.0-beta.5</version> <!-- {x-version-update;unreleased_io.clientcore:core;dependency} -->
58+
<version>1.0.0-beta.6</version> <!-- {x-version-update;unreleased_io.clientcore:core;dependency} -->
5259
</dependency>
5360

5461
<!-- Test dependencies -->
62+
<dependency>
63+
<groupId>io.clientcore</groupId>
64+
<artifactId>core</artifactId>
65+
<version>1.0.0-beta.6</version> <!-- {x-version-update;unreleased_io.clientcore:core;dependency} -->
66+
<type>test-jar</type>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>io.clientcore</groupId>
71+
<artifactId>http-okhttp3</artifactId>
72+
<version>1.0.0-beta.1</version> <!-- {x-version-update;io.clientcore:http-okhttp3;dependency} -->
73+
<scope>test</scope>
74+
</dependency>
75+
<dependency>
76+
<groupId>org.eclipse.jetty</groupId>
77+
<artifactId>jetty-server</artifactId>
78+
<version>9.4.56.v20240826</version> <!-- {x-version-update;org.eclipse.jetty:jetty-server;external_dependency} -->
79+
<scope>test</scope>
80+
</dependency>
81+
<dependency>
82+
<groupId>org.eclipse.jetty</groupId>
83+
<artifactId>jetty-servlet</artifactId>
84+
<version>9.4.56.v20240826</version> <!-- {x-version-update;org.eclipse.jetty:jetty-servlet;external_dependency} -->
85+
<scope>test</scope>
86+
</dependency>
5587
<dependency>
5688
<groupId>org.junit.jupiter</groupId>
5789
<artifactId>junit-jupiter-api</artifactId>

sdk/clientcore/annotation-processor-test/src/main/java/io/clientcore/annotation/processor/test/implementation/Foo.java

Lines changed: 0 additions & 284 deletions
This file was deleted.

0 commit comments

Comments
 (0)