-
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
IoT Hub - X509CA support #1723
IoT Hub - X509CA support #1723
Conversation
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.
There are multiple linter errors (https://travis-ci.org/Azure/azure-rest-api-specs/jobs/278476257). Please fix.
"$ref": "#/parameters/subscriptionId" | ||
}, | ||
{ | ||
"name": "resourceGroupName", |
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 move this to the global parameter section and reference throughout.
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.
Fixed
"type": "string" | ||
}, | ||
{ | ||
"name": "resourceName", |
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 move this to the global parameter section and reference throughout.
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.
Fixed
"type": "string" | ||
}, | ||
{ | ||
"name": "certificateName", |
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 move this to the global parameter section and reference throughout.
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.
Fixed
@mastermanu @manusr I don't see the changes that were requested in the older PR. Properties like subjectname etc should go inside the properties bag. Please make sure the certificate resource complies with the basic shape needed for an ARM resource. Since this is likely a proxy resource, it will have id, name and type properties and all other peoperties will go inside the properties bag |
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: 💡 Please review potentially introduced Error(s)/Warning(s): Analysis Report 💡 AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: 💡 Please review potentially introduced Error(s)/Warning(s): Analysis Report 💡 AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
No modification for AutorestCI/azure-sdk-for-node |
@@ -2138,6 +2441,28 @@ | |||
"description": "The version of the API.", | |||
"required": true, | |||
"type": "string" | |||
}, | |||
"resourceGroupName": { |
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.
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.
@amarzavery I've added "x-ms-parameter-location": "method" to the objects that describe parameters that are only used in methods, however I'm losing the "credentials" parameter IotHubClientConfiguration(credentials, subscription_id, base_url)
has now become IotHubClientConfiguration(subscription_id, base_url)
and this seems to be causing several issues. Any thoughts on how to fix this?
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.
Ah seems to be an autorest option that might be new
"tags": [ "Certificates" ], | ||
"summary": "Get the certificate list.", | ||
"description": "Returns the list of certificates.", | ||
"operationId": "Certificates_ListByIoTHub", |
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.
should be Certificates_ListByIotHub, autorest generated sdks are getting confused.
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger