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

[Hub Generated] Review request for Microsoft.AzureStack to add version stable/2017-06-01 #8240

Conversation

AndyTao0402
Copy link
Contributor

@AndyTao0402 AndyTao0402 commented Jan 28, 2020

If you are a MSFT employee you can view your work branch via this link.

Contribution checklist:

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 28, 2020

azure-sdk-for-go

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 28, 2020

azure-sdk-for-js

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from fe02362 with merge commit ce1cf707d02ebd4929ba77b3b8812232e083611a. SDK Automation 13.0.17.20191226.1
  • ️✔️@azure/arm-azurestack [Logs]  [Preview SDK Changes]
    [npmPack] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    [npmPack] loaded rollup.config.js with warnings
    [npmPack] (!) Unused external imports
    [npmPack] default imported from external module 'rollup' but never used
    [npmPack] 
    [npmPack] ./esm/azureStackManagementClient.js → ./dist/arm-azurestack.js...
    [npmPack] created ./dist/arm-azurestack.js in 310ms

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 28, 2020

azure-sdk-for-java

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from fe02362 with merge commit ce1cf707d02ebd4929ba77b3b8812232e083611a. SDK Automation 13.0.17.20191226.1
  • ⚠️sdk/azurestack/mgmt-v2017_06_01 [Logs]  [Preview SDK Changes]
      [mvn] [ERROR] COMPILATION ERROR : 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/ProductsInner.java:[469,155] cannot find symbol
      [mvn]   symbol:   variable deviceConfiguration
      [mvn]   location: class com.microsoft.azure.management.azurestack.v2017_06_01.implementation.ProductsInner
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/ProductsInner.java:[562,167] cannot find symbol
      [mvn]   symbol:   variable deviceConfiguration
      [mvn]   location: class com.microsoft.azure.management.azurestack.v2017_06_01.implementation.ProductsInner
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/ProductsInner.java:[655,166] cannot find symbol
      [mvn]   symbol:   variable marketplaceProductLogUpdate
      [mvn]   location: class com.microsoft.azure.management.azurestack.v2017_06_01.implementation.ProductsInner
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/RegistrationImpl.java:[27,67] incompatible types: java.lang.String cannot be converted to com.microsoft.azure.management.azurestack.v2017_06_01.Location
      [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project azure-mgmt-azurestack: Compilation failure: Compilation failure: 
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/ProductsInner.java:[469,155] cannot find symbol
      [mvn] [ERROR]   symbol:   variable deviceConfiguration
      [mvn] [ERROR]   location: class com.microsoft.azure.management.azurestack.v2017_06_01.implementation.ProductsInner
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/ProductsInner.java:[562,167] cannot find symbol
      [mvn] [ERROR]   symbol:   variable deviceConfiguration
      [mvn] [ERROR]   location: class com.microsoft.azure.management.azurestack.v2017_06_01.implementation.ProductsInner
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/ProductsInner.java:[655,166] cannot find symbol
      [mvn] [ERROR]   symbol:   variable marketplaceProductLogUpdate
      [mvn] [ERROR]   location: class com.microsoft.azure.management.azurestack.v2017_06_01.implementation.ProductsInner
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/azurestack/mgmt-v2017_06_01/src/main/java/com/microsoft/azure/management/azurestack/v2017_06_01/implementation/RegistrationImpl.java:[27,67] incompatible types: java.lang.String cannot be converted to com.microsoft.azure.management.azurestack.v2017_06_01.Location
      [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 Jan 28, 2020

    azure-sdk-for-python

    ️✔️ succeeded [Logs] [Expand Details]
    • ️✔️ Generate from fe02362 with merge commit ce1cf707d02ebd4929ba77b3b8812232e083611a. SDK Automation 13.0.17.20191226.1
    • ️✔️azure-mgmt-azurestack [Logs]  [Preview SDK Changes]
      [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] warning: no files found matching '*.py' under directory 'tests'
      [build_package] warning: no files found matching '*.yaml' under directory 'tests'
      [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] warning: no files found matching '*.py' under directory 'tests'
      [build_package] warning: no files found matching '*.yaml' under directory 'tests'

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jan 28, 2020

    azure-sdk-for-net

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    1 similar comment
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @allenjzhang
    Copy link
    Member

    Please review failures and ensure checks are passing. Without green check results, PR cannot be merged. Thx.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @allenjzhang allenjzhang added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 3, 2020
    @allenjzhang
    Copy link
    Member

    Please review check pipeline failures and make corrections. Thanks.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines failed to run 1 pipeline(s).

    @bganapa
    Copy link
    Member

    bganapa commented Feb 5, 2020

    @allenjzhang The checks are passing now. Could you please add the ARM folks as reviewers for sign off?

    @allenjzhang
    Copy link
    Member

    /azp run automation - sdk

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @@ -44,6 +44,53 @@
    "nextLinkName": "nextLink"
    }
    }
    },
    "/providers/Microsoft.AzureStack/cloudmanifestfile": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    cloudmanifestfile [](start = 37, length = 17)

    As per the RPC, resource type names should be plural. If it's a singleton, the correct pattern would be to implement the following routes:

    • /providers/Microsoft.AzureStack/cloudmanifestfiles
    • /providers/Microsoft.AzureStack/cloudmanifestfiles/default

    default can be substituted with master, current, or latest depending on the requirements.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Fixed

    Copy link
    Member

    @majastrz majastrz Feb 14, 2020

    Choose a reason for hiding this comment

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

    You need the list route also (/providers/Microsoft.AzureStack/cloudmanifestfiles). Yes, I know it's weird to have it just for 1 result, but that's the pattern.


    In reply to: 379690800 [](ancestors = 379690800)

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Do I have to implement the API for list? We don't have a use case for that.

    Copy link
    Member

    Choose a reason for hiding this comment

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

    Yeah :(. GET verb in ARM RPC is reserved for resources, which for a read-only resource like this would require LIST and GET at minimum. The other alternative would be to make it a POST action.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    For some reason, I couldn't get proxy action work on tenant level. And this should not be a POST. I'll probably implement the list same as GET default.

    @majastrz majastrz added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 14, 2020
    Copy link
    Member

    @majastrz majastrz left a comment

    Choose a reason for hiding this comment

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

    Please take a look at the comments I added.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    Copy link
    Contributor

    @ravbhatnagar ravbhatnagar left a comment

    Choose a reason for hiding this comment

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

    @AndyTao0402 - just one more minor comment.

    @@ -44,6 +44,86 @@
    "nextLinkName": "nextLink"
    }
    }
    },
    "/providers/Microsoft.AzureStack/cloudmanifestfiles": {
    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    can you camel case the resource type name? cloudManifestFiles?

    Copy link
    Member

    Choose a reason for hiding this comment

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

    is this not caught by linter? surprised

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Fixed

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @AndyTao0402
    Copy link
    Contributor Author

    ARM reviewers, could you please approve?

    @ravbhatnagar
    Copy link
    Contributor

    signing off!

    @ravbhatnagar ravbhatnagar added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Feb 24, 2020
    @allenjzhang allenjzhang merged commit 9643f83 into Azure:master Feb 24, 2020
    00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
    …n stable/2017-06-01 (Azure#8240)
    
    * Update AzureStack API descriptions to include new GetCloudManifestFile API
    
    * Add CloudManifestFile example
    
    * Fix for spell check
    
    * Remove CloudName
    
    * Move new operation to AzureStack.json
    
    * Fix model error
    
    * Add one more optional query parameter
    
    * Address PR comments
    
    * Fix spell check
    
    * Add list operation
    
    * Fix style
    
    * Actually fix stykle
    
    * Use camel case name
    
    * Modify operation description
    
    * Fix Operation List example
    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
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants