Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
83ee5eb
First commit of adding existing Playwright Dataplane APIs in Microsof…
mjmadhu Apr 17, 2025
45940d6
Added APIs for Playwright in Microsoft.Loadtestservice
mjmadhu Apr 17, 2025
52a6fca
Merge branch 'main' into malt-mpt-integration-dataplane
mjmadhu Apr 17, 2025
5002beb
Added readme changes for fixing CI failures
mjmadhu Apr 17, 2025
aea1376
Resolved examples error
mjmadhu Apr 17, 2025
d658a44
Removed playwright folder for proper naming
mjmadhu Apr 17, 2025
6520954
Renamed playwright service folder
mjmadhu Apr 17, 2025
d767dab
Removed shared folder as suggested
mjmadhu Apr 18, 2025
fc417e3
Merge branch 'main' into malt-mpt-integration-dataplane
mjmadhu Apr 18, 2025
503b488
Merge branch 'main' into malt-mpt-integration-dataplane
mjmadhu Apr 22, 2025
9f3ffce
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Apr 28, 2025
a05d678
Readme files modifications
mjmadhu Apr 28, 2025
069c158
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Apr 28, 2025
bd419d9
Added missing version from readme
mjmadhu Apr 28, 2025
acd1a9b
Renamed folder as suggested
mjmadhu Apr 29, 2025
024bddb
Merge branch 'main' into malt-mpt-integration-dataplane
mjmadhu Apr 29, 2025
78183f9
Removed code to swagger sections from readme
mjmadhu Apr 29, 2025
6d9b907
Merge branch 'malt-mpt-integration-dataplane' of https://github.com/A…
mjmadhu Apr 29, 2025
892d369
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Apr 29, 2025
e37ad94
Generate-metadata set to true
mjmadhu Apr 29, 2025
aec41ab
Removed GET workspaces API and added patterns
mjmadhu Apr 29, 2025
d074f99
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu May 19, 2025
2b16431
Merge branch 'main' into malt-mpt-integration-dataplane
mikeharder May 19, 2025
689bc07
TSP Formatting
mjmadhu May 20, 2025
5378c05
Merge branch 'malt-mpt-integration-dataplane' of https://github.com/A…
mjmadhu May 20, 2025
e567cf1
Added suppressions.yaml
mjmadhu May 20, 2025
a6de0e0
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu May 20, 2025
2b5ba50
Removing deprecated preview versions
mjmadhu May 20, 2025
2936195
Formatting files
mjmadhu May 20, 2025
5fb0ace
Guid maxlength correction
mjmadhu May 20, 2025
d472e2f
Maxlength correction
mjmadhu May 20, 2025
90490b2
Re-checking swagger lint diff errors
mjmadhu May 20, 2025
70e4858
Removed all suppressions
mjmadhu May 20, 2025
d1b7473
Resolved example issue
mjmadhu May 20, 2025
27877f0
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu May 27, 2025
313c295
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Jun 6, 2025
3bf37b0
Added runid as query param in get brwosers api
mjmadhu Jun 6, 2025
0df56c1
Added test runs APIs
mjmadhu Jun 6, 2025
25fdede
Added certain validations
mjmadhu Jun 6, 2025
dd4c5da
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Jun 11, 2025
2bd4a64
Updated example
mjmadhu Jun 11, 2025
4a502de
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Jun 13, 2025
f1a0f3e
Updated tspconfig.yaml
mjmadhu Jun 13, 2025
ed8f279
TSP Validation fix
mjmadhu Jun 13, 2025
23ca2ba
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Jun 17, 2025
b145fc1
Review comments on Test run model
mjmadhu Jun 17, 2025
916d9ff
Review comments on Test run model
mjmadhu Jun 17, 2025
2567d9a
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
mjmadhu Jun 18, 2025
0b2c892
Fixed Typo in property name for model validation
mjmadhu Jun 18, 2025
b45bb0a
Merge branch 'main' into malt-mpt-integration-dataplane
mjmadhu Jun 23, 2025
6b7669d
TSP Validation fix
mjmadhu Jun 23, 2025
35fb2d4
TSP Validation fix
mjmadhu Jun 23, 2025
4303998
TSP Validation fix
mjmadhu Jun 23, 2025
3e64c22
TSP Validation fix
mjmadhu Jun 23, 2025
d00ede8
TSP Validation fix
mjmadhu Jun 23, 2025
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
Prev Previous commit
Next Next commit
Added certain validations
  • Loading branch information
mjmadhu committed Jun 6, 2025
commit 25fdede8df0b10b9ee10b63d960be7d649a6af68
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"version": "string",
"runnerName": "string"
},
"sdkLanguage": "string"
"sdkLanguage": "JAVASCRIPT"
},
"ciConfig": {
"providerName": "string",
Expand All @@ -32,7 +32,7 @@
"revisionUrl": "string"
},
"summary": {
"status": "string",
"status": "RUNNING",
"billableTime": 0,
"numBrowserSessions": 0,
"jobs": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"version": "string",
"runnerName": "string"
},
"sdkLanguage": "string"
"sdkLanguage": "JAVASCRIPT"
},
"ciConfig": {
"providerName": "string",
Expand All @@ -30,7 +30,7 @@
"revisionUrl": "string"
},
"summary": {
"status": "string",
"status": "RUNNING",
"billableTime": 0,
"numBrowserSessions": 0,
"jobs": [
Expand Down
61 changes: 45 additions & 16 deletions specification/loadtestservice/Playwright/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -90,27 +90,28 @@ model TestRun {
id: string;

@doc("The test-run display name.")
@maxLength(200)
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
displayName: string;

@doc("The test-run creator's id.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
@visibility(Lifecycle.Read)
creatorId: string;

@doc("The test-run creator's name.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
@visibility(Lifecycle.Read)
creatorName: string;

@doc("The test-run config.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
config: RunConfig;
config?: RunConfig;

@doc("The test-run CI Config.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
ciConfig: CiConfig;
ciConfig?: CiConfig;

@doc("The test-run summary.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
@visibility(Lifecycle.Read)
summary: RunSummary;
}

Expand All @@ -122,7 +123,21 @@ model RunConfig {

@doc("The SDK Language used for run.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
sdkLanguage: string;
sdkLanguage: SDKLanguage;
}

@doc("The SDK Language used for run.")
union SDKLanguage {
string,

@doc("JAVASCRIPT SDK")
JAVASCRIPT: "JAVASCRIPT",

@doc("TYPESCRIPT SDK")
TYPESCRIPT: "TYPESCRIPT",

@doc("CSHARP SDK")
CSHARP: "CSHARP",
}

@doc("The run framework.")
Expand Down Expand Up @@ -166,42 +181,56 @@ model CiConfig {
@doc("The run summary.")
model RunSummary {
@doc("The run status.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
status: string;
@visibility(Lifecycle.Read)
status: RunStatus;

@doc("The run billable time.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
billableTime: int32;
billableTime?: int64;

@doc("The number of browser sessions corresponding to the run.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
numBrowserSessions: int32;
numBrowserSessions?: int64;

@doc("The list of jobs corresponding to the run.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
jobs: Array<string>;
jobs?: Array<string>;

@doc("The list of projects corresponding to the run.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
projects: Array<string>;
projects?: Array<string>;

@doc("The list of tags corresponding to the run.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
tags: Array<string>;
tags?: Array<string>;

@doc("The run start time as utcDateTime.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
startTime: utcDateTime;

@doc("The run end time as utcDateTime.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
endTime: utcDateTime;
endTime?: utcDateTime;

@doc("The run duration.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
duration: int32;
duration?: int64;

@doc("The list of error messages corresponding to the run.")
@visibility(Lifecycle.Read, Lifecycle.Create, Lifecycle.Update)
errorMessages: Array<string>;
errorMessages?: Array<string>;
}

@doc("The run status.")
union RunStatus {
string,

@doc("The run status is RUNNING")
RUNNING: "RUNNING",

@doc("The run status is CLIENT_COMPLETE")
CLIENT_COMPLETE: "CLIENT_COMPLETE",

@doc("The run status is SERVER_COMPLETE")
SERVER_COMPLETE: "SERVER_COMPLETE",
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"version": "string",
"runnerName": "string"
},
"sdkLanguage": "string"
"sdkLanguage": "JAVASCRIPT"
},
"ciConfig": {
"providerName": "string",
Expand All @@ -32,7 +32,7 @@
"revisionUrl": "string"
},
"summary": {
"status": "string",
"status": "RUNNING",
"billableTime": 0,
"numBrowserSessions": 0,
"jobs": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"version": "string",
"runnerName": "string"
},
"sdkLanguage": "string"
"sdkLanguage": "JAVASCRIPT"
},
"ciConfig": {
"providerName": "string",
Expand All @@ -30,7 +30,7 @@
"revisionUrl": "string"
},
"summary": {
"status": "string",
"status": "RUNNING",
"billableTime": 0,
"numBrowserSessions": 0,
"jobs": [
Expand Down
Loading
Loading