Skip to content

Commit

Permalink
Sync from master. Improved code style (#5802)
Browse files Browse the repository at this point in the history
* Refactor enum list of /definitions/ReadableType (#5747)

- Remove unnecessary "Regular Expression Entity Extractor"

* Update rest-api-spec-scripts to 0.2 and remote travis-ci jobs (except… (#5742)

* Update rest-api-spec-scripts to 0.2 and remote travis-ci jobs (except branch check)

* return semantic and model

* minor

* modelValidation and semanticValidation use avocado diff.

* Install .Net

* semantic and model

* restore travis

* minor

* Fix documentation issues. (#5721)

* Introduce toBeDetached flag for Datadisks for ApiVersion 2019-03-01 (#5704)

* ToBeDetached added in Json and an example added

* Removed from OS disk and added to dataDisk

* Initial stable version (#5683)

* NFSAAS-2185 update to R4 standard

* NFSAAS-2185 update to R4 RP standard

* NFSAAS-2185 update to R4 RP standard

* NFSAAS-2185 update to R4 RP standard

* NFSAAS-2185 update to RP R4 standard

* NFSAAS-2185 update to R4 RP standard

* NFSAAS-2185 update to R4 RP standard

* NFSAAS-2185 update to R4 RP standard

* NFSAAS-2185 update to R4 RP standard

* Adds Partners GET (#5726)

*  Fixing csharp multi profiles  (#4092)

* Fixing csharp multi profiles

* minor fix

* fixing network

* unused

* unused

* FIxing dns

* Moved AdditionalCapabilities out from VM profile to VMSS and updated SKUs API to support zonal capabilities (#5753)

* Updated comments and introduced AvailabilitySetSkuType to help users use predefined constants

* Moved AdditionalCapabilities out from VM profile to VMSS and updated SKUs API to support zonal capabilities

* Fixed indentation

* Fixed indentation in skus.json

* QnAMaker DTO changes for Multiturn (#5738)

* DTO updates for multiturn support

* fix message

* max len of display text

* Resolve comments

* missed additional property

* Fix Namespace in Ruby Readme Qnamaker

* [Hub Generated] Review request for Microsoft.ApiManagement to add version stable/2019-01-01 (#5732)

* Policy Format

* update example of creating revisions from api

* upper case XML

* Add hyperVGeneration enum property to ImageProperties (#5740)

* added hyperV property along with hyperVGenerationType

* Updated Compute.json by chaging HyperVGenerationTypes to V1,v2

* Update compute.json

* Update compute.json to link enum to outer HyperVGeneration

* Update compute.json

Ad trailing ,

* Adding 2019-04-01 API version for Microsoft.DevSpaces RP (#5713)

* Adding old spec and examples

* Adding 2019-04-01 API version

* Fix readmes for SDK

* Add missing response code in swagger example

* 2019-02-01-preview (#5698)

* 2019-02-01-preview

* Added ruby spec. Removed Node spec. Fixed spelling error in 'utilizing'. Removed BOM from the beginning of example files.

* Sqldb serverless (#5760)

* Add auto pause delay param to 2017-01-01-preview get/database

* Add minCapacity param to 2017-01-01-preview database

* Scripts v 0.3.9 (#5761)

* Scripts v 0.3.9

* Update preproduction-azure-pipelines.yml

* Remove SDK generation rom preprod.

* branch protection (#5764)

* branch protection

* script

* test

* failOnstderr

* on private

* Added swagger spec for Microsoft.DynamicsTelemetry preview (#5161)

* Added swagger spec for Microsoft.DynamicsTelemetry preview

* host changed

* Fix Operations_List

* Update dynamicstelemetry.json

Host changed to management.azure.com

* "No Content" response added

* change blobduration data type to "date-time"

* Changed blobDuration format to "format":"duration"

* add 204 response to the sample

* fix validation error

* modelValidation2 and semanticValidation2 (#5765)

* modelValidation2 and semanticValidation2

* modelvalidation2

* rename

* [TimeSeriesInsights] Spec bugfix for GetEvents API - projected properties are a list of EventProperty and not string. (#5681)

* Fix or suppress spec violations
Fix R2016 by making PATCH body properties optional. Suppress the remaining 4 violations that are confirmed as false positives.

* Try removing 2nd top-level heading, which _may_ have been causing a linter warning.

* Fix extra indention which prevented linter from running.

* Added dataStringComparisonBehavior parameter to reference data put/update spec.

* Fixed grammar.

* adding partitionkeyProperty to environmentInfo

* changing property name

* changing modelAsString

* Initial checkin of spec. Unchanged from GA release other than version.

* Remove .orig files

* Fix validation error by removing IoTHub ES from List ES example response

* Add extra example that was missing from preview spec.

* Add long-term environment to resource hierarchy, and update examples.

* Switch to model-as-string for enums. Restore EnvironmentResource's inheritance from TrackedResource.

* Upsate sku description

* Add new TSI preview api-version to readme.md.

* Add suppressions for false-positive linter failures.

* Test suppression failures

* Adding preview package tag to several other places in readme.md

* Add preview package to the readme.go.md file

* Remove invalid required property from EnvironmentCreateOrUpdateParameters

* Initial version of data plane swagger spec for PAYG (Preview) SKU.

* Added missing Readme.md

* Fixed name of readme

* Fixed path to swagger json

* Attempt to fix readme

* Apply suggestions from code review

Co-Authored-By: dmdenmsft <dmden@microsoft.com>

* Update timeseriesinsights.json

* Update timeseriesinsights.json

* Added link to oav issue

* bug fix - get events payload projected properties to take in list of EventProperty and not string.

* Fixed inconsistencies between examples and spec.

* Fixed bug in spec specifying TSID array.

* Updating the schema to adhere to the new design changes (#5769)

* add storage package-2019-04 to Go SDK (#5773)

* add netapp package-netapp-2019-05-01 to Go SDK (#5774)

* fixes (#5770)

* revert not support formats (#5763)

* [Cogs Face] Align with latest Face API v1.12 (#5722)

* Sync with APIM descriptions.

* Remove description end with '\n' and add add face to person in person gourp descriptions.

* Update

* [Hub Generated] Review request for Microsoft.OperationalInsights to add version preview/2015-11-01-preview (#5645)

* Update OperationalInsights.json

* Adds suppression to readme

* Adds suppression to readme

* Adds suppression to readme

* Adds suppression to readme

* Adds suppression to readme

* Revert "Adds suppression to readme"

This reverts commit 8c0e9bd.

* Revert "Adds suppression to readme"

This reverts commit ecf7615.

* Revert "Adds suppression to readme"

This reverts commit c8a0d5c.

* Revert "Adds suppression to readme"

This reverts commit 7f54236.

* Revert "Adds suppression to readme"

This reverts commit 350be00.

* Personalizer v1.0 preview (#5743)

* Initial setup of Personalizer SDK

* Add readme.md

* fix some comments

* Fix readme.md

* fix enums and examples, work in progress

* handle error codes

* fix typos

* resolve comments

* using UTF-8 encoding

* checking formatted Personalizer.json

* use ASCII

* use parameter names

* remove example from definitions

* Update examples

* update operation names to noun_verb format

* update generated swagger

* deleting earlier example files

* add back application/octet-stream

* Change model type back to file

* Update readonly properties

* Update readonly properties

* remove IActionResult

* [Datafactory] Adding getFeatureValue API in factory scope (#5591)

* Adding getFeatureValue API in factory scope

* Updating examples for IfNoneMatch header on get calls

* Fixing example validation errors

* remove ifNoneMatch=null from examples

* More example validation fixes

* One more IR example fix

* Deleted wrong property

* Fixing last example

* Restoring previous example

* Testing example for validation

* Reverting last commit

* Compute Python 2019-04 (#5775)

* [ACR] Support MSI in Task [NEW API VERSION] (#5561)

* examples for new sdk

* update examples

* update examples

* add identity to core examples

* Add opaque example

* add references to examples

* spelling fix

* update tag in all readmes

* update jave readme

* fix RunRequest examples

* Delete extra file.

* Delete extra file.

* Fix examples from previous API version

* fix example errors

* FileTaskRunRequest fix

* Add RunErrorMessage from previous version

* update api-version in examples

* old version: 2018-09-01

* add new API version: 2019-04-01

* Support Scheduler Trigger

* fix build errors

* rename to TimerTrigger

* nit rename comment

* Rename Gremlin container by graph (#5744)

* Rename Gremlin container by graph

* Replace rid in url with name

* Replace mongo with mongodb

* Replace rid with name in examples

* Fix bug

* Update MongoDB name

* Update file name by git mv as windows doesn't work

* Update MongDB name in example

* Adding all sync methods to Personalizer API (#5777)

* add stream as return type for get model

* fix response type for correct op

* change type file to stream

* remove stream ref

* Adding all sync methods to Personalizer API

* Adding all sync methods to Personalizer API

* Fix missing proxy override enum for managed instance swagger (#5780)

* Initializing instance pools swagger and examples - no usages / managed instances get by instance pool

* Fix missing enum for proxy override

* Make Microsoft.Subscription.Admin api consistent. (#5771)

* Make Microsoft.Subscription.Admin api consistent.

* Remove location delete api

* Change Metrics to metrics

* Change MetricDefinitions to metricDefinitions

* Remove the Delete.json

* Fix examples (#5778)

* chore: jsonfmt addons (#5785)

Ran `jsonfmt -w specification/addons/**/*.json`

* Add v3.0-preview APIs for LUIS (#5724)

* Add v3.0-preview APIs

* Remove the timezoneoffset property

* Add the datetimeReference property

* - Add description to the definitions and the APIs
- Fix naming bugs (show-all-intents,dynamicLists)
- Rename the definitions for consistency

* [Merge is planed on 2019/04/29] Move scripts from this repo. (#5719)

* Breaking Change2

* Experimental lintdiff

* No more model/semantic/syntax validations in travis-CI.

* Scripts 0.1.8

* Use scripts from @azure/rest-api-specs-scripts

* ts-utils

* fix breaking changes

* momentOfTruthPostProcessing

* momentOfTruthPostProcessing.ts

* remove 'ts-utils.ts'

* Remove `utils`

* postToGitHub.ts

* switch to momentOfTruthUtils

* minor

* Syntax.ts

* semanticValidation.ts

* another try

* minor update

* URL/fix

* OAD ^0.2.13

* update to new scripts.

* Use scripts from `sergey/move-from-specs-repo`.

* simplified model validation.

* preprod

* postToGitHub

* momentOfTruthPostProcessing

* Semantic Validation

* getSwaggers()

* Use `getExamples()` and `getSwaggers()`.

* Update package.json

* Remove travis-CI jobs except branch strategy.

* remove model and semantic validations version 2.

* chore: Renormalize line endings (#5783)

Ran `git add --renormalize .`

* Adding Create, Delete and List Namespaces Endpoints for Event Hubs Cluster Resource (#5565)

* Adding ClusterPut.json example

* Create ListNamespaceInClusterPost.json

* Create ClusterDelete.json

* Update EventHub-preview.json

* Adding valid responses to Cluster PUT example.

* Update specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json

Co-Authored-By: FBettati <franco.d.bettati@gmail.com>

* Adding Available Regions API

* Adding ListAvailableClusters POST example.

* Modifying response in AvailableClusterList

* Updating LIstAvailableClustersPost.json example

* Delete ListAvailableClustersPost.json

* Create ListAvailableClustersGet.json

* Delete ListNamespaceInClusterPost.json

* Create ListNamespacesInClusterGet.json

* Update EventHub-preview.json

* Modify availableClusters API to have a valid ARM collection response

* Updating AvailableClusters collection response example

* Updating /cluster/namespaces and /availableClusters calls

* Adding parameters to ListAvailableClusters example.

* Adding extra layer to namespace IDs in ListNamespacesInCluster example.

* Removing comma from ListAvailableClusters example

* Added regultory compliance to package-composite-v3 (#5786)

* Added regultory compliance to package-composite-v3

* Added regultory compliance to package-composite-v3

* Improve documentation of sql database & elastic pool skus (#5756)

* Improve documentation of db and pool skus

* Update documentation for database 2017-10-01-preview

* Update documentation for elastic pool 2017-10-01-preview

* Fixed syntax error in databases 2017-10-01

* Fixed syntax error in elasticPools 2017-10-01

* Remove CreateVCoreDatabase example that is no longer referenced

* Remove DW DTU capacity example due to feedback

* Fixed broken Sku reference

* Fixed model validation issues

* Fixed another model validation error

* Additional doc tweaks

* Create new resource type: Microsoft.ResourceGraph/queries (#5478)

* Adding Workbooks resource type.

* Rename workbookDelete.json to WorkbookDelete.json

* Fixed undefiend parameter issue with Delete verb.

* Update swagger to add subscriptionId

* Fixed duplicated operation id issue

* Removed links endpoint

* Removed unused samples

* Revert "Removed unused samples"

This reverts commit bed6bc3.

* Revert "Removed links endpoint"

This reverts commit c245a85.

* Removed link logic and added get by resourceid

* Applied PR comments

* Added Resource Group parameter for GET. Removed get by sourceId since we are not using sourceId anymore

* Resolved the merge conflicts with readme.md

* Remove a location parameter since ARM routes it as we are using an tracted resource type

* Created newer version (2018-04-01-preview) for workbook resource type.

* Added Microsoft/Insights/Operations

* Added Microsoft/Insights/Operations

* Corrected the api version.

* Made properties of PATCH operation as not required. Updated the version number to reflect the actual production one.

* Updated Resource properties with the correct fields. Created new definition for PATCH operation since location is not required field

* Update readme file

* Uses plural for operation group name

* Removed x-ms-mutability settings

* Removed the location settings for PATCH

* Added Microsoft.ResourceGraph/SavedQuery resource type

* Fixed various validation errors

* Updated ARG/resources to add a saved query support along with examples

* Updated ARM/resources based on the feedback

* Prepared for Swagger submittion

* Added saved query entry in readme.md

* Changed HTTP status code of 201 to 200 for DELETE

* Removed a name from payload since it is already specified in url

* Removed location since it is a global resource and added eTag

* Moved savedquery.json along with all examples into 2018-09-01-preview folder

* Update saved query metadata in OperationsList.json

* Updated readme.md file to address a version

* Fixed a version for saved query

* Fixed indentation of -input-file in readme

* Renamed Saved => Graph

* Applied PR comments

* Restored extended enum value in ResultKind since we are using it

* Removed the extended enum value again

* Apply ARM API team comments

* Fix examples

* Fix examples

* Added nextLinkName

* add Go SDK build

* make descriptions match

* Added nextLink definition in OperationListResult

* Removed a duplicated OperationListResult and reference to resourcegraph.json

* Added nextLinkName: nextLink for x-ms-pageable in operations

* fix formatting and description

* Removed extended from enum

* Updating Profile format (#5768)

* Updating Profile format

Updating profile spec format to include actual path for resource spec

* Update 2019-03-01-hybrid.json

updating resourceName to resourceType

* [Azure Search] New GA data-plane API spec for version 2019-05-06 (#5782)

* [Azure Search] Copy 2017-11-11-Preview specs to 2019-05-06

* [Azure Search] Update 2019-05-06 spec to reflect new GA API

Made the following changes to specs and examples:
  1. Changed version number from 2017-11-11-Preview to 2019-05-06.
  2. Removed encryptionKey from Index and SynonymMap, as well as supporting
     types and examples. Encryption with customer-managed keys is still in
     preview.
  3. Added statusCode to IndexError since this was added to the 2019-05-06
     API.
  4. Made DataSourceCredentials.connectionString an optional property to
     suppress generation of client-side validation code. This will make it
     easier for customers to write correct code that updates their data
     sources. This is especially important now that Create and CreateOrUpdate
     do not return the connection string.

No further changes are required because all other features from
2017-11-11-Preview are now GA in 2019-05-06.

* [SRP] Expose lease container in Apr19 API. (#5733)

* [SRP] Expose lease container in Apr19 API.

* Fix lease container example files; fix casing in Lease Container URL

* Update CODEOWNERS (#5794)

assigning as one of the owners of profile directory

* [Microsoft.ResourceGraph] Returning null for nextLink in example to preserve the existing scenario (#5792)

* Adding Workbooks resource type.

* Rename workbookDelete.json to WorkbookDelete.json

* Fixed undefiend parameter issue with Delete verb.

* Update swagger to add subscriptionId

* Fixed duplicated operation id issue

* Removed links endpoint

* Removed unused samples

* Revert "Removed unused samples"

This reverts commit bed6bc3.

* Revert "Removed links endpoint"

This reverts commit c245a85.

* Removed link logic and added get by resourceid

* Applied PR comments

* Added Resource Group parameter for GET. Removed get by sourceId since we are not using sourceId anymore

* Resolved the merge conflicts with readme.md

* Remove a location parameter since ARM routes it as we are using an tracted resource type

* Created newer version (2018-04-01-preview) for workbook resource type.

* Added Microsoft/Insights/Operations

* Added Microsoft/Insights/Operations

* Corrected the api version.

* Made properties of PATCH operation as not required. Updated the version number to reflect the actual production one.

* Updated Resource properties with the correct fields. Created new definition for PATCH operation since location is not required field

* Update readme file

* Uses plural for operation group name

* Removed x-ms-mutability settings

* Removed the location settings for PATCH

* Added Microsoft.ResourceGraph/SavedQuery resource type

* Fixed various validation errors

* Updated ARG/resources to add a saved query support along with examples

* Updated ARM/resources based on the feedback

* Prepared for Swagger submittion

* Added saved query entry in readme.md

* Changed HTTP status code of 201 to 200 for DELETE

* Removed a name from payload since it is already specified in url

* Removed location since it is a global resource and added eTag

* Moved savedquery.json along with all examples into 2018-09-01-preview folder

* Update saved query metadata in OperationsList.json

* Updated readme.md file to address a version

* Fixed a version for saved query

* Fixed indentation of -input-file in readme

* Renamed Saved => Graph

* Applied PR comments

* Restored extended enum value in ResultKind since we are using it

* Removed the extended enum value again

* Apply ARM API team comments

* Fix examples

* Fix examples

* Added nextLinkName

* add Go SDK build

* make descriptions match

* Added nextLink definition in OperationListResult

* Removed a duplicated OperationListResult and reference to resourcegraph.json

* Added nextLinkName: nextLink for x-ms-pageable in operations

* fix formatting and description

* Removed extended from enum

* Remove nextLink from the example

* Returning null for nextLink in the example so that we can preserve the existing scenario.

* Removed nextLink entirely per PR comment

* Update the default tag for LUIS Runtime (#5793)

* Sync 2019-04-01 with "git add --renormalize ."call

* Fix style issues missed by automation
  • Loading branch information
EvgenyAgafonchikov authored and dsgouda committed May 6, 2019
1 parent 45d35bd commit d772ea5
Show file tree
Hide file tree
Showing 459 changed files with 31,154 additions and 6,979 deletions.
33 changes: 0 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,12 @@ services:
env:
matrix:
- MODE=branchStrategy
- MODE=semantic PR_ONLY=true CHECK_NAME="Semantic Validator"
- MODE=model PR_ONLY=true CHECK_NAME="Model Validator"
- MODE=BreakingChange PR_ONLY=true CHECK_NAME="Breaking Changes"
- MODE=lintdiff PR_ONLY=true CHECK_NAME="Linter Diff" NODE_OPTIONS=--max-old-space-size=8192
matrix:
fast_finish: true
allow_failures:
- env: MODE=model PR_ONLY=true CHECK_NAME="Model Validator"
- env: MODE=BreakingChange PR_ONLY=true CHECK_NAME="Breaking Changes"
install: true
script:
- >-
if [[ $MODE == 'branchStrategy' ]]; then
# Check to ensure CI is not executing for a PR against the master branch in the private repository
! [[ $TRAVIS_PULL_REQUEST != 'false' && $TRAVIS_REPO_SLUG == 'Azure/azure-rest-api-specs-pr' && $TRAVIS_BRANCH == 'master' ]]
fi
- >-
if [[ $MODE == 'semantic' ]]; then
npm install
npm run tsc
node scripts/semanticValidation.js
fi
- >-
if [[ $MODE == 'model' ]]; then
npm install
npm run tsc
node scripts/modelValidation.js
fi
- >-
if [[ $MODE == 'BreakingChange' ]]; then
scripts/install-dotnet.sh
npm install
npm run tsc
node scripts/breaking-change.js
fi
- >-
if [[ $MODE == 'lintdiff' ]]; then
scripts/install-dotnet.sh
npm install
npm run tsc
node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js
fi
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
],
"url":"https://raw.githubusercontent.com/Azure/autorest/master/schema/composite-swagger.json"
}
]
],
"typescript.tsdk": "node_modules\\typescript\\lib"
}
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@
/specification/timeseriesinsights/ @sandshadow
/specification/trafficmanager/ @allencal @hrkulkarmsft
/specification/web/ @lukaszstem @naveedaz @nking92
/profile/ @shahabhijeet
5 changes: 1 addition & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
- job: "Avocado"
pool:
vmImage: 'Ubuntu 16.04'
continueOnError: true
steps:
- task: Npm@1
displayName: 'npm install'
Expand All @@ -68,12 +67,11 @@ jobs:
displayName: 'Avocado'

- job: "BreakingChange"
condition: "not(variables['PRIVATE'])"
pool:
vmImage: 'Ubuntu 16.04'
steps:
- script: 'scripts/install-dotnet.sh'
displayName: 'Insall .Net'
displayName: 'Install .Net'
- task: Npm@1
displayName: 'npm install'
inputs:
Expand All @@ -82,7 +80,6 @@ jobs:
displayName: 'Breaking Changes'

- job: "LintDiff"
condition: "not(variables['PRIVATE'])"
variables:
NODE_OPTIONS: '--max-old-space-size=8192'
pool:
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@
"description": "Tests for Azure REST API Specifications",
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.3.3",
"@azure/oad": "^0.5.1",
"@azure/rest-api-specs-scripts": "^0.1.8",
"@azure/avocado": "^0.4.1",
"@azure/oad": "^0.6.3",
"@azure/rest-api-specs-scripts": "^0.3.9",
"@microsoft.azure/async-io": "^2.0.21",
"@microsoft.azure/literate": "^1.0.25",
"@microsoft.azure/polyfill": "^1.0.19",
"@octokit/rest": "^16.24.1",
"@octokit/rest": "^16.25.0",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@types/fs-extra": "^5.0.5",
"@types/js-yaml": "^3.12.1",
"@types/mocha": "^5.2.6",
"@types/request": "^2.48.1",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
Expand All @@ -31,7 +32,7 @@
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"ts-node": "^8.1.0",
"typescript": "^3.4.3",
"typescript": "^3.4.4",
"z-schema": "^4.0.2"
},
"homepage": "https://github.com/azure/azure-rest-api-specs",
Expand Down
51 changes: 14 additions & 37 deletions preproduction-azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Preproduction CI for Azure Rest API speciications"
name: "Preproduction CI for Azure Rest API specifications"

trigger: none

Expand All @@ -13,6 +13,14 @@ variables:

jobs:

- job: "BranchProtection"
pool:
vmImage: 'Ubuntu 16.04'
condition: and(variables['PRIVATE'], eq(variables['System.PullRequest.TargetBranch'], 'master'))
steps:
- script: '>&2 echo "the branch is protected"'
failOnStderr: true

- job: "Syntax"
pool:
vmImage: 'Ubuntu 16.04'
Expand All @@ -30,7 +38,7 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- script: 'npm install -D @azure/rest-api-specs-scripts@0.2.21 @azure/oad@0.6.3'
- script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- script: 'npm test -- test/syntax.js'
displayName: 'Syntax validation'

Expand All @@ -42,7 +50,7 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- script: 'npm install -D @azure/rest-api-specs-scripts@0.2.21 @azure/oad@0.6.3'
- script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- script: 'npm run tsc && node scripts/semanticValidation.js'
displayName: 'Semantic Validation'

Expand All @@ -54,7 +62,7 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- script: 'npm install -D @azure/rest-api-specs-scripts@0.2.21 @azure/oad@0.6.3'
- script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- script: 'npm run tsc && node scripts/modelValidation.js'
displayName: 'Model Validation'

Expand All @@ -80,7 +88,7 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- script: 'npm install -D @azure/rest-api-specs-scripts@0.2.21 @azure/oad@0.6.3'
- script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- script: 'npm run tsc && node scripts/breaking-change.js'
displayName: 'Breaking Changes'

Expand All @@ -96,37 +104,6 @@ jobs:
verbose: false
- script: 'scripts/install-dotnet.sh'
displayName: 'install .Net'
- script: 'npm install -D @azure/rest-api-specs-scripts@0.2.21 @azure/oad@0.6.3'
- script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js'
displayName: 'LintDiff'

- job: "SDK"
timeoutInMinutes: 120
strategy:
matrix:
ruby:
AZURE_SDK_REPO: azure-sdk-for-ruby
AZURE_SDK_PARAMS: ''
java:
AZURE_SDK_REPO: azure-sdk-for-java
AZURE_SDK_PARAMS: ''
javascript:
AZURE_SDK_REPO: azure-sdk-for-js
AZURE_SDK_PARAMS: ''
node:
AZURE_SDK_REPO: azure-sdk-for-node
AZURE_SDK_PARAMS: ''
python:
AZURE_SDK_REPO: azure-sdk-for-python
AZURE_SDK_PARAMS: ''
go:
AZURE_SDK_REPO: azure-sdk-for-go
AZURE_SDK_PARAMS: '-o latest'
pool:
vmImage: 'Ubuntu 16.04'
variables:
NODE_OPTIONS: '--max-old-space-size=8192'
steps:
- script: echo $(NODE_OPTIONS)
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)"
displayName: "Swagger to SDK script"
Loading

0 comments on commit d772ea5

Please sign in to comment.