Skip to content

Commit

Permalink
imagebuilder-track2 (Azure#22041)
Browse files Browse the repository at this point in the history
* imagebuilder-track2

* imagebuilder-track2

* imagebuilder-track2

* imagebuilder-track2

* resolve conflicts

* Update package.json

* try fix test

* Update test cases in new recorder

* Delete useless recording file

* Uncomment deletion resource

Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
Co-authored-by: qiaozha <[email protected]>
Co-authored-by: Mary Gao <[email protected]>
  • Loading branch information
4 people authored Jun 7, 2022
1 parent cbe1290 commit e399de8
Show file tree
Hide file tree
Showing 62 changed files with 3,879 additions and 5,595 deletions.
8 changes: 5 additions & 3 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 25 additions & 10 deletions sdk/imagebuilder/arm-imagebuilder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,30 @@
# Release History

## 2.0.0 (2022-06-06)

**Features**

## 1.0.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface ImageTemplateInVMValidator
- Added Interface ImageTemplatePropertiesValidate
- Added Type Alias ImageTemplateInVMValidatorUnion
- Added Type Alias ImageTemplatePowerShellValidator
- Added Type Alias ImageTemplateShellValidator
- Added Type Alias ProxyResource
- Interface Resource has a new optional parameter systemData
- Add parameters of ProxyResource to TypeAlias RunOutput
- Type Alias ImageTemplate has a new parameter validate
- Type Alias ImageTemplate has a new parameter stagingResourceGroup
- Type Alias ImageTemplate has a new parameter exactStagingResourceGroup
- Enum KnownProvisioningErrorCode has a new value BadStagingResourceGroup
- Enum KnownProvisioningErrorCode has a new value BadValidatorType
- Enum KnownProvisioningErrorCode has a new value NoValidatorScript
- Enum KnownProvisioningErrorCode has a new value UnsupportedValidatorType

**Breaking Changes**

- Delete parameters of SubResource in TypeAlias RunOutput
- Type Alias ImageTemplate no longer has parameter systemData

## 1.0.2 (2022-04-26)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/imagebuilder/arm-imagebuilder/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a",
"readme": "specification\\frontdoor\\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:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\frontdoor\\resource-manager\\readme.md --use=@autorest/[email protected]alpha.19.20220408.1 --generate-sample=true",
"commit": "078b90617e5e08137d0395963bd4119f4561a910",
"readme": "specification/imagebuilder/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:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\imagebuilder\\resource-manager\\readme.md --use=@autorest/[email protected]beta.20 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
"use": "@autorest/[email protected]alpha.19.20220408.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/[email protected]beta.20"
}
10 changes: 7 additions & 3 deletions sdk/imagebuilder/arm-imagebuilder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ImageBuilderClient.",
"version": "1.0.3",
"version": "2.0.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,13 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-compute": "^17.0.0",
"@azure/arm-msi": "^2.0.0",
"@types/node": "^12.0.0"
Expand Down Expand Up @@ -96,7 +100,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand Down
Loading

0 comments on commit e399de8

Please sign in to comment.