-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Updating Functions ARM APIs #7939
Conversation
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-python - Release
|
azure-sdk-for-java - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-js - Release
|
azure-sdk-for-go - Release
|
@@ -3323,14 +3323,14 @@ | |||
} | |||
} | |||
}, | |||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": { | |||
"post": { | |||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}": { |
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.
since this is stable version, change on path of stable version is treated as breaking change, because user is using it. suggest to make the change in new version
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 is just a diff/whitespace issue. If you look at this in windiff for example you'll see no existing routes were changed. Not sure why the diff mangles things so.
"summary": "Get function secrets for a function in a web site, or a deployment slot.", | ||
"description": "Description for Get function secrets for a function in a web site, or a deployment slot.", | ||
"operationId": "WebApps_ListFunctionSecrets", | ||
"summary": "Add or update a function secret.", |
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.
if path name changed secret
to key
, description,. operationId should be changed also for consistent.
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.
No existing paths or routes were changed in this PR. Just additions. Please see above.
Can one of the admins verify this patch? |
Azure Pipelines successfully started running 1 pipeline(s). |
595d452
to
022b652
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
022b652
to
5325b29
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
looking at LintDiff error with @mathewc |
@yungezz, I don’t understand these failures. The spec changes I’m making here were already accepted and checked in previously. The Lint error in question appears to be from the definition of the KeyInfo type and the fact that it isn’t a ProxyOnlyResource. As you can see from the previous stable version here, the definition is the same. These APIs/definitions were already merged previously by you guys in that 2018-02-01 stable version. Now I could just go in and make this spec definition inherit ProxyOnlyResource properties to make the Lint tool happy, but that would be incorrect – those properties are never accepted/returned from the APIs using this type. I think we need to get this in as is – please tell me how to proceed. "KeyInfo": {
"description": "Function key info.",
"type": "object",
"properties": {
"name": {
"description": "Key name",
"type": "string"
},
"value": {
"description": "Key value",
"type": "string"
}
}
} |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
5325b29
to
5c8ca13
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
5c8ca13
to
045586b
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
045586b
to
e69efc9
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
e69efc9
to
cf9aefe
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
cf9aefe
to
b509f75
Compare
Azure Pipelines successfully started running 1 pipeline(s). |
Lint errors fixed @yungezz |
Merging the changes made in #7174 to the latest spec version. No service changes have been made - just pulling these previously reviewed specs forward. No backend RP changes were made - this just updates the spec to be inline with what is already there.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Contribution checklist:
ARM API Review Checklist
Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.
Please follow the link to find more details on API review process.