-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Swagger changes for Edge Order Service #12142
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
Conversation
|
Hi, @sashanm 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. [email protected] |
Swagger Validation Report
|
| Rule | Message |
|---|---|
| Since operation 'ListOperations' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L24 |
|
| Since operation 'ListAddressesAtSubscriptionLevel' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L66 |
|
| Since operation 'ListProductFamilies' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L125 |
|
| Since operation 'ListConfigurations' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L193 |
|
| Since operation 'ListProductFamiliesMetadata' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L254 |
|
| Since operation 'ListOrderCollectionsAtSubscriptionLevel' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L306 |
|
| Since operation 'ListOrdersAtSubscriptionLevel' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L358 |
|
| Since operation 'ListAddressesAtResourceGroupLevel' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L417 |
|
| Since operation 'ListOrderCollectionsAtResourceGroupLevel' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L702 |
|
| Since operation 'ListOrdersAtResourceGroupLevel' response has model definition 'x-ms-pageable', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. New: resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json#L980 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️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) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
|
Swagger pipeline restarted successfully, please wait for status update in this comment. |
|
Thank you for your contribution sashanm! We will review the pull request and get back to you soon. |
|
Hi, @sashanm 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. [email protected] |
|
Hi, @sashanm your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]). cc @ruowan |
swagger changes for Edge ordering
consider re-using/ref'ing TrackedResource / ProxyResource from /common-types/resource-management/v2/types.json instead of duplicating Refers to: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json:3159 in 1d524fb. [](commit_id = 1d524fb, deletion_comment = False) |
...dgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json
Outdated
Show resolved
Hide resolved
I assume you have considered making this tracked vs proxy as per https://armwiki.azurewebsites.net/rp_onboarding/tracked_vs_proxy_resources.html?q=tracked - I don't see a need to make this tracked but making it proxy will mean it needs to be global since it is a top-level resource Refers to: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json:513 in 1d524fb. [](commit_id = 1d524fb, deletion_comment = False) |
as discussed you probably don't need the rg level api for this, since this is a read-only resource and depends only on sublevel properties, the rbac limitation (when user has access to only 1 rg in a sub) can be handled via the allowedUnauthorizedActions in your manifest Refers to: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/edgeorder.json:846 in 1d524fb. [](commit_id = 1d524fb, deletion_comment = False) |
Yeah. Since we are supporting edit/delete of address resource. We might lose the address details if customer deletes it |
In Airgap cloud, customer cannot disclose shipping address. Hence we made shipping address as option |
We are supporting countries without postal code like HongKong hence making postal code as optional |
|
Hi @sashanm, Your PR has some issues. Please fix the CI sequentially by following the order of
|
...dgeorder/resource-manager/Microsoft.EdgeOrder/2020-12-01-preview/examples/AddressCreate.json
Show resolved
Hide resolved
|
Hi @sashanm, Your PR has some issues. Please fix the CI sequentially by following the order of
|
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
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.