diff --git a/sdk/machinelearning/arm-webservices/CHANGELOG.md b/sdk/machinelearning/arm-webservices/CHANGELOG.md deleted file mode 100644 index c599293b1628..000000000000 --- a/sdk/machinelearning/arm-webservices/CHANGELOG.md +++ /dev/null @@ -1,11 +0,0 @@ -# Release History - -## 1.0.0 (2022-01-19) - -The package of @azure/arm-webservices is using our next generation design principles since version 1.0.0, which contains breaking changes. - -To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). - -To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide). - -To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). diff --git a/sdk/machinelearning/arm-webservices/LICENSE.txt b/sdk/machinelearning/arm-webservices/LICENSE.txt deleted file mode 100644 index a70e8cf66038..000000000000 --- a/sdk/machinelearning/arm-webservices/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 Microsoft - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/sdk/machinelearning/arm-webservices/_meta.json b/sdk/machinelearning/arm-webservices/_meta.json index 4f357963cc3d..0b2087275970 100644 --- a/sdk/machinelearning/arm-webservices/_meta.json +++ b/sdk/machinelearning/arm-webservices/_meta.json @@ -1,7 +1,8 @@ { - "commit": "184b23b63ee3a79fb41ca3aa55a31a8d9e636772", + "commit": "ed422f358c26e1ba6de79c8a4e48f35cbfd47cd9", "readme": "specification/machinelearning/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearning/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/machinelearning/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "use": "@autorest/typescript@6.0.0-alpha.16.20220114.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.3.0", + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/machinelearning/arm-webservices/api-extractor.json b/sdk/machinelearning/arm-webservices/api-extractor.json index f037e124e2e0..2b0fa4f8ba97 100644 --- a/sdk/machinelearning/arm-webservices/api-extractor.json +++ b/sdk/machinelearning/arm-webservices/api-extractor.json @@ -1,18 +1,31 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "mainEntryPointFilePath": "./dist-esm/src/index.d.ts", - "docModel": { "enabled": true }, - "apiReport": { "enabled": true, "reportFolder": "./review" }, + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "", "publicTrimmedFilePath": "./types/arm-webservices.d.ts" }, "messages": { - "tsdocMessageReporting": { "default": { "logLevel": "none" } }, + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, "extractorMessageReporting": { - "ae-missing-release-tag": { "logLevel": "none" }, - "ae-unresolved-link": { "logLevel": "none" } + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } } } -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-webservices/package.json b/sdk/machinelearning/arm-webservices/package.json index 62715f8f302a..2a0268faa603 100644 --- a/sdk/machinelearning/arm-webservices/package.json +++ b/sdk/machinelearning/arm-webservices/package.json @@ -3,8 +3,10 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for AzureMLWebServicesManagementClient.", - "version": "1.0.0", - "engines": { "node": ">=12.0.0" }, + "version": "1.0.1", + "engines": { + "node": ">=12.0.0" + }, "dependencies": { "@azure/core-lro": "^2.2.0", "@azure/abort-controller": "^1.0.0", @@ -14,7 +16,13 @@ "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, - "keywords": ["node", "azure", "typescript", "browser", "isomorphic"], + "keywords": [ + "node", + "azure", + "typescript", + "browser", + "isomorphic" + ], "license": "MIT", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -41,7 +49,9 @@ "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" }, - "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, "files": [ "dist/**/*.js", "dist/**/*.js.map", @@ -88,13 +98,5 @@ "docs": "echo skipped" }, "sideEffects": false, - "//metadata": { - "constantPaths": [ - { - "path": "src/AzureMLWebServicesManagementClient.ts", - "prefix": "packageDetails" - } - ] - }, "autoPublish": true -} +} \ No newline at end of file diff --git a/sdk/machinelearning/arm-webservices/recordings/node/my_test/recording_sample_test.js b/sdk/machinelearning/arm-webservices/recordings/node/my_test/recording_sample_test.js deleted file mode 100644 index 0f6ecb857acf..000000000000 --- a/sdk/machinelearning/arm-webservices/recordings/node/my_test/recording_sample_test.js +++ /dev/null @@ -1,5 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "7a6be38bb8cb644d64b4094802301751"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts b/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts index ce1615151729..20c35d2c0f67 100644 --- a/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts +++ b/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts @@ -44,7 +44,7 @@ export class AzureMLWebServicesManagementClient extends coreClient.ServiceClient credential: credentials }; - const packageDetails = `azsdk-js-arm-webservices/1.0.0`; + const packageDetails = `azsdk-js-arm-webservices/1.0.1`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/machinelearning/arm-webservices/tsconfig.json b/sdk/machinelearning/arm-webservices/tsconfig.json index 6e3251194117..69cd824d326e 100644 --- a/sdk/machinelearning/arm-webservices/tsconfig.json +++ b/sdk/machinelearning/arm-webservices/tsconfig.json @@ -9,11 +9,20 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6", "dom"], + "lib": [ + "es6", + "dom" + ], "declaration": true, "outDir": "./dist-esm", "importHelpers": true }, - "include": ["./src/**/*.ts", "./test/**/*.ts"], - "exclude": ["node_modules"] -} + "include": [ + "./src/**/*.ts", + "./test/**/*.ts", + "./test/**/*.ts" + ], + "exclude": [ + "node_modules" + ] +} \ No newline at end of file diff --git a/sdk/machinelearning/ci.mgmt.yml b/sdk/machinelearning/ci.mgmt.yml index 8088985e6a32..97dcf8c25c50 100644 --- a/sdk/machinelearning/ci.mgmt.yml +++ b/sdk/machinelearning/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -12,6 +12,9 @@ trigger: - sdk/machinelearning/arm-workspaces/ - sdk/machinelearning/arm-webservices/ - sdk/machinelearning/arm-commitmentplans/ + - sdk/machinelearning/arm-commitmentplans + - sdk/machinelearning/arm-webservices + - sdk/machinelearning/arm-workspaces pr: branches: include: @@ -27,7 +30,9 @@ pr: - sdk/machinelearning/arm-workspaces/ - sdk/machinelearning/arm-webservices/ - sdk/machinelearning/arm-commitmentplans/ - + - sdk/machinelearning/arm-commitmentplans + - sdk/machinelearning/arm-webservices + - sdk/machinelearning/arm-workspaces extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: @@ -38,4 +43,4 @@ extends: - name: azure-arm-webservices safeName: azurearmwebservices - name: azure-arm-commitmentplans - safeName: azurearmcommitmentplans \ No newline at end of file + safeName: azurearmcommitmentplans