Skip to content

Commit b5f249b

Browse files
annelo-msftpakrym
andauthored
[LLC][Core] Move APIs supporting LLC from Experimental to Core (Azure#25362)
* init * move Response.IsError tests from Experimental to Core * add ctor RequestFailedException(Response) * comments * update API listings and move tests to Core * update Synapse with new APIs * pr fb * Dpm * API * Assert * Do Response initialization in TransportPolicy * pr fb * nit Co-authored-by: Pavel Krymets <[email protected]>
1 parent 1d46bdc commit b5f249b

31 files changed

+231
-504
lines changed

sdk/core/Azure.Core.Experimental/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
### Breaking Changes
88

9+
- The following types were removed:
10+
- `ClassifiedResponse`
11+
- `ExceptionFormattingResponseClassifier`
12+
- `ResponseExtensions`
13+
- `ResponsePropertiesPolicy`
14+
915
### Bugs Fixed
1016

1117
### Other Changes

sdk/core/Azure.Core.Experimental/api/Azure.Core.Experimental.netstandard2.0.cs

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
namespace Azure.Core
22
{
3-
public partial class ClassifiedResponse : Azure.Response
4-
{
5-
public ClassifiedResponse(Azure.Response response) { }
6-
public override string ClientRequestId { get { throw null; } set { } }
7-
public override System.IO.Stream? ContentStream { get { throw null; } set { } }
8-
public bool IsError { get { throw null; } }
9-
public override string ReasonPhrase { get { throw null; } }
10-
public override int Status { get { throw null; } }
11-
protected override bool ContainsHeader(string name) { throw null; }
12-
public override void Dispose() { }
13-
protected virtual void Dispose(bool disposing) { }
14-
protected override System.Collections.Generic.IEnumerable<Azure.Core.HttpHeader> EnumerateHeaders() { throw null; }
15-
protected override bool TryGetHeader(string name, out string? value) { throw null; }
16-
protected override bool TryGetHeaderValues(string name, out System.Collections.Generic.IEnumerable<string>? values) { throw null; }
17-
}
183
[System.Diagnostics.DebuggerDisplayAttribute("{DebuggerDisplay,nq}")]
194
public partial class JsonData : System.Dynamic.IDynamicMetaObjectProvider, System.IEquatable<Azure.Core.JsonData>
205
{
@@ -100,18 +85,4 @@ public void Set(string propertyName, string? value) { }
10085
public long WriteTo(System.IO.Stream stream) { throw null; }
10186
public System.Threading.Tasks.Task<long> WriteToAsync(System.IO.Stream stream, System.Threading.CancellationToken cancellationToken) { throw null; }
10287
}
103-
public partial class ResponsePropertiesPolicy : Azure.Core.Pipeline.HttpPipelinePolicy
104-
{
105-
public ResponsePropertiesPolicy(Azure.Core.ClientOptions options) { }
106-
public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> pipeline) { }
107-
public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory<Azure.Core.Pipeline.HttpPipelinePolicy> pipeline) { throw null; }
108-
}
109-
}
110-
namespace Azure.Core.Pipeline
111-
{
112-
public static partial class ResponseExtensions
113-
{
114-
public static Azure.RequestFailedException CreateRequestFailedException(this Azure.Response response) { throw null; }
115-
public static bool IsError(this Azure.Response response) { throw null; }
116-
}
11788
}

sdk/core/Azure.Core.Experimental/src/ClassifiedResponse.cs

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

sdk/core/Azure.Core.Experimental/src/ExceptionFormattingResponseClassifier.cs

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

sdk/core/Azure.Core.Experimental/src/ResponseExtensions.cs

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

sdk/core/Azure.Core.Experimental/src/ResponsePropertiesPolicy.cs

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

0 commit comments

Comments
 (0)