Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into fix_resource_multiapi_submodule

* 'master' of https://github.com/Azure/azure-rest-api-specs: (452 commits)
  Dev cost management microsoft.cost management 2020 12 01 preview new (Azure#12259)
  Edit securityContact swagger for 2020-01-01 (Azure#12265)
  [Hub Generated] Review request for Microsoft.Insights to add version stable/2020-10-01 (Azure#11579)
  [Hub Generated] Review request for Microsoft.Media to add version stable/2020-05-01 (Azure#12681)
  Fix TimeSeriesInsights swagger issues (Azure#12204)
  Fixing error in lastModifiedAt description (Azure#12854)
  Update comment.yml (Azure#12910)
  Fixing RI s360 Flagged corrections in 2019-10-01 version (Azure#12777)
  [Hub Generated] Review request for Microsoft.Web to add version stable/2020-10-01 (Azure#11636)
  [Ready For Review] New version 20210101 (Azure#12111)
  Update scheduledQueryRule_API.json (Azure#12895)
  Remove UserAssigned MSI (Azure#12900)
  Update library.json (Azure#12922)
  KeyVault: Feature/update security domain spec (Azure#12863)
  Fixes ExampleId type and incorrect ArmTokenParameter name (Azure#12896)
  Update contract for anomaly detector (Azure#12487)
  [NetAppFiles] Urgent bug fix, backup response, remove systemData(not in response yet) (Azure#12852)
  [AML] Add PipelineEndpoint with version and DataPathAssignments fields in AzureMLExecutePipeline (Azure#12744)
  remove duplicated schema (Azure#12779)
  [Web] Add Swagger for Service Principal (Azure#12780)
  ...
  • Loading branch information
iscai-msft committed Feb 10, 2021
2 parents 68bb7fe + 6bb1040 commit 453041d
Show file tree
Hide file tree
Showing 4,183 changed files with 537,204 additions and 19,669 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6,015 changes: 0 additions & 6,015 deletions .azure-pipelines-preproduction/package-lock.json

This file was deleted.

47 changes: 0 additions & 47 deletions .azure-pipelines-preproduction/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
### *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for up to date details.*
### *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/azure-rest-api-specs/wiki) for up to date details.*
([`Link your GitHub account`](https://repos.opensource.microsoft.com/) to the 'Azure' organization for access.)

8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Please ensure to add changelog with this PR by answering the following questions
- [ ] No, no need to refresh for updates in this PR

### Contribution checklist:
- [ ] I commit to follow the [Breaking Change Policy](http://aka.ms/bcforapi) of no breaking changes
- [ ] I commit to follow the [Breaking Change Policy](http://aka.ms/bcforapi) of "no breaking changes"
- [ ] I have reviewed the [documentation](https://aka.ms/ameonboard) for the workflow.
- [ ] [Validation tools](https://aka.ms/swaggertools) were run on swagger spec(s) and errors have all been fixed in this PR. [How to fix?](https://aka.ms/ci-fix)

Expand All @@ -40,13 +40,13 @@ If any further question about AME onboarding or validation tools, please view th
- [ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (*RP Manifest Approvers* team under <ins>Azure Resource Manager service</ins>) from IcM and reach out to them.

### Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the [Breaking Change Policy](http://aka.ms/bcforapi).
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the [Breaking Change Policy](http://aka.ms/bcforapi).

- [ ] Removing API(s) in stable version
- [ ] Removing properties in stable version
- [ ] Removing API version(s) in stable version
- [ ] Updating API in stable version with Breaking Change Validation errors
- [ ] Updating API(s) in preview over 1 year
- [ ] Updating API in stable or public preview version with Breaking Change Validation errors
- [ ] Updating API(s) in public preview over 1 year (refer to [Retirement of Previews](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37683/Retirement-of-Previews))

**Action**: to initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://aka.ms/Breakingchangetemplate). Addition details on the process and office hours are on the [Breaking change Wiki](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37684/Breaking-Changes).

Expand Down
22 changes: 19 additions & 3 deletions .github/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
- rule:
type: label
label: BreakingChangeReviewRequired
onLabeledComments: "Hi @${PRAuthor}, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow [breaking change policy](https://aka.ms/AzBreakingChangesPolicy) to request breaking change review and approval before proceeding swagger PR review. </br>**Action**: To initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://aka.ms/Breakingchangetemplate). Addition details on the process and office hours are on the [Breaking change Wiki](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37684/Breaking-Changes).</br> If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ma/swaggerfeedback."
variables:
openapiHub: https://portal.azure-devex-tools.com
onLabeledComments: "Hi @${PRAuthor}, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow [breaking change policy](https://aka.ms/AzBreakingChangesPolicy) to request breaking change review and approval before proceeding swagger PR review. </br>**Action**: To initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://aka.ms/Breakingchangetemplate). Addition details on the process and office hours are on the [Breaking change Wiki](https://dev.azure.com/msazure/AzureWiki/_wiki/wikis/AzureWiki.wiki/37684/Breaking-Changes).</br> If you want to know the production traffic statistic, please see [ARM Traffic statistic](${openapiHub}/api/pr/query-traffic?pr=${owner}/${repo}/${PRNumber}&days=5). </br> If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback."

- rule:
type: label
Expand All @@ -31,14 +33,28 @@
- rule:
type: label
label: CI-FixRequiredOnFailure
onLabeledComments: "Hi @${PRAuthor}, Your PR has some issues. Please fix the CI sequentially by following the order of `Avocado, semantic validation, model validation, breaking change, lintDiff`. <table><tr><th>Task</th><th>How to fix</th><th>Priority</th><th>Support</th></tr><tr><td>Avocado</td><td>[Fix-Avocado](https://github.com/Azure/avocado)</td><td>High</td><td>[email protected]</td></tr><tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#linter-validation)</td><td>high</td><td>[email protected], [email protected]</td></tr><tr><td>Semantic validation</td><td>[Fix-SenmanticValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#semantic-validation)</td><td>High</td><td>[email protected], [email protected]</td></tr><tr><td>Model validation</td><td>[Fix-ModelValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#model-validation)</td><td>High</td><td>[email protected],[email protected]</td></tr></table> If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback)."
onLabeledComments: >-
Hi @${PRAuthor}, Your PR has some issues. Please fix the CI sequentially by following the order of `Avocado, semantic validation, model validation, breaking change, lintDiff`.
<table><tr><th>Task</th><th>How to fix</th><th>Priority</th><th>Support (Microsoft alias)</th></tr>
<tr><td>Avocado</td><td>[Fix-Avocado](https://github.com/Azure/avocado)</td><td>High</td><td>ruowan</td></tr>
<tr><td>Semantic validation</td><td>[Fix-SemanticValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#semantic-validation)</td><td>High</td><td>raychen, jianyxi</td></tr>
<tr><td>Model validation</td><td>[Fix-ModelValidation-Error](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#model-validation)</td><td>High</td><td>raychen,jianyxi</td></tr>
<tr><td>LintDiff</td><td>[Fix-LintDiff](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md#linter-validation)</td><td>high</td><td>jianyxi, ruoxuan</td></tr></table>
If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback)."
- rule:
type: PROpen
variables:
openapiHub: https://openapihub.test.azure-devex-tools.com/
openapiHub: https://portal.azure-devex-tools.com
keywords:
- "I have reviewed the [documentation](https://aka.ms/ameonboard) for the workflow."
onOpenedComments: "Hi, @${PRAuthor} Thanks for your PR. I am workflow bot for review process. Here are some small tips. </br> <li> Please ensure to do self-check against checklists in first PR comment.</li> <li> PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging. </li> <li> For specs comparison cross API versions, Use [API Specs Comparison Report Generator](${openapiHub}/tools/diff?pr=${owner}/${repo}/${PRNumber})</li> <li> If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. [How to fix?](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/ci-fix.md)</li></br> Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]"

- rule:
type: checkbox
keywords:
- "update existing version to fix swagger quality issue in s360"
onCheckedLabels:
- FixS360
onCheckedComments: "In the Window Period to fix mismatches between swagger and service, when PR is labelled with “FixS360”, breaking change can be approved by PR assignee; the Azure Breaking Change Board is no longer required to approve the PR. Please ensure to clarify what s360 action items to be solved, and @ mention PR assignee for awareness. Please check this wiki [Window to Fix Broken](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/405/Window-to-Fix-Broken) for more details."

149 changes: 2 additions & 147 deletions .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,142 +22,13 @@
- jhendrixMSFT
- tjprescott


- rule:
paths:
- "specification/network/**"
reviewers:
- kairu-ms
- lirenhe

- rule:
paths:
- "specification/@(applicationinsights|operationalinsights)/**"
reviewers:
- kairu-ms

- rule:
paths: "specification/@(resources|powerplatform|appplatform)/**"
reviewers:
- raych1

- rule:
paths: "specification/sql/**"
reviewers:
- akning-ms

- rule:
paths: "specification/signalr/**"
reviewers:
- leni-msft

- rule:
paths: "specification/eventhub/**"
reviewers:
- ruowan
- rule:
paths: "specification/compute/**"
reviewers:
- ArcturusZhang
- fengzhou-msft
- yungezz

- rule:
paths:
- "specification/machinelearningservices/**"
reviewers:
- ArcturusZhang

- rule:
paths:
- "specification/azureactivedirectory/**"
reviewers:
- njuCZ

- rule:
paths:
- "specification/authorization/**"
reviewers:
- qianwens
- yungezz

- rule:
paths:
- "specification/datafactory/**"
reviewers:
- qianwens

- rule:
paths:
- "specification/monitor/**"
reviewers:
- weidongxu-microsoft
- kairu-ms

- rule:
paths:
- "specification/storage/**"
reviewers:
- Juliehzl


- rule:
paths: "specification/mediaservices/**"
reviewers:
- allenjzhang
- rule:
paths:
- "specification/@(keyvault|notificationhubs)/**"
- "specification/@(databricks|containerregistry)/**"
reviewers:
- fengzhou-msft

- rule:
paths:
- "specification/@(containerservice|containerinstance)/**"
reviewers:
- PhoenixHe-msft
- fengzhou-msft
- yungezz

- rule:
paths:
- "specification/mixedreality/**"
- "specification/hdinsight/**"
reviewers:
- leni-msft

- rule:
paths:
- "specification/portal/**"
reviewers:
- PhoenixHe-msft

- rule:
paths:
- "specification/web/**"
reviewers:
- weidongxu-microsoft

- rule:
paths:
- "specification/testbase/**"
reviewers:
- PhoenixHe-msft

- rule:
paths:
- "documentation/**"
reviewers:
- josefree
- akning-ms

- rule:
paths:
- "documentation/**"
reviewers:
- josefree
- akning-ms

- rule:
paths:
Expand All @@ -177,21 +48,5 @@
paths:
- "**"
reviewers:
- yungezz
- erich-wang
- PhoenixHe-msft
- lirenhe
- weidongxu-microsoft
- ArcturusZhang
- xccc-msft
- raych1
- ChenTanyi
- fengzhou-msft
- njuCZ
- akning-ms
- leni-msft
- qianwens
- ruowan
- jianyexi
- zhenglaizhang
- chunyu3
- allenjzhang
- markcowl
31 changes: 28 additions & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
{
"plugins": ["./scripts/prettier-swagger-plugin"],
"parser": "json-swagger",
"printWidth": 20
"overrides": [
{
"files": [
"specification/**/*.json",
"documentation/swagger-bootstrap.json",
"documentation/samplefiles/**/*.json"
],
"options": {
"plugins": [
"./scripts/prettier-swagger-plugin"
],
"parser": "json-swagger",
"printWidth": 20
}
},
{
"files": [
"**/*.json"
],
"options": {
"parser": "json",
"printWidth": 20
},
"excludeFiles": [
"specification/**/*.json"
]
}
]
}
7 changes: 5 additions & 2 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
/specification/operationalinsights/ @sw47
/specification/operationsmanagement/ @dashimi16
/specification/peering/ @rileymckenna
/specification/policyinsights/ @bulentelmaci
/specification/policyinsights/ @pilor
/specification/postgresql/ @qingqingyuan
/specification/powerbidedicated/ @tarostok
/specification/provisioningservices/ @kvish
Expand Down Expand Up @@ -78,4 +78,7 @@
/specification/trafficmanager/ @allencal @hrkulkarmsft
/specification/web/ @naveedaz @Azure/azure-app-service-control-plane
/profile/ @shahabhijeet
/specification/**/*.md @lirenhe
/specification/**/readme.typescript.md @qiaozha
/specification/**/readme.go.md @ArcturusZhang
/specification/**/readme.java.md @ChenTanyi
/specification/**/readme.python.md @jsntcy @msyyc
12 changes: 10 additions & 2 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"description": "Project Words"
}
],
"flagWords": [],
"flagWords": [
"teh"
],
"ignorePaths": [
"node_modules/**",
"**/examples/**"
Expand Down Expand Up @@ -43,6 +45,12 @@
"Tera"
]
},
{
"filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2020-11-01/databox.json",
"words": [
"Tera"
]
},
{
"filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2017-04-01/servicebus.json",
"words": [
Expand Down Expand Up @@ -764,4 +772,4 @@
]
}
]
}
}
Loading

0 comments on commit 453041d

Please sign in to comment.