Skip to content

Commit

Permalink
Merge pull request #7 from Azure/master
Browse files Browse the repository at this point in the history
Merge main to fork
  • Loading branch information
MichalHel authored Dec 27, 2020
2 parents 2e35e29 + 17644ec commit c0c9145
Show file tree
Hide file tree
Showing 1,300 changed files with 124,976 additions and 14,891 deletions.
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.

1 change: 0 additions & 1 deletion .azure-pipelines/azure-pipelines-data-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ steps:
repository: $(CONTAINER_REGISTRY_REPOSITORY_NAME)
tags: |
latest
$(IMAGE_TAG_PREFIX)$(Build.BuildNumber)
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ If there are following updates in the PR, ensure to request an approval from API
- [ ] Updating API in stable version with Breaking Change Validation errors
- [ ] Updating API(s) in preview over 1 year

**Action**: to initiate an evaluation of the breaking change, create a new intake using the [template for breaking changes](https://msazure.visualstudio.com/One/_workitems/create/Scenario?templateId=d1c215ec-5d6a-4cb3-a193-95ddd0a1ba96&ownerId=85bb92fb-21fe-41ca-9309-47f2c5f57515). 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).
**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).

Please follow the link to find more details on [PR review process](https://aka.ms/SwaggerPRReview).
Please follow the link to find more details on [PR review process](https://aka.ms/SwaggerPRReview).
27 changes: 18 additions & 9 deletions .github/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@
- WaitForARMFeedback
onCheckedComments: "Hi, @${PRAuthor} your PR are labelled with <b> WaitForARMFeedback</b>. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com). cc @${PRAssignee} "

- rule:
type: checkbox
variables:
openapiHub: https://portal.azure-devex-tools.com
keywords:
- "I have reviewed the [documentation](https://aka.ms/ameonboard) for the workflow."
onCheckedComments: "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. vsswagger@microsoft.com"

- 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://msazure.visualstudio.com/One/_workitems/create/Scenario?templateId=d1c215ec-5d6a-4cb3-a193-95ddd0a1ba96&ownerId=85bb92fb-21fe-41ca-9309-47f2c5f57515). 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.ma/swaggerfeedback."

- rule:
type: label
Expand All @@ -35,3 +29,18 @@
type: label
label: NewApiVersionRequired
onLabeledComments: "<b>NewApiVersionRequired reason:</b></br> </br><b>A service’s API is a contract with customers and is represented by using the api-version query parameter. Changes such as adding an optional property to a request/response or introducing a new operation is a change to the service’s contract and therefore requires a new api-version value. This is critically important for documentation, client libraries, and customer support. </b> </br></br> EXAMPLE: if a customer calls a service in the public cloud using <b>api-version=2020-07-27</b>, the new property or operation may exist but if they call the service in a government cloud, air-gapped cloud, or Azure Stack Hub cloud using the same api-version, the property or operation may not exist. Because there is no clear relationship between the service api-version and the new property/operation, customers can’t trust the documentation and Azure customer have difficulty helping customers diagnose issues. In addition, each client library version documents the service version it supports. When an optional property or new operation is added to a service and its Swagger, new client libraries must be produced to expose this functionality to customers. Without updating the api-version, it is unclear to customers which version of a client library supports these new features. "

- 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>ruowan@microsoft.com</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>Jianye.Xi@microsoft.com, ruoxuan@microsoft.com</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>raychen@microsoft.com, Jianye.xi@microsoft.com</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@microsoft.com,Jianye.xi@microsoft.com</td></tr></table> If you need further help, please feedback via [swagger feedback](https://aka.ms/swaggerfeedback)."

- rule:
type: PROpen
variables:
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. vsswagger@microsoft.com"


14 changes: 12 additions & 2 deletions .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
reviewers:
- anuchandy
- jhendrixMSFT
- lmazuel
- tjprescott


Expand Down Expand Up @@ -99,7 +98,6 @@
paths:
- "specification/storage/**"
reviewers:
- qianwens
- Juliehzl


Expand Down Expand Up @@ -140,6 +138,18 @@
- "specification/web/**"
reviewers:
- weidongxu-microsoft

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

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

- rule:
paths:
Expand Down
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@
/specification/trafficmanager/ @allencal @hrkulkarmsft
/specification/web/ @naveedaz @Azure/azure-app-service-control-plane
/profile/ @shahabhijeet
/specification/**/*.md @lirenhe
15 changes: 14 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A128CBCPAD
A128CBCPAD
A192CBCPAD
A256CBCPAD
AADDS
Expand Down Expand Up @@ -142,6 +142,7 @@ authorizationrules
authpriv
authprovider
authproviders
Auths
authsettings
authsid
autobackup
Expand Down Expand Up @@ -309,6 +310,7 @@ CIDRs
CIFS
ciphertext
CISCOASA
Citus
claimCondition
claimType
clfs
Expand All @@ -333,6 +335,7 @@ cloudsimple
clustermonitoring
clustername
CMAF
CMEK
Cmdkey
cmdlet
CMMI
Expand Down Expand Up @@ -1014,7 +1017,9 @@ mbaldwin
Mbps
MCAS
MDATP
mebibytes
mediaservices
Meru
Mesos
messagingplan
Metada
Expand Down Expand Up @@ -1228,6 +1233,7 @@ paramref
PARAVIRTUAL
partnertopic
Passthrough
passwd
patternanyentities
patternrule
patternrules
Expand All @@ -1254,6 +1260,7 @@ Phonetik
phplogging
phraselist
phraselists
Pids
pipelineruns
PITR
pixelated
Expand Down Expand Up @@ -1694,6 +1701,7 @@ subfolders
subinquireditemcount
sublist
sublists
submount
subnames
subnet
subnet's
Expand All @@ -1717,6 +1725,7 @@ subword
subwords
sudoer
suggesters
suid
Superfresh
superset
supportedimages
Expand Down Expand Up @@ -2043,3 +2052,7 @@ ziplist
Zoho
zoneinfo
zset
tpgs
ProviderHub
checkin
regionality
Loading

0 comments on commit c0c9145

Please sign in to comment.