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

Java update #10022

Merged
merged 2 commits into from
Jul 2, 2020
Merged

Java update #10022

merged 2 commits into from
Jul 2, 2020

Conversation

ChenTanyi
Copy link
Contributor

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

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
    • adding/removing APIs.
    • adding/removing properties.
    • adding/removing API-version.
    • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 2, 2020

[Staging] Swagger Validation Report

️✔️BreakingChange [Detail]
 There are no breaking changes. 
️✔️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 2, 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 2, 2020

azure-sdk-for-python - Release

- Breaking Change detected in SDK

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 6483efd with merge commit 064ddff. SDK Automation 13.0.17.20200619.4
  • ⚠️azure-mgmt-avs [View full logs]  [Release SDK Changes] Breaking Change Detected
    [build_conf] INFO:packaging_tools:Building template azure-mgmt-avs
    [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-avs
    [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'
    [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
    [ChangeLog] Size of delta 56.419% size of original (original: 19979 chars, delta: 11272 chars)
    [ChangeLog] **Features**
    [ChangeLog] 
    [ChangeLog]   - Model Endpoints has a new parameter hcx_cloud_manager
    [ChangeLog]   - Model Cluster has a new parameter provisioning_state
    [ChangeLog]   - Model Cluster has a new parameter cluster_id
    [ChangeLog]   - Model Cluster has a new parameter cluster_size
    [ChangeLog]   - Model Cluster has a new parameter hosts
    [ChangeLog]   - Added operation group AuthorizationsOperations
    [ChangeLog]   - Added operation group HcxEnterpriseSitesOperations
    [ChangeLog] 
    [ChangeLog] **Breaking changes**
    [ChangeLog] 
    [ChangeLog]   - Operation PrivateCloudsOperations.update has a new signature
    [ChangeLog]   - Operation ClustersOperations.create_or_update has a new signature
    [ChangeLog]   - Operation ClustersOperations.update has a new signature
    [ChangeLog]   - Operation ClustersOperations.create_or_update has a new signature
    [ChangeLog]   - Model Circuit no longer has parameter authorizations
    [ChangeLog]   - Model Cluster no longer has parameter properties
    [ChangeLog]   - Model Cluster has a new required parameter sku
    [ChangeLog]   - Model PrivateCloud has a new signature
    [ChangeLog]   - Model ExpressRouteAuthorization has a new signature

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 2, 2020

azure-sdk-for-java - Release

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from 6483efd with merge commit 064ddff. SDK Automation 13.0.17.20200619.4
  • ️✔️sdk/appconfiguration/mgmt-v2019_02_01_preview [View full logs]  [Release SDK Changes]
  • ️✔️sdk/appconfiguration/mgmt-v2019_10_01 [View full logs]  [Release SDK Changes]
  • ️✔️sdk/appconfiguration/mgmt-v2020_06_01 [View full logs]  [Release SDK Changes]
  • ⚠️sdk/avs/mgmt-v2019_08_09_preview [View full logs]  [Release SDK Changes]
      [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:jar (default-cli) on project azure-avs: MavenReportException: Error while creating archive: 
      [mvn] [ERROR] Exit code: 1 - /z/work/azure-sdk-for-java/sdk/avs/mgmt-v2019_08_09_preview/src/main/java/com/microsoft/azure/management/avs/v2019_08_09_preview/package-info.java:11: warning: a package-info.java file has already been seen for package com.microsoft.azure.management.avs.v2019_08_09_preview
      [mvn] [ERROR] package com.microsoft.azure.management.avs.v2019_08_09_preview;
      [mvn] [ERROR]                                           ^
      [mvn] [ERROR] javadoc: warning - Multiple sources of package comments found for package "com.microsoft.azure.management.avs.v2019_08_09_preview"
      [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/avs/mgmt-v2019_08_09_preview/src/main/java/com/microsoft/azure/management/avs/v20190809preview/PrivateClouds.java:12: error: cannot access AdminCredentials
      [mvn] [ERROR] import com.microsoft.azure.management.avs.v20190809preview.models.AdminCredentials;
      [mvn] [ERROR]                                                                  ^
      [mvn] [ERROR]   bad source file: /z/work/azure-sdk-for-java/sdk/avs/mgmt-v2019_08_09_preview/src/main/java/com/microsoft/azure/management/avs/v20190809preview/models/AdminCredentials.java
      [mvn] [ERROR]     file does not contain class com.microsoft.azure.management.avs.v20190809preview.models.AdminCredentials
      [mvn] [ERROR]     Please remove or make sure it appears in the correct subdirectory of the sourcepath.
      [mvn] [ERROR] 
      [mvn] [ERROR] Command line was: /usr/lib/jvm/java-8-openjdk-amd64/jre/../bin/javadoc @options @packages
      [mvn] [ERROR] 
      [mvn] [ERROR] Refer to the generated Javadoc files in '/z/work/azure-sdk-for-java/sdk/avs/mgmt-v2019_08_09_preview/target/apidocs' dir.
      [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/MojoExecutionException
    • ⚠️sdk/avs/mgmt-v2020_03_20 [View full logs]  [Release SDK Changes]
        [mvn] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:jar (default-cli) on project azure-avs: MavenReportException: Error while creating archive: 
        [mvn] [ERROR] Exit code: 1 - /z/work/azure-sdk-for-java/sdk/avs/mgmt-v2020_03_20/src/main/java/com/microsoft/azure/management/avs/v2020_03_20/package-info.java:11: warning: a package-info.java file has already been seen for package com.microsoft.azure.management.avs.v2020_03_20
        [mvn] [ERROR] package com.microsoft.azure.management.avs.v2020_03_20;
        [mvn] [ERROR]                                           ^
        [mvn] [ERROR] javadoc: warning - Multiple sources of package comments found for package "com.microsoft.azure.management.avs.v2020_03_20"
        [mvn] [ERROR] /z/work/azure-sdk-for-java/sdk/avs/mgmt-v2020_03_20/src/main/java/com/microsoft/azure/management/avs/v20200320/Authorizations.java:13: error: cannot access ExpressRouteAuthorization
        [mvn] [ERROR] import com.microsoft.azure.management.avs.v20200320.models.ExpressRouteAuthorization;
        [mvn] [ERROR]                                                           ^
        [mvn] [ERROR]   bad source file: /z/work/azure-sdk-for-java/sdk/avs/mgmt-v2020_03_20/src/main/java/com/microsoft/azure/management/avs/v20200320/models/ExpressRouteAuthorization.java
        [mvn] [ERROR]     file does not contain class com.microsoft.azure.management.avs.v20200320.models.ExpressRouteAuthorization
        [mvn] [ERROR]     Please remove or make sure it appears in the correct subdirectory of the sourcepath.
        [mvn] [ERROR] 
        [mvn] [ERROR] Command line was: /usr/lib/jvm/java-8-openjdk-amd64/jre/../bin/javadoc @options @packages
        [mvn] [ERROR] 
        [mvn] [ERROR] Refer to the generated Javadoc files in '/z/work/azure-sdk-for-java/sdk/avs/mgmt-v2020_03_20/target/apidocs' dir.
        [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/MojoExecutionException

      @openapi-sdkautomation
      Copy link

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

      azure-sdk-for-go - Release

      ️✔️ succeeded [Logs] [Expand Details]

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Jul 2, 2020

      azure-sdk-for-net - Release

      ️✔️ succeeded [Logs] [Expand Details]

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Jul 2, 2020

      azure-sdk-for-js - Release

      ️✔️ succeeded [Logs] [Expand Details]
      • ️✔️ Generate from 6483efd with merge commit 064ddff. SDK Automation 13.0.17.20200619.4
      • ️✔️@azure/arm-avs [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/avsClient.js → ./dist/arm-avs.js...
        [npmPack] created ./dist/arm-avs.js in 388ms
        [npmPack] npm notice 
        [npmPack] npm notice package: @azure/[email protected]
        [npmPack] npm notice === Tarball Contents === 
        [npmPack] npm notice 91.2kB  dist/arm-avs.js                              
        [npmPack] npm notice 29.8kB  dist/arm-avs.min.js                          
        [npmPack] npm notice 9.1kB   esm/operations/authorizations.js             
        [npmPack] npm notice 671B    esm/models/authorizationsMappers.js          
        [npmPack] npm notice 1.7kB   esm/avsClient.js                             
        [npmPack] npm notice 2.4kB   esm/avsClientContext.js                      
        [npmPack] npm notice 10.8kB  esm/operations/clusters.js                   
        [npmPack] npm notice 662B    esm/models/clustersMappers.js                
        [npmPack] npm notice 6.5kB   esm/operations/hcxEnterpriseSites.js         
        [npmPack] npm notice 667B    esm/models/hcxEnterpriseSitesMappers.js      
        [npmPack] npm notice 345B    esm/models/index.js                          
        [npmPack] npm notice 543B    esm/operations/index.js                      
        [npmPack] npm notice 2.6kB   esm/operations/locations.js                  
        [npmPack] npm notice 454B    esm/models/locationsMappers.js               
        [npmPack] npm notice 25.1kB  esm/models/mappers.js                        
        [npmPack] npm notice 2.2kB   esm/operations/operations.js                 
        [npmPack] npm notice 485B    esm/models/operationsMappers.js              
        [npmPack] npm notice 2.7kB   esm/models/parameters.js                     
        [npmPack] npm notice 12.6kB  esm/operations/privateClouds.js              
        [npmPack] npm notice 695B    esm/models/privateCloudsMappers.js           
        [npmPack] npm notice 961B    rollup.config.js                             
        [npmPack] npm notice 1.6kB   package.json                                 
        [npmPack] npm notice 457B    tsconfig.json                                
        [npmPack] npm notice 187.1kB dist/arm-avs.js.map                          
        [npmPack] npm notice 26.7kB  dist/arm-avs.min.js.map                      
        [npmPack] npm notice 2.4kB   esm/operations/authorizations.d.ts.map       
        [npmPack] npm notice 4.3kB   esm/operations/authorizations.js.map         
        [npmPack] npm notice 366B    esm/models/authorizationsMappers.d.ts.map    
        [npmPack] npm notice 379B    esm/models/authorizationsMappers.js.map      
        [npmPack] npm notice 767B    esm/avsClient.d.ts.map                       
        [npmPack] npm notice 983B    esm/avsClient.js.map                         
        [npmPack] npm notice 484B    esm/avsClientContext.d.ts.map                
        [npmPack] npm notice 1.4kB   esm/avsClientContext.js.map                  
        [npmPack] npm notice 2.8kB   esm/operations/clusters.d.ts.map             
        [npmPack] npm notice 5.3kB   esm/operations/clusters.js.map               
        [npmPack] npm notice 361B    esm/models/clustersMappers.d.ts.map          
        [npmPack] npm notice 374B    esm/models/clustersMappers.js.map            
        [npmPack] npm notice 2.8kB   esm/operations/hcxEnterpriseSites.d.ts.map   
        [npmPack] npm notice 3.7kB   esm/operations/hcxEnterpriseSites.js.map     
        [npmPack] npm notice 374B    esm/models/hcxEnterpriseSitesMappers.d.ts.map
        [npmPack] npm notice 387B    esm/models/hcxEnterpriseSitesMappers.js.map  
        [npmPack] npm notice 12.2kB  esm/models/index.d.ts.map                    
        [npmPack] npm notice 248B    esm/operations/index.d.ts.map                
        [npmPack] npm notice 126B    esm/models/index.js.map                      
        [npmPack] npm notice 263B    esm/operations/index.js.map                  
        [npmPack] npm notice 1.1kB   esm/operations/locations.d.ts.map            
        [npmPack] npm notice 1.5kB   esm/operations/locations.js.map              
        [npmPack] npm notice 220B    esm/models/locationsMappers.d.ts.map         
        [npmPack] npm notice 233B    esm/models/locationsMappers.js.map           
        [npmPack] npm notice 1.5kB   esm/models/mappers.d.ts.map                  
        [npmPack] npm notice 14.4kB  esm/models/mappers.js.map                    
        [npmPack] npm notice 1.0kB   esm/operations/operations.d.ts.map           
        [npmPack] npm notice 1.4kB   esm/operations/operations.js.map             
        [npmPack] npm notice 235B    esm/models/operationsMappers.d.ts.map        
        [npmPack] npm notice 248B    esm/models/operationsMappers.js.map          
        [npmPack] npm notice 639B    esm/models/parameters.d.ts.map               
        [npmPack] npm notice 2.0kB   esm/models/parameters.js.map                 
        [npmPack] npm notice 3.7kB   esm/operations/privateClouds.d.ts.map        
        [npmPack] npm notice 6.6kB   esm/operations/privateClouds.js.map          
        [npmPack] npm notice 390B    esm/models/privateCloudsMappers.d.ts.map     
        [npmPack] npm notice 403B    esm/models/privateCloudsMappers.js.map       
        [npmPack] npm notice 3.0kB   README.md                                    
        [npmPack] npm notice 7.1kB   esm/operations/authorizations.d.ts           
        [npmPack] npm notice 13.1kB  src/operations/authorizations.ts             
        [npmPack] npm notice 361B    esm/models/authorizationsMappers.d.ts        
        [npmPack] npm notice 657B    src/models/authorizationsMappers.ts          
        [npmPack] npm notice 1.1kB   esm/avsClient.d.ts                           
        [npmPack] npm notice 1.8kB   src/avsClient.ts                             
        [npmPack] npm notice 754B    esm/avsClientContext.d.ts                    
        [npmPack] npm notice 2.3kB   src/avsClientContext.ts                      
        [npmPack] npm notice 7.6kB   esm/operations/clusters.d.ts                 
        [npmPack] npm notice 14.3kB  src/operations/clusters.ts                   
        [npmPack] npm notice 352B    esm/models/clustersMappers.d.ts              
        [npmPack] npm notice 656B    src/models/clustersMappers.ts                
        [npmPack] npm notice 7.8kB   esm/operations/hcxEnterpriseSites.d.ts       
        [npmPack] npm notice 13.9kB  src/operations/hcxEnterpriseSites.ts         
        [npmPack] npm notice 357B    esm/models/hcxEnterpriseSitesMappers.d.ts    
        [npmPack] npm notice 649B    src/models/hcxEnterpriseSitesMappers.ts      
        [npmPack] npm notice 32.6kB  esm/models/index.d.ts                        
        [npmPack] npm notice 227B    esm/operations/index.d.ts                    
        [npmPack] npm notice 31.1kB  src/models/index.ts                          
        [npmPack] npm notice 511B    src/operations/index.ts                      
        [npmPack] npm notice 2.1kB   esm/operations/locations.d.ts                
        [npmPack] npm notice 4.5kB   src/operations/locations.ts                  
        [npmPack] npm notice 144B    esm/models/locationsMappers.d.ts             
        [npmPack] npm notice 421B    src/models/locationsMappers.ts               
        [npmPack] npm notice 1.8kB   esm/models/mappers.d.ts                      

      @openapi-sdkautomation
      Copy link

      openapi-sdkautomation bot commented Jul 2, 2020

      azure-sdk-for-python-track2 - Release

      ️✔️ succeeded [Logs] [Expand Details]
      • ️✔️ Generate from 6483efd with merge commit 064ddff. SDK Automation 13.0.17.20200619.4
        Failed to close the generation pull request at https://github.com/AzureSDKAutomation/azure-sdk-for-python/pull/1526: HttpError: Reference does not exist, {"name":"HttpError","status":422,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-length":"121","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Thu, 02 Jul 2020 07:50:37 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"422 Unprocessable Entity","strict-transport-security":"max-age=31536000; includeSubdomains; preload","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; format=json","x-github-request-id":"0400:10BA:F5A9AE:19F35B8:5EFD91CD","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4813","x-ratelimit-reset":"1593676263","x-xss-protection":"1; mode=block"},"request":{"method":"DELETE","url":"https://api.github.com/repos/AzureSDKAutomation/azure-sdk-for-python/git/refs/heads/sdkAutomation/track2_azure-mgmt-appconfiguration@10022","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/16.43.1 Node.js/12.18.1 (Linux 5.3; x64)","authorization":"token [REDACTED]","content-length":0},"request":{"validate":{"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"}}}},"documentation_url":"https://developer.github.com/v3/git/refs/#delete-a-reference"}
        [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'Error' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
        [AutoRest] WARNING (PreCheck/SchemaMissingType): The schema 'Resource' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
      • ️✔️azure-mgmt-appconfiguration [View full logs]  [Release SDK Changes]
        [build_conf_init]   Cache entry deserialization failed, entry ignored
        [build_conf_init]   Cache entry deserialization failed, entry ignored
        [build_conf] INFO:packaging_tools:Building template azure-mgmt-appconfiguration
        [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-appconfiguration
        [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)

      @azuresdkci
      Copy link
      Contributor

      Can one of the admins verify this patch?

      @ChenTanyi ChenTanyi merged commit 064ddff into master Jul 2, 2020
      @ChenTanyi ChenTanyi deleted the java-update branch July 2, 2020 07:48
      00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
      * update app config java
      
      * update avs java readme
      Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
      Labels
      None yet
      Projects
      None yet
      Development

      Successfully merging this pull request may close these issues.

      4 participants