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

EventGrid - Add api-version 2020-10-01-preview #11531

Closed
wants to merge 1 commit into from
Closed

EventGrid - Add api-version 2020-10-01-preview #11531

wants to merge 1 commit into from

Conversation

batrived
Copy link
Contributor

@batrived batrived commented Nov 4, 2020

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

Contribution checklist:

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

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • 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

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

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Nov 4, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail]
There are no breaking changes.
️️✔️~[Staging] LintDiff succeeded [Detail]
Validation passes for LintDiff.

️❌~[Staging] Avocado: 117 Errors, 0 Warnings failed [Detail] [Expand] Only 10 items are listed, please refer to log for more details.
Rule Message
UNREFERENCED_JSON_FILE The swagger JSON file is not referenced from the readme file.
readme: specification/eventgrid/resource-manager/readme.md
json: Microsoft.EventGrid/preview/2020-10-01-preview/EventGrid.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/DomainTopics_CreateOrUpdate.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/DomainTopics_Delete.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/DomainTopics_Get.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/DomainTopics_ListByDomain.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/Domains_CreateOrUpdate.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/Domains_Delete.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/Domains_Get.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/Domains_ListByResourceGroup.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventgrid/resource-manager/readme.md
json: preview/2020-10-01-preview/examples/Domains_ListBySubscription.json
️❌~[Staging] ModelValidation: 1 Errors, 0 Warnings failed [Detail] [Expand]
Rule Message
operation cannot be null or undefined and must be of type 'object'. "role":"Model Validation",
"url":"https://github.com/Azure/azure-rest-api-specs/blob/ccc109b064f6f899b32d80d2cd0af092e462c533/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/EventGrid.json"
️❌~[Staging] SemanticValidation: 1 Errors, 0 Warnings failed [Detail] [Expand]
Rule Message
JSON_PARSING_ERROR unexpected end of file, token: }, line: 1, column: 1
️️✔️~[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/ccc109b064f6f899b32d80d2cd0af092e462c533/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/EventGrid.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json",
"details":"Error: Command failed: node /home/vsts/work/1/s/azure-rest-api-specs/node_modules/autorest/dist/app.js --input-file=specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/EventGrid.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp\nERROR: Syntax error: unexpected end of the stream within a flow collection\n - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/examples/KubernetesBrokers_Update.json:64:0\nFATAL: swagger-document/loader - FAILED\nFATAL: Error: Syntax errors encountered.\n Error: Syntax errors encountered.
at ChildProcess.exithandler (child_process.js:308:12)\n    at ChildProcess.emit (events.js:314:20)\n    at maybeClose (internal/child_process.js:1021:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)"|
️️✔️~[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
Rule Message
Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/ccc109b064f6f899b32d80d2cd0af092e462c533/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/EventGrid.json",
"old":"https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json",
"details":"Error: Command failed: node /home/vsts/work/1/s/azure-rest-api-specs/node_modules/autorest/dist/app.js --input-file=specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/EventGrid.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp\nERROR: Syntax error: unexpected end of the stream within a flow collection\n - file:///home/vsts/work/1/s/azure-rest-api-specs/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-01-preview/examples/KubernetesBrokers_Update.json:64:0\nFATAL: swagger-document/loader - FAILED\nFATAL: Error: Syntax errors encountered.\n Error: Syntax errors encountered.
at ChildProcess.exithandler (child_process.js:308:12)\n    at ChildProcess.emit (events.js:314:20)\n    at maybeClose (internal/child_process.js:1021:16)\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)"|
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Nov 4, 2020

Swagger Generation Artifacts

️❌~[Staging] ApiDocPreview: 1 Errors, 0 Warnings failed [Detail] [Expand]
Rule Message
RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=172313&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
"detail":"ERROR: Syntax error: unexpected end of the stream within a flow collection"
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 Nov 4, 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 4, 2020

azure-sdk-for-java

⚠️ warning [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Nov 4, 2020

azure-sdk-for-go

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Nov 4, 2020

azure-sdk-for-js

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from ccc109b with merge commit c39ea5b6010562cce08a827519ecef7eb6d8cc4c. SDK Automation 13.0.17.20200918.2
  • ️✔️@azure/arm-eventgrid [View full logs]  [Preview 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/eventGridManagementClient.js → ./dist/arm-eventgrid.js...
    [npmPack] created ./dist/arm-eventgrid.js in 519ms
    [npmPack] npm notice 
    [npmPack] npm notice package: @azure/[email protected]
    [npmPack] npm notice === Tarball Contents === 
    [npmPack] npm notice 189.8kB dist/arm-eventgrid.js                                
    [npmPack] npm notice 67.2kB  dist/arm-eventgrid.min.js                            
    [npmPack] npm notice 13.9kB  esm/operations/domains.js                            
    [npmPack] npm notice 1.5kB   esm/models/domainsMappers.js                         
    [npmPack] npm notice 8.2kB   esm/operations/domainTopics.js                       
    [npmPack] npm notice 1.4kB   esm/models/domainTopicsMappers.js                    
    [npmPack] npm notice 2.1kB   esm/eventGridManagementClient.js                     
    [npmPack] npm notice 2.6kB   esm/eventGridManagementClientContext.js              
    [npmPack] npm notice 33.8kB  esm/operations/eventSubscriptions.js                 
    [npmPack] npm notice 1.5kB   esm/models/eventSubscriptionsMappers.js              
    [npmPack] npm notice 263B    esm/models/index.js                                  
    [npmPack] npm notice 535B    esm/operations/index.js                              
    [npmPack] npm notice 53.2kB  esm/models/mappers.js                                
    [npmPack] npm notice 1.5kB   esm/operations/operations.js                         
    [npmPack] npm notice 387B    esm/models/operationsMappers.js                      
    [npmPack] npm notice 4.7kB   esm/models/parameters.js                             
    [npmPack] npm notice 11.0kB  esm/operations/privateEndpointConnections.js         
    [npmPack] npm notice 1.5kB   esm/models/privateEndpointConnectionsMappers.js      
    [npmPack] npm notice 4.2kB   esm/operations/privateLinkResources.js               
    [npmPack] npm notice 402B    esm/models/privateLinkResourcesMappers.js            
    [npmPack] npm notice 907B    rollup.config.js                                     
    [npmPack] npm notice 15.0kB  esm/operations/topics.js                             
    [npmPack] npm notice 1.5kB   esm/models/topicsMappers.js                          
    [npmPack] npm notice 3.0kB   esm/operations/topicTypes.js                         
    [npmPack] npm notice 1.4kB   esm/models/topicTypesMappers.js                      
    [npmPack] npm notice 1.7kB   package.json                                         
    [npmPack] npm notice 457B    tsconfig.json                                        
    [npmPack] npm notice 431.2kB dist/arm-eventgrid.js.map                            
    [npmPack] npm notice 53.8kB  dist/arm-eventgrid.min.js.map                        
    [npmPack] npm notice 4.3kB   esm/operations/domains.d.ts.map                      
    [npmPack] npm notice 7.4kB   esm/operations/domains.js.map                        
    [npmPack] npm notice 739B    esm/models/domainsMappers.d.ts.map                   
    [npmPack] npm notice 752B    esm/models/domainsMappers.js.map                     
    [npmPack] npm notice 2.4kB   esm/operations/domainTopics.d.ts.map                 
    [npmPack] npm notice 4.1kB   esm/operations/domainTopics.js.map                   
    [npmPack] npm notice 710B    esm/models/domainTopicsMappers.d.ts.map              
    [npmPack] npm notice 723B    esm/models/domainTopicsMappers.js.map                
    [npmPack] npm notice 889B    esm/eventGridManagementClient.d.ts.map               
    [npmPack] npm notice 1.2kB   esm/eventGridManagementClient.js.map                 
    [npmPack] npm notice 517B    esm/eventGridManagementClientContext.d.ts.map        
    [npmPack] npm notice 1.4kB   esm/eventGridManagementClientContext.js.map          
    [npmPack] npm notice 10.6kB  esm/operations/eventSubscriptions.d.ts.map           
    [npmPack] npm notice 16.5kB  esm/operations/eventSubscriptions.js.map             
    [npmPack] npm notice 748B    esm/models/eventSubscriptionsMappers.d.ts.map        
    [npmPack] npm notice 761B    esm/models/eventSubscriptionsMappers.js.map          
    [npmPack] npm notice 30.1kB  esm/models/index.d.ts.map                            
    [npmPack] npm notice 292B    esm/operations/index.d.ts.map                        
    [npmPack] npm notice 126B    esm/models/index.js.map                              
    [npmPack] npm notice 306B    esm/operations/index.js.map                          
    [npmPack] npm notice 3.2kB   esm/models/mappers.d.ts.map                          
    [npmPack] npm notice 29.4kB  esm/models/mappers.js.map                            
    [npmPack] npm notice 664B    esm/operations/operations.d.ts.map                   
    [npmPack] npm notice 907B    esm/operations/operations.js.map                     
    [npmPack] npm notice 222B    esm/models/operationsMappers.d.ts.map                
    [npmPack] npm notice 235B    esm/models/operationsMappers.js.map                  
    [npmPack] npm notice 1.2kB   esm/models/parameters.d.ts.map                       
    [npmPack] npm notice 3.7kB   esm/models/parameters.js.map                         
    [npmPack] npm notice 2.8kB   esm/operations/privateEndpointConnections.d.ts.map   
    [npmPack] npm notice 4.6kB   esm/operations/privateEndpointConnections.js.map     
    [npmPack] npm notice 738B    esm/models/privateEndpointConnectionsMappers.d.ts.map
    [npmPack] npm notice 751B    esm/models/privateEndpointConnectionsMappers.js.map  
    [npmPack] npm notice 1.8kB   esm/operations/privateLinkResources.d.ts.map         
    [npmPack] npm notice 2.4kB   esm/operations/privateLinkResources.js.map           
    [npmPack] npm notice 235B    esm/models/privateLinkResourcesMappers.d.ts.map      
    [npmPack] npm notice 248B    esm/models/privateLinkResourcesMappers.js.map        
    [npmPack] npm notice 4.8kB   esm/operations/topics.d.ts.map                       
    [npmPack] npm notice 8.1kB   esm/operations/topics.js.map                         
    [npmPack] npm notice 750B    esm/models/topicsMappers.d.ts.map                    
    [npmPack] npm notice 763B    esm/models/topicsMappers.js.map                      
    [npmPack] npm notice 1.4kB   esm/operations/topicTypes.d.ts.map                   
    [npmPack] npm notice 1.9kB   esm/operations/topicTypes.js.map                     
    [npmPack] npm notice 719B    esm/models/topicTypesMappers.d.ts.map                
    [npmPack] npm notice 732B    esm/models/topicTypesMappers.js.map                  
    [npmPack] npm notice 3.4kB   README.md                                            
    [npmPack] npm notice 12.1kB  esm/operations/domains.d.ts                          
    [npmPack] npm notice 22.8kB  src/operations/domains.ts                            
    [npmPack] npm notice 1.3kB   esm/models/domainsMappers.d.ts                       
    [npmPack] npm notice 1.6kB   src/models/domainsMappers.ts                         
    [npmPack] npm notice 6.6kB   esm/operations/domainTopics.d.ts                     
    [npmPack] npm notice 12.2kB  src/operations/domainTopics.ts                       
    [npmPack] npm notice 1.2kB   esm/models/domainTopicsMappers.d.ts                  
    [npmPack] npm notice 1.5kB   src/models/domainTopicsMappers.ts                    
    [npmPack] npm notice 1.5kB   esm/eventGridManagementClient.d.ts                   
    [npmPack] npm notice 2.2kB   src/eventGridManagementClient.ts                     
    [npmPack] npm notice 936B    esm/eventGridManagementClientContext.d.ts            
    [npmPack] npm notice 2.3kB   src/eventGridManagementClientContext.ts              
    [npmPack] npm notice 43.5kB  esm/operations/eventSubscriptions.d.ts               

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Nov 4, 2020

azure-sdk-for-net

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Nov 4, 2020

azure-sdk-for-python

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from ccc109b with merge commit c39ea5b6010562cce08a827519ecef7eb6d8cc4c. SDK 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 4, 2020

azure-resource-manager-schemas

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from ccc109b with merge commit c39ea5b6010562cce08a827519ecef7eb6d8cc4c. 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 4, 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

@chiragg4u
Copy link
Contributor

Please go through the contribution checklist added as part of the review and mark them completed. Also Please go through the ARM API Review Checklist. These steps are required before review can be continued.

@chiragg4u
Copy link
Contributor

While adding new version the recommendation is to copy the existing version into new directory structure for first commit and then push new changes for easy review. Please create new branch with this recommendation for faster review.

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.

3 participants