Managed Services General API Fixes#9886
Managed Services General API Fixes#9886akning-ms merged 4 commits intoAzure:masterfrom skayani:managedServicesGeneralFixes
Conversation
MarketplaceRegistration property and use it in place of RegistrationDefinition for MarketplaceRegistrationDefinitionsList -For preview/2020-02-01, added eligibleAuthorizations to GetMarketplaceRegistrationDefinition and GetMarketplaceRegistrationDefinitionsList examples
|
Azure Pipelines successfully started running 1 pipeline(s). |
azure-sdk-for-go - Release
|
azure-sdk-for-net - Release
|
azure-sdk-for-python - Release
|
Azure CLI Extension 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-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
|
|
Although those properties are being tagged as 'removed,' our API does not use those properties to begin with. |
|
Can one of the admins verify this patch? |
|
@skayani , could you please take a look the ModelValidation error in CI? |
|
Azure Pipelines successfully started running 1 pipeline(s). |
@erich-wang , Thanks for the heads up. It seems the only failing tests now our the BreakingChanges, as to be expected. Let me know if you need any other info. |
|
Removing ARM Feedback label since ARM review board will not be reviewing property level changes going forward. |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@erich-wang Friendly ping, any update? |
|
@skayani, you're introducing breaking change to stable version. What do you mean |
|
@erich-wang The API contract is incorrectly stated. For the GetMarketplaceRegistrationDefinition and GetMarketplaceRegistrationDefintions calls, a MarketplaceRegistrationDefinition object is returned not RegistrationDefinition. This issue was found internally since we don't have consumers for these Swagger specs yet. |
|
@akning-ms , could you please force merge this PR as service team confirms that there's no customers for the API with breaking change. |
|
As identified in the automated checks there are breaking changes, Please follow Azure Breaking changes approval request form as defined @ Breaking Change Process |
|
@erich-wang Hi Erich, I just wanted to clarify before proceeding with that process. As mentioned before, our Managed Services RP API contract has not changed at all, it's the Swagger specs that are incorrect, which is what this PR fixes. For example, for retrieving Marketplace Registration Definitions, our API contract has always returned a Marketplace Registration Definition property. In the Swagger specs currently however, it states a Registration Definition property is returned, which is incorrect. Additionally, we don't have customers using the marketplace registration definitions currently (if we did it would be broken due to this mistake). Knowing that, do we still need to fill out the breaking change approval form? |
@akning-ms, could you force merge this PR given the breaking change is bug fix? |
* -For stable/2019-09-01 and preview/2020-02-01, added MarketplaceRegistration property and use it in place of RegistrationDefinition for MarketplaceRegistrationDefinitionsList -For preview/2020-02-01, added eligibleAuthorizations to GetMarketplaceRegistrationDefinition and GetMarketplaceRegistrationDefinitionsList examples * Removed extraneous spacing * Fixed get marketplace reg def examples to reference MarketplaceRegDef property * Added name property to marketplace reg def + fixed examples
-For stable/2019-09-01 and preview/2020-02-01, added MarketplaceRegistration property and use it in place of RegistrationDefinition for MarketplaceRegistrationDefinitionsList
-Note for the above change, from the very beginning MarketplaceRegistrationDefinitionsList should have used MarketplaceRegistrationDefinition so this was a mistake fix.
-For preview/2020-02-01, added eligibleAuthorizations to GetMarketplaceRegistrationDefinition and GetMarketplaceRegistrationDefinitionsList examples
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
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.