From f79ef47f59ee3cbdd6018475aad0a6c13f896599 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 16 Feb 2023 17:06:35 +0800 Subject: [PATCH] rename sdk folder `loadtestservice` to `loadtesting` (#28855) * rename * Packaging update of azure-developer-loadtesting --------- Co-authored-by: Azure SDK Bot --- .../azure-developer-loadtesting/CHANGELOG.md | 0 .../azure-developer-loadtesting/LICENSE | 0 .../azure-developer-loadtesting/MANIFEST.in | 9 +- .../azure-developer-loadtesting/README.md | 63 +++++ .../azure/__init__.py | 0 .../azure/developer}/__init__.py | 0 .../azure/developer/loadtesting/__init__.py | 0 .../azure/developer/loadtesting/_client.py | 0 .../loadtesting/_generated/__init__.py | 0 .../loadtesting/_generated/_client.py | 0 .../loadtesting/_generated/_configuration.py | 0 .../loadtesting/_generated/_patch.py | 0 .../loadtesting/_generated/_serialization.py | 0 .../loadtesting/_generated/_vendor.py | 0 .../loadtesting/_generated/_version.py | 0 .../loadtesting/_generated/aio/__init__.py | 0 .../loadtesting/_generated/aio/_client.py | 0 .../_generated/aio/_configuration.py | 0 .../loadtesting/_generated/aio/_patch.py | 0 .../loadtesting/_generated/aio/_vendor.py | 0 .../_generated/aio/operations/__init__.py | 0 .../_generated/aio/operations/_operations.py | 0 .../_generated/aio/operations/_patch.py | 0 .../_generated/operations/__init__.py | 0 .../_generated/operations/_operations.py | 0 .../_generated/operations/_patch.py | 0 .../developer/loadtesting/_generated/py.typed | 0 .../azure/developer/loadtesting/_version.py | 0 .../developer/loadtesting/aio/__init__.py | 0 .../developer/loadtesting/aio/_client.py | 0 .../azure/developer/loadtesting/py.typed | 0 .../dev_requirements.txt | 0 .../pyproject.toml | 0 .../azure-developer-loadtesting/pytest.ini | 0 .../samples/begin_test_run.py | 0 .../create_or_update_app_components.py | 0 .../samples/create_or_update_test_function.py | 0 .../samples/delete_load_test_function.py | 0 .../samples/delete_load_test_run.py | 0 .../samples/get_metrics.py | 0 .../samples/sample.jmx | 0 .../samples/upload_test_file.py | 0 .../sdk_packaging.toml | 0 .../azure-developer-loadtesting/setup.py | 79 ++++++ .../swagger/README.md | 0 .../tests/conftest.py | 0 ...ttest_create_or_update_app_components.json | 0 ...Clienttest_create_or_update_load_test.json | 0 ...reate_or_update_server_metrics_config.json | 0 ...nistrationClienttest_delete_load_test.json | 0 ...nistrationClienttest_delete_test_file.json | 0 ...strationClienttest_file_upload_poller.json | 0 ...strationClienttest_get_app_components.json | 0 ...dministrationClienttest_get_load_test.json | 0 ...nClienttest_get_server_metrics_config.json | 0 ...dministrationClienttest_get_test_file.json | 0 ...inistrationClienttest_list_load_tests.json | 0 ...ttest_create_or_update_app_components.json | 0 ...Clienttest_create_or_update_load_test.json | 0 ...reate_or_update_server_metrics_config.json | 0 ...nistrationClienttest_delete_load_test.json | 0 ...nistrationClienttest_delete_test_file.json | 0 ...strationClienttest_file_upload_poller.json | 0 ...strationClienttest_get_app_components.json | 0 ...dministrationClienttest_get_load_test.json | 0 ...nClienttest_get_server_metrics_config.json | 0 ...dministrationClienttest_get_test_file.json | 0 ...inistrationClienttest_list_load_tests.json | 0 ...pstest_create_or_update_app_component.json | 0 ...reate_or_update_server_metrics_config.json | 0 ..._ops.pyTestRunOpstest_delete_test_run.json | 0 ...ps.pyTestRunOpstest_get_app_component.json | 0 ..._run_ops.pyTestRunOpstest_get_metrics.json | 0 ...tRunOpstest_get_server_metrics_config.json | 0 ...run_ops.pyTestRunOpstest_get_test_run.json | 0 ...ps.pyTestRunOpstest_get_test_run_file.json | 0 ...n_ops.pyTestRunOpstest_list_test_runs.json | 0 ...un_ops.pyTestRunOpstest_stop_test_run.json | 0 ..._ops.pyTestRunOpstest_test_run_poller.json | 0 ...pstest_create_or_update_app_component.json | 0 ...reate_or_update_server_metrics_config.json | 0 ..._ops.pyTestRunOpstest_delete_test_run.json | 0 ...ps.pyTestRunOpstest_get_app_component.json | 0 ..._run_ops.pyTestRunOpstest_get_metrics.json | 0 ...tRunOpstest_get_server_metrics_config.json | 0 ...run_ops.pyTestRunOpstest_get_test_run.json | 0 ...ps.pyTestRunOpstest_get_test_run_file.json | 0 ...n_ops.pyTestRunOpstest_list_test_runs.json | 0 ...un_ops.pyTestRunOpstest_stop_test_run.json | 0 ..._ops.pyTestRunOpstest_test_run_poller.json | 0 .../tests/sample.jmx | 0 .../tests/second-sample.jmx | 0 .../tests/test_admin_ops.py | 0 .../tests/test_async_admin_ops.py | 0 .../tests/test_async_run_ops.py | 0 .../tests/test_run_ops.py | 0 .../tests/testcase.py | 0 .../tests/testcase_async.py | 0 .../azure-mgmt-loadtesting/CHANGELOG.md | 0 .../azure-mgmt-loadtesting/LICENSE | 0 .../azure-mgmt-loadtesting/MANIFEST.in | 0 .../azure-mgmt-loadtesting/README.md | 0 .../azure-mgmt-loadtesting/_meta.json | 0 .../azure-mgmt-loadtesting}/azure/__init__.py | 2 +- .../azure/mgmt}/__init__.py | 2 +- .../azure/mgmt/loadtesting/__init__.py | 0 .../azure/mgmt/loadtesting/_configuration.py | 0 .../loadtesting/_load_test_mgmt_client.py | 0 .../azure/mgmt/loadtesting/_patch.py | 0 .../azure/mgmt/loadtesting/_serialization.py | 0 .../azure/mgmt/loadtesting/_vendor.py | 0 .../azure/mgmt/loadtesting/_version.py | 0 .../azure/mgmt/loadtesting/aio/__init__.py | 0 .../mgmt/loadtesting/aio/_configuration.py | 0 .../loadtesting/aio/_load_test_mgmt_client.py | 0 .../azure/mgmt/loadtesting/aio/_patch.py | 0 .../loadtesting/aio/operations/__init__.py | 0 .../aio/operations/_load_tests_operations.py | 0 .../loadtesting/aio/operations/_operations.py | 0 .../mgmt/loadtesting/aio/operations/_patch.py | 0 .../aio/operations/_quotas_operations.py | 0 .../azure/mgmt/loadtesting/models/__init__.py | 0 .../models/_load_test_mgmt_client_enums.py | 0 .../mgmt/loadtesting/models/_models_py3.py | 0 .../azure/mgmt/loadtesting/models/_patch.py | 0 .../mgmt/loadtesting/operations/__init__.py | 0 .../operations/_load_tests_operations.py | 0 .../loadtesting/operations/_operations.py | 0 .../mgmt/loadtesting/operations/_patch.py | 0 .../operations/_quotas_operations.py | 0 .../azure/mgmt/loadtesting/py.typed | 0 .../dev_requirements.txt | 0 .../generated_samples/load_tests_delete.py | 0 .../generated_samples/load_tests_get.py | 0 .../load_tests_list_by_resource_group.py | 0 .../load_tests_list_by_subscription.py | 0 ...outbound_network_dependencies_endpoints.py | 0 .../generated_samples/operations_list.py | 0 .../generated_samples/quotas_get.py | 0 .../generated_samples/quotas_list.py | 0 .../azure-mgmt-loadtesting/sdk_packaging.toml | 0 .../azure-mgmt-loadtesting/setup.py | 0 .../azure-mgmt-loadtesting/tests/conftest.py | 0 .../tests/mgmt_test_helper.py | 0 ...erationstest_check_quota_availability.json | 0 ...s.pyTestQuotaOperationstest_get_quota.json | 0 ....pyTestQuotaOperationstest_list_quota.json | 0 ...onstest_load_test_resource_operations.json | 0 .../tests/test_quotaoperations.py | 0 .../tests/test_resourceoperations.py | 0 sdk/{loadtestservice => loadtesting}/ci.yml | 6 +- .../azure-developer-loadtesting/README.md | 261 ------------------ .../azure-developer-loadtesting/setup.py | 71 ----- 153 files changed, 152 insertions(+), 341 deletions(-) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/CHANGELOG.md (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/LICENSE (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/MANIFEST.in (59%) create mode 100644 sdk/loadtesting/azure-developer-loadtesting/README.md rename sdk/{loadtestservice/azure-mgmt-loadtesting => loadtesting/azure-developer-loadtesting}/azure/__init__.py (100%) rename sdk/{loadtestservice/azure-mgmt-loadtesting/azure/mgmt => loadtesting/azure-developer-loadtesting/azure/developer}/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_client.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_client.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_configuration.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_serialization.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_vendor.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_version.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_client.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_configuration.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_vendor.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_generated/py.typed (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/_version.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/aio/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/aio/_client.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/azure/developer/loadtesting/py.typed (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/dev_requirements.txt (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/pyproject.toml (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/pytest.ini (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/begin_test_run.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/create_or_update_app_components.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/create_or_update_test_function.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/delete_load_test_function.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/delete_load_test_run.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/get_metrics.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/sample.jmx (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/samples/upload_test_file.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/sdk_packaging.toml (100%) create mode 100644 sdk/loadtesting/azure-developer-loadtesting/setup.py rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/swagger/README.md (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/conftest.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_app_component.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_delete_test_run.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_app_component.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_metrics.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run_file.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_list_test_runs.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_stop_test_run.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_test_run_poller.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_app_component.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_delete_test_run.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_app_component.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_metrics.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_server_metrics_config.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run_file.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_list_test_runs.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_stop_test_run.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_test_run_poller.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/sample.jmx (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/second-sample.jmx (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/test_admin_ops.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/test_async_admin_ops.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/test_async_run_ops.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/test_run_ops.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/testcase.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-developer-loadtesting/tests/testcase_async.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/CHANGELOG.md (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/LICENSE (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/MANIFEST.in (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/README.md (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/_meta.json (100%) rename sdk/{loadtestservice/azure-developer-loadtesting => loadtesting/azure-mgmt-loadtesting}/azure/__init__.py (79%) rename sdk/{loadtestservice/azure-developer-loadtesting/azure/developer => loadtesting/azure-mgmt-loadtesting/azure/mgmt}/__init__.py (79%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_configuration.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_load_test_mgmt_client.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_serialization.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_vendor.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_version.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_configuration.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_load_test_mgmt_client.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_load_tests_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_quotas_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_load_test_mgmt_client_enums.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_models_py3.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/__init__.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_load_tests_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_patch.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_quotas_operations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/azure/mgmt/loadtesting/py.typed (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/dev_requirements.txt (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/load_tests_delete.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/load_tests_get.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_resource_group.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_subscription.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/load_tests_list_outbound_network_dependencies_endpoints.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/operations_list.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/quotas_get.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/generated_samples/quotas_list.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/sdk_packaging.toml (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/setup.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/conftest.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/mgmt_test_helper.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_check_quota_availability.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_get_quota.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_list_quota.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/recordings/test_resourceoperations.pyTestResourceOperationstest_load_test_resource_operations.json (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/test_quotaoperations.py (100%) rename sdk/{loadtestservice => loadtesting}/azure-mgmt-loadtesting/tests/test_resourceoperations.py (100%) rename sdk/{loadtestservice => loadtesting}/ci.yml (87%) delete mode 100644 sdk/loadtestservice/azure-developer-loadtesting/README.md delete mode 100644 sdk/loadtestservice/azure-developer-loadtesting/setup.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/CHANGELOG.md b/sdk/loadtesting/azure-developer-loadtesting/CHANGELOG.md similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/CHANGELOG.md rename to sdk/loadtesting/azure-developer-loadtesting/CHANGELOG.md diff --git a/sdk/loadtestservice/azure-developer-loadtesting/LICENSE b/sdk/loadtesting/azure-developer-loadtesting/LICENSE similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/LICENSE rename to sdk/loadtesting/azure-developer-loadtesting/LICENSE diff --git a/sdk/loadtestservice/azure-developer-loadtesting/MANIFEST.in b/sdk/loadtesting/azure-developer-loadtesting/MANIFEST.in similarity index 59% rename from sdk/loadtestservice/azure-developer-loadtesting/MANIFEST.in rename to sdk/loadtesting/azure-developer-loadtesting/MANIFEST.in index 6ebb7e55a108..bfc592bbcc88 100644 --- a/sdk/loadtestservice/azure-developer-loadtesting/MANIFEST.in +++ b/sdk/loadtesting/azure-developer-loadtesting/MANIFEST.in @@ -1,7 +1,8 @@ +include _meta.json +recursive-include tests *.py *.json +recursive-include samples *.py *.md include *.md +include azure/__init__.py +include azure/developer/__init__.py include LICENSE include azure/developer/loadtesting/py.typed -recursive-include tests *.py -recursive-include samples *.py *.md -include azure/__init__.py -include azure/developer/__init__.py \ No newline at end of file diff --git a/sdk/loadtesting/azure-developer-loadtesting/README.md b/sdk/loadtesting/azure-developer-loadtesting/README.md new file mode 100644 index 000000000000..7ea54ac93635 --- /dev/null +++ b/sdk/loadtesting/azure-developer-loadtesting/README.md @@ -0,0 +1,63 @@ +# Microsoft Azure SDK for Python + +This is the Microsoft Azure MyService Management Client Library. +This package has been tested with Python 3.7+. +For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). + +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + +## Getting started + +### Prerequisites + +- Python 3.7+ is required to use this package. +- [Azure subscription](https://azure.microsoft.com/free/) + +### Install the package + +```bash +pip install azure-developer-loadtesting +pip install azure-identity +``` + +### Authentication + +By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables. + +- `AZURE_CLIENT_ID` for Azure client ID. +- `AZURE_TENANT_ID` for Azure tenant ID. +- `AZURE_CLIENT_SECRET` for Azure client secret. + +In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`. + +With above configuration, client can be authenticated by following code: + +```python +from azure.identity import DefaultAzureCredential +from azure.developer.loadtesting import +import os + +sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") +client = (credential=DefaultAzureCredential(), subscription_id=sub_id) +``` + +## Examples + + +Code samples for this package can be found at [MyService Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) + + +## Troubleshooting + +## Next steps + +## Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the +[Issues](https://github.com/Azure/azure-sdk-for-python/issues) +section of the project. + + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-developer-loadtesting%2FREADME.png) diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/__init__.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_client.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_client.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_client.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_client.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_client.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_client.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_client.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_client.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_configuration.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_configuration.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_configuration.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_configuration.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_patch.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_patch.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_patch.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_serialization.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_serialization.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_serialization.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_serialization.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_vendor.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_vendor.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_vendor.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_vendor.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_version.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_version.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_version.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/_version.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_client.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_client.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_client.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_client.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_configuration.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_configuration.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_configuration.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_configuration.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_patch.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_patch.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_patch.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_vendor.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_vendor.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_vendor.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/_vendor.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_operations.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_operations.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_operations.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_operations.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_patch.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_patch.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/aio/operations/_patch.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_operations.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_operations.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_operations.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_operations.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_patch.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_patch.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/operations/_patch.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/py.typed b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/py.typed similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_generated/py.typed rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_generated/py.typed diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_version.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_version.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/_version.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/_version.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/aio/__init__.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/aio/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/aio/__init__.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/aio/__init__.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/aio/_client.py b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/aio/_client.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/aio/_client.py rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/aio/_client.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/py.typed b/sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/py.typed similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/loadtesting/py.typed rename to sdk/loadtesting/azure-developer-loadtesting/azure/developer/loadtesting/py.typed diff --git a/sdk/loadtestservice/azure-developer-loadtesting/dev_requirements.txt b/sdk/loadtesting/azure-developer-loadtesting/dev_requirements.txt similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/dev_requirements.txt rename to sdk/loadtesting/azure-developer-loadtesting/dev_requirements.txt diff --git a/sdk/loadtestservice/azure-developer-loadtesting/pyproject.toml b/sdk/loadtesting/azure-developer-loadtesting/pyproject.toml similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/pyproject.toml rename to sdk/loadtesting/azure-developer-loadtesting/pyproject.toml diff --git a/sdk/loadtestservice/azure-developer-loadtesting/pytest.ini b/sdk/loadtesting/azure-developer-loadtesting/pytest.ini similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/pytest.ini rename to sdk/loadtesting/azure-developer-loadtesting/pytest.ini diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/begin_test_run.py b/sdk/loadtesting/azure-developer-loadtesting/samples/begin_test_run.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/begin_test_run.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/begin_test_run.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/create_or_update_app_components.py b/sdk/loadtesting/azure-developer-loadtesting/samples/create_or_update_app_components.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/create_or_update_app_components.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/create_or_update_app_components.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/create_or_update_test_function.py b/sdk/loadtesting/azure-developer-loadtesting/samples/create_or_update_test_function.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/create_or_update_test_function.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/create_or_update_test_function.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/delete_load_test_function.py b/sdk/loadtesting/azure-developer-loadtesting/samples/delete_load_test_function.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/delete_load_test_function.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/delete_load_test_function.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/delete_load_test_run.py b/sdk/loadtesting/azure-developer-loadtesting/samples/delete_load_test_run.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/delete_load_test_run.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/delete_load_test_run.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/get_metrics.py b/sdk/loadtesting/azure-developer-loadtesting/samples/get_metrics.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/get_metrics.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/get_metrics.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/sample.jmx b/sdk/loadtesting/azure-developer-loadtesting/samples/sample.jmx similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/sample.jmx rename to sdk/loadtesting/azure-developer-loadtesting/samples/sample.jmx diff --git a/sdk/loadtestservice/azure-developer-loadtesting/samples/upload_test_file.py b/sdk/loadtesting/azure-developer-loadtesting/samples/upload_test_file.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/samples/upload_test_file.py rename to sdk/loadtesting/azure-developer-loadtesting/samples/upload_test_file.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/sdk_packaging.toml b/sdk/loadtesting/azure-developer-loadtesting/sdk_packaging.toml similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/sdk_packaging.toml rename to sdk/loadtesting/azure-developer-loadtesting/sdk_packaging.toml diff --git a/sdk/loadtesting/azure-developer-loadtesting/setup.py b/sdk/loadtesting/azure-developer-loadtesting/setup.py new file mode 100644 index 000000000000..e1470918288d --- /dev/null +++ b/sdk/loadtesting/azure-developer-loadtesting/setup.py @@ -0,0 +1,79 @@ +#!/usr/bin/env python + +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- + +import re +import os.path +from io import open +from setuptools import find_packages, setup + +# Change the PACKAGE_NAME only to change folder and different name +PACKAGE_NAME = "azure-developer-loadtesting" +PACKAGE_PPRINT_NAME = "MyService Management" + +# a-b-c => a/b/c +package_folder_path = PACKAGE_NAME.replace('-', '/') +# a-b-c => a.b.c +namespace_name = PACKAGE_NAME.replace('-', '.') + +# Version extraction inspired from 'requests' +with open(os.path.join(package_folder_path, 'version.py') + if os.path.exists(os.path.join(package_folder_path, 'version.py')) + else os.path.join(package_folder_path, '_version.py'), 'r') as fd: + version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', + fd.read(), re.MULTILINE).group(1) + +if not version: + raise RuntimeError('Cannot find version information') + +with open('README.md', encoding='utf-8') as f: + readme = f.read() +with open('CHANGELOG.md', encoding='utf-8') as f: + changelog = f.read() + +setup( + name=PACKAGE_NAME, + version=version, + description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), + long_description=readme + '\n\n' + changelog, + long_description_content_type='text/markdown', + license='MIT License', + author='Microsoft Corporation', + author_email='azpysdkhelp@microsoft.com', + url='https://github.com/Azure/azure-sdk-for-python', + keywords="azure, azure sdk", # update with search keywords relevant to the azure service / product + classifiers=[ + 'Development Status :: 4 - Beta', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3 :: Only', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'License :: OSI Approved :: MIT License', + ], + zip_safe=False, + packages=find_packages(exclude=[ + 'tests', + # Exclude packages that will be covered by PEP420 or nspkg + 'azure', + 'azure.developer', + ]), + include_package_data=True, + package_data={ + 'pytyped': ['py.typed'], + }, + install_requires=[ + "msrest>=0.7.1", + "azure-common~=1.1", + "azure-mgmt-core>=1.3.2,<2.0.0", + "typing-extensions>=4.3.0; python_version<'3.8.0'", + ], + python_requires=">=3.7" +) diff --git a/sdk/loadtestservice/azure-developer-loadtesting/swagger/README.md b/sdk/loadtesting/azure-developer-loadtesting/swagger/README.md similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/swagger/README.md rename to sdk/loadtesting/azure-developer-loadtesting/swagger/README.md diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/conftest.py b/sdk/loadtesting/azure-developer-loadtesting/tests/conftest.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/conftest.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/conftest.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_app_components.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_load_test.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_create_or_update_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_load_test.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_delete_test_file.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_file_upload_poller.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_app_components.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_load_test.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_get_test_file.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_admin_ops.pyTestLoadTestAdministrationClienttest_list_load_tests.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_app_component.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_app_component.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_app_component.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_app_component.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_delete_test_run.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_delete_test_run.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_delete_test_run.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_delete_test_run.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_app_component.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_app_component.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_app_component.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_app_component.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_metrics.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_metrics.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_metrics.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_metrics.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run_file.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run_file.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run_file.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_get_test_run_file.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_list_test_runs.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_list_test_runs.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_list_test_runs.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_list_test_runs.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_stop_test_run.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_stop_test_run.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_stop_test_run.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_stop_test_run.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_test_run_poller.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_test_run_poller.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_test_run_poller.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_async_run_ops.pyTestRunOpstest_test_run_poller.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_app_component.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_app_component.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_app_component.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_app_component.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_create_or_update_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_delete_test_run.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_delete_test_run.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_delete_test_run.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_delete_test_run.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_app_component.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_app_component.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_app_component.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_app_component.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_metrics.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_metrics.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_metrics.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_metrics.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_server_metrics_config.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_server_metrics_config.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_server_metrics_config.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_server_metrics_config.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run_file.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run_file.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run_file.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_get_test_run_file.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_list_test_runs.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_list_test_runs.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_list_test_runs.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_list_test_runs.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_stop_test_run.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_stop_test_run.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_stop_test_run.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_stop_test_run.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_test_run_poller.json b/sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_test_run_poller.json similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_test_run_poller.json rename to sdk/loadtesting/azure-developer-loadtesting/tests/recordings/test_run_ops.pyTestRunOpstest_test_run_poller.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/sample.jmx b/sdk/loadtesting/azure-developer-loadtesting/tests/sample.jmx similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/sample.jmx rename to sdk/loadtesting/azure-developer-loadtesting/tests/sample.jmx diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/second-sample.jmx b/sdk/loadtesting/azure-developer-loadtesting/tests/second-sample.jmx similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/second-sample.jmx rename to sdk/loadtesting/azure-developer-loadtesting/tests/second-sample.jmx diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/test_admin_ops.py b/sdk/loadtesting/azure-developer-loadtesting/tests/test_admin_ops.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/test_admin_ops.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/test_admin_ops.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/test_async_admin_ops.py b/sdk/loadtesting/azure-developer-loadtesting/tests/test_async_admin_ops.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/test_async_admin_ops.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/test_async_admin_ops.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/test_async_run_ops.py b/sdk/loadtesting/azure-developer-loadtesting/tests/test_async_run_ops.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/test_async_run_ops.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/test_async_run_ops.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/test_run_ops.py b/sdk/loadtesting/azure-developer-loadtesting/tests/test_run_ops.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/test_run_ops.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/test_run_ops.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/testcase.py b/sdk/loadtesting/azure-developer-loadtesting/tests/testcase.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/testcase.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/testcase.py diff --git a/sdk/loadtestservice/azure-developer-loadtesting/tests/testcase_async.py b/sdk/loadtesting/azure-developer-loadtesting/tests/testcase_async.py similarity index 100% rename from sdk/loadtestservice/azure-developer-loadtesting/tests/testcase_async.py rename to sdk/loadtesting/azure-developer-loadtesting/tests/testcase_async.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/CHANGELOG.md b/sdk/loadtesting/azure-mgmt-loadtesting/CHANGELOG.md similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/CHANGELOG.md rename to sdk/loadtesting/azure-mgmt-loadtesting/CHANGELOG.md diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/LICENSE b/sdk/loadtesting/azure-mgmt-loadtesting/LICENSE similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/LICENSE rename to sdk/loadtesting/azure-mgmt-loadtesting/LICENSE diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/MANIFEST.in b/sdk/loadtesting/azure-mgmt-loadtesting/MANIFEST.in similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/MANIFEST.in rename to sdk/loadtesting/azure-mgmt-loadtesting/MANIFEST.in diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/README.md b/sdk/loadtesting/azure-mgmt-loadtesting/README.md similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/README.md rename to sdk/loadtesting/azure-mgmt-loadtesting/README.md diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/_meta.json b/sdk/loadtesting/azure-mgmt-loadtesting/_meta.json similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/_meta.json rename to sdk/loadtesting/azure-mgmt-loadtesting/_meta.json diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/__init__.py similarity index 79% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/__init__.py index d55ccad1f573..8db66d3d0f0f 100644 --- a/sdk/loadtestservice/azure-developer-loadtesting/azure/__init__.py +++ b/sdk/loadtesting/azure-mgmt-loadtesting/azure/__init__.py @@ -1 +1 @@ -__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/__init__.py similarity index 79% rename from sdk/loadtestservice/azure-developer-loadtesting/azure/developer/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/__init__.py index d55ccad1f573..8db66d3d0f0f 100644 --- a/sdk/loadtestservice/azure-developer-loadtesting/azure/developer/__init__.py +++ b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/__init__.py @@ -1 +1 @@ -__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/__init__.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_configuration.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_configuration.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_configuration.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_configuration.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_load_test_mgmt_client.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_load_test_mgmt_client.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_load_test_mgmt_client.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_load_test_mgmt_client.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_patch.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_patch.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_patch.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_serialization.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_serialization.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_serialization.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_serialization.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_vendor.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_vendor.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_vendor.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_vendor.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_version.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_version.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_version.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/_version.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/__init__.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_configuration.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_configuration.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_configuration.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_configuration.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_load_test_mgmt_client.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_load_test_mgmt_client.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_load_test_mgmt_client.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_load_test_mgmt_client.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_patch.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_patch.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/_patch.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/__init__.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_load_tests_operations.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_load_tests_operations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_load_tests_operations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_load_tests_operations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_operations.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_operations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_operations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_operations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_patch.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_patch.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_patch.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_quotas_operations.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_quotas_operations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_quotas_operations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/aio/operations/_quotas_operations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/__init__.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_load_test_mgmt_client_enums.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_load_test_mgmt_client_enums.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_load_test_mgmt_client_enums.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_load_test_mgmt_client_enums.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_models_py3.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_models_py3.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_models_py3.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_models_py3.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_patch.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_patch.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/models/_patch.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/__init__.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/__init__.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/__init__.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/__init__.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_load_tests_operations.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_load_tests_operations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_load_tests_operations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_load_tests_operations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_operations.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_operations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_operations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_operations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_patch.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_patch.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_patch.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_patch.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_quotas_operations.py b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_quotas_operations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_quotas_operations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/_quotas_operations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/py.typed b/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/py.typed similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/azure/mgmt/loadtesting/py.typed rename to sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/py.typed diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/dev_requirements.txt b/sdk/loadtesting/azure-mgmt-loadtesting/dev_requirements.txt similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/dev_requirements.txt rename to sdk/loadtesting/azure-mgmt-loadtesting/dev_requirements.txt diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_delete.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_delete.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_delete.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_delete.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_get.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_get.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_get.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_get.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_resource_group.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_resource_group.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_resource_group.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_resource_group.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_subscription.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_subscription.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_subscription.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_list_by_subscription.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_list_outbound_network_dependencies_endpoints.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_list_outbound_network_dependencies_endpoints.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/load_tests_list_outbound_network_dependencies_endpoints.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/load_tests_list_outbound_network_dependencies_endpoints.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/operations_list.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/operations_list.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/operations_list.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/operations_list.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/quotas_get.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/quotas_get.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/quotas_get.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/quotas_get.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/quotas_list.py b/sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/quotas_list.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/generated_samples/quotas_list.py rename to sdk/loadtesting/azure-mgmt-loadtesting/generated_samples/quotas_list.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/sdk_packaging.toml b/sdk/loadtesting/azure-mgmt-loadtesting/sdk_packaging.toml similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/sdk_packaging.toml rename to sdk/loadtesting/azure-mgmt-loadtesting/sdk_packaging.toml diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/setup.py b/sdk/loadtesting/azure-mgmt-loadtesting/setup.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/setup.py rename to sdk/loadtesting/azure-mgmt-loadtesting/setup.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/conftest.py b/sdk/loadtesting/azure-mgmt-loadtesting/tests/conftest.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/conftest.py rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/conftest.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/mgmt_test_helper.py b/sdk/loadtesting/azure-mgmt-loadtesting/tests/mgmt_test_helper.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/mgmt_test_helper.py rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/mgmt_test_helper.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_check_quota_availability.json b/sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_check_quota_availability.json similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_check_quota_availability.json rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_check_quota_availability.json diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_get_quota.json b/sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_get_quota.json similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_get_quota.json rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_get_quota.json diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_list_quota.json b/sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_list_quota.json similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_list_quota.json rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_quotaoperations.pyTestQuotaOperationstest_list_quota.json diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_resourceoperations.pyTestResourceOperationstest_load_test_resource_operations.json b/sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_resourceoperations.pyTestResourceOperationstest_load_test_resource_operations.json similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/recordings/test_resourceoperations.pyTestResourceOperationstest_load_test_resource_operations.json rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/recordings/test_resourceoperations.pyTestResourceOperationstest_load_test_resource_operations.json diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/test_quotaoperations.py b/sdk/loadtesting/azure-mgmt-loadtesting/tests/test_quotaoperations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/test_quotaoperations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/test_quotaoperations.py diff --git a/sdk/loadtestservice/azure-mgmt-loadtesting/tests/test_resourceoperations.py b/sdk/loadtesting/azure-mgmt-loadtesting/tests/test_resourceoperations.py similarity index 100% rename from sdk/loadtestservice/azure-mgmt-loadtesting/tests/test_resourceoperations.py rename to sdk/loadtesting/azure-mgmt-loadtesting/tests/test_resourceoperations.py diff --git a/sdk/loadtestservice/ci.yml b/sdk/loadtesting/ci.yml similarity index 87% rename from sdk/loadtestservice/ci.yml rename to sdk/loadtesting/ci.yml index 5f58ff9ce215..7af5541ce1a6 100644 --- a/sdk/loadtestservice/ci.yml +++ b/sdk/loadtesting/ci.yml @@ -10,7 +10,7 @@ trigger: - restapi* paths: include: - - sdk/loadtestservice/ + - sdk/loadtesting/ pr: branches: @@ -22,12 +22,12 @@ pr: - restapi* paths: include: - - sdk/loadtestservice/ + - sdk/loadtesting/ extends: template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: - ServiceDirectory: loadtestservice + ServiceDirectory: loadtesting TestProxy: true Artifacts: - name: azure-developer-loadtesting diff --git a/sdk/loadtestservice/azure-developer-loadtesting/README.md b/sdk/loadtestservice/azure-developer-loadtesting/README.md deleted file mode 100644 index 506e3103c1fd..000000000000 --- a/sdk/loadtestservice/azure-developer-loadtesting/README.md +++ /dev/null @@ -1,261 +0,0 @@ - -# Azure Load Testing client library for Python -Azure Load Testing provides client library in python to the user by which they can interact natively with Azure Load Testing service. Azure Load Testing is a fully managed load-testing service that enables you to generate high-scale load. The service simulates traffic for your applications, regardless of where they're hosted. Developers, testers, and quality assurance (QA) engineers can use it to optimize application performance, scalability, or capacity. - -## Documentation -Various documentation is available to help you get started - - -- [API reference documentation][api_reference_doc] -- [Product Documentation][product_documentation] - -## Getting started - -### Installing the package - -```bash -python -m pip install azure-developer-loadtesting -``` - -#### Prequisites - -- Python 3.7 or later is required to use this package. -- You need an [Azure subscription][azure_sub] to use this package. -- An existing Azure Developer LoadTesting instance. - -#### Create with an Azure Active Directory Credential - -To use an [Azure Active Directory (AAD) token credential][authenticate_with_token], -provide an instance of the desired credential type obtained from the -[azure-identity][azure_identity_credentials] library. - -To authenticate with AAD, you must first [pip][pip] install [`azure-identity`][azure_identity_pip] - -After setup, you can choose which type of [credential][azure_identity_credentials] from azure.identity to use. - -As an example, sign in via the Azure CLI `az login` command and [DefaultAzureCredential](https://learn.microsoft.com/python/api/azure-identity/azure.identity.defaultazurecredential?view=azure-python) will authenticate as that user. - -Use the returned token credential to authenticate the client. - -#### Create the client - -Azure Developer LoadTesting SDK has 2 sub-clients of the main client (`LoadTestingClient`) to interact with the service, 'administration' and 'test_run'. - -```python -from azure.developer.loadtesting import LoadTestAdministrationClient - -# for managing authentication and authorization -# can be installed from pypi, follow: https://pypi.org/project/azure-identity/ -# using DefaultAzureCredentials, read more at: https://learn.microsoft.com/en-us/python/api/azure-identity/azure.identity.defaultazurecredential?view=azure-python -from azure.identity import DefaultAzureCredential - -client = LoadTestAdministrationClient(endpoint='', credential=DefaultAzureCredential()) -``` - -`` refers to the data-plane endpoint/URL of the resource. - -## Key concepts - -The Azure Load Test client library for python allows you to interact with each of these components through the use of clients. There are two top-level clients which are the main entry points for the library - -- `LoadTestAdministrationClient` (`azure.developer.loadtesting.LoadTestAdministrationClient`) -- `LoadTestRunClient` (`azure.developer.loadtesting.LoadTestRunClient`) - -These two clients also have there asynchronous counterparts, which are -- `LoadTestAdministrationClient` (`azure.developer.loadtesting.aio.LoadTestAdministrationClient`) -- `LoadTestRunClient` (`azure.developer.loadtesting.aio.LoadTestRunClient`) - -### Load Test Administration Client - -The `LoadTestAdministrationClient` is used to administer and configure the load tests, app components and metrics. - -#### Test - -A test specifies the test script, and configuration settings for running a load test. You can create one or more tests in an Azure Load Testing resource. - -#### App Component - -When you run a load test for an Azure-hosted application, you can monitor resource metrics for the different Azure application components (server-side metrics). While the load test runs, and after completion of the test, you can monitor and analyze the resource metrics in the Azure Load Testing dashboard. - -#### Metrics - -During a load test, Azure Load Testing collects metrics about the test execution. There are two types of metrics: - -1. Client-side metrics give you details reported by the test engine. These metrics include the number of virtual users, the request response time, the number of failed requests, or the number of requests per second. - -2. Server-side metrics are available for Azure-hosted applications and provide information about your Azure application components. Metrics can be for the number of database reads, the type of HTTP responses, or container resource consumption. - -### Test Run Client - -The `LoadTestRunClient` is used to start and stop test runs corresponding to a load test. A test run represents one execution of a load test. It collects the logs associated with running the Apache JMeter script, the load test YAML configuration, the list of app components to monitor, and the results of the test. - -### Data-Plane Endpoint - -Data-plane of Azure Load Testing resources is addressable using the following URL format: - -`00000000-0000-0000-0000-000000000000.aaa.cnt-prod.loadtesting.azure.com` - -The first GUID `00000000-0000-0000-0000-000000000000` is the unique identifier used for accessing the Azure Load Testing resource. This is followed by `aaa` which is the Azure region of the resource. - -The data-plane endpoint is obtained from Control Plane APIs. - -**Example:** `1234abcd-12ab-12ab-12ab-123456abcdef.eus.cnt-prod.loadtesting.azure.com` - -In the above example, `eus` represents the Azure region `East US`. - -## Examples - -### Creating a load test -```python -from azure.developer.loadtesting import LoadTestAdministrationClient -from azure.identity import DefaultAzureCredential -from azure.core.exceptions import HttpResponseError -import os - -TEST_ID = "some-test-id" -DISPLAY_NAME = "my-load-test" - -# set SUBSCRIPTION_ID as an environment variable -SUBSCRIPTION_ID = os.environ["SUBSCRIPTION_ID"] - -client = LoadTestAdministrationClient(endpoint='', credential=DefaultAzureCredential()) - -try: - result = client.create_or_update_test( - TEST_ID, - { - "description": "", - "displayName": "My New Load Test", - "loadTestConfig": { - "engineInstances": 1, - "splitAllCSVs": False, - }, - "passFailCriteria": { - "passFailMetrics": { - "condition1": { - "clientmetric": "response_time_ms", - "aggregate": "avg", - "condition": ">", - "value": 300 - }, - "condition2": { - "clientmetric": "error", - "aggregate": "percentage", - "condition": ">", - "value": 50 - }, - "condition3": { - "clientmetric": "latency", - "aggregate": "avg", - "condition": ">", - "value": 200, - "requestName": "GetCustomerDetails" - } - } - }, - "secrets": { - "secret1": { - "value": "https://sdk-testing-keyvault.vault.azure.net/secrets/sdk-secret", - "type": "AKV_SECRET_URI" - } - }, - "environmentVariables": { - "my-varaible": "value" - } - } - ) - print(result) -except HttpResponseError as e: - print('Service responded with error: {}'.format(e.response.json())) - -``` - -### Uploading .jmx file to a Test -```python -from azure.developer.loadtesting import LoadTestAdministrationClient -from azure.identity import DefaultAzureCredential -from azure.core.exceptions import HttpResponseError - -TEST_ID = "some-test-id" -FILE_NAME = "some-file-name.jmx" - -client = LoadTestAdministrationClient(endpoint='', credential=DefaultAzureCredential()) - -try: - - # uploading .jmx file to a test - resultPoller = client.begin_upload_test_file(TEST_ID, FILE_NAME, open("sample.jmx", "rb")) - fileUploadResponse = resultPoller.get_initial_response() - print(fileUploadResponse) - - # getting result of LRO poller with timeout of 600 secs - validationResponse = resultPoller.result(600) - print(validationResponse) - -except HttpResponseError as e: - print("Failed with error: {}".format(e.response.json())) -``` - -### Running a Test -```python -from azure.developer.loadtesting import LoadTestRunClient -from azure.identity import DefaultAzureCredential -from azure.core.exceptions import HttpResponseError - -TEST_ID = "some-test-id" -TEST_RUN_ID = "some-testrun-id" -DISPLAY_NAME = "my-load-test-run" - -client = LoadTestRunClient(endpoint='', credential=DefaultAzureCredential()) - -try: - testRunPoller = client.begin_test_run( - TEST_RUN_ID, - { - "testId": TEST_ID, - "displayName": "My New Load Test Run", - } - ) - - #waiting for test run status to be completed with timeout = 3600 seconds - result = testRunPoller.result(3600) - - print(result) -except HttpResponseError as e: - print("Failed with error: {}".format(e.response.json())) -``` - -## Next steps - -More samples can be found [here](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/loadtestservice/azure-developer-loadtesting/samples). - -## Contributing - -This project welcomes contributions and suggestions. Most contributions require -you to agree to a Contributor License Agreement (CLA) declaring that you have -the right to, and actually do, grant us the rights to use your contribution. -For details, visit https://cla.microsoft.com. - -When you submit a pull request, a CLA-bot will automatically determine whether -you need to provide a CLA and decorate the PR appropriately (e.g., label, -comment). Simply follow the instructions provided by the bot. You will only -need to do this once across all repos using our CLA. - -This project has adopted the -[Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, -see the Code of Conduct FAQ or contact opencode@microsoft.com with any -additional questions or comments. - -## Troubleshooting -More about it is coming soon... - - -[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ -[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token -[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials -[azure_identity_pip]: https://pypi.org/project/azure-identity/ -[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential -[pip]: https://pypi.org/project/pip/ -[azure_sub]: https://azure.microsoft.com/free/ -[api_reference_doc]: https://docs.microsoft.com/rest/api/loadtesting/ -[product_documentation]: https://azure.microsoft.com/services/load-testing/ \ No newline at end of file diff --git a/sdk/loadtestservice/azure-developer-loadtesting/setup.py b/sdk/loadtestservice/azure-developer-loadtesting/setup.py deleted file mode 100644 index efe061bdca5c..000000000000 --- a/sdk/loadtestservice/azure-developer-loadtesting/setup.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -# coding: utf-8 - -import os -import re -from setuptools import setup, find_packages - - -PACKAGE_NAME = "azure-developer-loadtesting" -PACKAGE_PPRINT_NAME = "Azure Developer LoadTesting" - -# a-b-c => a/b/c -package_folder_path = PACKAGE_NAME.replace("-", "/") - -# Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, "_version.py"), "r") as fd: - version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - - -setup( - name=PACKAGE_NAME, - version=version, - description="Microsoft Azure Developer LoadTesting Client Library for Python", - long_description=open("README.md", "r").read(), - long_description_content_type="text/markdown", - license="MIT License", - author="Microsoft Corporation", - author_email="azpysdkhelp@microsoft.com", - url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk", - keywords="azure, azure sdk", - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Programming Language :: Python", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "License :: OSI Approved :: MIT License", - ], - zip_safe=False, - packages=find_packages( - exclude=[ - "tests", - # Exclude packages that will be covered by PEP420 or nspkg - "azure", - "azure.developer", - ] - ), - include_package_data=True, - package_data={ - "pytyped": ["py.typed"], - }, - install_requires=[ - "isodate<1.0.0,>=0.6.1", - "azure-core<2.0.0,>=1.24.0", - "typing-extensions>=4.3.0; python_version<'3.8.0'", - ], - python_requires=">=3.7", -)