-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'storage-post-review1-dev' into storage-file
- Loading branch information
Showing
1,229 changed files
with
606 additions
and
244 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# See for instructions on this file https://help.github.com/articles/about-codeowners/ |
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
2 changes: 1 addition & 1 deletion
2
core/azure-core-test/src/main/java/com/azure/core/test/models/package-info.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
/** | ||
* Package contains models used to test Azure client libraries. | ||
* Package containing models used to test Azure client libraries. | ||
*/ | ||
package com.azure.core.test.models; |
2 changes: 1 addition & 1 deletion
2
core/azure-core-test/src/main/java/com/azure/core/test/package-info.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
/** | ||
* Package contains common test classes for Azure client libraries. | ||
* Package containing common test classes for Azure client libraries. | ||
*/ | ||
package com.azure.core.test; |
2 changes: 1 addition & 1 deletion
2
core/azure-core-test/src/main/java/com/azure/core/test/policy/package-info.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
/** | ||
* Package contains {@link com.azure.core.http.policy.HttpPipelinePolicy HttpPipelinePolicies} used to test Azure | ||
* Package containing {@link com.azure.core.http.policy.HttpPipelinePolicy HttpPipelinePolicies} used to test Azure | ||
* client libraries. | ||
*/ | ||
package com.azure.core.test.policy; |
2 changes: 1 addition & 1 deletion
2
core/azure-core-test/src/main/java/com/azure/core/test/utils/package-info.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
/** | ||
* Package contains utility classes used for testing Azure client libraries. | ||
* Package containing utility classes used for testing Azure client libraries. | ||
*/ | ||
package com.azure.core.test.utils; |
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
57 changes: 57 additions & 0 deletions
57
...core/src/samples/java/com/azure/core/implementation/util/FluxUtilJavaDocCodeSnippets.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
package com.azure.core.implementation.util; | ||
|
||
import com.azure.core.util.Context; | ||
import reactor.core.publisher.Flux; | ||
import reactor.core.publisher.Mono; | ||
|
||
/** | ||
* Code snippets for {@link FluxUtil} | ||
*/ | ||
public class FluxUtilJavaDocCodeSnippets { | ||
|
||
/** | ||
* Code snippet for using {@link FluxUtil} with single item response | ||
*/ | ||
public void codeSnippetForCallWithSingleResponse() { | ||
// BEGIN: com.azure.core.implementation.util.fluxutil.monocontext | ||
String prefix = "Hello, "; | ||
Mono<String> response = FluxUtil | ||
.monoContext(context -> serviceCallReturnsSingle(prefix, context)); | ||
// END: com.azure.core.implementation.util.fluxutil.monocontext | ||
} | ||
|
||
/** | ||
* Code snippet for using {@link FluxUtil} with collection response | ||
*/ | ||
public void codeSnippetForCallWithCollectionResponse() { | ||
// BEGIN: com.azure.core.implementation.util.fluxutil.fluxcontext | ||
String prefix = "Hello, "; | ||
Flux<String> response = FluxUtil | ||
.fluxContext(context -> serviceCallReturnsCollection(prefix, context)); | ||
// END: com.azure.core.implementation.util.fluxutil.fluxcontext | ||
} | ||
|
||
/** | ||
* Implementation not provided | ||
* @param prefix The prefix | ||
* @param context Azure context | ||
* @return {@link Flux#empty() empty} response | ||
*/ | ||
private Flux<String> serviceCallReturnsCollection(String prefix, Context context) { | ||
return Flux.empty(); | ||
} | ||
|
||
/** | ||
* Implementation not provided | ||
* @param prefix The prefix | ||
* @param context Azure context | ||
* @return {@link Mono#empty() empty} response | ||
*/ | ||
private Mono<String> serviceCallReturnsSingle(String prefix, Context context) { | ||
return Mono.empty(); | ||
} | ||
|
||
} |
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.