Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dee33cf
Update Snippet and Export-API.
zihzhan-msft Jun 9, 2021
818dc1b
remove calloption override in servercall client.
zihzhan-msft Jun 9, 2021
3b3d50e
Nit for params and arguments handling.
zihzhan-msft Jun 9, 2021
aa107fc
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 9, 2021
8b69016
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-net i…
zihzhan-msft Jun 9, 2021
c6baf82
Merge Downloader updates.
zihzhan-msft Jun 10, 2021
3aa15a0
Merge Downloader updates test cases.
zihzhan-msft Jun 10, 2021
fcdae81
Update AutoGen Content.
zihzhan-msft Jun 10, 2021
65ba2cd
Resolve merge conflict.
zihzhan-msft Jun 10, 2021
f62e7cd
Nit clean on Unit Tests.
zihzhan-msft Jun 10, 2021
3e56bef
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 10, 2021
31daa0f
Updating and renaming.
zihzhan-msft Jun 10, 2021
fe9f344
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 11, 2021
b4c8dbb
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 15, 2021
0777d49
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 15, 2021
794122e
Test update.
zihzhan-msft Jun 15, 2021
f156c31
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 15, 2021
0525b42
Add Call Connection Live Tests.
zihzhan-msft Jun 16, 2021
7c0519f
Add ServerCall Live Tests
zihzhan-msft Jun 16, 2021
9e7a022
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 16, 2021
1200e75
Increase Test Coverage.
zihzhan-msft Jun 16, 2021
1b67012
Reenable sample tests.
zihzhan-msft Jun 16, 2021
3970555
Address comments.
zihzhan-msft Jun 16, 2021
6b7d17d
Point to swagger file in master branch.
zihzhan-msft Jun 17, 2021
7de7933
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 17, 2021
82ab4ec
Nit fix.
zihzhan-msft Jun 17, 2021
cdd2a9b
Nit changes based on Azure boarder review feedback.
zihzhan-msft Jun 18, 2021
3d34190
Merge branch 'feature/callingServer-preview1-enhancement' of https://…
zihzhan-msft Jun 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public CallConnectionStateChangedEvent() { }
public partial class CallingServerClient
{
protected CallingServerClient() { }
public CallingServerClient(string connectionString, Azure.Communication.CallingServer.CallingServerClientOptions options = null) { }
public CallingServerClient(string connectionString) { }
public CallingServerClient(string connectionString, Azure.Communication.CallingServer.CallingServerClientOptions options) { }
public virtual Azure.Response<Azure.Communication.CallingServer.CallConnection> CreateCallConnection(Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.CallingServer.CallConnection>> CreateCallConnectionAsync(Azure.Communication.CommunicationIdentifier source, System.Collections.Generic.IEnumerable<Azure.Communication.CommunicationIdentifier> targets, Azure.Communication.CallingServer.CreateCallOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response<System.IO.Stream> DownloadStreaming(System.Uri sourceEndpoint, Azure.HttpRange range = default(Azure.HttpRange), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
Expand All @@ -81,7 +82,7 @@ public partial class CallingServerClientOptions : Azure.Core.ClientOptions
public CallingServerClientOptions(Azure.Communication.CallingServer.CallingServerClientOptions.ServiceVersion version = Azure.Communication.CallingServer.CallingServerClientOptions.ServiceVersion.V2021_06_15_Preview) { }
public enum ServiceVersion
{
V2021_06_15_Preview = 0,
V2021_06_15_Preview = 1,
}
}
public partial class CallingServerError
Expand Down Expand Up @@ -205,11 +206,6 @@ public CreateCallOptions(System.Uri callbackUri, System.Collections.Generic.IEnu
public System.Collections.Generic.IList<Azure.Communication.CallingServer.MediaType> RequestedMediaTypes { get { throw null; } }
public string Subject { get { throw null; } set { } }
}
public partial class CreateCallResult
{
internal CreateCallResult() { }
public string CallConnectionId { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct EventSubscriptionType : System.IEquatable<Azure.Communication.CallingServer.EventSubscriptionType>
{
Expand All @@ -236,11 +232,6 @@ public JoinCallOptions(System.Uri callbackUri, System.Collections.Generic.IEnume
public System.Collections.Generic.IList<Azure.Communication.CallingServer.MediaType> RequestedMediaTypes { get { throw null; } }
public string Subject { get { throw null; } set { } }
}
public partial class JoinCallResult
{
internal JoinCallResult() { }
public string CallConnectionId { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct MediaType : System.IEquatable<Azure.Communication.CallingServer.MediaType>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>
This client library enables working with the Microsoft Azure Communication Service Calling Server APIs.
This client library enables working with the Microsoft Azure Communication CallingServer service.
For this release, see notes - https://github.com/Azure/azure-sdk-for-net-pr/blob/master/sdk/communication/Azure.Communication.ServerCalling/README.md and https://github.com/Azure/azure-sdk-for-net-pr/blob/master/sdk/communication/Azure.Communication.ServerCalling/CHANGELOG.md.
</Description>
<AssemblyTitle>Azure Communication Service Calling Server APIs</AssemblyTitle>
<AssemblyTitle>Azure Communication CallingServer Service</AssemblyTitle>
<Version>1.0.0-beta.1</Version>
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
<PackageTags>Microsoft Azure Communication Calling Server APIs;Microsoft;Azure;Azure Communication Service;Azure Communication Calling Server APIs;Calling;Communication;$(PackageCommonTags)</PackageTags>
<PackageTags>Microsoft Azure Communication CallingServer Service;Microsoft;Azure;Azure Communication Service;Azure Communication CallingServer Service;Calling;Communication;$(PackageCommonTags)</PackageTags>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,21 @@ public class CallingServerClient
internal ServerCallsRestClient ServerCallRestClient { get; }

#region public constructors
/// <summary> Initializes a new instance of <see cref="CallingServerClient"/>.</summary>
/// <param name="connectionString">Connection string acquired from the Azure Communication Services resource.</param>
public CallingServerClient(string connectionString)
: this(
ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))),
new CallingServerClientOptions())
{ }

/// <summary> Initializes a new instance of <see cref="CallingServerClient"/>.</summary>
/// <param name="connectionString">Connection string acquired from the Azure Communication Services resource.</param>
/// <param name="options">Client option exposing <see cref="ClientOptions.Diagnostics"/>, <see cref="ClientOptions.Retry"/>, <see cref="ClientOptions.Transport"/>, etc.</param>
public CallingServerClient(string connectionString, CallingServerClientOptions options = default)
public CallingServerClient(string connectionString, CallingServerClientOptions options)
: this(
ConnectionString.Parse(Argument.CheckNotNullOrEmpty(connectionString, nameof(connectionString))),
options ?? new CallingServerClientOptions())
Argument.CheckNotNull(options, nameof(options)))
{ }

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public enum ServiceVersion
/// The Beta of the CallingServer service.
/// </summary>
#pragma warning disable CA1707 // Identifiers should not contain underscores
V2021_06_15_Preview = 0
V2021_06_15_Preview = 1
#pragma warning restore CA1707 // Identifiers should not contain underscores
}
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading