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

Multiapi sync with master and update to latest-profile script #5754

Merged
merged 187 commits into from
Apr 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
6e83582
added multiapi readme files
NelsonDaniel Mar 29, 2019
42a9525
Added profile files.
NelsonDaniel Mar 29, 2019
0299509
added java readme (#5509)
iscai-msft Mar 29, 2019
e54dca0
Adding Java generation for ResourceGraph (#5504)
iscai-msft Mar 29, 2019
c1ae2be
[DataFactory] validation activity (#5473)
Mar 29, 2019
35401b3
[App Insights control plane] fix: validate subId, apiVersion, rgName …
alexeldeib Mar 29, 2019
012facd
Swagger for Lease Container API in Feb18, March18Preview, Jul18 & Nov…
huizlAzure Mar 30, 2019
a37fa6b
wip: latest-profile generation.
NelsonDaniel Mar 30, 2019
223f0cb
[Hub Generated] Review request for Microsoft.VirtualMachineImages to …
paulmey Apr 1, 2019
65ab68c
Renaming sensativityLabels in Readme.md (#5517)
t-robalt Apr 1, 2019
ef04063
added missed parameters in Update Server API to stop PG replication (…
grigusev Apr 1, 2019
95b3d13
Finished script for generating latest profile.
NelsonDaniel Apr 2, 2019
60e323e
Added latest profile as of 04-01-2019
NelsonDaniel Apr 2, 2019
adbfcaf
Added script command to package.json
NelsonDaniel Apr 2, 2019
fd66635
results from crawling the specs from the repo.
NelsonDaniel Apr 2, 2019
201bec8
doNotRunExtensionsOnOverProvisioned Vms property description update (…
sds6 Apr 2, 2019
6c04b7a
made version more specific in terms of the date.
NelsonDaniel Apr 2, 2019
38bde49
add Premium_ChinaCdn support to cdn specification 2017-10-12 (#5533)
huaiyizhu Apr 2, 2019
8e9cb1d
adding customerAdminGroupId to osa cluster spec (#5491)
JackQuincy Apr 2, 2019
9a6d22e
[HDInsight] - Update configuration related APIs (#5477)
idear1203 Apr 2, 2019
5101009
#5326 Fix the criteria definition (#5462)
jagpreetstamber Apr 2, 2019
55f361c
[Azure Search] Update examples to use EntityRecognitionSkill instead …
arv100kri Apr 2, 2019
55c8755
updated multiapi.ts script to make enable-multi-api.readme files refe…
NelsonDaniel Apr 2, 2019
9552ef4
updated script and telemetry file to get originalLocation of invalid …
NelsonDaniel Apr 2, 2019
0ba3783
Adding require of latest profile to readme.
NelsonDaniel Apr 2, 2019
a31eac7
Adding require to profiles readme.md to all enable-multi-api readmes.
NelsonDaniel Apr 2, 2019
064b3e5
solved merge conflicts
NelsonDaniel Apr 2, 2019
45deb41
typo clean
NelsonDaniel Apr 2, 2019
cf480d9
Update managedserviceidentity type enum (#5536)
Hamster-Huey Apr 2, 2019
e7ed198
Added Swagger details for CheckNameAvailability API (#5496)
amchandn Apr 3, 2019
6a66711
GTM billing api for getting reservation Transactions by invoice secti…
msft-adrianma Apr 3, 2019
238347b
Enable MD5 Support for DataLakeStorage 2018-11-09 (#5537)
junhuagu Apr 3, 2019
80e5972
Add Managed Identity envelope to SitePatchResource (#5542)
Hamster-Huey Apr 3, 2019
5379c37
Add cases aggregation endpoint to SecurityInsights RP swagger spec (#…
landau07 Apr 3, 2019
bae22f0
Fix model type regression (#5535)
filizt Apr 3, 2019
dbc082d
SRP Apr19 API supporting automatic snapshot feature (#5522)
huizlAzure Apr 3, 2019
f69b68e
Added specs for Agreements API in version 2018-11-01-preview (#5546)
asarkar84 Apr 4, 2019
5a6f2db
Add Application Insights smart detection config api (#5518)
aviled Apr 4, 2019
37ee50f
ApiManagement : Moved all definitions to a common file for automation…
solankisamir Apr 4, 2019
57928e5
[Hub Generated] Review request for Microsoft.Batch to add version 201…
jafreck Apr 4, 2019
65f98d7
[Azure Search] Add filter property to autocomplete request for search…
ishansrivastava90 Apr 4, 2019
4870243
[Hub Generated] Review request for Microsoft.VirtualMachineImages to …
paulmey Apr 4, 2019
435c68d
fix to script
NelsonDaniel Apr 4, 2019
ca0153c
updated readme enable-multi-api readmes
NelsonDaniel Apr 4, 2019
3dc18c3
Merge branch 'multiapi' of https://github.com/azure/azure-rest-api-sp…
NelsonDaniel Apr 4, 2019
53757d6
Update CODEOWNERS (#5421)
sergey-shandar Apr 4, 2019
cea9543
correction to latest profile.
NelsonDaniel Apr 4, 2019
a479aa0
fixed case sensitivity for latest-profile generator
NelsonDaniel Apr 4, 2019
7e0b112
corrected stable-2019-01 profile
NelsonDaniel Apr 5, 2019
3eba1d6
prepended enable-multi-api input-files with $(this-folder)
NelsonDaniel Apr 5, 2019
e56c10a
Update package.json (#5555)
sergey-shandar Apr 5, 2019
6e25836
Update 2019-04-01-profile.md
markcowl Apr 5, 2019
3b572f5
[HDInsight] - Move API with version 2018-06-01-preview to stable fold…
idear1203 Apr 5, 2019
3d5a11f
Test moving the opt-in-extensible-enums: true to global yaml section.…
Apr 5, 2019
bb1a59c
[Azure Search] Introduce the minimumPrecision parameter for Entity re…
arv100kri Apr 5, 2019
ec248e9
tweak path
NelsonDaniel Apr 5, 2019
52eec05
revert change
NelsonDaniel Apr 5, 2019
20ef813
[DO NOT MERGE YET] Update OAD and OAV (#5564)
sergey-shandar Apr 5, 2019
32c02c3
[Hub Generated] Review request for Microsoft.Capacity to add version …
corquiri Apr 5, 2019
04b1040
chore: Add initial .gitattributes for line endings (#4746)
nschonni Apr 6, 2019
d75670d
Creating stable version for settings type (#5435)
chlahav Apr 6, 2019
2a05e7c
Add api version 2019-03-01 for Microsoft.Compute (#5492)
ashintre Apr 8, 2019
98c0ab9
Add two new sku names for StorageAccount (#5547)
huizlAzure Apr 8, 2019
e0c43c1
fix: reservations\resource-manager\Microsoft.Capacity (#5569)
nschonni Apr 8, 2019
9c57665
LUIS runtime changes (#5424)
diberry Apr 8, 2019
b390945
fix for relative paths
NelsonDaniel Apr 8, 2019
d2ceaf6
Merge branch 'multiapi' of https://github.com/NelsonDaniel/azure-rest…
NelsonDaniel Apr 8, 2019
47e2ee3
DeploymentManager: Override client name for python SDK (#5489)
deveshguha Apr 8, 2019
37c9997
[Compute] Add new API Version and field (StorageAccountType) to Share…
jerryc3 Apr 8, 2019
67d6bf5
add missing host information to alerts management (#5580)
jhendrixMSFT Apr 8, 2019
8a711b8
update latest-profile generator
NelsonDaniel Apr 8, 2019
8dbb555
added dependencies for version comparisons
NelsonDaniel Apr 9, 2019
691ef0b
updated latest-profile generator to include non-resource operations
NelsonDaniel Apr 9, 2019
3f40d7f
regenerated profile and added new telemetry
NelsonDaniel Apr 9, 2019
e69c48b
Merge branch 'multiapi' of https://github.com/azure/azure-rest-api-sp…
NelsonDaniel Apr 9, 2019
75a354d
updated non-generated profiles.
NelsonDaniel Apr 9, 2019
62da84d
Update readme.md
lmazuel Apr 9, 2019
ed26fe8
Update arm-keyvault path in TS readme (#5563)
KarishmaGhiya Apr 9, 2019
3ce916b
Update Avocado to use new diff logic. (#5566)
sergey-shandar Apr 9, 2019
13c5368
update stable-2019-01 profile
NelsonDaniel Apr 9, 2019
f914e54
Changed readme.md to add new ApiVersion 2019-03-01 tag package. Clone…
vamuzumd Apr 9, 2019
6da73a3
update readme(ts) for arm-advisor path (#5590)
KarishmaGhiya Apr 9, 2019
7090e7d
DeviceTelemetry event grid update (#5584)
kapil-ms Apr 9, 2019
6169596
update readme.ts for arm-analysisservices path (#5594)
KarishmaGhiya Apr 9, 2019
c54ce0f
Backfilling Microsoft.Resources and subscriptions Swagger specs up to…
majastrz Apr 9, 2019
7b128ec
[Hub Generated] Review request for Microsoft.ApiManagement to add ver…
solankisamir Apr 9, 2019
6081866
chore: Renormalize line endings in stable releases (#5570)
nschonni Apr 9, 2019
9ad3cbe
updated arm-apimanagement path in readmeTS (#5595)
KarishmaGhiya Apr 10, 2019
29e3558
move hdinsights package for Go back under preview directory (#5593)
jhendrixMSFT Apr 10, 2019
930b578
fix: batch/resource-manager/Microsoft.Batch (#5598)
nschonni Apr 10, 2019
410c48e
Remove Cognitive Services Anomaly Detector Node.js package (#5440)
kpajdzik Apr 10, 2019
dfbe694
fix: apimanagement/resource-manager/Microsoft.ApiManagement (#5597)
nschonni Apr 10, 2019
7731ef9
The change is to support new resource type ProximityPlacementGroup (#…
aspand Apr 10, 2019
1b8ee44
updating protected Entity class with new UnprotectedDisk field (#5576)
ayfathim Apr 10, 2019
5ec60ff
Container Services: Add API version 2019-04-30 for Azure RedHat OpenS…
amanohar Apr 10, 2019
65f952c
[Hub Generated] Review request for Microsoft.Devices to add version p…
reshantchandra Apr 10, 2019
e33f4e9
update ReadmeTS for arm-appinsights path (#5602)
KarishmaGhiya Apr 10, 2019
4d08c89
update readmeTS for arm-appservice path (#5608)
KarishmaGhiya Apr 10, 2019
19e0f39
update readmeTS for arm-authorization path (#5603)
KarishmaGhiya Apr 10, 2019
8c45acf
Add operation result objects (#5469)
cednation Apr 11, 2019
8da04b8
Addition of HybridDataManager (#5313)
Apr 11, 2019
3875a7a
[Hub Generated] Review request for Microsoft.PolicyInsights to add ve…
j5lim Apr 11, 2019
fafc69c
add compute 2019-03-01 to Go SDK (#5618)
jhendrixMSFT Apr 11, 2019
5355041
Added metrics baseline API (#5500)
asafst Apr 11, 2019
95599ea
[Hub Generated] Review request for Microsoft.ApiManagement to add ver…
solankisamir Apr 11, 2019
6094774
chore: Renormalize line endings in other files (#5596)
nschonni Apr 11, 2019
6a18ab3
Add new API convertToSinglePlacementGroup for VM Scale Set. (#5614)
ZheWang711 Apr 12, 2019
5210b39
Add billing time grains to budget properties (#5599)
bgsky Apr 12, 2019
20e34c9
chore: Remove orphan Relay examples (#5621)
nschonni Apr 12, 2019
e623e37
4253190 [Microsoft.Update.Admin] Resources missing from OpenApi Sp…
yudomsft Apr 12, 2019
ede1a19
Version 0.2.0 of Anomaly Detector in Python (#5627)
lmazuel Apr 12, 2019
7ac183a
Merge branch 'multiapi' of https://github.com/azure/azure-rest-api-sp…
NelsonDaniel Apr 12, 2019
47618f6
Compute v2019_03_01 Python (#5628)
lmazuel Apr 12, 2019
6161229
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
icodetolive Apr 12, 2019
45940ff
Move arm in bulk1 (#5619)
KarishmaGhiya Apr 12, 2019
7f72912
ImageBuilder May preview for Python (#5642)
lmazuel Apr 12, 2019
395437c
First version of data-plane swagger spec for Time Series Insights PAY…
dmdenmsft Apr 12, 2019
d12a948
Fix operation id of API convertToSinglePlacementGroup (#5640)
ZheWang711 Apr 12, 2019
463b431
Fix documentation link (#5636)
kapil-ms Apr 12, 2019
59d19fb
Add sdkAutomationConfiguration.json file (#5639)
Apr 15, 2019
e4c6f58
fix: Remove BOM for Avacodo errors (#5623)
nschonni Apr 15, 2019
b1740c0
typo: frontdoor/resource-manager/Microsoft.Network (#5624)
nschonni Apr 15, 2019
0e406a4
[Azure Search] Adding Complex Type support for index management (#5646)
brjohnstmsft Apr 15, 2019
02692b4
fix: Remove BOM for Avacodo errors (#5650)
nschonni Apr 15, 2019
7a89fb6
enum name change (#5654)
corquiri Apr 15, 2019
dd797bb
ManagedDatabase get schemas,tables,columns API (#5171)
igsiroti Apr 15, 2019
a2649ab
Switch `breaking-changes` and `momentOfTruth` scripts to TypeScript (…
sergey-shandar Apr 15, 2019
c3d951e
add apimanagement 2019-01-01 to Go SDK (#5657)
jhendrixMSFT Apr 15, 2019
7a2d595
Fixing the parameters because they should not be readonly (#5658)
pabowers Apr 15, 2019
86957d1
Sensitivity labels: Disable/Enable recommended sensitivity labels (#5…
ranisha2 Apr 16, 2019
f707482
Move arm in bulk2 (#5641)
KarishmaGhiya Apr 16, 2019
db09450
Move dataplane packages - batch3 (#5644)
KarishmaGhiya Apr 16, 2019
5f6de0d
add reservations 2019-04-01 preview to Go SDK (#5656)
jhendrixMSFT Apr 16, 2019
ab544ef
[Hub Generated] Review request for Microsoft.CostManagement to add ve…
bgsky Apr 16, 2019
2f578df
Fixing operation id to be named consistently (#5666)
pabowers Apr 16, 2019
19478fd
Fix Travis-CI bug (#5669)
sergey-shandar Apr 16, 2019
ee5685b
Databricks Python configuration (#5670)
lmazuel Apr 16, 2019
9fa8695
Use object type (#5672)
j5lim Apr 16, 2019
24ea936
update readme.TS for arm-commerce and applicationinsights-query path …
KarishmaGhiya Apr 16, 2019
128fe6d
Automation for Python (#5671)
lmazuel Apr 16, 2019
e335049
Rename sdkAutomationConfiguration.json to specificationRepositoryConf…
Apr 17, 2019
cd273ca
[Hub Generated] Review request for Microsoft.IoTCentral to add versio…
kawayiboy Apr 17, 2019
0060c89
HanaOnAzure: Re-save JSON files using VSCode JSON formatter (#5673)
lagalbra Apr 17, 2019
d632d11
Resolve issue with unreferenced examples in Network specs for older A…
anton-evseev Apr 17, 2019
3b2a8be
Use `breaking-changes` and `momentOfTruth` from `@azure/rest-api-spec…
sergey-shandar Apr 17, 2019
fc11c04
Update supported os family (#5668)
xingwu1 Apr 17, 2019
4897c8b
Fix Go SDK for cognitiveservices/anomalydetector (#5686)
jhendrixMSFT Apr 17, 2019
d5f53ae
Fix examples (#5690)
yangmsft Apr 17, 2019
6720121
Adding sdk support for Encryption with customer managed key to the Az…
shmed Apr 17, 2019
9a489fe
Add unreferenced examples for service endpoint policy to VirtualNetwo…
anton-evseev Apr 18, 2019
ba3d021
pipeline (#5699)
sergey-shandar Apr 18, 2019
989b7b1
Corrected specs and examples for BillingRP (#5682)
asarkar84 Apr 18, 2019
e48187f
Add SQL, Mongo, Table, Cassandra APIs (#5523)
Apr 18, 2019
eecb26c
Azure/rest-api-specs-scripts with new di (#5701)
sergey-shandar Apr 18, 2019
cba23e1
typo: cosmos-db/resource-manager/Microsoft.DocumentDB (#5705)
nschonni Apr 19, 2019
808d08a
Added back ProximityPlaceGroup APIs which are missing in 2019-03-01 (…
hyonholee Apr 19, 2019
c04937c
[Hub Generated] Review request for Microsoft.ResourceGraph to add ver…
AnatoliB Apr 19, 2019
ec34335
fix unhandled promises (#5711)
sergey-shandar Apr 19, 2019
a6dff7a
Update preproduction-azure-pipelines.yml (#5716)
sergey-shandar Apr 19, 2019
721e63f
Improve Batch documentation (#5700)
matthchr Apr 22, 2019
c0bb51d
Dev batch microsoft.batch 2019 04 01- Fix swagger spec incorrect null…
jafreck Apr 22, 2019
6f2c9b1
Storage Python 2019-04-01 (#5659)
lmazuel Apr 22, 2019
c64c17f
[Hub Generated] Review request for Microsoft.Capacity to add version …
gautam714 Apr 22, 2019
6187fc3
Updating description of enableAutomaticUpdates and enableAutomaticOSU…
Deepali-Gupta Apr 22, 2019
94cbaee
Build release (#5717)
MikhailTryakhov Apr 22, 2019
fd8d442
[Hub Generated] Review request for Microsoft.VirtualMachineImages to …
feiyushi Apr 22, 2019
37c1c01
Find AutoRest (#5728)
sergey-shandar Apr 23, 2019
b7ce1e7
Mark output blob sas url as mandatory parameter in GetVpnSitesConfigu…
ritwikbasu Apr 23, 2019
a2f1e6e
add serialconsole package-2018-05 to Go SDK (#5736)
jhendrixMSFT Apr 23, 2019
d45824b
Support Update properties (#5729)
yangyuan Apr 23, 2019
b2b20a8
Managed instance updates plus examples (#5730)
johnpaulkee Apr 23, 2019
06ad93f
VnetInfo CertBlob format changed to string (#5655)
singlessis Apr 23, 2019
04007bf
Add ErrorResponse to "AddIntent" post (#5741)
tiwalter Apr 23, 2019
5a51aca
Updated the operation id for Billing spec (#5727)
asarkar84 Apr 23, 2019
44aff56
add network 2019-02-01 to Go SDK (#5735)
jhendrixMSFT Apr 23, 2019
ec39d3f
[Hub Generated] Review request for Microsoft.Capacity to add version …
gautam714 Apr 23, 2019
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
2acb8e7
Merge branch 'multiapi' of https://github.com/azure/azure-rest-api-sp…
NelsonDaniel Apr 24, 2019
a2e6b3a
Solved merge conflicts
NelsonDaniel Apr 24, 2019
f94a0b0
generated latest multiapi readmes
NelsonDaniel Apr 24, 2019
86c2c32
updated latest profile generator to generate profile with date labels
NelsonDaniel Apr 24, 2019
4679274
generated latest profile
NelsonDaniel Apr 24, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ SdkCodeGen
# Visual Studio #
.settings/
.vs/
.vscode/
/app.js
*.suo
*.user
Expand Down Expand Up @@ -105,4 +104,14 @@ output/*
errors.txt
warnings.txt

/dist/
# VS Code files
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

*.js
*.d.ts
*.js.map
*.d.ts.map
19 changes: 7 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist: xenial
language: node_js
node_js:
- '10'
Expand All @@ -7,18 +8,13 @@ services:
env:
matrix:
- MODE=branchStrategy
- MODE=syntax CHECK_NAME="Syntax Validator"
- MODE=semantic PR_ONLY=true CHECK_NAME="Semantic Validator"
- MODE=semantic PR_ONLY=false
- MODE=model PR_ONLY=true CHECK_NAME="Model Validator"
# - MODE=model PR_ONLY=false
- 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=semantic PR_ONLY=false
- env: MODE=model PR_ONLY=false
- env: MODE=model PR_ONLY=true CHECK_NAME="Model Validator"
- env: MODE=BreakingChange PR_ONLY=true CHECK_NAME="Breaking Changes"
install: true
Expand All @@ -28,30 +24,29 @@ script:
# 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 == 'syntax' ]]; then
npm install
npm test -- test/syntax.js
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
node -- scripts/breaking-change.js
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
fi
27 changes: 27 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test/syntax.js"
],
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${file}"
}
]
}
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/specification/eventgrid/ @kalyanaj
/specification/eventhub/ @v-ajnava
/specification/features/ @stankovski
/specification/graphrbac/ @stankovski
/specification/graphrbac/ @lmazuel @yugangw-msft @amarzavery
/specification/hdinsight/ @pulkittomar @wawon-msft
/specification/insights/ @gucalder
/specification/intune/ @vrmurthy01
Expand Down
54 changes: 45 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- script: 'node scripts/semanticValidation.js'
- script: 'npm run tsc && node scripts/semanticValidation.js'
displayName: 'Semantic Validation'

- job: "ModelValidation"
Expand All @@ -52,37 +52,34 @@ jobs:
displayName: 'npm install'
inputs:
verbose: false
- script: 'node scripts/modelValidation.js'
- script: 'npm run tsc && node scripts/modelValidation.js'
displayName: 'Model Validation'

- job: "Avocado"
pool:
vmImage: 'Ubuntu 16.04'
continueOnError: true
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false
- script: './node_modules/.bin/ts-node scripts/avocado.ts'
- script: './node_modules/.bin/avocado'
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:
verbose: false
- script: 'node scripts/breaking-change.js'
- script: 'npm run tsc && node scripts/breaking-change.js'
displayName: 'Breaking Changes'

- job: "LintDiff"
condition: "not(variables['PRIVATE'])"
variables:
NODE_OPTIONS: '--max-old-space-size=8192'
pool:
Expand All @@ -94,7 +91,7 @@ jobs:
verbose: false
- script: 'scripts/install-dotnet.sh'
displayName: 'install .Net'
- script: 'node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js'
- script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js'
displayName: 'LintDiff'

- job: "SDK"
Expand Down Expand Up @@ -127,3 +124,42 @@ jobs:
- script: echo $(NODE_OPTIONS)
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)"
displayName: "Swagger to SDK script"

- job: "NetworkValidation"
condition: and(startsWith(variables['System.PullRequest.TargetBranch'], 'network-'), endsWith(variables['System.PullRequest.TargetBranch'], '-release'))
continueOnError: true
pool:
vmImage: vs2017-win2016
variables:
NRP_SWAGGER_VALIDATION_OVERRIDE_PS_BRANCH: 'true'
NRP_BUILD_TOOLS_SKIP_GENERATE_PS1: 'true'
NRP_BUILD_TOOLS_OUTPUT_PATH: '$(System.DefaultWorkingDirectory)\Out'
steps:
- powershell: |
& "C:/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.6.1 Tools/sn.exe" -Vr *,31bf3856ad364e35
displayName: Bypass Strong Name validation
- task: NodeTool@0
inputs:
versionSpec: 10.x
displayName: Install Node.js
- script: npm install autorest -g
displayName: Install autorest
- script: git clone --depth 1 -- https://dev.azure.com/v-anevse/BuildScripts/_git/BuildScripts ..\BuildScripts
displayName: Clone build tools
- powershell: |
$swgrPath = (Get-Item ".\").FullName
$outputPath = $env:NRP_BUILD_TOOLS_OUTPUT_PATH
New-Item -Path $outputPath -ItemType "Directory" -Force | Out-Null
..\BuildScripts\Test-SwaggerRelease.ps1 -Component Network -SwaggerRepoPath $swgrPath -OutputFolder $outputPath
failOnStderr: false
displayName: Test Swagger updates
- powershell: |
Copy-Item "..\BuildScripts\.azure-pipelines\.artifactignore" -Destination "$($env:NRP_BUILD_TOOLS_OUTPUT_PATH)\.artifactignore" -Force -ErrorAction "SilentlyContinue"
failOnStderr: false
condition: always()
displayName: Copy .artifactignore
- task: PublishPipelineArtifact@0
condition: always()
inputs:
artifactName: SwaggerTestOutput
targetPath: $(NRP_BUILD_TOOLS_OUTPUT_PATH)
2 changes: 1 addition & 1 deletion documentation/swagger-checklist.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Swagger Checklist for Microsoft Azure #
# Swagger Checklist for Microsoft Azure #

## Introduction ##

Expand Down
45 changes: 23 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,31 @@
"description": "Tests for Azure REST API Specifications",
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.2.2",
"@azure/oad": "^0.3.0",
"@microsoft.azure/async-io": "^1.0.21",
"@microsoft.azure/literate": "^1.0.21",
"@microsoft.azure/polyfill": "^1.0.17",
"@ts-common/commonmark-to-markdown": "^1.1.10",
"@ts-common/fs": "0.1.1",
"@types/js-yaml": "^3.12.0",
"fs-extra": "^3.0.1",
"glob": "^5.0.14",
"js-yaml": "^3.13.0",
"json-schema-ref-parser": "^3.1.2",
"@azure/avocado": "^0.4.1",
"@azure/oad": "^0.6.3",
"@azure/rest-api-specs-scripts": "^0.2.21",
"@microsoft.azure/async-io": "^2.0.21",
"@microsoft.azure/literate": "^1.0.25",
"@microsoft.azure/polyfill": "^1.0.19",
"@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/request": "^2.48.1",
"fs-extra": "^7.0.1",
"glob": "^7.1.3",
"js-yaml": "^3.13.1",
"json-schema-ref-parser": "^6.1.0",
"mocha": "*",
"oav": "^0.14.8",
"request": "^2.61.0",
"request-promise-native": "^1.0.5",
"oav": "^0.18.1",
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"ts-node": "^8.1.0",
"typescript": "^3.4.3",
"compare-versions": "^3.4.0",
"semver": "^6.0.0",
"ts-node": "^8.0.3",
"typescript": "^3.2.4",
"z-schema": "^3.25.1"
},
"dependencies": {
"@octokit/rest": "^15.2.6"
"z-schema": "^4.0.2"
},
"homepage": "https://github.com/azure/azure-rest-api-specs",
"repository": {
Expand All @@ -44,7 +45,7 @@
"url": "http://github.com/azure/azure-rest-api-specs/issues"
},
"scripts": {
"test": "mocha -t 500000 --reporter min",
"test": "tsc && mocha -t 500000 --reporter min",
"oav": "oav",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts",
Expand Down
Loading