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

Fix sfrp 2020-01-01-preview #10268

Merged
merged 10 commits into from
Jul 28, 2020
Merged

Conversation

a-santamaria
Copy link
Member

@a-santamaria a-santamaria commented Jul 28, 2020

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 28, 2020

[Staging] Swagger Validation Report

BreakingChange: 22 Errors, 0 Warnings [Detail] [Expand] Only 10 items are listed, please refer to log for more details.
Rule Message
1026 - TypeChanged The new version has a different type 'array' than the previous one ''.
New: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L731:9
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L733:9
1026 - TypeChanged The new version has a different type 'array' than the previous one ''.
New: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L724:9
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L728:9
1026 - TypeChanged The new version has a different type 'array' than the previous one ''.
New: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L676:9
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L676:9
1026 - TypeChanged The new version has a different type 'array' than the previous one ''.
New: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L742:9
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L743:9
1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
New: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L687:9
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L681:9
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'name' renamed or removed?
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L1140:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'probeRequestPath' renamed or removed?
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L518:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'enableAutomaticUpgrade' renamed or removed?
New: Microsoft.ServiceFabric/preview/2020-01-01-preview/nodetype.json#L873:7
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/nodetype.json#L852:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'isAdmin' renamed or removed?
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L448:7
1033 - RemovedProperty The new version is missing a property found in the old version. Was 'thumbprint' renamed or removed?
Old: Microsoft.ServiceFabric/preview/2020-01-01-preview/managedcluster.json#L448:7
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
Posted by Swagger Pipeline | How to fix these errors?

@openapi-assignment-bot openapi-assignment-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jul 28, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ravbhatnagar ravbhatnagar added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jul 28, 2020
@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 28, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from aab1454 with merge commit cc6727f. SDK Automation 13.0.17.20200619.4
  • ️✔️sdk/servicefabric/mgmt-v2016_09_01 [View full logs]  [Release SDK Changes]
  • ⚠️sdk/servicefabric/mgmt-v2017_07_01_preview [View full logs]  [Release SDK Changes]
      [mvn] [ERROR] COMPILATION ERROR : 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/servicefabric/mgmt-v2017_07_01_preview/src/main/java/com/microsoft/azure/management/servicefabric/v2017_07_01_preview/implementation/ClusterImpl.java:[40,22] no suitable method found for createAsync(java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClusterInner)
      [mvn]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.createAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClusterInner,com.microsoft.rest.ServiceCallback) is not applicable
      [mvn]       (actual and formal argument lists differ in length)
      [mvn]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.createAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClusterInner) is not applicable
      [mvn]       (actual and formal argument lists differ in length)
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/servicefabric/mgmt-v2017_07_01_preview/src/main/java/com/microsoft/azure/management/servicefabric/v2017_07_01_preview/implementation/ClusterImpl.java:[54,22] no suitable method found for updateAsync(java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.ClusterUpdateParameters)
      [mvn]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.updateAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.ClusterUpdateParameters,com.microsoft.rest.ServiceCallback) is not applicable
      [mvn]       (actual and formal argument lists differ in length)
      [mvn]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.updateAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.ClusterUpdateParameters) is not applicable
      [mvn]       (actual and formal argument lists differ in length)
      [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-servicefabric: Compilation failure: Compilation failure: 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/servicefabric/mgmt-v2017_07_01_preview/src/main/java/com/microsoft/azure/management/servicefabric/v2017_07_01_preview/implementation/ClusterImpl.java:[40,22] no suitable method found for createAsync(java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClusterInner)
      [mvn] [ERROR]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.createAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClusterInner,com.microsoft.rest.ServiceCallback) is not applicable
      [mvn] [ERROR]       (actual and formal argument lists differ in length)
      [mvn] [ERROR]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.createAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClusterInner) is not applicable
      [mvn] [ERROR]       (actual and formal argument lists differ in length)
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/servicefabric/mgmt-v2017_07_01_preview/src/main/java/com/microsoft/azure/management/servicefabric/v2017_07_01_preview/implementation/ClusterImpl.java:[54,22] no suitable method found for updateAsync(java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.ClusterUpdateParameters)
      [mvn] [ERROR]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.updateAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.ClusterUpdateParameters,com.microsoft.rest.ServiceCallback) is not applicable
      [mvn] [ERROR]       (actual and formal argument lists differ in length)
      [mvn] [ERROR]     method com.microsoft.azure.management.servicefabric.v2017_07_01_preview.implementation.ClustersInner.updateAsync(java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.microsoft.azure.management.servicefabric.v2017_07_01_preview.ClusterUpdateParameters) is not applicable
      [mvn] [ERROR]       (actual and formal argument lists differ in length)
      [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/servicefabric/mgmt-v2018_02_01 [View full logs]  [Release SDK Changes]

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jul 28, 2020

    azure-sdk-for-python - Release

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from aab1454 with merge commit cc6727f. SDK Automation 13.0.17.20200619.4
    • ️✔️azure-mgmt-servicefabric [View full logs]  [Release SDK Changes]
      [build_conf] INFO:packaging_tools:Building template azure-mgmt-servicefabric
      [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-servicefabric
      [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 29.497% size of original (original: 72919 chars, delta: 21509 chars)
      [ChangeLog] **Features**
      [ChangeLog] 
      [ChangeLog]   - Model ApplicationUpgradePolicy has a new parameter upgrade_mode
      [ChangeLog]   - Model DiagnosticsStorageAccountConfig has a new parameter protected_account_key_name2
      [ChangeLog]   - Model ApplicationResource has a new parameter managed_identities
      [ChangeLog]   - Model ApplicationResource has a new parameter identity
      [ChangeLog]   - Model ApplicationResourceUpdate has a new parameter managed_identities
      [ChangeLog]   - Model Cluster has a new parameter application_type_versions_cleanup_policy
      [ChangeLog]   - Model StatefulServiceProperties has a new parameter service_dns_name
      [ChangeLog]   - Model StatelessServiceProperties has a new parameter instance_close_delay_duration
      [ChangeLog]   - Model StatelessServiceProperties has a new parameter service_dns_name
      [ChangeLog]   - Model StatelessServiceUpdateProperties has a new parameter instance_close_delay_duration
      [ChangeLog]   - Model ClusterUpdateParameters has a new parameter application_type_versions_cleanup_policy
      [ChangeLog]   - Model ServiceResource has a new parameter service_dns_name
      [ChangeLog]   - Model ServiceResourceProperties has a new parameter service_dns_name
      [ChangeLog]   - Added operation ClusterVersionsOperations.list_by_os
      [ChangeLog]   - Added operation group NodeTypesOperations
      [ChangeLog]   - Added operation group ManagedClustersOperations

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jul 28, 2020

    azure-sdk-for-js - 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 28, 2020

    azure-sdk-for-net - Release

    ️✔️ succeeded [Logs] [Expand Details]

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jul 28, 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

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jul 28, 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 28, 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 28, 2020

    azure-sdk-for-go - Release

    ️✔️ succeeded [Logs] [Expand Details]

    @azuresdkci
    Copy link
    Contributor

    Can one of the admins verify this patch?

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @njuCZ
    Copy link
    Contributor

    njuCZ commented Jul 28, 2020

    @a-santamaria I want to confirm that is it by design to delete field "enableAutomaticUpgrade" and add field "forceUpdateTag"? Could you add this field in the examples files?

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @a-santamaria
    Copy link
    Member Author

    forceUpdateTag

    Thanks @njuCZ, yes it's by design. It was a mistake adding "enableAutomaticUpgrade" initially and "forceUpdateTag" was missing. I have added that param to the examples

    @njuCZ njuCZ added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Jul 28, 2020
    @njuCZ njuCZ merged commit cc6727f into Azure:master Jul 28, 2020
    iscai-msft added a commit to iscai-msft/azure-rest-api-specs that referenced this pull request Oct 5, 2020
    …into fix_kv_python_readme
    
    * 'master' of https://github.com/Azure/azure-rest-api-specs: (154 commits)
      Key Vault 7.1-preview to stable (GA) (Azure#10239)
      Fix data plane cosmosdb (Azure#10277)
      Fix example request for expanding policyEvaluationDetails (Azure#10203)
      Databricks Swagger Changes for Double Encryption (Azure#9941)
      add column delimiter for SAP Table/open hub (Azure#10269)
      add doc for typescript md (Azure#10187)
      Fix sfrp 2020-01-01-preview (Azure#10268)
      [Datafactory]Add cloudType and snapshot to ADF public swagger (Azure#10235)
      Migrate TaskRun to ProxyResource. (Azure#9953)
      [Datashare]Add sorting query parameters (Azure#10209)
      [Hub Generated] Review request for Microsoft.Insights to add version preview/2018-06-17-preview (Azure#10173)
      Update dataController onPremise property (Azure#10263)
      Changed the Client description to include Gen2 (Azure#10178)
      Managed Clusters Generate SDK (Azure#10247)
      Dev monitor microsoft.insights 2020 05 01 preview (Azure#10101)
      Add Location property to ExportPipeline and ImportPipeline (Azure#10177)
      Add enableAutomaticUpgrade property to VMExtensions for VMs and VMSS (Azure#10134)
      Add a new api and add 2020-02-02-preview versions (Azure#9710)
      Adding AML Workspace ID Property (Azure#10073)
      Add missing nullable attributes (Azure#10245)
      ...
    00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
    * changing default version in readme for sdk generation
    
    * adding managedclusters and nodetypes to tag package-2020-03 so sdk is generated for all
    
    * use the same AzureActiveDirectory model and rename others that have differences
    
    * fix lintDiff
    
    * fix lintDiff 2
    
    * fix arrays and missing properties
    
    * rename provisioning state to ManagedResourseProvisioningState to avoid conflic with non-managed
    
    * fix typo
    
    * add forceUpdateTag to the examples
    
    Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
    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 ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants