Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync from master. Improved code style #5802

Merged
merged 52 commits into from
May 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
7ba1368
Refactor enum list of /definitions/ReadableType (#5747)
tiwalter Apr 24, 2019
61e73c3
Update rest-api-spec-scripts to 0.2 and remote travis-ci jobs (except…
sergey-shandar Apr 24, 2019
7d045f8
Fix documentation issues. (#5721)
toothache Apr 24, 2019
bcb198a
Introduce toBeDetached flag for Datadisks for ApiVersion 2019-03-01 (…
vamuzumd Apr 24, 2019
1709a02
Initial stable version (#5683)
leonardbf Apr 24, 2019
a7ea4fc
Adds Partners GET (#5726)
jetts Apr 24, 2019
a5c4e51
Fixing csharp multi profiles (#4092)
dsgouda Apr 24, 2019
c17d5aa
Moved AdditionalCapabilities out from VM profile to VMSS and updated …
robhat1 Apr 24, 2019
7934116
QnAMaker DTO changes for Multiturn (#5738)
Apr 24, 2019
6772fa4
[Hub Generated] Review request for Microsoft.ApiManagement to add ver…
solankisamir Apr 24, 2019
9ecab14
Add hyperVGeneration enum property to ImageProperties (#5740)
vamuzumd Apr 24, 2019
244a827
Adding 2019-04-01 API version for Microsoft.DevSpaces RP (#5713)
sanar-microsoft Apr 24, 2019
04f162b
2019-02-01-preview (#5698)
jimmyca15 Apr 25, 2019
668e107
Sqldb serverless (#5760)
mykolian Apr 25, 2019
2df8de5
Scripts v 0.3.9 (#5761)
sergey-shandar Apr 25, 2019
9ad5e17
branch protection (#5764)
sergey-shandar Apr 25, 2019
9b87178
Added swagger spec for Microsoft.DynamicsTelemetry preview (#5161)
v-ilseka Apr 25, 2019
c8fec4b
modelValidation2 and semanticValidation2 (#5765)
sergey-shandar Apr 25, 2019
97a0c18
[TimeSeriesInsights] Spec bugfix for GetEvents API - projected proper…
yeskarthik Apr 26, 2019
eea61e4
Updating the schema to adhere to the new design changes (#5769)
pabowers Apr 26, 2019
7acc548
add storage package-2019-04 to Go SDK (#5773)
jhendrixMSFT Apr 26, 2019
8753fa0
add netapp package-netapp-2019-05-01 to Go SDK (#5774)
jhendrixMSFT Apr 26, 2019
71bc2f6
fixes (#5770)
Apr 26, 2019
a151916
revert not support formats (#5763)
solankisamir Apr 26, 2019
6a42c25
[Cogs Face] Align with latest Face API v1.12 (#5722)
lebronJ Apr 26, 2019
632627f
[Hub Generated] Review request for Microsoft.OperationalInsights to a…
arolshan Apr 26, 2019
68eb1ae
Personalizer v1.0 preview (#5743)
dwaijam Apr 26, 2019
e803702
[Datafactory] Adding getFeatureValue API in factory scope (#5591)
hvermis Apr 26, 2019
0a26f9f
Compute Python 2019-04 (#5775)
lmazuel Apr 26, 2019
a35a6dc
[ACR] Support MSI in Task [NEW API VERSION] (#5561)
jaysterp Apr 26, 2019
38c2ed6
Rename Gremlin container by graph (#5744)
bizarreWizard Apr 26, 2019
df97ac6
Adding all sync methods to Personalizer API (#5777)
dwaijam Apr 26, 2019
331b773
Fix missing proxy override enum for managed instance swagger (#5780)
johnpaulkee Apr 26, 2019
475083e
Make Microsoft.Subscription.Admin api consistent. (#5771)
yusonMicrosoft Apr 26, 2019
7dbfd43
Fix examples (#5778)
yangmsft Apr 28, 2019
c5904d2
chore: jsonfmt addons (#5785)
nschonni Apr 29, 2019
03a7910
Add v3.0-preview APIs for LUIS (#5724)
moabba Apr 29, 2019
781c97f
[Merge is planed on 2019/04/29] Move scripts from this repo. (#5719)
sergey-shandar Apr 29, 2019
9c6e59b
chore: Renormalize line endings (#5783)
nschonni Apr 29, 2019
0c33653
Adding Create, Delete and List Namespaces Endpoints for Event Hubs Cl…
FBettati Apr 29, 2019
abd2dec
Added regultory compliance to package-composite-v3 (#5786)
himarkov Apr 29, 2019
80daf98
Improve documentation of sql database & elastic pool skus (#5756)
jaredmoo Apr 29, 2019
1569c26
Create new resource type: Microsoft.ResourceGraph/queries (#5478)
ericc1103 Apr 29, 2019
1660bb5
Updating Profile format (#5768)
shahabhijeet Apr 29, 2019
da72486
[Azure Search] New GA data-plane API spec for version 2019-05-06 (#5782)
brjohnstmsft Apr 29, 2019
27e6adc
[SRP] Expose lease container in Apr19 API. (#5733)
huizlAzure Apr 29, 2019
1eb124c
Update CODEOWNERS (#5794)
shahabhijeet Apr 29, 2019
fd4cebf
[Microsoft.ResourceGraph] Returning null for nextLink in example to p…
ericc1103 Apr 29, 2019
d032d5e
Update the default tag for LUIS Runtime (#5793)
moabba Apr 29, 2019
d79702a
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
EvgenyAgafonchikov Apr 30, 2019
98bcd8b
Sync 2019-04-01 with "git add --renormalize ."call
EvgenyAgafonchikov Apr 30, 2019
be0cb53
Fix style issues missed by automation
EvgenyAgafonchikov Apr 30, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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