Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
update test

update shrinkwrap
  • Loading branch information
changlong-liu committed Jan 28, 2023
1 parent 8ff4359 commit c2ba6e2
Show file tree
Hide file tree
Showing 7 changed files with 912 additions and 3,271 deletions.
3,330 changes: 315 additions & 3,015 deletions tools/sdk-testgen/packages/autorest.testmodeler/npm-shrinkwrap.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13674,7 +13674,7 @@ schemas:
namespace: ''
protocol: {}
serializedName: additionalCapabilities
language: &ref_4325
language: &ref_4326
default:
name: additionalCapabilities
description: Specifies additional capabilities enabled or disabled on the virtual machine.
Expand Down Expand Up @@ -150968,7 +150968,8 @@ testModel:
operation: *ref_4319
operationGroup: *ref_4289
scenarioTests:
- &ref_4323
- &ref_4324
name: sample
_filePath: Microsoft.Compute\stable\2021-03-01\test-scenarios\sample.yaml
_swaggerFilePaths:
- Microsoft.Compute/stable/2021-03-01/compute.json
Expand All @@ -150978,11 +150979,15 @@ testModel:
- Microsoft.Compute/stable/2020-09-30/gallery.json
- Microsoft.Compute/stable/2020-09-30/sharedGallery.json
- Microsoft.Compute/stable/2021-03-01/cloudService.json
authentication: &ref_4322
type: AADToken
scope: $(armEndpoint)/.default
cleanUpSteps: []
prepareSteps:
- type: restCall
operationId: ProximityPlacementGroups_Delete
description: Create a proximity placement group.
authentication: *ref_4322
exampleFile: ../examples/DeleteAProximityPlacementGroup.json
exampleModel:
name: ../examples/DeleteAProximityPlacementGroup.json
Expand Down Expand Up @@ -151016,6 +151021,7 @@ testModel:
body:
rawValue: &ref_4321 {}
language: *ref_4320
isManagementPlane: true
isPrepareStep: true
outputVariables: {}
outputVariablesModel: {}
Expand All @@ -151042,7 +151048,8 @@ testModel:
subscriptionId: 00000000-00000000-00000000-00000000
scenarios:
- description: Microsoft.SignalRService/Basic_CRUD
_scenarioDef: *ref_4323
_scenarioDef: *ref_4324
authentication: *ref_4322
requiredVariables:
- subscriptionId
- location
Expand All @@ -151051,7 +151058,6 @@ testModel:
subscriptionId: 00000000-00000000-00000000-00000000
scenario: scenario_0
secretVariables: []
shareScope: true
steps:
- type: armTemplateDeployment
armTemplate: ./peArmTemplate/Generate_Unique_name_template.json
Expand Down Expand Up @@ -151081,6 +151087,7 @@ testModel:
- type: restCall
operationId: ProximityPlacementGroups_CreateOrUpdate
description: Create or Update a proximity placement group.
authentication: *ref_4322
exampleFile: ../examples/CreateOrUpdateAProximityPlacementGroup.json
exampleModel:
name: ../examples/CreateOrUpdateAProximityPlacementGroup.json
Expand Down Expand Up @@ -151206,6 +151213,7 @@ testModel:
language: *ref_2268
language: *ref_2267
language: *ref_2270
isManagementPlane: true
outputVariables:
fakeScenarioVar:
fromResponse: /id
Expand Down Expand Up @@ -151247,6 +151255,7 @@ testModel:
- type: restCall
operationId: ProximityPlacementGroups_Delete
description: Create a proximity placement group.
authentication: *ref_4322
exampleFile: ../examples/DeleteAProximityPlacementGroup.json
exampleModel:
name: ../examples/DeleteAProximityPlacementGroup.json
Expand Down Expand Up @@ -151278,8 +151287,9 @@ testModel:
responses:
'200':
body:
rawValue: &ref_4322 {}
rawValue: &ref_4323 {}
language: *ref_4320
isManagementPlane: true
outputVariables: {}
outputVariablesModel: {}
parameters:
Expand All @@ -151295,10 +151305,11 @@ testModel:
variables: {}
responses:
'200':
body: *ref_4322
body: *ref_4323
- type: restCall
operationId: VirtualMachines_CreateOrUpdate
description: Create a vm with Host Encryption using encryptionAtHost property.
authentication: *ref_4322
exampleFile: ../examples/CreateAVmWithEncryptionAtHost.json
exampleModel:
name: ../examples/CreateAVmWithEncryptionAtHost.json
Expand Down Expand Up @@ -151872,6 +151883,7 @@ testModel:
language: *ref_2465
language: *ref_2435
language: *ref_2484
isManagementPlane: true
outputVariables: {}
outputVariablesModel: {}
parameters:
Expand Down Expand Up @@ -152015,7 +152027,8 @@ testModel:
resourceName:
type: string
- description: Microsoft.SignalRService/DeleteOnly
_scenarioDef: *ref_4323
_scenarioDef: *ref_4324
authentication: *ref_4322
requiredVariables:
- subscriptionId
- location
Expand All @@ -152026,11 +152039,11 @@ testModel:
vmName: ''
scenario: scenario_1
secretVariables: []
shareScope: true
steps:
- type: restCall
operationId: ProximityPlacementGroups_Delete
description: Create a proximity placement group.
authentication: *ref_4322
exampleFile: ../examples/DeleteAProximityPlacementGroup.json
exampleModel:
name: ../examples/DeleteAProximityPlacementGroup.json
Expand Down Expand Up @@ -152062,8 +152075,9 @@ testModel:
responses:
'200':
body:
rawValue: &ref_4324 {}
rawValue: &ref_4325 {}
language: *ref_4320
isManagementPlane: true
outputVariables: {}
outputVariablesModel: {}
parameters:
Expand All @@ -152079,9 +152093,10 @@ testModel:
variables: {}
responses:
'200':
body: *ref_4324
body: *ref_4325
- type: restCall
operationId: VirtualMachines_CreateOrUpdate
authentication: *ref_4322
exampleModel:
clientParameters:
- exampleValue:
Expand Down Expand Up @@ -152126,7 +152141,7 @@ testModel:
schema: *ref_329
parentsValue: {}
properties: {}
language: *ref_4325
language: *ref_4326
hardwareProfile:
schema: *ref_354
parentsValue: {}
Expand Down Expand Up @@ -152220,6 +152235,7 @@ testModel:
operationGroup: *ref_2467
originalFile: ''
responses: {}
isManagementPlane: true
outputVariables:
vmId:
type: string
Expand Down Expand Up @@ -152263,6 +152279,7 @@ testModel:
responses: {}
- type: restCall
operationId: VirtualMachines_Get
authentication: *ref_4322
exampleModel:
clientParameters:
- exampleValue:
Expand Down Expand Up @@ -152290,6 +152307,7 @@ testModel:
operationGroup: *ref_2467
originalFile: ''
responses: {}
isManagementPlane: true
outputVariables: {}
outputVariablesModel: {}
parameters:
Expand All @@ -152310,6 +152328,9 @@ testModel:
secretVariables: []
useArmTemplate: true
variables:
armEndpoint:
type: string
value: https://management.azure.com
fakeStepVar:
type: string
value: signalrswaggertest4
Expand Down
Loading

0 comments on commit c2ba6e2

Please sign in to comment.