diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 73e3323350a..beea3a4f102 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -833,8 +833,8 @@ /sdk/portal/ci.mgmt.yml @qiaozha @dw511214992 @MaryGao # PRLabel: %Mgmt -/sdk/loadtestservice/arm-loadtestservice/ @qiaozha @dw511214992 @MaryGao -/sdk/loadtestservice/ci.mgmt.yml @qiaozha @dw511214992 @MaryGao +/sdk/loadtesting/arm-loadtestservice/ @qiaozha @dw511214992 @MaryGao +/sdk/loadtesting/ci.mgmt.yml @qiaozha @dw511214992 @MaryGao # PRLabel: %Mgmt /sdk/purview/arm-purview/ @qiaozha @dw511214992 @MaryGao diff --git a/rush.json b/rush.json index 1697221aded..cc922ef7c55 100644 --- a/rush.json +++ b/rush.json @@ -1860,7 +1860,7 @@ }, { "packageName": "@azure-rest/load-testing", - "projectFolder": "sdk/loadtestservice/load-testing-rest", + "projectFolder": "sdk/loadtesting/load-testing-rest", "versionPolicyName": "client" }, { @@ -1885,7 +1885,7 @@ }, { "packageName": "@azure/arm-loadtesting", - "projectFolder": "sdk/loadtestservice/arm-loadtesting", + "projectFolder": "sdk/loadtesting/arm-loadtesting", "versionPolicyName": "management" }, { diff --git a/sdk/loadtestservice/arm-loadtesting/CHANGELOG.md b/sdk/loadtesting/arm-loadtesting/CHANGELOG.md similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/CHANGELOG.md rename to sdk/loadtesting/arm-loadtesting/CHANGELOG.md diff --git a/sdk/loadtestservice/arm-loadtesting/LICENSE b/sdk/loadtesting/arm-loadtesting/LICENSE similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/LICENSE rename to sdk/loadtesting/arm-loadtesting/LICENSE diff --git a/sdk/loadtestservice/arm-loadtesting/README.md b/sdk/loadtesting/arm-loadtesting/README.md similarity index 99% rename from sdk/loadtestservice/arm-loadtesting/README.md rename to sdk/loadtesting/arm-loadtesting/README.md index 8056a35e52e..8a63766f41b 100644 --- a/sdk/loadtestservice/arm-loadtesting/README.md +++ b/sdk/loadtesting/arm-loadtesting/README.md @@ -4,7 +4,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f LoadTest client provides access to LoadTest Resource and it's status operations. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-loadtesting) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-loadtesting) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) diff --git a/sdk/loadtestservice/arm-loadtesting/_meta.json b/sdk/loadtesting/arm-loadtesting/_meta.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/_meta.json rename to sdk/loadtesting/arm-loadtesting/_meta.json diff --git a/sdk/loadtestservice/arm-loadtesting/api-extractor.json b/sdk/loadtesting/arm-loadtesting/api-extractor.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/api-extractor.json rename to sdk/loadtesting/arm-loadtesting/api-extractor.json diff --git a/sdk/loadtestservice/arm-loadtesting/package.json b/sdk/loadtesting/arm-loadtesting/package.json similarity index 98% rename from sdk/loadtestservice/arm-loadtesting/package.json rename to sdk/loadtesting/arm-loadtesting/package.json index 5bc34eb18f4..479c4db000a 100644 --- a/sdk/loadtestservice/arm-loadtesting/package.json +++ b/sdk/loadtesting/arm-loadtesting/package.json @@ -111,7 +111,7 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting", "//sampleConfiguration": { "productName": "", "productSlugs": [ diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_check_quota_bucket_availability.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_check_quota_bucket_availability.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_check_quota_bucket_availability.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_check_quota_bucket_availability.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_get_quota_bucket.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_get_quota_bucket.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_get_quota_bucket.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_get_quota_bucket.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_list_quota_buckets.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_list_quota_buckets.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_list_quota_buckets.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_quota_operations/recording_list_quota_buckets.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_create_resource.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_create_resource.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_create_resource.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_create_resource.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_delete_resource.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_delete_resource.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_delete_resource.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_delete_resource.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_get_resource.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_get_resource.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_get_resource.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_get_resource.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_patch_resource.json b/sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_patch_resource.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_patch_resource.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/load_testing_resource_operations/recording_patch_resource.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_create_test.json b/sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_create_test.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_create_test.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_create_test.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_delete_test.json b/sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_delete_test.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_delete_test.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_delete_test.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_get_test.json b/sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_get_test.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_get_test.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_get_test.json diff --git a/sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_list_test.json b/sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_list_test.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_list_test.json rename to sdk/loadtesting/arm-loadtesting/recordings/node/loadtesting_test/recording_loadtests_list_test.json diff --git a/sdk/loadtestservice/arm-loadtesting/review/arm-loadtesting.api.md b/sdk/loadtesting/arm-loadtesting/review/arm-loadtesting.api.md similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/review/arm-loadtesting.api.md rename to sdk/loadtesting/arm-loadtesting/review/arm-loadtesting.api.md diff --git a/sdk/loadtestservice/arm-loadtesting/rollup.config.js b/sdk/loadtesting/arm-loadtesting/rollup.config.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/rollup.config.js rename to sdk/loadtesting/arm-loadtesting/rollup.config.js diff --git a/sdk/loadtestservice/arm-loadtesting/sample.env b/sdk/loadtesting/arm-loadtesting/sample.env similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/sample.env rename to sdk/loadtesting/arm-loadtesting/sample.env diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsCreateOrUpdateSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsCreateOrUpdateSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsCreateOrUpdateSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsCreateOrUpdateSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsDeleteSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsDeleteSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsDeleteSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsDeleteSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsGetSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsGetSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsGetSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsGetSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsListByResourceGroupSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsListByResourceGroupSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsListByResourceGroupSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsListByResourceGroupSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsListBySubscriptionSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsListBySubscriptionSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsListBySubscriptionSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsListBySubscriptionSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsUpdateSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsUpdateSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/loadTestsUpdateSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/loadTestsUpdateSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/operationsListSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/operationsListSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/operationsListSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/operationsListSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/quotasCheckAvailabilitySample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/quotasCheckAvailabilitySample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/quotasCheckAvailabilitySample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/quotasCheckAvailabilitySample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/quotasGetSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/quotasGetSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/quotasGetSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/quotasGetSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples-dev/quotasListSample.ts b/sdk/loadtesting/arm-loadtesting/samples-dev/quotasListSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples-dev/quotasListSample.ts rename to sdk/loadtesting/arm-loadtesting/samples-dev/quotasListSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/README.md b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/README.md similarity index 85% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/README.md rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/README.md index 0dd912d01f6..cdee6e5ccfb 100644 --- a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/README.md +++ b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/README.md @@ -54,17 +54,17 @@ npx cross-env LOADTESTSERVICE_SUBSCRIPTION_ID=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[loadtestscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsCreateOrUpdateSample.js -[loadtestsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsDeleteSample.js -[loadtestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsGetSample.js -[loadtestslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListByResourceGroupSample.js -[loadtestslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListBySubscriptionSample.js -[loadtestslistoutboundnetworkdependenciesendpointssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListOutboundNetworkDependenciesEndpointsSample.js -[loadtestsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsUpdateSample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/operationsListSample.js -[quotascheckavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasCheckAvailabilitySample.js -[quotasgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasGetSample.js -[quotaslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasListSample.js +[loadtestscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsCreateOrUpdateSample.js +[loadtestsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsDeleteSample.js +[loadtestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsGetSample.js +[loadtestslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListByResourceGroupSample.js +[loadtestslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListBySubscriptionSample.js +[loadtestslistoutboundnetworkdependenciesendpointssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListOutboundNetworkDependenciesEndpointsSample.js +[loadtestsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsUpdateSample.js +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/operationsListSample.js +[quotascheckavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasCheckAvailabilitySample.js +[quotasgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasGetSample.js +[quotaslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasListSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-loadtesting?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting/README.md diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsCreateOrUpdateSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsCreateOrUpdateSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsCreateOrUpdateSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsCreateOrUpdateSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsDeleteSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsDeleteSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsDeleteSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsDeleteSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsGetSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsGetSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsGetSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsGetSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListByResourceGroupSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListByResourceGroupSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListByResourceGroupSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListByResourceGroupSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListBySubscriptionSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListBySubscriptionSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListBySubscriptionSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListBySubscriptionSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListOutboundNetworkDependenciesEndpointsSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListOutboundNetworkDependenciesEndpointsSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsListOutboundNetworkDependenciesEndpointsSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsListOutboundNetworkDependenciesEndpointsSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsUpdateSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsUpdateSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/loadTestsUpdateSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/loadTestsUpdateSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/operationsListSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/operationsListSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/operationsListSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/operationsListSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/package.json b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/package.json similarity index 88% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/package.json rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/package.json index 4b23852a27f..b05736e49a2 100644 --- a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/package.json +++ b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/package.json @@ -9,7 +9,7 @@ "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/loadtestservice/arm-loadtesting" + "directory": "sdk/loadtesting/arm-loadtesting" }, "keywords": [ "node", @@ -23,7 +23,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting", "dependencies": { "@azure/arm-loadtesting": "latest", "dotenv": "latest", diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasCheckAvailabilitySample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasCheckAvailabilitySample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasCheckAvailabilitySample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasCheckAvailabilitySample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasGetSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasGetSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasGetSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasGetSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasListSample.js b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasListSample.js similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/quotasListSample.js rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/quotasListSample.js diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/sample.env b/sdk/loadtesting/arm-loadtesting/samples/v1/javascript/sample.env similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/javascript/sample.env rename to sdk/loadtesting/arm-loadtesting/samples/v1/javascript/sample.env diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/README.md b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/README.md similarity index 86% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/README.md rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/README.md index afff028441f..752fe35c4ba 100644 --- a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/README.md +++ b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/README.md @@ -66,18 +66,18 @@ npx cross-env LOADTESTSERVICE_SUBSCRIPTION_ID=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[loadtestscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsCreateOrUpdateSample.ts -[loadtestsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsDeleteSample.ts -[loadtestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsGetSample.ts -[loadtestslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListByResourceGroupSample.ts -[loadtestslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListBySubscriptionSample.ts -[loadtestslistoutboundnetworkdependenciesendpointssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts -[loadtestsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsUpdateSample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/operationsListSample.ts -[quotascheckavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasCheckAvailabilitySample.ts -[quotasgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasGetSample.ts -[quotaslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasListSample.ts +[loadtestscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsCreateOrUpdateSample.ts +[loadtestsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsDeleteSample.ts +[loadtestsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsGetSample.ts +[loadtestslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListByResourceGroupSample.ts +[loadtestslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListBySubscriptionSample.ts +[loadtestslistoutboundnetworkdependenciesendpointssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts +[loadtestsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsUpdateSample.ts +[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/operationsListSample.ts +[quotascheckavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasCheckAvailabilitySample.ts +[quotasgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasGetSample.ts +[quotaslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasListSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-loadtesting?view=azure-node-preview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/package.json b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/package.json similarity index 90% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/package.json rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/package.json index f04036a8a76..428abf0de64 100644 --- a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/package.json +++ b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/package.json @@ -13,7 +13,7 @@ "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/loadtestservice/arm-loadtesting" + "directory": "sdk/loadtesting/arm-loadtesting" }, "keywords": [ "node", @@ -27,7 +27,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtesting", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/arm-loadtesting", "dependencies": { "@azure/arm-loadtesting": "latest", "dotenv": "latest", diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/sample.env b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/sample.env similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/sample.env rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/sample.env diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsCreateOrUpdateSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsCreateOrUpdateSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsCreateOrUpdateSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsCreateOrUpdateSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsDeleteSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsDeleteSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsDeleteSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsDeleteSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsGetSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsGetSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsGetSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsGetSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListByResourceGroupSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListByResourceGroupSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListByResourceGroupSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListByResourceGroupSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListBySubscriptionSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListBySubscriptionSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListBySubscriptionSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListBySubscriptionSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsListOutboundNetworkDependenciesEndpointsSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsUpdateSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsUpdateSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/loadTestsUpdateSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/loadTestsUpdateSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/operationsListSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/operationsListSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/operationsListSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/operationsListSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasCheckAvailabilitySample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasCheckAvailabilitySample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasCheckAvailabilitySample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasCheckAvailabilitySample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasGetSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasGetSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasGetSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasGetSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasListSample.ts b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasListSample.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/src/quotasListSample.ts rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/src/quotasListSample.ts diff --git a/sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/tsconfig.json b/sdk/loadtesting/arm-loadtesting/samples/v1/typescript/tsconfig.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/samples/v1/typescript/tsconfig.json rename to sdk/loadtesting/arm-loadtesting/samples/v1/typescript/tsconfig.json diff --git a/sdk/loadtestservice/arm-loadtesting/src/index.ts b/sdk/loadtesting/arm-loadtesting/src/index.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/index.ts rename to sdk/loadtesting/arm-loadtesting/src/index.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/loadTestClient.ts b/sdk/loadtesting/arm-loadtesting/src/loadTestClient.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/loadTestClient.ts rename to sdk/loadtesting/arm-loadtesting/src/loadTestClient.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/lroImpl.ts b/sdk/loadtesting/arm-loadtesting/src/lroImpl.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/lroImpl.ts rename to sdk/loadtesting/arm-loadtesting/src/lroImpl.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/models/index.ts b/sdk/loadtesting/arm-loadtesting/src/models/index.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/models/index.ts rename to sdk/loadtesting/arm-loadtesting/src/models/index.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/models/mappers.ts b/sdk/loadtesting/arm-loadtesting/src/models/mappers.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/models/mappers.ts rename to sdk/loadtesting/arm-loadtesting/src/models/mappers.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/models/parameters.ts b/sdk/loadtesting/arm-loadtesting/src/models/parameters.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/models/parameters.ts rename to sdk/loadtesting/arm-loadtesting/src/models/parameters.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operations/index.ts b/sdk/loadtesting/arm-loadtesting/src/operations/index.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operations/index.ts rename to sdk/loadtesting/arm-loadtesting/src/operations/index.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operations/loadTests.ts b/sdk/loadtesting/arm-loadtesting/src/operations/loadTests.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operations/loadTests.ts rename to sdk/loadtesting/arm-loadtesting/src/operations/loadTests.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operations/operations.ts b/sdk/loadtesting/arm-loadtesting/src/operations/operations.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operations/operations.ts rename to sdk/loadtesting/arm-loadtesting/src/operations/operations.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operations/quotas.ts b/sdk/loadtesting/arm-loadtesting/src/operations/quotas.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operations/quotas.ts rename to sdk/loadtesting/arm-loadtesting/src/operations/quotas.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/index.ts b/sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/index.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/index.ts rename to sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/index.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/loadTests.ts b/sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/loadTests.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/loadTests.ts rename to sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/loadTests.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/operations.ts b/sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/operations.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/operations.ts rename to sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/operations.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/quotas.ts b/sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/quotas.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/operationsInterfaces/quotas.ts rename to sdk/loadtesting/arm-loadtesting/src/operationsInterfaces/quotas.ts diff --git a/sdk/loadtestservice/arm-loadtesting/src/pagingHelper.ts b/sdk/loadtesting/arm-loadtesting/src/pagingHelper.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/src/pagingHelper.ts rename to sdk/loadtesting/arm-loadtesting/src/pagingHelper.ts diff --git a/sdk/loadtestservice/arm-loadtesting/test/loadtesting_quota_operations.spec.ts b/sdk/loadtesting/arm-loadtesting/test/loadtesting_quota_operations.spec.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/test/loadtesting_quota_operations.spec.ts rename to sdk/loadtesting/arm-loadtesting/test/loadtesting_quota_operations.spec.ts diff --git a/sdk/loadtestservice/arm-loadtesting/test/loadtesting_resource_operations.spec.ts b/sdk/loadtesting/arm-loadtesting/test/loadtesting_resource_operations.spec.ts similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/test/loadtesting_resource_operations.spec.ts rename to sdk/loadtesting/arm-loadtesting/test/loadtesting_resource_operations.spec.ts diff --git a/sdk/loadtestservice/arm-loadtesting/tsconfig.json b/sdk/loadtesting/arm-loadtesting/tsconfig.json similarity index 100% rename from sdk/loadtestservice/arm-loadtesting/tsconfig.json rename to sdk/loadtesting/arm-loadtesting/tsconfig.json diff --git a/sdk/loadtestservice/ci.mgmt.yml b/sdk/loadtesting/ci.mgmt.yml similarity index 71% rename from sdk/loadtestservice/ci.mgmt.yml rename to sdk/loadtesting/ci.mgmt.yml index 885a98f5593..a598bb7c34b 100644 --- a/sdk/loadtestservice/ci.mgmt.yml +++ b/sdk/loadtesting/ci.mgmt.yml @@ -8,8 +8,8 @@ trigger: - hotfix/* paths: include: - - sdk/loadtestservice/ci.mgmt.yml - - sdk/loadtestservice/arm-loadtesting + - sdk/loadtesting/ci.mgmt.yml + - sdk/loadtesting/arm-loadtesting pr: branches: include: @@ -21,12 +21,12 @@ pr: - feature/v4 paths: include: - - sdk/loadtestservice/ci.mgmt.yml - - sdk/loadtestservice/arm-loadtesting + - sdk/loadtesting/ci.mgmt.yml + - sdk/loadtesting/arm-loadtesting extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: - ServiceDirectory: loadtestservice + ServiceDirectory: loadtesting Artifacts: - name: azure-arm-loadtesting safeName: azurearmloadtesting diff --git a/sdk/loadtestservice/ci.yml b/sdk/loadtesting/ci.yml similarity index 66% rename from sdk/loadtestservice/ci.yml rename to sdk/loadtesting/ci.yml index 78ab6a583f8..f55b619c3cd 100644 --- a/sdk/loadtestservice/ci.yml +++ b/sdk/loadtesting/ci.yml @@ -8,10 +8,10 @@ trigger: - hotfix/* paths: include: - - sdk/loadtestservice/ + - sdk/loadtesting/ exclude: - - sdk/loadtestservice/ci.mgmt.yml - - sdk/loadtestservice/arm-loadtesting + - sdk/loadtesting/ci.mgmt.yml + - sdk/loadtesting/arm-loadtesting pr: branches: include: @@ -21,14 +21,14 @@ pr: - hotfix/* paths: include: - - sdk/loadtestservice/ + - sdk/loadtesting/ exclude: - - sdk/loadtestservice/ci.mgmt.yml - - sdk/loadtestservice/arm-loadtesting + - sdk/loadtesting/ci.mgmt.yml + - sdk/loadtesting/arm-loadtesting extends: template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: - ServiceDirectory: loadtestservice + ServiceDirectory: loadtesting Artifacts: - name: azure-rest-load-testing safeName: azurerestloadtesting diff --git a/sdk/loadtestservice/load-testing-rest/.eslintrc.json b/sdk/loadtesting/load-testing-rest/.eslintrc.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/.eslintrc.json rename to sdk/loadtesting/load-testing-rest/.eslintrc.json diff --git a/sdk/loadtestservice/load-testing-rest/CHANGELOG.md b/sdk/loadtesting/load-testing-rest/CHANGELOG.md similarity index 100% rename from sdk/loadtestservice/load-testing-rest/CHANGELOG.md rename to sdk/loadtesting/load-testing-rest/CHANGELOG.md diff --git a/sdk/loadtestservice/load-testing-rest/LICENSE b/sdk/loadtesting/load-testing-rest/LICENSE similarity index 100% rename from sdk/loadtestservice/load-testing-rest/LICENSE rename to sdk/loadtesting/load-testing-rest/LICENSE diff --git a/sdk/loadtestservice/load-testing-rest/README.md b/sdk/loadtesting/load-testing-rest/README.md similarity index 90% rename from sdk/loadtestservice/load-testing-rest/README.md rename to sdk/loadtesting/load-testing-rest/README.md index f7869585e07..e7dc416e404 100644 --- a/sdk/loadtestservice/load-testing-rest/README.md +++ b/sdk/loadtesting/load-testing-rest/README.md @@ -100,12 +100,13 @@ In the above example, `eus` represents the Azure region `East US`. ```javascript import { AzureLoadTestingClient } from "@azure-rest/load-testing"; +import AzureLoadTesting from "@azure-rest/load-testing"; import { DefaultAzureCredential } from "@azure/identity"; var TEST_ID = "some-test-id"; var DISPLAY_NAME = "my-load-test"; -const client: AzureLoadTestingClient = AzureLoadTesting(Endpoint, new DefaultAzureCredential()); +const client: AzureLoadTestingClient = AzureLoadTesting("", new DefaultAzureCredential()); await client.path("/tests/{testId}", TEST_ID).patch({ contentType: "application/merge-patch+json", @@ -126,11 +127,13 @@ await client.path("/tests/{testId}", TEST_ID).patch({ ### Uploading .jmx file to a Test ```javascript -import { AzureLoadTestingClient, getLongRunningPoller } from "@azure-rest/load-testing"; +import { AzureLoadTestingClient, getLongRunningPoller, isUnexpected } from "@azure-rest/load-testing"; +import AzureLoadTesting from "@azure-rest/load-testing"; +import { AbortController } from "@azure/abort-controller"; import { DefaultAzureCredential } from "@azure/identity"; import { createReadStream } from "fs"; -const client: AzureLoadTestingClient = AzureLoadTesting(Endpoint, new DefaultAzureCredential()); +const client: AzureLoadTestingClient = AzureLoadTesting("", new DefaultAzureCredential()); var TEST_ID = "some-test-id"; const readStream = createReadStream("./sample.jmx"); @@ -155,7 +158,7 @@ fileValidateResult = await fileValidatePoller.pollUntilDone({ new Error("Error in polling file Validation" + ex.message); //polling timed out } -if (fileUploadPoller.getOperationState().status != "succeeded" && fileValidateResult) +if (fileValidatePoller.getOperationState().status != "succeeded" && fileValidateResult) throw new Error( "There is some issue in validation, please make sure uploaded file is a valid JMX." + fileValidateResult.body.validationFailureDetails @@ -165,10 +168,12 @@ if (fileUploadPoller.getOperationState().status != "succeeded" && fileValidateRe ### Running a Test and fetching Metrics ```javascript -import { AzureLoadTestingClient, getLongRunningPoller } from "@azure-rest/load-testing"; +import { AzureLoadTestingClient, getLongRunningPoller, isUnexpected } from "@azure-rest/load-testing"; +import AzureLoadTesting from "@azure-rest/load-testing"; import { DefaultAzureCredential } from "@azure/identity"; +import { AbortController } from "@azure/abort-controller"; -const client: AzureLoadTestingClient = AzureLoadTesting(Endpoint, new DefaultAzureCredential()); +const client: AzureLoadTestingClient = AzureLoadTesting("", new DefaultAzureCredential()); var TEST_ID = "some-test-id"; var DISPLAY_NAME = "my-load-test"; @@ -210,7 +215,7 @@ const testRunPoller = await getLongRunningPoller(client, testRunCreationResult); // get list of all metric namespaces and pick the first one const metricNamespaces = await client - .path("/test-runs/{testRunId}/metric-namespaces", testRunId) + .path("/test-runs/{testRunId}/metric-namespaces", TEST_RUN_ID) .get(); if (isUnexpected(metricNamespaces)) { @@ -225,7 +230,7 @@ const testRunPoller = await getLongRunningPoller(client, testRunCreationResult); // get list of all metric definitions and pick the first one const metricDefinitions = await client - .path("/test-runs/{testRunId}/metric-definitions", testRunId) + .path("/test-runs/{testRunId}/metric-definitions", TEST_RUN_ID) .get({ queryParameters: { metricNamespace: metricNamespace.name, @@ -243,7 +248,7 @@ const testRunPoller = await getLongRunningPoller(client, testRunCreationResult); } // fetch client metrics using metric namespace and metric name - const metricsResult = await client.path("/test-runs/{testRunId}/metrics", testRunId).post({ + const metricsResult = await client.path("/test-runs/{testRunId}/metrics", TEST_RUN_ID).post({ queryParameters: { metricname: metricDefinition.name, metricNamespace: metricNamespace.name, @@ -288,8 +293,8 @@ For details on contributing to this repository, see the [contributing guide](htt -[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/src -[sample_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/samples/v1-beta +[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/src +[sample_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/samples/v1-beta [api_reference_doc]: https://docs.microsoft.com/rest/api/loadtesting/ [product_documentation]: https://azure.microsoft.com/services/load-testing/ [azure_subscription]: https://azure.microsoft.com/free/ diff --git a/sdk/loadtestservice/load-testing-rest/api-extractor.json b/sdk/loadtesting/load-testing-rest/api-extractor.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/api-extractor.json rename to sdk/loadtesting/load-testing-rest/api-extractor.json diff --git a/sdk/loadtestservice/load-testing-rest/karma.conf.js b/sdk/loadtesting/load-testing-rest/karma.conf.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/karma.conf.js rename to sdk/loadtesting/load-testing-rest/karma.conf.js diff --git a/sdk/loadtestservice/load-testing-rest/package.json b/sdk/loadtesting/load-testing-rest/package.json similarity index 99% rename from sdk/loadtestservice/load-testing-rest/package.json rename to sdk/loadtesting/load-testing-rest/package.json index 9461b3ee4ca..ee8a5d91295 100644 --- a/sdk/loadtestservice/load-testing-rest/package.json +++ b/sdk/loadtesting/load-testing-rest/package.json @@ -118,7 +118,7 @@ "uuid": "^9.0.0", "typescript": "~4.8.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md", "//metadata": { "constantPaths": [ { diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_create_a_loadtest.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_create_a_loadtest.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_create_a_loadtest.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_create_a_loadtest.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_create_the_app_components.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_create_the_app_components.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_create_the_app_components.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_create_the_app_components.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test_file.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test_file.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_delete_the_test_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_app_components.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_app_components.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_app_components.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_app_components.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_file.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_file.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_get_the_test_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_additional_file_without_lro.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_additional_file_without_lro.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_additional_file_without_lro.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_additional_file_without_lro.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro404.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro404.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_creation/recording_should_upload_the_test_file_with_lro404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_be_able_to_create_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_be_able_to_create_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_be_able_to_create_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_be_able_to_create_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_app_component_for_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_app_component_for_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_app_component_for_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_app_component_for_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_loadtest.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_loadtest.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_loadtest.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_loadtest.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_create_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_the_test.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_the_test.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_the_test.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_delete_the_test.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_app_components.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_app_components.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_app_components.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_app_components.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_timeout_the_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_timeout_the_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_timeout_the_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_timeout_the_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_upload_the_test_file_with_lro.json b/sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_upload_the_test_file_with_lro.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/browsers/test_run_creation/recording_should_upload_the_test_file_with_lro.json rename to sdk/loadtesting/load-testing-rest/recordings/browsers/test_run_creation/recording_should_upload_the_test_file_with_lro.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_create_a_loadtest.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_create_a_loadtest.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_create_a_loadtest.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_create_a_loadtest.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_create_the_app_components.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_create_the_app_components.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_create_the_app_components.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_create_the_app_components.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test_file.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test_file.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_delete_the_test_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_app_components.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_app_components.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_app_components.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_app_components.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_file.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_file.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_get_the_test_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_not_upload_the_test_file_with_lrotimeout.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_additional_file_without_lro.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_additional_file_without_lro.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_additional_file_without_lro.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_additional_file_without_lro.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro404.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro404.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_creation/recording_should_upload_the_test_file_with_lro404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_be_able_to_create_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_be_able_to_create_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_be_able_to_create_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_be_able_to_create_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_app_component_for_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_app_component_for_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_app_component_for_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_app_component_for_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_loadtest.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_loadtest.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_loadtest.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_loadtest.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_create_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_the_test.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_the_test.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_the_test.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_delete_the_test.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_fail_to_upload_the_test_file_with_lro404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_app_components.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_app_components.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_app_components.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_app_components.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_file.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_file.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_file.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_file.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_get_a_test_run_server_metrics_config.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_not_be_able_to_create_a_test_run404.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_timeout_the_test_run.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_timeout_the_test_run.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_timeout_the_test_run.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_timeout_the_test_run.json diff --git a/sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_upload_the_test_file_with_lro.json b/sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_upload_the_test_file_with_lro.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/recordings/node/test_run_creation/recording_should_upload_the_test_file_with_lro.json rename to sdk/loadtesting/load-testing-rest/recordings/node/test_run_creation/recording_should_upload_the_test_file_with_lro.json diff --git a/sdk/loadtestservice/load-testing-rest/review/load-testing.api.md b/sdk/loadtesting/load-testing-rest/review/load-testing.api.md similarity index 100% rename from sdk/loadtestservice/load-testing-rest/review/load-testing.api.md rename to sdk/loadtesting/load-testing-rest/review/load-testing.api.md diff --git a/sdk/loadtestservice/load-testing-rest/sample.env b/sdk/loadtesting/load-testing-rest/sample.env similarity index 100% rename from sdk/loadtestservice/load-testing-rest/sample.env rename to sdk/loadtesting/load-testing-rest/sample.env diff --git a/sdk/loadtestservice/load-testing-rest/samples-dev/sample.jmx b/sdk/loadtesting/load-testing-rest/samples-dev/sample.jmx similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples-dev/sample.jmx rename to sdk/loadtesting/load-testing-rest/samples-dev/sample.jmx diff --git a/sdk/loadtestservice/load-testing-rest/samples-dev/sample.ts b/sdk/loadtesting/load-testing-rest/samples-dev/sample.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples-dev/sample.ts rename to sdk/loadtesting/load-testing-rest/samples-dev/sample.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples-dev/stopTest.ts b/sdk/loadtesting/load-testing-rest/samples-dev/stopTest.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples-dev/stopTest.ts rename to sdk/loadtesting/load-testing-rest/samples-dev/stopTest.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/README.md b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/README.md similarity index 93% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/README.md rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/README.md index d64f2764a50..d1644381770 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/README.md +++ b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/README.md @@ -56,9 +56,9 @@ npx cross-env LOADTESTSERVICE_ENDPOINT="" SUBSCRIPTION Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/sample.js -[stoptest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/stopTest.js +[sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/sample.js +[stoptest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/stopTest.js [apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/load-testing [freesub]: https://azure.microsoft.com/free/ [createinstance_azureloadtestingserviceinstance]: https://learn.microsoft.com/azure/load-testing/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/package.json b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/package.json similarity index 89% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/package.json rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/package.json index ba82aa85cf5..89f84b2c3c4 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/package.json +++ b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/package.json @@ -9,7 +9,7 @@ "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/loadtestservice/load-testing-rest" + "directory": "sdk/loadtesting/load-testing-rest" }, "keywords": [ "node", @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest", "dependencies": { "@azure-rest/load-testing": "next", "dotenv": "latest", diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/sample.env b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/sample.env similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/sample.env rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/sample.env diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/sample.js b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/sample.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/sample.js rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/sample.js diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/stopTest.js b/sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/stopTest.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/javascript/stopTest.js rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/javascript/stopTest.js diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/README.md b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/README.md similarity index 93% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/README.md rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/README.md index 5bbf0b6fecd..49fe27e08c4 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/README.md +++ b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/README.md @@ -68,10 +68,10 @@ npx cross-env LOADTESTSERVICE_ENDPOINT="" SUBSCRIPTION Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/src/sample.ts -[stoptest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/src/stopTest.ts +[sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/src/sample.ts +[stoptest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/src/stopTest.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/load-testing [freesub]: https://azure.microsoft.com/free/ [createinstance_azureloadtestingserviceinstance]: https://learn.microsoft.com/azure/load-testing/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/package.json b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/package.json similarity index 91% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/package.json rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/package.json index 99ce7f8af62..439731f665c 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/package.json +++ b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/package.json @@ -13,7 +13,7 @@ "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/loadtestservice/load-testing-rest" + "directory": "sdk/loadtesting/load-testing-rest" }, "keywords": [ "node", @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest", "dependencies": { "@azure-rest/load-testing": "next", "dotenv": "latest", diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/sample.env b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/sample.env similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/sample.env rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/sample.env diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/src/sample.ts b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/src/sample.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/src/sample.ts rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/src/sample.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/src/stopTest.ts b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/src/stopTest.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/src/stopTest.ts rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/src/stopTest.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/tsconfig.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1-beta/typescript/tsconfig.json rename to sdk/loadtesting/load-testing-rest/samples/v1-beta/typescript/tsconfig.json diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/README.md b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/README.md similarity index 88% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/README.md rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/README.md index c74cf067da3..e318e04f9e3 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/README.md +++ b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/README.md @@ -58,11 +58,11 @@ npx cross-env LOADTESTSERVICE_ENDPOINT="" SUBSCRIPTION Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[createappcomponent]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createAppComponent.js -[createorupdatetest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createOrUpdateTest.js -[createtestrunandgetmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createTestRunAndGetMetrics.js -[fileupload]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/fileUpload.js +[createappcomponent]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/javascript/createAppComponent.js +[createorupdatetest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/javascript/createOrUpdateTest.js +[createtestrunandgetmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/javascript/createTestRunAndGetMetrics.js +[fileupload]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/javascript/fileUpload.js [apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/load-testing [freesub]: https://azure.microsoft.com/free/ [createinstance_azureloadtestingserviceinstance]: https://learn.microsoft.com/azure/load-testing/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createAppComponent.js b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/createAppComponent.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createAppComponent.js rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/createAppComponent.js diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createOrUpdateTest.js b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/createOrUpdateTest.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createOrUpdateTest.js rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/createOrUpdateTest.js diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createTestRunAndGetMetrics.js b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/createTestRunAndGetMetrics.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/createTestRunAndGetMetrics.js rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/createTestRunAndGetMetrics.js diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/fileUpload.js b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/fileUpload.js similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/fileUpload.js rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/fileUpload.js diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/package.json b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/package.json similarity index 88% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/package.json rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/package.json index e61020757e2..df849ff813d 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/package.json +++ b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/package.json @@ -9,7 +9,7 @@ "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/loadtestservice/load-testing-rest" + "directory": "sdk/loadtesting/load-testing-rest" }, "keywords": [ "node", @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest", "dependencies": { "@azure-rest/load-testing": "latest", "dotenv": "latest", diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/javascript/sample.env b/sdk/loadtesting/load-testing-rest/samples/v1/javascript/sample.env similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/javascript/sample.env rename to sdk/loadtesting/load-testing-rest/samples/v1/javascript/sample.env diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/README.md b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/README.md similarity index 89% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/README.md rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/README.md index 3b0d5579d4e..0c7fb723950 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/README.md +++ b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/README.md @@ -70,12 +70,12 @@ npx cross-env LOADTESTSERVICE_ENDPOINT="" SUBSCRIPTION Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[createappcomponent]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createAppComponent.ts -[createorupdatetest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createOrUpdateTest.ts -[createtestrunandgetmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createTestRunAndGetMetrics.ts -[fileupload]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/fileUpload.ts +[createappcomponent]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createAppComponent.ts +[createorupdatetest]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createOrUpdateTest.ts +[createtestrunandgetmetrics]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createTestRunAndGetMetrics.ts +[fileupload]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/fileUpload.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure-rest/load-testing [freesub]: https://azure.microsoft.com/free/ [createinstance_azureloadtestingserviceinstance]: https://learn.microsoft.com/azure/load-testing/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/package.json b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/package.json similarity index 90% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/package.json rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/package.json index 0a1dad64a50..8e603ac904f 100644 --- a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/package.json +++ b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/package.json @@ -13,7 +13,7 @@ "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/loadtestservice/load-testing-rest" + "directory": "sdk/loadtesting/load-testing-rest" }, "keywords": [ "node", @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/load-testing-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/load-testing-rest", "dependencies": { "@azure-rest/load-testing": "latest", "dotenv": "latest", diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/sample.env b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/sample.env similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/sample.env rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/sample.env diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createAppComponent.ts b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createAppComponent.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createAppComponent.ts rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createAppComponent.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createOrUpdateTest.ts b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createOrUpdateTest.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createOrUpdateTest.ts rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createOrUpdateTest.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createTestRunAndGetMetrics.ts b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createTestRunAndGetMetrics.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/createTestRunAndGetMetrics.ts rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/createTestRunAndGetMetrics.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/fileUpload.ts b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/fileUpload.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/src/fileUpload.ts rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/src/fileUpload.ts diff --git a/sdk/loadtestservice/load-testing-rest/samples/v1/typescript/tsconfig.json b/sdk/loadtesting/load-testing-rest/samples/v1/typescript/tsconfig.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/samples/v1/typescript/tsconfig.json rename to sdk/loadtesting/load-testing-rest/samples/v1/typescript/tsconfig.json diff --git a/sdk/loadtestservice/load-testing-rest/src/azureLoadTesting.ts b/sdk/loadtesting/load-testing-rest/src/azureLoadTesting.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/azureLoadTesting.ts rename to sdk/loadtesting/load-testing-rest/src/azureLoadTesting.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/clientDefinitions.ts b/sdk/loadtesting/load-testing-rest/src/clientDefinitions.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/clientDefinitions.ts rename to sdk/loadtesting/load-testing-rest/src/clientDefinitions.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/getFileValidationPoller.ts b/sdk/loadtesting/load-testing-rest/src/getFileValidationPoller.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/getFileValidationPoller.ts rename to sdk/loadtesting/load-testing-rest/src/getFileValidationPoller.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/getTestRunCompletionPoller.ts b/sdk/loadtesting/load-testing-rest/src/getTestRunCompletionPoller.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/getTestRunCompletionPoller.ts rename to sdk/loadtesting/load-testing-rest/src/getTestRunCompletionPoller.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/index.ts b/sdk/loadtesting/load-testing-rest/src/index.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/index.ts rename to sdk/loadtesting/load-testing-rest/src/index.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/isUnexpected.ts b/sdk/loadtesting/load-testing-rest/src/isUnexpected.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/isUnexpected.ts rename to sdk/loadtesting/load-testing-rest/src/isUnexpected.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/models.ts b/sdk/loadtesting/load-testing-rest/src/models.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/models.ts rename to sdk/loadtesting/load-testing-rest/src/models.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/outputModels.ts b/sdk/loadtesting/load-testing-rest/src/outputModels.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/outputModels.ts rename to sdk/loadtesting/load-testing-rest/src/outputModels.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/paginateHelper.ts b/sdk/loadtesting/load-testing-rest/src/paginateHelper.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/paginateHelper.ts rename to sdk/loadtesting/load-testing-rest/src/paginateHelper.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/parameters.ts b/sdk/loadtesting/load-testing-rest/src/parameters.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/parameters.ts rename to sdk/loadtesting/load-testing-rest/src/parameters.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/pollingHelper.ts b/sdk/loadtesting/load-testing-rest/src/pollingHelper.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/pollingHelper.ts rename to sdk/loadtesting/load-testing-rest/src/pollingHelper.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/responses.ts b/sdk/loadtesting/load-testing-rest/src/responses.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/responses.ts rename to sdk/loadtesting/load-testing-rest/src/responses.ts diff --git a/sdk/loadtestservice/load-testing-rest/src/util/LROUtil.ts b/sdk/loadtesting/load-testing-rest/src/util/LROUtil.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/src/util/LROUtil.ts rename to sdk/loadtesting/load-testing-rest/src/util/LROUtil.ts diff --git a/sdk/loadtestservice/load-testing-rest/swagger/README.md b/sdk/loadtesting/load-testing-rest/swagger/README.md similarity index 100% rename from sdk/loadtestservice/load-testing-rest/swagger/README.md rename to sdk/loadtesting/load-testing-rest/swagger/README.md diff --git a/sdk/loadtestservice/load-testing-rest/test/public/additional-data.csv b/sdk/loadtesting/load-testing-rest/test/public/additional-data.csv similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/additional-data.csv rename to sdk/loadtesting/load-testing-rest/test/public/additional-data.csv diff --git a/sdk/loadtestservice/load-testing-rest/test/public/sample.jmx b/sdk/loadtesting/load-testing-rest/test/public/sample.jmx similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/sample.jmx rename to sdk/loadtesting/load-testing-rest/test/public/sample.jmx diff --git a/sdk/loadtestservice/load-testing-rest/test/public/testAdministration.spec.ts b/sdk/loadtesting/load-testing-rest/test/public/testAdministration.spec.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/testAdministration.spec.ts rename to sdk/loadtesting/load-testing-rest/test/public/testAdministration.spec.ts diff --git a/sdk/loadtestservice/load-testing-rest/test/public/testRun.spec.ts b/sdk/loadtesting/load-testing-rest/test/public/testRun.spec.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/testRun.spec.ts rename to sdk/loadtesting/load-testing-rest/test/public/testRun.spec.ts diff --git a/sdk/loadtestservice/load-testing-rest/test/public/utils/env.browser.ts b/sdk/loadtesting/load-testing-rest/test/public/utils/env.browser.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/utils/env.browser.ts rename to sdk/loadtesting/load-testing-rest/test/public/utils/env.browser.ts diff --git a/sdk/loadtestservice/load-testing-rest/test/public/utils/env.ts b/sdk/loadtesting/load-testing-rest/test/public/utils/env.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/utils/env.ts rename to sdk/loadtesting/load-testing-rest/test/public/utils/env.ts diff --git a/sdk/loadtestservice/load-testing-rest/test/public/utils/recordedClient.ts b/sdk/loadtesting/load-testing-rest/test/public/utils/recordedClient.ts similarity index 100% rename from sdk/loadtestservice/load-testing-rest/test/public/utils/recordedClient.ts rename to sdk/loadtesting/load-testing-rest/test/public/utils/recordedClient.ts diff --git a/sdk/loadtestservice/load-testing-rest/tsconfig.json b/sdk/loadtesting/load-testing-rest/tsconfig.json similarity index 100% rename from sdk/loadtestservice/load-testing-rest/tsconfig.json rename to sdk/loadtesting/load-testing-rest/tsconfig.json