Skip to content

Commit dde174c

Browse files
Migrate load testing (#54153)
* wip * wip * wip * wip * wip * regen * regen
1 parent c7236ad commit dde174c

File tree

310 files changed

+19333
-13472
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

310 files changed

+19333
-13472
lines changed

doc/GeneratorMigration/Library_Inventory.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
- New Emitter (TypeSpec): 25
1919
- Old TypeSpec: 41
2020
- Data Plane (DPG): 169
21-
- Autorest/Swagger: 87
22-
- New Emitter (TypeSpec): 16
23-
- Old TypeSpec: 17
21+
- Autorest/Swagger: 86
22+
- New Emitter (TypeSpec): 18
23+
- Old TypeSpec: 16
2424
- No generator: 49
2525

2626

2727
## Data Plane Libraries (DPG) - Migrated to New Emitter
2828

2929
Libraries that provide client APIs for Azure services and have been migrated to the new TypeSpec emitter.
3030

31-
**Migration Status**: 16 / 33 (48.5%)
31+
**Migration Status**: 18 / 34 (52.9%)
3232

3333
| Service | Library | New Emitter |
3434
| ------- | ------- | ----------- |
@@ -54,22 +54,23 @@ Libraries that provide client APIs for Azure services and have been migrated to
5454
| eventgrid | Azure.Messaging.EventGrid.SystemEvents ||
5555
| healthdataaiservices | Azure.Health.Deidentification ||
5656
| keyvault | Azure.Security.KeyVault.Administration ||
57-
| loadtestservice | Azure.Developer.LoadTesting | |
57+
| loadtestservice | Azure.Developer.LoadTesting | |
5858
| monitor | Azure.Monitor.Ingestion ||
5959
| monitor | Azure.Monitor.Query.Logs ||
6060
| monitor | Azure.Monitor.Query.Metrics ||
6161
| onlineexperimentation | Azure.Analytics.OnlineExperimentation | |
6262
| openai | Azure.AI.OpenAI ||
6363
| purview | Azure.Analytics.Purview.DataMap | |
6464
| schemaregistry | Azure.Data.SchemaRegistry ||
65+
| template | Azure.Template ||
6566
| translation | Azure.AI.Translation.Document | |
6667
| translation | Azure.AI.Translation.Text ||
6768
| vision | Azure.AI.Vision.ImageAnalysis ||
6869

6970

7071
## Data Plane Libraries (DPG) - Still on Swagger
7172

72-
Libraries that have not yet been migrated to the new TypeSpec emitter. Total: 87
73+
Libraries that have not yet been migrated to the new TypeSpec emitter. Total: 86
7374

7475
| Service | Library |
7576
| ------- | ------- |
@@ -154,7 +155,6 @@ Libraries that have not yet been migrated to the new TypeSpec emitter. Total: 87
154155
| synapse | Azure.Analytics.Synapse.Monitoring |
155156
| synapse | Azure.Analytics.Synapse.Spark |
156157
| tables | Azure.Data.Tables |
157-
| template | Azure.Template |
158158
| textanalytics | Azure.AI.TextAnalytics |
159159
| textanalytics | Azure.AI.TextAnalytics.Legacy.Shared |
160160
| timeseriesinsights | Azure.IoT.TimeSeriesInsights |

sdk/loadtestservice/Azure.Developer.LoadTesting/api/Azure.Developer.LoadTesting.net8.0.cs

Lines changed: 319 additions & 36 deletions
Large diffs are not rendered by default.

sdk/loadtestservice/Azure.Developer.LoadTesting/api/Azure.Developer.LoadTesting.netstandard2.0.cs

Lines changed: 319 additions & 36 deletions
Large diffs are not rendered by default.

sdk/loadtestservice/Azure.Developer.LoadTesting/src/AutorestCustomizations/AzureDeveloperLoadTestingClientOptions.cs

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

sdk/loadtestservice/Azure.Developer.LoadTesting/src/AutorestCustomizations/LoadTestingClientBuilderExtensions.cs

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

sdk/loadtestservice/Azure.Developer.LoadTesting/src/AutorestCustomizations/LoadTestingModelFactory.cs

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

sdk/loadtestservice/Azure.Developer.LoadTesting/src/Azure.Developer.LoadTesting.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
1010
<IncludeOperationsSharedSource>true</IncludeOperationsSharedSource>
1111
<NoWarn>$(NoWarn);AZC0034</NoWarn>
12-
<IncludeAutorestDependency>true</IncludeAutorestDependency>
1312
<AotCompatOptOut>true</AotCompatOptOut>
1413
</PropertyGroup>
1514

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using Azure.Developer.LoadTesting;
5+
6+
namespace Microsoft.Extensions.Azure
7+
{
8+
[CodeGenType("LoadTestingClientBuilderExtensions")]
9+
public partial class AzureLoadTestingClientBuilderExtensions
10+
{
11+
}
12+
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
using System;
77
using System.Collections.Generic;
8-
using System.Text;
98
using System.Threading;
109
using Azure.Core;
10+
using Azure.Core.Pipeline;
1111

1212
namespace Azure.Developer.LoadTesting
1313
{
@@ -19,6 +19,8 @@ namespace Azure.Developer.LoadTesting
1919
[CodeGenSuppress("GetTestProfilesAsync", typeof(int?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(RequestContext))]
2020
[CodeGenSuppress("GetTestProfiles", typeof(int?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(CancellationToken))]
2121
[CodeGenSuppress("GetTestProfilesAsync", typeof(int?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(CancellationToken))]
22+
[CodeGenSuppress("LoadTestAdministrationClient", typeof(string), typeof(TokenCredential))]
23+
[CodeGenSuppress("LoadTestAdministrationClient", typeof(string), typeof(TokenCredential), typeof(LoadTestingClientOptions))]
2224
public partial class LoadTestAdministrationClient
2325
{
2426
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using System.Collections.Generic;
88
using System.Threading;
99
using Azure.Core;
10+
using Azure.Core.Pipeline;
1011

1112
namespace Azure.Developer.LoadTesting
1213
{
@@ -18,6 +19,8 @@ namespace Azure.Developer.LoadTesting
1819
[CodeGenSuppress("GetTestProfileRunsAsync", typeof(int?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(RequestContext))]
1920
[CodeGenSuppress("GetTestProfileRuns", typeof(int?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(CancellationToken))]
2021
[CodeGenSuppress("GetTestProfileRunsAsync", typeof(int?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(DateTimeOffset?), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(IEnumerable<string>), typeof(CancellationToken))]
22+
[CodeGenSuppress("LoadTestRunClient", typeof(string), typeof(TokenCredential))]
23+
[CodeGenSuppress("LoadTestRunClient", typeof(string), typeof(TokenCredential), typeof(LoadTestingClientOptions))]
2124
public partial class LoadTestRunClient
2225
{
2326
}

0 commit comments

Comments
 (0)