-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Control Plane - Microsoft.AzurePlaywrightService integration into Microsoft.LoadTestService #33891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 44 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
15a11a9
First commit with existing playwright service apis
mjmadhu d2781da
Added API specs for new RT - PlaywrightWorkspaces
mjmadhu 195b5cc
Fixing Swagger Avocado CI failure
mjmadhu d90f656
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 589b277
Fixing Swagger LintDiff and TypeSpec Validation CI failures
mjmadhu 7a663e9
Merge branch 'cp-malt-mpt-integration' of https://github.com/Azure/az…
mjmadhu 82c3750
Added srmresourceidentifier scalar as mentioned in the comment
mjmadhu 88de410
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu 73288d3
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 092f9fa
Minor renaming of file to fix typo error
mjmadhu 602f0a6
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu 6d9fdb1
Removed kind property as not required
mjmadhu 5c53618
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 43c91f1
Added readme files for playwright
mjmadhu ef5e526
Rectify the path for json files
mjmadhu d2a233b
Updated package names
mjmadhu 135f1b3
Minor changes
mjmadhu a502eea
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu e5bf159
Added operations folder
mjmadhu 04cce46
Reorganised resource-manager as per suggested folder structure
mjmadhu 550b28e
Renaming operations folder
mjmadhu e029a43
Renaming operations folder
mjmadhu 90ef6b9
Minor comment change
mjmadhu 9a319b1
Removed all readme.language.md files as suggested
mjmadhu 1ae2796
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 16251b4
Suggested changes
mjmadhu af9c23d
Regenerated loadtest swagger files from tsp
mjmadhu b240ff7
Merge branch 'cp-malt-mpt-integration' of https://github.com/Azure/az…
mjmadhu 22d9452
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 9f5470d
Removed sdk gen references from readme.md
mjmadhu 0ee9aa9
Merge branch 'cp-malt-mpt-integration' of https://github.com/Azure/az…
mjmadhu a93b46b
Deleted shared folder as suggested
mjmadhu c19c09d
Added newline in tspconfig.yaml
mjmadhu 5708f03
Trying to fix tspconfig formatting failure
mjmadhu aaa667e
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu bd47b50
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 96f7799
Feedback comments done
mjmadhu e675776
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu f6b4156
Removed deprecated api-versions from loadtesting
mjmadhu 0297b95
Added sdk configs in tspconfig.yaml
mjmadhu 168d960
Suppressions for old loadtesting files for swagger-lintdiff
mjmadhu 4a86e20
Added suppressionf for swagger lintdiff in existing files
mjmadhu 41e5e7d
Added suppressionf for swagger lintdiff in existing files
mjmadhu 85a0ca2
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu 468d60e
As per review comment
mjmadhu f9d7940
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 66ceb0e
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 1c9d50a
Added Playwright Quota Resource
mjmadhu c95def9
Swagger LintDiff CI Fix
mjmadhu d09a611
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu 1820bde
Minor data0type change
mjmadhu 1f3c6c2
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu 0e224d3
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu 6b39503
TSV fix as per error
mjmadhu 1b0de70
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 379b6e0
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 87653fb
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 6ec3357
Removed the suppressions
mjmadhu a0571d4
Overidden tracked operations for swagger lintdiff errors
mjmadhu 925fa7e
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 87c90a4
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu c088103
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 82d8515
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu 1b257e2
Merge branch 'main' into cp-malt-mpt-integration
qiaozha fb57d9f
Merge branch 'main' into cp-malt-mpt-integration
kazrael2119 3c1175c
Merge branch 'main' into cp-malt-mpt-integration
mjmadhu f2b2066
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu dbdd52c
Feedback comment python sdk
mjmadhu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
20 changes: 20 additions & 0 deletions
20
...ht.Management/examples/2025-07-01-preview/PlaywrightWorkspaces_CheckNameAvailability.json
This file contains hidden or 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,20 @@ | ||
{ | ||
"title": "PlaywrightWorkspaces_CheckNameAvailability", | ||
"operationId": "PlaywrightWorkspaces_CheckNameAvailability", | ||
"parameters": { | ||
"api-version": "2025-07-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"body": { | ||
"name": "dummyName", | ||
"type": "Microsoft.LoadTestService/PlaywrightWorkspaces" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"message": "Test message." | ||
} | ||
} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...laywright.Management/examples/2025-07-01-preview/PlaywrightWorkspaces_CreateOrUpdate.json
This file contains hidden or 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,75 @@ | ||
{ | ||
"title": "PlaywrightWorkspaces_CreateOrUpdate", | ||
"operationId": "PlaywrightWorkspaces_CreateOrUpdate", | ||
"parameters": { | ||
"api-version": "2025-07-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"playwrightWorkspaceName": "myWorkspace", | ||
"resource": { | ||
"location": "westus3", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"properties": { | ||
"regionalAffinity": "Enabled", | ||
"localAuth": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "westus3", | ||
"properties": { | ||
"dataplaneUri": "https://api.dataplane.00000000-0000-0000-0000-000000000000.domain.com", | ||
"regionalAffinity": "Enabled", | ||
"localAuth": "Enabled", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/PlaywrightWorkspaces/myWorkspace", | ||
"name": "myWorkspace", | ||
"type": "Microsoft.LoadTestService/PlaywrightWorkspaces", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/locations/westus3/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01-preview" | ||
}, | ||
"body": { | ||
"location": "westus3", | ||
"properties": { | ||
"dataplaneUri": "https://api.dataplane.00000000-0000-0000-0000-000000000000.domain.com", | ||
"regionalAffinity": "Enabled", | ||
"localAuth": "Enabled", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/PlaywrightWorkspaces/myWorkspace", | ||
"name": "myWorkspace", | ||
"type": "Microsoft.LoadTestService/PlaywrightWorkspaces", | ||
"tags": { | ||
"Team": "Dev Exp" | ||
}, | ||
"systemData": { | ||
"createdBy": "userId1001", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-28T12:32:33Z", | ||
"lastModifiedBy": "userId1001", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-28T12:32:33Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ervice/Playwright.Management/examples/2025-07-01-preview/PlaywrightWorkspaces_Delete.json
This file contains hidden or 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,19 @@ | ||
{ | ||
"title": "PlaywrightWorkspaces_Delete", | ||
"operationId": "PlaywrightWorkspaces_Delete", | ||
"parameters": { | ||
"api-version": "2025-07-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "dummyrg", | ||
"playwrightWorkspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/locations/westus3/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01-preview" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
19 changes: 11 additions & 8 deletions
19
...12-01-preview/examples/LoadTests_Get.json → ...-01-preview/PlaywrightWorkspaces_Get.json
This file contains hidden or 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 hidden or 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
17 changes: 10 additions & 7 deletions
17
...xamples/LoadTests_ListBySubscription.json → ...ywrightWorkspaces_ListBySubscription.json
This file contains hidden or 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
31 changes: 13 additions & 18 deletions
31
...01-preview/examples/LoadTests_Update.json → ...-preview/PlaywrightWorkspaces_Update.json
This file contains hidden or 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
20 changes: 20 additions & 0 deletions
20
specification/loadtestservice/Playwright.Management/main.tsp
This file contains hidden or 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,20 @@ | ||
import "@typespec/versioning"; | ||
import "@azure-tools/typespec-azure-resource-manager"; | ||
import "./routes.tsp"; | ||
|
||
using TypeSpec.Versioning; | ||
using Azure.ResourceManager; | ||
|
||
@armProviderNamespace("Microsoft.LoadTestService") | ||
@service(#{ title: "Playwright Service Management API" }) | ||
@doc("Playwright service provides access to Playwright workspace resource and it's operations.") | ||
@versioned(Versions) | ||
namespace Playwright.Management; | ||
|
||
@doc("Playwright service Management API Versions.") | ||
enum Versions { | ||
/** 2025-07-01-preview version */ | ||
@useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) | ||
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) | ||
v2025_07_01_preview: "2025-07-01-preview", | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.