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

Adding service fabric api version 2020-12-01-preview - rebased with master #11614

Merged
merged 13 commits into from
Feb 23, 2021

Conversation

a-santamaria
Copy link
Member

@a-santamaria a-santamaria commented Nov 10, 2020

I took the pr here #10230 and rebased with master to fix the conflicts. Also, update the paths and example to reflect the changes we made on the RP.

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Changelog

Please ensure to add changelog with this PR by answering the following questions.

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No, no need to refresh for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

I took @alexgshaw pr here #10230 and rebased with master to fix the conflicts. Also, update the paths and example to reflect the changes we made on the RP

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
  • Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • 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

To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.

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

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Nov 10, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️LintDiff: 1 Warnings warning [Detail]

Rule Message
⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'listupgradableversions' in:'ListUpgradableVersions_Post'. Consider updating the operationId
Location: Microsoft.ServiceFabric/preview/2020-12-01-preview/cluster.json#L467
️⚠️Avocado: 1 Warnings warning [Detail]
Rule Message
⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
readme: specification/servicefabric/resource-manager/readme.md
tag: specification/servicefabric/resource-manager/readme.md#tag-package-2020-03
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️⚠️[Staging] Cross Version BreakingChange (Base on preview version): 69 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.ServiceFabric/operations' removed or restructured?
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L37:5
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L81:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L125:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L179:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L226:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L269:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L316:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L374:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L424:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2019-11-01-preview' from the old version.
Old: Microsoft.ServiceFabric/preview/2019-11-01-preview/application.json#L470:9
️⚠️[Staging] Cross Version BreakingChange (Base on stable version): 69 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.ServiceFabric/operations' removed or restructured?
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L37:5
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L81:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L125:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L179:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L226:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L269:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L316:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L374:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L424:9
⚠️ 1019 - RemovedEnumValue The new version is removing enum value(s) '2020-03-01' from the old version.
Old: Microsoft.ServiceFabric/stable/2020-03-01/application.json#L470:9
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️[Staging] SDK Track2 Validation: 61 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ApplicationTypeVersionsCleanupPolicy' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'AvailableOperationDisplay' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'AzureActiveDirectory' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'CertificateDescription' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ClientCertificateCommonName' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ClientCertificateThumbprint' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ClusterCodeVersionsListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ClusterCodeVersionsResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ClusterListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
⚠️ PreCheck/SchemaMissingType "readme":"servicefabric/resource-manager/readme.md",
"tag":"package-2020-12-preview",
"details":"The schema 'ClusterProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'"
️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Nov 10, 2020

Swagger Generation Artifacts

️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from bd78a2e. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	sudo apt-get install -y dotnet-sdk-5.0
    command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/servicefabric/resource-manager/readme.md
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
  • ️✔️Microsoft.Azure.Management.ServiceFabric [View full logs]  [Release SDK Changes]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from bd78a2e. SDK Automation 14.0.0
    command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️servicefabric/mgmt/2019-03-01/servicefabric [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️servicefabric/mgmt/2016-09-01/servicefabric [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/servicefabric/mgmt/2019-03-01-preview/servicefabric [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/servicefabric/mgmt/2018-02-01-preview/servicefabric [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/servicefabric/mgmt/2017-07-01-preview/servicefabric [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from bd78a2e. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
    cmderr	[generate.py] 2021-02-23 00:31:16 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-servicefabric"
    cmderr	[generate.py] 2021-02-23 00:31:16 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
    cmderr	[generate.py] 2021-02-23 00:31:16 INFO autorest --version=3.0.6369 --use=@autorest/java@4.0.17 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/servicefabric/azure-resourcemanager-servicefabric --java.namespace=com.azure.resourcemanager.servicefabric   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL ../azure-rest-api-specs/specification/servicefabric/resource-manager/readme.md
    cmderr	[generate.py] 2021-02-23 00:32:04 INFO [CI][Success] Write to ci.yml
    cmderr	[generate.py] 2021-02-23 00:32:04 INFO [POM][Process] dealing with pom.xml
    cmderr	[generate.py] 2021-02-23 00:32:04 INFO [POM][Skip] pom already has module azure-resourcemanager-servicefabric
    cmderr	[generate.py] 2021-02-23 00:32:04 INFO [POM][Success] Write to pom.xml
    cmderr	[generate.py] 2021-02-23 00:32:04 INFO [POM][Process] dealing with root pom
    cmderr	[generate.py] 2021-02-23 00:32:04 INFO [POM][Success] Write to root pom
    cmderr	[generate.py] 2021-02-23 00:32:48 ERROR [COMPILE] Maven build fail
  • ️✔️azure-resourcemanager-servicefabric [View full logs]  [Release SDK Changes]
    cmderr	[Inst] 2021-02-23 00:34:02 DEBUG Got artifact_id: azure-resourcemanager-servicefabric
    cmderr	[Inst] 2021-02-23 00:34:02 DEBUG Got artifact: pom.xml
    cmderr	[Inst] 2021-02-23 00:34:02 ERROR Unmatch any jar in artifacts
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from bd78a2e. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-servicefabric [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Model ManagedCluster has a new parameter addon_features
    info	[Changelog]   - Model ManagedClusterUpdateParameters has a new parameter addon_features
    info	[Changelog]
    info	[Changelog] **Breaking changes**
    info	[Changelog]
    info	[Changelog]   - Model ManagedCluster no longer has parameter cluster_upgrade_mode
    info	[Changelog]   - Model ManagedCluster no longer has parameter cluster_upgrade_description
    info	[Changelog]   - Model ManagedCluster no longer has parameter use_test_extension
    info	[Changelog]   - Model ManagedCluster no longer has parameter reverse_proxy_endpoint_port
    info	[Changelog]   - Model ManagedClusterUpdateParameters no longer has parameter cluster_upgrade_mode
    info	[Changelog]   - Model ManagedClusterUpdateParameters no longer has parameter cluster_upgrade_description
    info	[Changelog]   - Model ManagedClusterUpdateParameters no longer has parameter reverse_proxy_endpoint_port
️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from bd78a2e. Schema Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	autorest --use=@autorest/azureresourceschema@3.0.92 --version=3.0.6374 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/servicefabric/resource-manager/readme.md
  • ️✔️servicefabric [View full logs]  [Release Schema Changes]
️🔄[Staging] ApiDocPreview inProgress [Detail]
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-workflow-bot
Copy link

Hi, @a-santamaria Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    Hi, @a-santamaria your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com). cc @yungezz

    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Nov 10, 2020
    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Nov 10, 2020

    azure-sdk-for-java

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from e165141 with merge commit f8a6649ae1ce5bf0a5f3754e6d91c3b43d3b1ae4. SDK Automation 13.0.17.20200918.2
    • ️✔️sdk/servicefabric/mgmt-v2016_09_01 [View full logs]  [Preview SDK Changes]
    • ⚠️sdk/servicefabric/mgmt-v2017_07_01_preview [View full logs]  [Preview 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]  [Preview SDK Changes]

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Nov 10, 2020

      azure-sdk-for-go

      ️✔️ succeeded [Logs] [Expand Details]

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Nov 10, 2020

      azure-sdk-for-js

      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 Nov 10, 2020

      Azure CLI Extension Generation

      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 Nov 10, 2020

      azure-sdk-for-net

      ️✔️ succeeded [Logs] [Expand Details]

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Nov 10, 2020

      azure-sdk-for-python

      - Breaking Change detected in SDK

      ⚠️ warning [Logs] [Expand Details]
      • ⚠️ Generate from e165141 with merge commit f8a6649ae1ce5bf0a5f3754e6d91c3b43d3b1ae4. SDK Automation 13.0.17.20200918.2
      • ⚠️azure-mgmt-servicefabric [View full logs]  [Preview SDK Changes] Breaking Change Detected
        [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 0.350% size of original (original: 72640 chars, delta: 254 chars)
        [ChangeLog] **Breaking changes**
        [ChangeLog] 
        [ChangeLog]   - Model ManagedCluster no longer has parameter reverse_proxy_endpoint_port
        [ChangeLog]   - Model ManagedCluster no longer has parameter use_test_extension
        [ChangeLog]   - Model ManagedClusterUpdateParameters no longer has parameter reverse_proxy_endpoint_port

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Nov 10, 2020

      azure-sdk-for-python-track2

      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 Nov 10, 2020

      azure-resource-manager-schemas

      ⚠️ warning [Logs] [Expand Details]
      • ⚠️ Generate from e165141 with merge commit f8a6649ae1ce5bf0a5f3754e6d91c3b43d3b1ae4. Schema Automation 13.0.17.20200918.2
        Failed to find any diff after autorest so no changed packages was found.

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Nov 10, 2020

      Trenton Generation

      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

      @yungezz
      Copy link
      Member

      yungezz commented Feb 5, 2021

      @yungezz @msyyc these are the breaking changes in python sdk logs:

      [ChangeLog] Breaking changes
      [ChangeLog]
      [ChangeLog] - Model ManagedCluster no longer has parameter reverse_proxy_endpoint_port
      [ChangeLog] - Model ManagedCluster no longer has parameter use_test_extension
      [ChangeLog] - Model ManagedClusterUpdateParameters no longer has parameter reverse_proxy_endpoint_port

      not sure why it's showing this because I didn't make any changes here for these modes that are located in the 2020-01-01-preview. These changes were done in a previous pr that is already merged: #10728.
      Can we merge this pr?

      hi @msyyc, is it ok for Python SDK? I don't have concern here. thanks.

      @a-santamaria
      Copy link
      Member Author

      @msyyc can you respond to @yungezz so we can merge the pr please?

      @a-santamaria
      Copy link
      Member Author

      @msyyc has not responeded. @yungezz can we merge? I'm not going to generate sdks for 2020-01-01-preview which is what the breaking changes validation is complaining about

      @yungezz
      Copy link
      Member

      yungezz commented Feb 12, 2021

      /azp run

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 2 pipeline(s).

      @yungezz
      Copy link
      Member

      yungezz commented Feb 12, 2021

      hi @a-santamaria I rerun CI and seems more CI failed, could you pls fix CI failure? For Python SDK breaking change, you're right, it's caused by previous PR, I think it's ok.

      @a-santamaria
      Copy link
      Member Author

      /azp run

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 2 pipeline(s).

      @a-santamaria
      Copy link
      Member Author

      @yungezz I think they should be fixed now, but not all of them have run. Some checks say "Expected — Waiting for status to be reported"

      @a-santamaria
      Copy link
      Member Author

      /azp run

      @azure-pipelines
      Copy link

      Azure Pipelines successfully started running 2 pipeline(s).

      @a-santamaria
      Copy link
      Member Author

      @yungezz I re-ran ci tasks. Only swagger APIDocPreview gets stuck. Can we merge, please?

      @a-santamaria
      Copy link
      Member Author

      @yungezz any update?

      Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
      Labels
      ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Python
      Projects
      None yet
      Development

      Successfully merging this pull request may close these issues.

      4 participants