-
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
Replace linkedWorkspaces with linkedService in 2020-09-01-preview #10545
Replace linkedWorkspaces with linkedService in 2020-09-01-preview #10545
Conversation
[Staging] Swagger Validation Report
️✔️ |
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-python - Release
- Breaking Change detected in SDK
|
azure-sdk-for-js - Release
|
azure-sdk-for-go - Release
|
azure-resource-manager-schemas - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-java - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-python-track2 - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
Trenton Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
Azure CLI Extension Generation - Release
|
Can one of the admins verify this patch? |
Azure Pipelines successfully started running 1 pipeline(s). |
2 similar comments
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
68d2712
to
bdcc3f9
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
LinkedService feature will be in private preview stage2 in middle Sept. We need to finalize this swagger file ASAP so that we can generate our SDKv2 based on this swagger, and make our SDK ready to use before mid Sept. Your timely review and approval is highly appreciated! |
Azure Pipelines successfully started running 1 pipeline(s). |
the first commit simply create copy 2020-05-01-preview to 2020-09-01-preview. Your can review the diff between latest commit and the 1st one to know what are changed. |
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedServices": { |
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.
linkedWorkspaces is changing name to linkedServices? This is a big breaking change for existing users, policy, templates, rbac, etc... why make this big of a change?
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.
We don't want to do the renaming either, but it is a business decision we have to follow. The good thing is that this feature is only in private preview stage with limited audience, so the impact to existing users is controllable.
We will add template support after this renaming.
We've updated the manifest to add new rbac in linkedAccessChecks.
What else do we need to take care of for the renaming?
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.
Deprecation process is called out here: https://armwiki.azurewebsites.net/api_contracts/APIDeprecationPolicy.html. If the existing API was a preview api-version then it is more flexible (as the doc calls out). Ensure you follow the steps of that process that apply to you (if preview then you get to choose based on what your customers expect from the API).
...er/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json
Show resolved
Hide resolved
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Approved, service team should make the appropriate deprecation decisions based on the docs provided
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.
LGTM aside from one minor comment
@@ -1233,18 +1233,18 @@ | |||
} | |||
} | |||
}, | |||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedWorkspaces": { | |||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedServices": { | |||
"get": { |
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.
Seems this API is designed to be paginated (inferred from the return type name PaginatedLinkedServiceList
). If so, could we add a x-ms-pagable
extension here?
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.
Also, if this is not pagable, could we change the type name to reduce confusion?
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.
@ArcturusZhang We don't support pagination yet, but I was told that if we don't support pagination in list API, some API checks will fail. Could you please confirm that? If that's not the case, we'd like to keep the previous simple array[] return type rather than a PaginatedList.
Azure Pipelines successfully started running 1 pipeline(s). |
"LinkedServiceList": { | ||
"readOnly": true, | ||
"type": "array", | ||
"description": "An array of linked services", | ||
"items": { | ||
"$ref": "#/definitions/LinkedServiceResponse" | ||
} | ||
}, |
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.
This response should be wrapped in an object like this:
{
"value": [] // <- the array goes here
}
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.
Like this
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Pipelines successfully started running 1 pipeline(s). |
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
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.
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.
Please follow the link to find more details on PR review process.