Skip to content
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

Add cors rule in request/response for Cosmos DB #10204

Merged
merged 3 commits into from
Aug 10, 2020
Merged

Conversation

shurd
Copy link
Contributor

@shurd shurd commented Jul 20, 2020

This change adds the existing "cors" property to most recent api versions. This change has been present in our service for a while, but was overlooked when originally adding the swagger. The two API versions being updated do not yet have wide usage.

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.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • 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.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 20, 2020

[Staging] Swagger Validation Report

BreakingChange: 2 Errors, 0 Warnings [Detail] [Expand]
Rule Message
1041 - AddedPropertyInResponse The new version has a new property 'cors' in response that was not found in the old version.
New: Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json#L5245:7
Old: Microsoft.DocumentDB/preview/2020-06-01-preview/cosmos-db.json#L5213:7
1041 - AddedPropertyInResponse The new version has a new property 'cors' in response that was not found in the old version.
New: Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json#L5112:7
Old: Microsoft.DocumentDB/stable/2020-04-01/cosmos-db.json#L5080:7
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 20, 2020

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

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 20, 2020

azure-sdk-for-go - Release

⚠️ warning [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 20, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from e8aebc0 with merge commit 81ee445. SDK Automation 13.0.17.20200807.2
  • ⚠️sdk/cosmos/mgmt-v2015_04_08 [View full logs]  [Release SDK Changes]
      [mvn] [ERROR] COMPILATION ERROR : 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[339,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[340,72] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[341,70] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[342,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[343,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[344,96] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[345,98] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[346,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[347,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[348,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[349,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[350,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[351,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[339,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[340,72] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[341,70] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[342,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[343,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[344,96] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[345,98] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[346,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[347,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[348,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[349,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[350,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/CosmosDBImpl.java:[351,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation.CosmosDBManagementClientImpl
      [mvn] [ERROR] -> [Help 1]
      [mvn] [ERROR] 
      [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [mvn] [ERROR] 
      [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    • ⚠️sdk/cosmos/mgmt-v2019_08_01 [View full logs]  [Release SDK Changes]
        [mvn] [ERROR] COMPILATION ERROR : 
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/NotebookWorkspacesInner.java:[351,221] cannot find symbol
        [mvn]   symbol:   variable notebookCreateUpdateParameters
        [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.NotebookWorkspacesInner
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/NotebookWorkspacesInner.java:[421,185] cannot find symbol
        [mvn]   symbol:   variable notebookCreateUpdateParameters
        [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.NotebookWorkspacesInner
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[404,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[405,72] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[406,70] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[407,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[408,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[409,96] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[410,98] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[411,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[412,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[413,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[414,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[415,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[416,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[417,76] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[418,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[419,80] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[420,88] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[421,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/NotebookWorkspacesInner.java:[351,221] cannot find symbol
        [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
        [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.NotebookWorkspacesInner
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/NotebookWorkspacesInner.java:[421,185] cannot find symbol
        [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
        [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.NotebookWorkspacesInner
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[404,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[405,72] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[406,70] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[407,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[408,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[409,96] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[410,98] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[411,86] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[412,74] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[413,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[414,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[415,92] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[416,104] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[417,76] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[418,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[419,80] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[420,88] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01/implementation/CosmosDBImpl.java:[421,84] incompatible types: com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBImpl cannot be converted to com.microsoft.azure.management.cosmosdb.v2019_08_01.implementation.CosmosDBManagementClientImpl
        [mvn] [ERROR] -> [Help 1]
        [mvn] [ERROR] 
        [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
        [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
        [mvn] [ERROR] 
        [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
        [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      • ⚠️sdk/cosmos/mgmt-v2019_08_01_preview [View full logs]  [Release SDK Changes]
          [mvn] [ERROR] COMPILATION ERROR : 
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
          [mvn]   symbol:   variable notebookCreateUpdateParameters
          [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspacesInner
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
          [mvn]   symbol:   variable notebookCreateUpdateParameters
          [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspacesInner
          [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
          [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
          [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspacesInner
          [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_08_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_08_01_preview/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
          [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
          [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2019_08_01_preview.implementation.NotebookWorkspacesInner
          [mvn] [ERROR] -> [Help 1]
          [mvn] [ERROR] 
          [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          [mvn] [ERROR] 
          [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
          [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
        • ⚠️sdk/cosmos/mgmt-v2019_12_12 [View full logs]  [Release SDK Changes]
            [mvn] [ERROR] COMPILATION ERROR : 
            [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
            [mvn]   symbol:   variable notebookCreateUpdateParameters
            [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspacesInner
            [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
            [mvn]   symbol:   variable notebookCreateUpdateParameters
            [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspacesInner
            [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
            [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
            [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
            [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspacesInner
            [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2019_12_12/src/main/java/com/microsoft/azure/management/cosmosdb/v2019_12_12/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
            [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
            [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2019_12_12.implementation.NotebookWorkspacesInner
            [mvn] [ERROR] -> [Help 1]
            [mvn] [ERROR] 
            [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
            [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
            [mvn] [ERROR] 
            [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
            [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
          • ⚠️sdk/cosmos/mgmt-v2020_03_01 [View full logs]  [Release SDK Changes]
              [mvn] [ERROR] COMPILATION ERROR : 
              [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_03_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_03_01/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
              [mvn]   symbol:   variable notebookCreateUpdateParameters
              [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2020_03_01.implementation.NotebookWorkspacesInner
              [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_03_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_03_01/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
              [mvn]   symbol:   variable notebookCreateUpdateParameters
              [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2020_03_01.implementation.NotebookWorkspacesInner
              [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
              [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_03_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_03_01/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
              [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
              [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2020_03_01.implementation.NotebookWorkspacesInner
              [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_03_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_03_01/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
              [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
              [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2020_03_01.implementation.NotebookWorkspacesInner
              [mvn] [ERROR] -> [Help 1]
              [mvn] [ERROR] 
              [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
              [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
              [mvn] [ERROR] 
              [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
              [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
            • ⚠️sdk/cosmos/mgmt-v2020_04_01 [View full logs]  [Release SDK Changes]
                [mvn] [ERROR] COMPILATION ERROR : 
                [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_04_01/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
                [mvn]   symbol:   variable notebookCreateUpdateParameters
                [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2020_04_01.implementation.NotebookWorkspacesInner
                [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_04_01/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
                [mvn]   symbol:   variable notebookCreateUpdateParameters
                [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2020_04_01.implementation.NotebookWorkspacesInner
                [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
                [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_04_01/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
                [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
                [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2020_04_01.implementation.NotebookWorkspacesInner
                [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_04_01/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
                [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
                [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2020_04_01.implementation.NotebookWorkspacesInner
                [mvn] [ERROR] -> [Help 1]
                [mvn] [ERROR] 
                [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
                [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
                [mvn] [ERROR] 
                [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
                [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
              • ⚠️sdk/cosmos/mgmt-v2020_06_01_preview [View full logs]  [Release SDK Changes]
                  [mvn] [ERROR] COMPILATION ERROR : 
                  [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
                  [mvn]   symbol:   variable notebookCreateUpdateParameters
                  [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2020_06_01_preview.implementation.NotebookWorkspacesInner
                  [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
                  [mvn]   symbol:   variable notebookCreateUpdateParameters
                  [mvn]   location: class com.microsoft.azure.management.cosmosdb.v2020_06_01_preview.implementation.NotebookWorkspacesInner
                  [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-cosmosdb: Compilation failure: Compilation failure: 
                  [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/implementation/NotebookWorkspacesInner.java:[345,207] cannot find symbol
                  [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
                  [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2020_06_01_preview.implementation.NotebookWorkspacesInner
                  [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/cosmos/mgmt-v2020_06_01_preview/src/main/java/com/microsoft/azure/management/cosmosdb/v2020_06_01_preview/implementation/NotebookWorkspacesInner.java:[413,171] cannot find symbol
                  [mvn] [ERROR]   symbol:   variable notebookCreateUpdateParameters
                  [mvn] [ERROR]   location: class com.microsoft.azure.management.cosmosdb.v2020_06_01_preview.implementation.NotebookWorkspacesInner
                  [mvn] [ERROR] -> [Help 1]
                  [mvn] [ERROR] 
                  [mvn] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
                  [mvn] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
                  [mvn] [ERROR] 
                  [mvn] [ERROR] For more information about the errors and possible solutions, please read the following articles:
                  [mvn] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

                @openapi-sdkautomation
                Copy link

                openapi-sdkautomation bot commented Jul 20, 2020

                azure-sdk-for-js - Release

                ️✔️ succeeded [Logs] [Expand Details]
                • ️✔️ Generate from e8aebc0 with merge commit 81ee445. SDK Automation 13.0.17.20200807.2
                • ️✔️@azure/arm-cosmosdb [View full logs]  [Release SDK Changes]
                  Only show 100 items here, please refer to log for details.
                  [npmPack] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
                  [npmPack] npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
                  [npmPack] npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
                  [npmPack] npm notice created a lockfile as package-lock.json. You should commit this file.
                  [npmPack] loaded rollup.config.js with warnings
                  [npmPack] (!) Unused external imports
                  [npmPack] default imported from external module 'rollup' but never used
                  [npmPack] 
                  [npmPack] ./esm/cosmosDBManagementClient.js → ./dist/arm-cosmosdb.js...
                  [npmPack] created ./dist/arm-cosmosdb.js in 846ms
                  [npmPack] npm notice 
                  [npmPack] npm notice package: @azure/[email protected]
                  [npmPack] npm notice === Tarball Contents === 
                  [npmPack] npm notice 514.2kB dist/arm-cosmosdb.js                                 
                  [npmPack] npm notice 183.9kB dist/arm-cosmosdb.min.js                             
                  [npmPack] npm notice 24.9kB  esm/operations/cassandraResources.js                 
                  [npmPack] npm notice 3.7kB   esm/models/cassandraResourcesMappers.js              
                  [npmPack] npm notice 4.7kB   esm/operations/collection.js                         
                  [npmPack] npm notice 616B    esm/models/collectionMappers.js                      
                  [npmPack] npm notice 3.6kB   esm/operations/collectionPartition.js                
                  [npmPack] npm notice 576B    esm/models/collectionPartitionMappers.js             
                  [npmPack] npm notice 2.4kB   esm/operations/collectionPartitionRegion.js          
                  [npmPack] npm notice 536B    esm/models/collectionPartitionRegionMappers.js       
                  [npmPack] npm notice 2.3kB   esm/operations/collectionRegion.js                   
                  [npmPack] npm notice 518B    esm/models/collectionRegionMappers.js                
                  [npmPack] npm notice 3.1kB   esm/cosmosDBManagementClient.js                      
                  [npmPack] npm notice 2.5kB   esm/cosmosDBManagementClientContext.js               
                  [npmPack] npm notice 4.3kB   esm/operations/database.js                           
                  [npmPack] npm notice 2.2kB   esm/operations/databaseAccountRegion.js              
                  [npmPack] npm notice 523B    esm/models/databaseAccountRegionMappers.js           
                  [npmPack] npm notice 28.6kB  esm/operations/databaseAccounts.js                   
                  [npmPack] npm notice 4.1kB   esm/models/databaseAccountsMappers.js                
                  [npmPack] npm notice 614B    esm/models/databaseMappers.js                        
                  [npmPack] npm notice 24.6kB  esm/operations/gremlinResources.js                   
                  [npmPack] npm notice 3.7kB   esm/models/gremlinResourcesMappers.js                
                  [npmPack] npm notice 345B    esm/models/index.js                                  
                  [npmPack] npm notice 1.2kB   esm/operations/index.js                              
                  [npmPack] npm notice 143.8kB esm/models/mappers.js                                
                  [npmPack] npm notice 25.1kB  esm/operations/mongoDBResources.js                   
                  [npmPack] npm notice 3.7kB   esm/models/mongoDBResourcesMappers.js                
                  [npmPack] npm notice 12.3kB  esm/operations/notebookWorkspaces.js                 
                  [npmPack] npm notice 3.7kB   esm/models/notebookWorkspacesMappers.js              
                  [npmPack] npm notice 2.3kB   esm/operations/operations.js                         
                  [npmPack] npm notice 471B    esm/models/operationsMappers.js                      
                  [npmPack] npm notice 7.0kB   esm/models/parameters.js                             
                  [npmPack] npm notice 2.5kB   esm/operations/partitionKeyRangeId.js                
                  [npmPack] npm notice 530B    esm/models/partitionKeyRangeIdMappers.js             
                  [npmPack] npm notice 2.6kB   esm/operations/partitionKeyRangeIdRegion.js          
                  [npmPack] npm notice 536B    esm/models/partitionKeyRangeIdRegionMappers.js       
                  [npmPack] npm notice 2.0kB   esm/operations/percentile.js                         
                  [npmPack] npm notice 515B    esm/models/percentileMappers.js                      
                  [npmPack] npm notice 2.3kB   esm/operations/percentileSourceTarget.js             
                  [npmPack] npm notice 527B    esm/models/percentileSourceTargetMappers.js          
                  [npmPack] npm notice 2.2kB   esm/operations/percentileTarget.js                   
                  [npmPack] npm notice 521B    esm/models/percentileTargetMappers.js                
                  [npmPack] npm notice 8.5kB   esm/operations/privateEndpointConnections.js         
                  [npmPack] npm notice 3.7kB   esm/models/privateEndpointConnectionsMappers.js      
                  [npmPack] npm notice 3.1kB   esm/operations/privateLinkResources.js               
                  [npmPack] npm notice 3.6kB   esm/models/privateLinkResourcesMappers.js            
                  [npmPack] npm notice 3.7kB   esm/operations/restorableDatabaseAccounts.js         
                  [npmPack] npm notice 3.7kB   esm/models/restorableDatabaseAccountsMappers.js      
                  [npmPack] npm notice 986B    rollup.config.js                                     
                  [npmPack] npm notice 51.2kB  esm/operations/sqlResources.js                       
                  [npmPack] npm notice 3.7kB   esm/models/sqlResourcesMappers.js                    
                  [npmPack] npm notice 11.7kB  esm/operations/tableResources.js                     
                  [npmPack] npm notice 3.6kB   esm/models/tableResourcesMappers.js                  
                  [npmPack] npm notice 1.7kB   package.json                                         
                  [npmPack] npm notice 457B    tsconfig.json                                        
                  [npmPack] npm notice 904.4kB dist/arm-cosmosdb.js.map                             
                  [npmPack] npm notice 126.9kB dist/arm-cosmosdb.min.js.map                         
                  [npmPack] npm notice 5.9kB   esm/operations/cassandraResources.d.ts.map           
                  [npmPack] npm notice 10.6kB  esm/operations/cassandraResources.js.map             
                  [npmPack] npm notice 1.7kB   esm/models/cassandraResourcesMappers.d.ts.map        
                  [npmPack] npm notice 1.7kB   esm/models/cassandraResourcesMappers.js.map          
                  [npmPack] npm notice 2.1kB   esm/operations/collection.d.ts.map                   
                  [npmPack] npm notice 2.6kB   esm/operations/collection.js.map                     
                  [npmPack] npm notice 324B    esm/models/collectionMappers.d.ts.map                
                  [npmPack] npm notice 337B    esm/models/collectionMappers.js.map                  
                  [npmPack] npm notice 1.6kB   esm/operations/collectionPartition.d.ts.map          
                  [npmPack] npm notice 1.9kB   esm/operations/collectionPartition.js.map            
                  [npmPack] npm notice 306B    esm/models/collectionPartitionMappers.d.ts.map       
                  [npmPack] npm notice 319B    esm/models/collectionPartitionMappers.js.map         
                  [npmPack] npm notice 1.1kB   esm/operations/collectionPartitionRegion.d.ts.map    
                  [npmPack] npm notice 1.3kB   esm/operations/collectionPartitionRegion.js.map      
                  [npmPack] npm notice 285B    esm/models/collectionPartitionRegionMappers.d.ts.map 
                  [npmPack] npm notice 298B    esm/models/collectionPartitionRegionMappers.js.map   
                  [npmPack] npm notice 1.1kB   esm/operations/collectionRegion.d.ts.map             
                  [npmPack] npm notice 1.2kB   esm/operations/collectionRegion.js.map               
                  [npmPack] npm notice 267B    esm/models/collectionRegionMappers.d.ts.map          
                  [npmPack] npm notice 280B    esm/models/collectionRegionMappers.js.map            
                  [npmPack] npm notice 1.4kB   esm/cosmosDBManagementClient.d.ts.map                
                  [npmPack] npm notice 2.1kB   esm/cosmosDBManagementClient.js.map                  
                  [npmPack] npm notice 483B    esm/cosmosDBManagementClientContext.d.ts.map         
                  [npmPack] npm notice 1.3kB   esm/cosmosDBManagementClientContext.js.map           
                  [npmPack] npm notice 1.9kB   esm/operations/database.d.ts.map                     
                  [npmPack] npm notice 2.4kB   esm/operations/database.js.map                       
                  [npmPack] npm notice 951B    esm/operations/databaseAccountRegion.d.ts.map        
                  [npmPack] npm notice 1.2kB   esm/operations/databaseAccountRegion.js.map          
                  [npmPack] npm notice 277B    esm/models/databaseAccountRegionMappers.d.ts.map     
                  [npmPack] npm notice 290B    esm/models/databaseAccountRegionMappers.js.map       

                @openapi-sdkautomation
                Copy link

                openapi-sdkautomation bot commented Jul 20, 2020

                azure-sdk-for-net - 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

                @openapi-sdkautomation
                Copy link

                openapi-sdkautomation bot commented Jul 20, 2020

                azure-sdk-for-python - Release

                ️✔️ succeeded [Logs] [Expand Details]
                • ️✔️ Generate from e8aebc0 with merge commit 81ee445. SDK Automation 13.0.17.20200807.2
                • ️✔️azure-mgmt-cosmosdb [View full logs]  [Release SDK Changes]
                  [build_conf] INFO:packaging_tools:Building template azure-mgmt-cosmosdb
                  [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
                  [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
                  [build_conf] INFO:packaging_tools:Template done azure-mgmt-cosmosdb
                  [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
                  [build_package]   warnings.warn(msg)
                  [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
                  [build_package]   warnings.warn(msg)
                  [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
                  [ChangeLog] Size of delta 1.080% size of original (original: 137448 chars, delta: 1484 chars)
                  [ChangeLog] **Features**
                  [ChangeLog] 
                  [ChangeLog]   - Model DefaultRequestDatabaseAccountCreateUpdateProperties has a new parameter cors
                  [ChangeLog]   - Model RestoreReqeustDatabaseAccountCreateUpdateProperties has a new parameter cors
                  [ChangeLog]   - Model DatabaseAccountGetResults has a new parameter cors
                  [ChangeLog]   - Model DatabaseAccountCreateUpdateProperties has a new parameter cors
                  [ChangeLog]   - Model DatabaseAccountUpdateParameters has a new parameter cors

                @openapi-sdkautomation
                Copy link

                openapi-sdkautomation bot commented Jul 20, 2020

                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

                @openapi-sdkautomation
                Copy link

                openapi-sdkautomation bot commented Jul 20, 2020

                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

                @azuresdkci
                Copy link
                Contributor

                Can one of the admins verify this patch?

                @@ -5351,6 +5383,10 @@
                "description": "The object representing the policy for taking backups on an account.",
                "type": "object",
                "$ref": "#/definitions/BackupPolicy"
                },
                "cors": {
                Copy link
                Member

                Choose a reason for hiding this comment

                The reason will be displayed to describe this comment to others. Learn more.

                Copy link
                Member

                Choose a reason for hiding this comment

                The reason will be displayed to describe this comment to others. Learn more.

                adding property in output is breaking change, which requires version bump

                Copy link
                Contributor Author

                Choose a reason for hiding this comment

                The reason will be displayed to describe this comment to others. Learn more.

                Hi @yungezz, this property has been available to users in production for some time, but was undocumented in swagger. We cannot add a new API version and restrict it as only available in that version because we could break users currently consuming the property. Should we add a new API version and document it there even if it remains available in previous versions?

                Copy link
                Member

                Choose a reason for hiding this comment

                The reason will be displayed to describe this comment to others. Learn more.

                thanks for sharing, @shurd , just confirm, this PR is a fixing of Swagger bug actually right, not to introducing new property.

                Copy link
                Contributor Author

                Choose a reason for hiding this comment

                The reason will be displayed to describe this comment to others. Learn more.

                Correct @yungezz

                @azure-pipelines
                Copy link

                Azure Pipelines successfully started running 1 pipeline(s).

                @azure-pipelines
                Copy link

                Azure Pipelines successfully started running 1 pipeline(s).

                @shurd
                Copy link
                Contributor Author

                shurd commented Jul 30, 2020

                @yungezz can you please take another look at this? As noted, this is fixing a swagger bug to match what is currently in production.

                @yungezz yungezz added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Aug 3, 2020
                @yungezz
                Copy link
                Member

                yungezz commented Aug 3, 2020

                approve since this is Swagger bug fixing PR. hi @shurd is this PR ready to merge?

                @shurd
                Copy link
                Contributor Author

                shurd commented Aug 10, 2020

                hi @yungezz this is ready to be merged

                @yungezz yungezz merged commit 81ee445 into Azure:master Aug 10, 2020
                innosam pushed a commit to innosam/azure-rest-api-specs that referenced this pull request Aug 17, 2020
                Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
                Labels
                Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374
                Projects
                None yet
                Development

                Successfully merging this pull request may close these issues.

                4 participants