Renaming the Insights Swagger spec and generated package to Monitor#936
Renaming the Insights Swagger spec and generated package to Monitor#936vishrutshah merged 9 commits intoAzure:masterfrom
Conversation
…wo parameters to fix a serialization/deserialization bug
…Resource. It is already optional in the servers.
…olders called monitor.
|
Re-assigned it to me as I am already working with Guillermo & Laurent on this one. |
vishrutshah
left a comment
There was a problem hiding this comment.
@gucalder Overall changes looks good to me.
We have following questions for you:
- Only question I have is you have removed
Channelsfrom ActivityLogs & TenantActivityLogs in the monitor folder but you have not removed it from older insights folders. Is that intentional omission? - Please fix errors from semantic & model validation because that is the first level of checks for correctness of the swagger that we are aiming for. That indicates something is wrong.
Semantic Validation: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/201673496
Model Validation: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/201673497
|
Yes, it is an intentional omission. The channels in Insights is working fine for .Net, but it is breaking Python due a serialization issue. It is a Flags Enum serialized as a string. It was specified as Enum in Swagger. .Net has no problem with that, but Python expects a single value from the Enum. Other than the change in names and this omission above, the rest is just like it was in Insights. |
|
@amarzavery / @veronicagg This change is only about renames but looks like many model validation and semantic validation issues already exists. Any comments/preferences how we should handle these things for now? |
…r strings to "", removing unused parameters from the spec.
|
I made some changes. Here is some feedback:
|
|
One check that is failing https://travis-ci.org/Azure/azure-rest-api-specs/jobs/201982907 due to the polymorphic type issue. The others that are failing have nothing to do with us, except one that contains the same results from us as https://travis-ci.org/Azure/azure-rest-api-specs/jobs/201982907 plus results from some other folders in the repo. |
|
@vishrutshah we've been mostly deferring issues that are not introduced by the PR, so that it's not a lot of extra work on the person submitting the PR. Feel free to point them out and give the team the opportunity to fix them, if they don't get fixed, you can open a separate issue on those, or we'll be opening issues for all specs at once soon. |
|
@lmazuel I've reviewed changes and seems good. Let me know if this looks okay to you, we can merge this in and we can have python sdk of azure-mgmt-monitor from that. |
|
The last reference I put here was just to close #894 without merge since this PR covers it. |
|
No modification for NodeJS |
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-versionin the path should match theapi-versionin the spec).Quality of Swagger