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.Devices to add version stable/2020-03-01 #10114

Conversation

rajeevmv
Copy link
Contributor

@rajeevmv rajeevmv commented Jul 13, 2020

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

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 PR review process.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jul 13, 2020

[Staging] Swagger Validation Report

️✔️BreakingChange [Detail]
 There are no breaking changes. 
LintDiff: 7 Errors, 5 Warnings [Detail] [Expand] Only 10 items are listed, please refer to log for more details.
Rule Message
R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1596
R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1541
R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1342
R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1389
R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1433
R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1480
R4019 - GetCollectionResponseSchema The response in the GET collection operation 'IotDpsResource_ListPrivateEndpointConnections' does not match the response definition in the individual GET operation 'IotDpsResource_GetPrivateEndpointConnection' .
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1399
⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1996
⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L2057
⚠️ R2029 - PageableOperation Based on the response model schema, operation 'IotDpsResource_ListPrivateLinkResources' might be pageable. Consider adding the x-ms-pageable extension.
New: Microsoft.Devices/stable/2020-03-01/iotdps.json#L1309
️✔️Avocado [Detail]
 Validation passes for Avocado. 
️✔️ModelValidation [Detail]
 Validation passes for ModelValidation. 
️✔️SemanticValidation [Detail]
 Validation passes for SemanticValidation. 
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 13, 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 13, 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 13, 2020

azure-sdk-for-python - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from a1a1273 with merge commit 589f00a. SDK Automation 13.0.17.20200904.2
    Failed to close the generation pull request at https://github.com/AzureSDKAutomation/azure-sdk-for-python/pull/1572: 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-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-length":"122","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Fri, 04 Sep 2020 08:39:56 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":"0548:1EC1:670937:AB2C87:5F51FD5C","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4740","x-ratelimit-reset":"1599208894","x-ratelimit-used":"260","x-xss-protection":"1; mode=block"},"request":{"method":"DELETE","url":"https://api.github.com/repos/AzureSDKAutomation/azure-sdk-for-python/git/refs/heads/sdkAutomation/azure-mgmt-iothubprovisioningservices@10114","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (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://docs.github.com/rest/reference/git#delete-a-reference"}
  • ️✔️azure-mgmt-iothubprovisioningservices [View full logs]  [Release SDK Changes]
    [build_conf] INFO:packaging_tools:Building template azure-mgmt-iothubprovisioningservices
    [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-iothubprovisioningservices
    [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 28.240% size of original (original: 24306 chars, delta: 6864 chars)
    [ChangeLog] **Features**
    [ChangeLog] 
    [ChangeLog]   - Model IotDpsPropertiesDescription has a new parameter public_network_access
    [ChangeLog]   - Model IotDpsPropertiesDescription has a new parameter private_endpoint_connections
    [ChangeLog]   - Model IotDpsPropertiesDescription has a new parameter ip_filter_rules
    [ChangeLog]   - Added operation IotDpsResourceOperations.get_private_endpoint_connection
    [ChangeLog]   - Added operation IotDpsResourceOperations.get_private_link_resources
    [ChangeLog]   - Added operation IotDpsResourceOperations.list_private_endpoint_connections
    [ChangeLog]   - Added operation IotDpsResourceOperations.delete_private_endpoint_connection
    [ChangeLog]   - Added operation IotDpsResourceOperations.create_or_update_private_endpoint_connection
    [ChangeLog]   - Added operation IotDpsResourceOperations.list_private_link_resources

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 13, 2020

azure-sdk-for-js - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from a1a1273 with merge commit 589f00a. SDK Automation 13.0.17.20200904.2
    Failed to close the generation pull request at https://github.com/AzureSDKAutomation/azure-sdk-for-js/pull/1529: 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-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-length":"122","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Fri, 04 Sep 2020 08:39:14 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":"04DD:3E8F:669D39:AAD5FD:5F51FD32","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4900","x-ratelimit-reset":"1599208894","x-ratelimit-used":"100","x-xss-protection":"1; mode=block"},"request":{"method":"DELETE","url":"https://api.github.com/repos/AzureSDKAutomation/azure-sdk-for-js/git/refs/heads/sdkAutomation/@azure_arm-deviceprovisioningservices@10114","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (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://docs.github.com/rest/reference/git#delete-a-reference"}
  • ️✔️@azure/arm-deviceprovisioningservices [View full logs]  [Release SDK Changes]
    [npmPack] npm WARN deprecated rollup-plugin-node-resolve@5.2.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    [npmPack] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
    [npmPack] npm WARN deprecated urix@0.1.0: 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/iotDpsClient.js → ./dist/arm-deviceprovisioningservices.js...
    [npmPack] created ./dist/arm-deviceprovisioningservices.js in 342ms
    [npmPack] npm notice 
    [npmPack] npm notice package: @azure/arm-deviceprovisioningservices@2.1.0
    [npmPack] npm notice === Tarball Contents === 
    [npmPack] npm notice 100.6kB dist/arm-deviceprovisioningservices.js        
    [npmPack] npm notice 34.9kB  dist/arm-deviceprovisioningservices.min.js    
    [npmPack] npm notice 9.6kB   esm/operations/dpsCertificate.js              
    [npmPack] npm notice 920B    esm/models/dpsCertificateMappers.js           
    [npmPack] npm notice 345B    esm/models/index.js                           
    [npmPack] npm notice 449B    esm/operations/index.js                       
    [npmPack] npm notice 1.5kB   esm/iotDpsClient.js                           
    [npmPack] npm notice 2.5kB   esm/iotDpsClientContext.js                    
    [npmPack] npm notice 31.4kB  esm/operations/iotDpsResource.js              
    [npmPack] npm notice 1.2kB   esm/models/iotDpsResourceMappers.js           
    [npmPack] npm notice 31.3kB  esm/models/mappers.js                         
    [npmPack] npm notice 2.2kB   esm/operations/operations.js                  
    [npmPack] npm notice 457B    esm/models/operationsMappers.js               
    [npmPack] npm notice 5.7kB   esm/models/parameters.js                      
    [npmPack] npm notice 1.0kB   rollup.config.js                              
    [npmPack] npm notice 1.8kB   package.json                                  
    [npmPack] npm notice 457B    tsconfig.json                                 
    [npmPack] npm notice 218.9kB dist/arm-deviceprovisioningservices.js.map    
    [npmPack] npm notice 30.9kB  dist/arm-deviceprovisioningservices.min.js.map
    [npmPack] npm notice 3.8kB   esm/operations/dpsCertificate.d.ts.map        
    [npmPack] npm notice 5.3kB   esm/operations/dpsCertificate.js.map          
    [npmPack] npm notice 419B    esm/models/dpsCertificateMappers.d.ts.map     
    [npmPack] npm notice 432B    esm/models/dpsCertificateMappers.js.map       
    [npmPack] npm notice 14.8kB  esm/models/index.d.ts.map                     
    [npmPack] npm notice 183B    esm/operations/index.d.ts.map                 
    [npmPack] npm notice 126B    esm/models/index.js.map                       
    [npmPack] npm notice 198B    esm/operations/index.js.map                   
    [npmPack] npm notice 661B    esm/iotDpsClient.d.ts.map                     
    [npmPack] npm notice 787B    esm/iotDpsClient.js.map                       
    [npmPack] npm notice 490B    esm/iotDpsClientContext.d.ts.map              
    [npmPack] npm notice 1.4kB   esm/iotDpsClientContext.js.map                
    [npmPack] npm notice 9.2kB   esm/operations/iotDpsResource.d.ts.map        
    [npmPack] npm notice 14.9kB  esm/operations/iotDpsResource.js.map          
    [npmPack] npm notice 537B    esm/models/iotDpsResourceMappers.d.ts.map     
    [npmPack] npm notice 550B    esm/models/iotDpsResourceMappers.js.map       
    [npmPack] npm notice 1.9kB   esm/models/mappers.d.ts.map                   
    [npmPack] npm notice 17.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 215B    esm/models/operationsMappers.d.ts.map         
    [npmPack] npm notice 228B    esm/models/operationsMappers.js.map           
    [npmPack] npm notice 1.3kB   esm/models/parameters.d.ts.map                
    [npmPack] npm notice 4.2kB   esm/models/parameters.js.map                  
    [npmPack] npm notice 3.2kB   README.md                                     
    [npmPack] npm notice 12.1kB  esm/operations/dpsCertificate.d.ts            
    [npmPack] npm notice 21.3kB  src/operations/dpsCertificate.ts              
    [npmPack] npm notice 610B    esm/models/dpsCertificateMappers.d.ts         
    [npmPack] npm notice 912B    src/models/dpsCertificateMappers.ts           
    [npmPack] npm notice 40.6kB  esm/models/index.d.ts                         
    [npmPack] npm notice 133B    esm/operations/index.d.ts                     
    [npmPack] npm notice 38.8kB  src/models/index.ts                           
    [npmPack] npm notice 417B    src/operations/index.ts                       
    [npmPack] npm notice 978B    esm/iotDpsClient.d.ts                         
    [npmPack] npm notice 1.5kB   src/iotDpsClient.ts                           
    [npmPack] npm notice 760B    esm/iotDpsClientContext.d.ts                  
    [npmPack] npm notice 2.3kB   src/iotDpsClientContext.ts                    
    [npmPack] npm notice 30.6kB  esm/operations/iotDpsResource.d.ts            
    [npmPack] npm notice 55.5kB  src/operations/iotDpsResource.ts              
    [npmPack] npm notice 847B    esm/models/iotDpsResourceMappers.d.ts         
    [npmPack] npm notice 1.2kB   src/models/iotDpsResourceMappers.ts           
    [npmPack] npm notice 2.6kB   esm/models/mappers.d.ts                       
    [npmPack] npm notice 24.8kB  src/models/mappers.ts                         
    [npmPack] npm notice 2.1kB   esm/operations/operations.d.ts                
    [npmPack] npm notice 4.1kB   src/operations/operations.ts                  
    [npmPack] npm notice 147B    esm/models/operationsMappers.d.ts             
    [npmPack] npm notice 421B    src/models/operationsMappers.ts               
    [npmPack] npm notice 1.7kB   esm/models/parameters.d.ts                    
    [npmPack] npm notice 5.7kB   src/models/parameters.ts                      
    [npmPack] npm notice 1.1kB   LICENSE.txt                                   
    [npmPack] npm notice === Tarball Details === 
    [npmPack] npm notice name:          @azure/arm-deviceprovisioningservices         
    [npmPack] npm notice version:       2.1.0                                         
    [npmPack] npm notice filename:      azure-arm-deviceprovisioningservices-2.1.0.tgz
    [npmPack] npm notice package size:  87.4 kB                                       
    [npmPack] npm notice unpacked size: 811.8 kB                                      
    [npmPack] npm notice shasum:        944bd9db34e2a89c33a46d8a213e41f7f5279fb6      
    [npmPack] npm notice integrity:     sha512-/iiN0q6cmpmco[...]5l1RqnsQ7qHFg==      
    [npmPack] npm notice total files:   69                                            
    [npmPack] npm notice 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 13, 2020

azure-sdk-for-go - Release

⚠️ warning [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 13, 2020

azure-sdk-for-net - Release

failed [Logs] [Expand Details]
  • Generate from a1a1273 with merge commit 589f00a. SDK Automation 13.0.17.20200904.2
    Failed to close the generation pull request at https://github.com/AzureSDKAutomation/azure-sdk-for-net/pull/1381: 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-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-length":"122","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Fri, 04 Sep 2020 08:39:32 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":"0749:5D43:8140F0:177C5BC:5F51FD44","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4835","x-ratelimit-reset":"1599208894","x-ratelimit-used":"165","x-xss-protection":"1; mode=block"},"request":{"method":"DELETE","url":"https://api.github.com/repos/AzureSDKAutomation/azure-sdk-for-net/git/refs/heads/sdkAutomation/Microsoft.Azure.Management.DeviceProvisioningServices@10114","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (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://docs.github.com/rest/reference/git#delete-a-reference"}
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
  • Microsoft.Azure.Management.DeviceProvisioningServices [View full logs]  [Release SDK Changes]
      Failed to create the package Microsoft.Azure.Management.DeviceProvisioningServices.
      Error: dotnet msbuild build.proj /t:CreateNugetPackage /p:Scope=deviceprovisioningservices /v:n /p:SkipTests=true , {} 

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Jul 13, 2020

    azure-sdk-for-java - Release

    failed [Logs] [Expand Details]
    • Generate from a1a1273 with merge commit 589f00a. SDK Automation 13.0.17.20200904.2
      [AutoRest] FATAL: System.ArgumentException: An item with the same key has already been added. Key: dpsCertificates
      [AutoRest]    at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
      [AutoRest]    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
      [AutoRest]    at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
      [AutoRest]    at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.Add(SegmentFluentMethodGroupList list) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 66
      [AutoRest]    at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.InnerMethodGroupToSegmentFluentMethodGroups(CodeModelJvaf codeModel) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 79
      [AutoRest]    at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 55
      [AutoRest] --- End of stack trace from previous location where exception was thrown ---
      [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      [AutoRest]    at AutoRest.Java.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
      [AutoRest] --- End of stack trace from previous location where exception was thrown ---
      [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
      [AutoRest]    at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
      [AutoRest] FATAL: java/generate - FAILED
      [AutoRest] FATAL: Error: Plugin java reported failure.
      [AutoRest] Failure during batch task - {"tag":"package-2017-08"} -- Error: Plugin java reported failure..
      [AutoRest]   Error: Plugin java reported failure.
      Failed to run autorest.
      Error: /z/node_modules/.bin/autorest --version=V2 --java --verbose --multiapi --use=@microsoft.azure/autorest.java@preview --azure-libraries-for-java-folder=/z/work/azure-sdk-for-java /z/work/azure-rest-api-specs/specification/deviceprovisioningservices/resource-manager/readme.md FATAL: System.ArgumentException: An item with the same key has already been added. Key: dpsCertificates
         at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException(Object key)
         at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
         at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
         at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.Add(SegmentFluentMethodGroupList list) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 66
         at AutoRest.Java.Azure.Fluent.Model.SegmentFluentMethodGroups.InnerMethodGroupToSegmentFluentMethodGroups(CodeModelJvaf codeModel) in /home/vsts/work/1/s/src/azurefluent/Model/FluentCommon/FluentMethodGroup/SegmentFluentMethodGroup/SegmentFluentMethodGroups.cs:line 79
         at AutoRest.Java.Azure.Fluent.CodeGeneratorJvaf.d__6.MoveNext() in /home/vsts/work/1/s/src/azurefluent/CodeGeneratorJvaf.cs:line 55
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at AutoRest.Java.Program.d__3.MoveNext() in /home/vsts/work/1/s/src/Program.cs:line 114
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
         at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Plugins/NewPlugin.cs:line 163
      FATAL: java/generate - FAILED
      FATAL: Error: Plugin java reported failure.
      Failure during batch task - {"tag":"package-2017-08"} -- Error: Plugin java reported failure..
        Error: Plugin java reported failure.
      , {} 
      Failed to find any diff after autorest so no changed packages was found.

    @azuresdkci
    Copy link
    Contributor

    Can one of the admins verify this patch?

    @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 13, 2020
    "$ref": "#/definitions/PrivateEndpointConnection"
    }
    },
    "PrivateEndpointConnection": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    There're common models defined for PrivateLinks. Suggest to re-use them.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Is this required? or optional? The API has been integrated with Networking and UX and I would like to avoid changing them if possible.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    It appears that only storage and storagesync team are referring to this common model.

    Copy link
    Contributor

    Choose a reason for hiding this comment

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

    This is required for all the new references. Otherwise it's very hard to keep the consistency. Please use the common model as suggested above.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    The feature has been shipped and is GA. We cannot make this change without breaking this API.

    }
    }
    },
    "ErrorDetails": {
    Copy link
    Member

    Choose a reason for hiding this comment

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

    Can you reference the ErrorResponse defined in common type?

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    The definition of ErrorResponse and ErrorDetails are different. I cannot change this without breaking the current API.

    Copy link
    Member

    Choose a reason for hiding this comment

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

    Please fix the lintDiff check failures which is related to this.

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    Here too, I cannot make this change without breaking the API of this feature which is GA

    @chiragg4u
    Copy link
    Contributor

    Thanks for using the copy the API in first commit and separating the changes. It helps immensely while reviewing.

    @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
    @raych1
    Copy link
    Member

    raych1 commented Jul 28, 2020

    @akning-ms , can you help force merge this PR since the change is to align with service in production? Thanks.


    ``` yaml
    directive:
    - suppress: PageableOperation
    Copy link
    Member

    Choose a reason for hiding this comment

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

    All these three rules are warnings and doesn't need to be suppressed. It would not fail the lintDiff check. Can you remove this suppression section?

    Copy link
    Member

    @raych1 raych1 left a comment

    Choose a reason for hiding this comment

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

    Please remove the suppression part.

    @akning-ms akning-ms added the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Jul 29, 2020
    @raych1
    Copy link
    Member

    raych1 commented Aug 4, 2020

    @rajeevmv , can you remove the suppression part?

    @raych1
    Copy link
    Member

    raych1 commented Aug 18, 2020

    @rajeevmv , can you remove the suppression part?

    Hi @rajeevmv, are you still working on this PR? Could you resolve the branch conflicts and remove the suppression part which doesn't have any impact on the lintDiff check result?

    @azure-pipelines
    Copy link

    Pull request contains merge conflicts.

    @azure-pipelines
    Copy link

    Pull request contains merge conflicts.

    @rajeevmv rajeevmv removed the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Sep 2, 2020
    @rajeevmv
    Copy link
    Contributor Author

    rajeevmv commented Sep 2, 2020

    Removed suppressions

    @azure-pipelines
    Copy link

    No commit pushedDate could be found for PR 10114 in repo Azure/azure-rest-api-specs

    @raych1
    Copy link
    Member

    raych1 commented Sep 4, 2020

    /azp run automation - sdk

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 4, 2020

    azure-resource-manager-schemas - Release

    ⚠️ warning [Logs] [Expand Details]

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Sep 4, 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

    @raych1
    Copy link
    Member

    raych1 commented Sep 4, 2020

    Hi @akning-ms , could you help force merge this PR since the change is to align with service in production? Thanks.

    @akning-ms akning-ms merged commit 589f00a into Azure:master Sep 4, 2020
    @rajeevmv rajeevmv deleted the dev-deviceprovisioningservices-Microsoft.Devices-2020-03-01 branch September 4, 2020 15:45
    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.

    6 participants