Skip to content

Commit 54e2fad

Browse files
eng, sync the fix for nightly build (#3165)
* update core to latest * re-generate test code --------- Co-authored-by: actions-user <[email protected]>
1 parent de13180 commit 54e2fad

File tree

4 files changed

+33
-19
lines changed

4 files changed

+33
-19
lines changed

azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemaGroupsOperationsImpl.java

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,16 @@ public PagedIterable<String> list(Context context) {
224224
}
225225

226226
/**
227+
* Get list of schema groups.
228+
*
227229
* Get the next page of items.
228230
*
229231
* @param nextLink The URL to get the next list of items.
230232
* @throws IllegalArgumentException thrown if parameters fail the validation.
231233
* @throws ErrorException thrown if the request is rejected by server.
232234
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
233-
* @return object received from the registry containing the list of schema groups and link to next batch page along
234-
* with {@link PagedResponse} on successful completion of {@link Mono}.
235+
* @return the list of schema groups user is authorized to access along with {@link PagedResponse} on successful
236+
* completion of {@link Mono}.
235237
*/
236238
@ServiceMethod(returns = ReturnType.SINGLE)
237239
public Mono<PagedResponse<String>> listNextSinglePageAsync(String nextLink) {
@@ -242,15 +244,17 @@ public Mono<PagedResponse<String>> listNextSinglePageAsync(String nextLink) {
242244
}
243245

244246
/**
247+
* Get list of schema groups.
248+
*
245249
* Get the next page of items.
246250
*
247251
* @param nextLink The URL to get the next list of items.
248252
* @param context The context to associate with this operation.
249253
* @throws IllegalArgumentException thrown if parameters fail the validation.
250254
* @throws ErrorException thrown if the request is rejected by server.
251255
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
252-
* @return object received from the registry containing the list of schema groups and link to next batch page along
253-
* with {@link PagedResponse} on successful completion of {@link Mono}.
256+
* @return the list of schema groups user is authorized to access along with {@link PagedResponse} on successful
257+
* completion of {@link Mono}.
254258
*/
255259
@ServiceMethod(returns = ReturnType.SINGLE)
256260
public Mono<PagedResponse<String>> listNextSinglePageAsync(String nextLink, Context context) {
@@ -261,14 +265,15 @@ public Mono<PagedResponse<String>> listNextSinglePageAsync(String nextLink, Cont
261265
}
262266

263267
/**
268+
* Get list of schema groups.
269+
*
264270
* Get the next page of items.
265271
*
266272
* @param nextLink The URL to get the next list of items.
267273
* @throws IllegalArgumentException thrown if parameters fail the validation.
268274
* @throws ErrorException thrown if the request is rejected by server.
269275
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
270-
* @return object received from the registry containing the list of schema groups and link to next batch page along
271-
* with {@link PagedResponse}.
276+
* @return the list of schema groups user is authorized to access along with {@link PagedResponse}.
272277
*/
273278
@ServiceMethod(returns = ReturnType.SINGLE)
274279
public PagedResponse<String> listNextSinglePage(String nextLink) {
@@ -279,15 +284,16 @@ public PagedResponse<String> listNextSinglePage(String nextLink) {
279284
}
280285

281286
/**
287+
* Get list of schema groups.
288+
*
282289
* Get the next page of items.
283290
*
284291
* @param nextLink The URL to get the next list of items.
285292
* @param context The context to associate with this operation.
286293
* @throws IllegalArgumentException thrown if parameters fail the validation.
287294
* @throws ErrorException thrown if the request is rejected by server.
288295
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
289-
* @return object received from the registry containing the list of schema groups and link to next batch page along
290-
* with {@link PagedResponse}.
296+
* @return the list of schema groups user is authorized to access along with {@link PagedResponse}.
291297
*/
292298
@ServiceMethod(returns = ReturnType.SINGLE)
293299
public PagedResponse<String> listNextSinglePage(String nextLink, Context context) {

azure-dataplane-tests/src/main/java/com/azure/data/schemaregistry/implementation/SchemasImpl.java

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,14 +1571,16 @@ public Response<Void> registerNoCustomHeadersWithResponse(String groupName, Stri
15711571
}
15721572

15731573
/**
1574+
* Get list schema versions.
1575+
*
15741576
* Get the next page of items.
15751577
*
15761578
* @param nextLink The URL to get the next list of items.
15771579
* @throws IllegalArgumentException thrown if parameters fail the validation.
15781580
* @throws ErrorException thrown if the request is rejected by server.
15791581
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1580-
* @return object received from the registry containing the list of schema versions and link to next batch page
1581-
* along with {@link PagedResponse} on successful completion of {@link Mono}.
1582+
* @return the list of all versions of one schema along with {@link PagedResponse} on successful completion of
1583+
* {@link Mono}.
15821584
*/
15831585
@ServiceMethod(returns = ReturnType.SINGLE)
15841586
public Mono<PagedResponse<Integer>> getVersionsNextSinglePageAsync(String nextLink) {
@@ -1590,15 +1592,17 @@ public Mono<PagedResponse<Integer>> getVersionsNextSinglePageAsync(String nextLi
15901592
}
15911593

15921594
/**
1595+
* Get list schema versions.
1596+
*
15931597
* Get the next page of items.
15941598
*
15951599
* @param nextLink The URL to get the next list of items.
15961600
* @param context The context to associate with this operation.
15971601
* @throws IllegalArgumentException thrown if parameters fail the validation.
15981602
* @throws ErrorException thrown if the request is rejected by server.
15991603
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1600-
* @return object received from the registry containing the list of schema versions and link to next batch page
1601-
* along with {@link PagedResponse} on successful completion of {@link Mono}.
1604+
* @return the list of all versions of one schema along with {@link PagedResponse} on successful completion of
1605+
* {@link Mono}.
16021606
*/
16031607
@ServiceMethod(returns = ReturnType.SINGLE)
16041608
public Mono<PagedResponse<Integer>> getVersionsNextSinglePageAsync(String nextLink, Context context) {
@@ -1609,14 +1613,15 @@ public Mono<PagedResponse<Integer>> getVersionsNextSinglePageAsync(String nextLi
16091613
}
16101614

16111615
/**
1616+
* Get list schema versions.
1617+
*
16121618
* Get the next page of items.
16131619
*
16141620
* @param nextLink The URL to get the next list of items.
16151621
* @throws IllegalArgumentException thrown if parameters fail the validation.
16161622
* @throws ErrorException thrown if the request is rejected by server.
16171623
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1618-
* @return object received from the registry containing the list of schema versions and link to next batch page
1619-
* along with {@link PagedResponse}.
1624+
* @return the list of all versions of one schema along with {@link PagedResponse}.
16201625
*/
16211626
@ServiceMethod(returns = ReturnType.SINGLE)
16221627
public PagedResponse<Integer> getVersionsNextSinglePage(String nextLink) {
@@ -1628,15 +1633,16 @@ public PagedResponse<Integer> getVersionsNextSinglePage(String nextLink) {
16281633
}
16291634

16301635
/**
1636+
* Get list schema versions.
1637+
*
16311638
* Get the next page of items.
16321639
*
16331640
* @param nextLink The URL to get the next list of items.
16341641
* @param context The context to associate with this operation.
16351642
* @throws IllegalArgumentException thrown if parameters fail the validation.
16361643
* @throws ErrorException thrown if the request is rejected by server.
16371644
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
1638-
* @return object received from the registry containing the list of schema versions and link to next batch page
1639-
* along with {@link PagedResponse}.
1645+
* @return the list of all versions of one schema along with {@link PagedResponse}.
16401646
*/
16411647
@ServiceMethod(returns = ReturnType.SINGLE)
16421648
public PagedResponse<Integer> getVersionsNextSinglePage(String nextLink, Context context) {

core

Submodule core updated 241 files

protocol-tests/src/main/java/fixtures/dpgcustomization/implementation/DpgClientImpl.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,8 @@ public SyncPoller<BinaryData, BinaryData> beginLro(String mode, RequestOptions r
663663
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
664664
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
665665
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
666-
* @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}.
666+
* @return pages that you will either return to users in pages of raw bodies, or pages of models following growup
667+
* along with {@link PagedResponse} on successful completion of {@link Mono}.
667668
*/
668669
@ServiceMethod(returns = ReturnType.SINGLE)
669670
private Mono<PagedResponse<BinaryData>> getPagesNextSinglePageAsync(String nextLink,
@@ -693,7 +694,8 @@ private Mono<PagedResponse<BinaryData>> getPagesNextSinglePageAsync(String nextL
693694
* @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401.
694695
* @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404.
695696
* @throws ResourceModifiedException thrown if the request is rejected by server on status code 409.
696-
* @return the response body along with {@link PagedResponse}.
697+
* @return pages that you will either return to users in pages of raw bodies, or pages of models following growup
698+
* along with {@link PagedResponse}.
697699
*/
698700
@ServiceMethod(returns = ReturnType.SINGLE)
699701
private PagedResponse<BinaryData> getPagesNextSinglePage(String nextLink, RequestOptions requestOptions) {

0 commit comments

Comments
 (0)