-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-09-01 #12314
[Hub Generated] Review request for Microsoft.Insights to add version stable/2018-09-01 #12314
Conversation
Hi, @yashmuel Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
Swagger Validation Report
|
Rule | Message |
---|---|
The child tracked resource, 'incidents' with immediate parent 'AlertRuleResource', must have a list by immediate parent operation. New: Microsoft.Insights/stable/2018-09-01/metricBaselines_API.json#L108 |
|
The child tracked resource, 'status' with immediate parent 'MetricAlertResource', must have a list by immediate parent operation. New: Microsoft.Insights/stable/2018-09-01/metricBaselines_API.json#L108 |
️⚠️
Avocado: 1 Warnings warning [Detail]
Rule | Message |
---|---|
The default tag contains multiple API versions swaggers. readme: specification/monitor/resource-manager/readme.md tag: specification/monitor/resource-manager/readme.md#tag-package-2019-06 |
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️
[Staging] Cross Version BreakingChange (Base on stable version): 13 Warnings warning [Detail]
Only 10 items are listed, please refer to log for more details.
- Compared Swaggers (Based on Oad v0.8.5)
- original: stable/2019-03-01/metricBaselines_API.json <---> new: stable/2018-09-01/metricBaselines_API.json
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
Swagger Generation Artifacts
|
Hi @yashmuel, Your PR has some issues. Please fix the CI sequentially by following the order of
|
@weidongxu-microsoft can you please help me merge this one as well? |
I was not following this PR. It appears that this PR have multiple property removed, which is a big breaking changes from a previous api-version. My suggestion is to follow up with assignee for standard review. |
Got it. @kairu-ms can you please help me with review and merge this? |
"type": "string", | ||
"description": "The resource type of the metric baseline resource." | ||
}, | ||
"metricName": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For api version 2019-03-01, the property name is 'name'
Lines 145 to 147 in 521ed88
"name": { | |
"type": "string", | |
"description": "The name of the metric for which the baselines were retrieved." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure you want to rename it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked.
"metadataValues": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/BaselineMetadata" | ||
}, | ||
"description": "The baseline metadata values." | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Different from 2019-03-01, Please make sure you want to rename it.
Lines 223 to 229 in 521ed88
"metadata": { | |
"type": "array", | |
"items": { | |
"$ref": "#/definitions/BaselineMetadata" | |
}, | |
"description": "The baseline metadata values." | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked. i'm sure.
@kairu-ms i think our source code might help you review. |
@kairu-ms verified your comments. thanks! |
@asafst i think i didn't send you this one for review, please take a look. |
…stable/2018-09-01 (Azure#12314) * copied metricBaselines from 2019 * Added 2018 api version for metricBaselines * Added example file of new api * fixed prettier * fixed api version * added object type * fixed api version and semantic error * added metricBaselines to readme * fixed prettier for 2019 version * removed metricBaselines 2018 from package * added back the reference to 2018 * removed reference * added reference * Trying to edit description * Trying to fix linting error * reverted description * changed description due to validation error * trying to reference to api version from types * added reference to 2018-09
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Changelog
Please ensure to add changelog with this PR by answering the following questions.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
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 Azure Resource Manager service) 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.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.