browserstack-node-sdk 1.26.4 → 1.26.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/constants.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/performance-tester.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/ats/src/cloudproviders/AWS.js +0 -1
- package/ats/src/cloudproviders/Azure.js +0 -1
- package/ats/src/cloudproviders/CloudProvider.js +0 -1
- package/ats/src/cloudproviders/utils.js +0 -1
- package/ats/src/templates/azureresources/akscluster.json +0 -127
- package/ats/src/templates/azureresources/azureInstancetypes.json +0 -759
- package/ats/src/templates/azureresources/federatedidentityhub.json +0 -50
- package/ats/src/templates/azureresources/federatedidentitynode.json +0 -50
- package/ats/src/templates/azureresources/managedidentity.json +0 -49
- package/ats/src/templates/azureresources/storageaccount.json +0 -92
- package/ats/src/templates/default-service-account.yaml +0 -5
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
|
3
|
-
"contentVersion": "1.0.0.0",
|
|
4
|
-
"parameters": {
|
|
5
|
-
"clusterName": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"metadata": {
|
|
8
|
-
"description": "The name of the Managed Cluster resource."
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"oidcIssuer": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"metadata": {
|
|
14
|
-
"description": "OIDC Issuer of AKS Cluster"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"gridName": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"metadata": {
|
|
20
|
-
"description": "Grid Name"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"variables": {
|
|
25
|
-
"managedIdentityName": "[concat('turboscale-managed-identity-', parameters('clusterName'))]"
|
|
26
|
-
},
|
|
27
|
-
"resources": [
|
|
28
|
-
{
|
|
29
|
-
"type": "Microsoft.ManagedIdentity/userAssignedIdentities",
|
|
30
|
-
"apiVersion": "2022-01-31-preview",
|
|
31
|
-
"name": "[variables('managedIdentityName')]",
|
|
32
|
-
"location": "[resourceGroup().location]"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials",
|
|
36
|
-
"apiVersion": "2022-01-31-preview",
|
|
37
|
-
"name": "[concat(variables('managedIdentityName'), '/turboscale-federated-identity-hub-', parameters('gridName'))]",
|
|
38
|
-
"dependsOn": [
|
|
39
|
-
"[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName'))]"
|
|
40
|
-
],
|
|
41
|
-
"properties": {
|
|
42
|
-
"issuer": "[parameters('oidcIssuer')]",
|
|
43
|
-
"subject": "[concat('system:serviceaccount:', parameters('gridName'), ':default')]",
|
|
44
|
-
"audiences": [
|
|
45
|
-
"api://AzureADTokenExchange"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
|
3
|
-
"contentVersion": "1.0.0.0",
|
|
4
|
-
"parameters": {
|
|
5
|
-
"clusterName": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"metadata": {
|
|
8
|
-
"description": "The name of the Managed Cluster resource."
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"oidcIssuer": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"metadata": {
|
|
14
|
-
"description": "OIDC Issuer of AKS Cluster"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"gridName": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"metadata": {
|
|
20
|
-
"description": "Grid Name"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"variables": {
|
|
25
|
-
"managedIdentityName": "[concat('turboscale-managed-identity-', parameters('clusterName'))]"
|
|
26
|
-
},
|
|
27
|
-
"resources": [
|
|
28
|
-
{
|
|
29
|
-
"type": "Microsoft.ManagedIdentity/userAssignedIdentities",
|
|
30
|
-
"apiVersion": "2022-01-31-preview",
|
|
31
|
-
"name": "[variables('managedIdentityName')]",
|
|
32
|
-
"location": "[resourceGroup().location]"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials",
|
|
36
|
-
"apiVersion": "2022-01-31-preview",
|
|
37
|
-
"name": "[concat(variables('managedIdentityName'), '/turboscale-federated-identity-node-', parameters('gridName'))]",
|
|
38
|
-
"dependsOn": [
|
|
39
|
-
"[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName'))]"
|
|
40
|
-
],
|
|
41
|
-
"properties": {
|
|
42
|
-
"issuer": "[parameters('oidcIssuer')]",
|
|
43
|
-
"subject": "[concat('system:serviceaccount:', parameters('gridName'), ':browser-node')]",
|
|
44
|
-
"audiences": [
|
|
45
|
-
"api://AzureADTokenExchange"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
|
3
|
-
"contentVersion": "1.0.0.0",
|
|
4
|
-
"parameters": {
|
|
5
|
-
"clusterName": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"metadata": {
|
|
8
|
-
"description": "The name of the Managed Cluster resource."
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"variables": {
|
|
13
|
-
"managedIdentityName": "[concat('turboscale-managed-identity-', parameters('clusterName'))]",
|
|
14
|
-
"BlobDataContributorRoleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'ba92f5b4-2d11-453d-a403-e96b0029c9fe')]",
|
|
15
|
-
"DelegatorRoleDefinitionId": "[subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'db58b8e5-c6ad-4a2a-8342-4190687cbf4a')]"
|
|
16
|
-
},
|
|
17
|
-
"resources": [
|
|
18
|
-
{
|
|
19
|
-
"type": "Microsoft.ManagedIdentity/userAssignedIdentities",
|
|
20
|
-
"apiVersion": "2023-01-31",
|
|
21
|
-
"name": "[variables('managedIdentityName')]",
|
|
22
|
-
"location": "[resourceGroup().location]"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"type": "Microsoft.Authorization/roleAssignments",
|
|
26
|
-
"apiVersion": "2020-08-01-preview",
|
|
27
|
-
"name": "[guid(resourceGroup().id, resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), variables('DelegatorRoleDefinitionId'))]",
|
|
28
|
-
"location": "[resourceGroup().location]",
|
|
29
|
-
"properties": {
|
|
30
|
-
"principalType": "ServicePrincipal",
|
|
31
|
-
"roleDefinitionId": "[variables('DelegatorRoleDefinitionId')]",
|
|
32
|
-
"principalId": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), '2023-01-31').principalId]",
|
|
33
|
-
"scope": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name)]"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"type": "Microsoft.Authorization/roleAssignments",
|
|
38
|
-
"apiVersion": "2020-08-01-preview",
|
|
39
|
-
"name": "[guid(resourceGroup().id, resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), variables('BlobDataContributorRoleDefinitionId'))]",
|
|
40
|
-
"location": "[resourceGroup().location]",
|
|
41
|
-
"properties": {
|
|
42
|
-
"principalType": "ServicePrincipal",
|
|
43
|
-
"roleDefinitionId": "[variables('BlobDataContributorRoleDefinitionId')]",
|
|
44
|
-
"principalId": "[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('managedIdentityName')), '2023-01-31').principalId]",
|
|
45
|
-
"scope": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', resourceGroup().name)]"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
|
3
|
-
"contentVersion": "1.0.0.0",
|
|
4
|
-
"parameters": {
|
|
5
|
-
"storageAccountName": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"metadata": {
|
|
8
|
-
"description": "Storage account name"
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"resources": [
|
|
13
|
-
{
|
|
14
|
-
"type": "Microsoft.Storage/storageAccounts",
|
|
15
|
-
"apiVersion": "2021-04-01",
|
|
16
|
-
"name": "[parameters('storageAccountName')]",
|
|
17
|
-
"location": "[resourceGroup().location]",
|
|
18
|
-
"sku": {
|
|
19
|
-
"name": "Standard_RAGRS",
|
|
20
|
-
"tier": "Standard"
|
|
21
|
-
},
|
|
22
|
-
"kind": "StorageV2",
|
|
23
|
-
"properties": {
|
|
24
|
-
"allowCrossTenantReplication": false,
|
|
25
|
-
"minimumTlsVersion": "TLS1_0",
|
|
26
|
-
"allowBlobPublicAccess": false,
|
|
27
|
-
"networkAcls": {
|
|
28
|
-
"bypass": "AzureServices",
|
|
29
|
-
"virtualNetworkRules": [],
|
|
30
|
-
"ipRules": [],
|
|
31
|
-
"defaultAction": "Allow"
|
|
32
|
-
},
|
|
33
|
-
"supportsHttpsTrafficOnly": true,
|
|
34
|
-
"encryption": {
|
|
35
|
-
"services": {
|
|
36
|
-
"file": {
|
|
37
|
-
"keyType": "Account",
|
|
38
|
-
"enabled": true
|
|
39
|
-
},
|
|
40
|
-
"table": {
|
|
41
|
-
"keyType": "Account",
|
|
42
|
-
"enabled": true
|
|
43
|
-
},
|
|
44
|
-
"blob": {
|
|
45
|
-
"keyType": "Account",
|
|
46
|
-
"enabled": true
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"keySource": "Microsoft.Storage"
|
|
50
|
-
},
|
|
51
|
-
"accessTier": "Hot"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"type": "Microsoft.Storage/storageAccounts/blobServices",
|
|
56
|
-
"apiVersion": "2021-04-01",
|
|
57
|
-
"name": "[concat(parameters('storageAccountName'), '/default')]",
|
|
58
|
-
"dependsOn": [
|
|
59
|
-
"[resourceId('Microsoft.Storage/storageAccounts', parameters('storageAccountName'))]"
|
|
60
|
-
],
|
|
61
|
-
"sku": {
|
|
62
|
-
"name": "Standard_RAGRS",
|
|
63
|
-
"tier": "Standard"
|
|
64
|
-
},
|
|
65
|
-
"properties": {
|
|
66
|
-
"cors": {
|
|
67
|
-
"corsRules": [
|
|
68
|
-
{
|
|
69
|
-
"allowedOrigins": [
|
|
70
|
-
"*"
|
|
71
|
-
],
|
|
72
|
-
"allowedMethods": [
|
|
73
|
-
"GET"
|
|
74
|
-
],
|
|
75
|
-
"maxAgeInSeconds": 0,
|
|
76
|
-
"exposedHeaders": [
|
|
77
|
-
""
|
|
78
|
-
],
|
|
79
|
-
"allowedHeaders": [
|
|
80
|
-
"*"
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
"deleteRetentionPolicy": {
|
|
86
|
-
"allowPermanentDelete": false,
|
|
87
|
-
"enabled": false
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
}
|