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 t2 #14523

Merged
merged 15 commits into from
May 24, 2021
Merged

Eventgrid t2 #14523

merged 15 commits into from
May 24, 2021

Conversation

RAY-316
Copy link
Contributor

@RAY-316 RAY-316 commented May 24, 2021

No description provided.

@RAY-316 RAY-316 requested review from ahamad-MS and Kishp01 as code owners May 24, 2021 02:37
@openapi-workflow-bot
Copy link

Hi, @RAY-316 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.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • 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

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 24, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation
    ️️✔️[Staging] PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️[Staging] SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 24, 2021

    Swagger Generation Artifacts

    ️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
    ️❌[Staging] SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking

    azure-sdk-for-python-track2 - track2_azure-mgmt-eventgrid - 8.0.0
    +	Removed operation TopicsOperations.regenerate_key
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b554b6d. 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/eventgrid/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.EventGrid [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b554b6d. 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] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.2.2 requires azure-core<2.0.0,>=1.9.0, but you have azure-core 1.6.0 which is incompatible.
      cmderr	[automation_init.sh] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      cmderr	[automation_init.sh] azure-mgmt-core 1.2.2 requires azure-core<2.0.0,>=1.9.0, but you have azure-core 1.6.0 which is incompatible.
      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-eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b554b6d. 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
    • ️✔️track2_azure-mgmt-eventgrid [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model StorageQueueEventSubscriptionDestination has a new parameter queue_message_time_to_live_in_seconds
      info	[Changelog]   - Model DomainTopic has a new parameter system_data
      info	[Changelog]   - Model DomainUpdateParameters has a new parameter identity
      info	[Changelog]   - Model DomainUpdateParameters has a new parameter sku
      info	[Changelog]   - Model EventSubscription has a new parameter delivery_with_resource_identity
      info	[Changelog]   - Model EventSubscription has a new parameter dead_letter_with_resource_identity
      info	[Changelog]   - Model EventSubscription has a new parameter system_data
      info	[Changelog]   - Model WebHookEventSubscriptionDestination has a new parameter delivery_attribute_mappings
      info	[Changelog]   - Model EventSubscriptionUpdateParameters has a new parameter delivery_with_resource_identity
      info	[Changelog]   - Model EventSubscriptionUpdateParameters has a new parameter dead_letter_with_resource_identity
      info	[Changelog]   - Model TopicTypeInfo has a new parameter supported_scopes_for_source
      info	[Changelog]   - Model EventHubEventSubscriptionDestination has a new parameter delivery_attribute_mappings
      info	[Changelog]   - Model Domain has a new parameter identity
      info	[Changelog]   - Model Domain has a new parameter sku
      info	[Changelog]   - Model Domain has a new parameter system_data
      info	[Changelog]   - Model Topic has a new parameter identity
      info	[Changelog]   - Model Topic has a new parameter extended_location
      info	[Changelog]   - Model Topic has a new parameter sku
      info	[Changelog]   - Model Topic has a new parameter system_data
      info	[Changelog]   - Model Topic has a new parameter kind
      info	[Changelog]   - Model TopicUpdateParameters has a new parameter identity
      info	[Changelog]   - Model TopicUpdateParameters has a new parameter sku
      info	[Changelog]   - Model ServiceBusQueueEventSubscriptionDestination has a new parameter delivery_attribute_mappings
      info	[Changelog]   - Model ServiceBusTopicEventSubscriptionDestination has a new parameter delivery_attribute_mappings
      info	[Changelog]   - Model HybridConnectionEventSubscriptionDestination has a new parameter delivery_attribute_mappings
      info	[Changelog]   - Model AzureFunctionEventSubscriptionDestination has a new parameter delivery_attribute_mappings
      info	[Changelog]   - Model EventSubscriptionFilter has a new parameter enable_advanced_filtering_on_arrays
      info	[Changelog]   - Added operation EventSubscriptionsOperations.get_delivery_attributes
      info	[Changelog]   - Added operation TopicsOperations.begin_regenerate_key
      info	[Changelog]   - Added operation group PartnerNamespacesOperations
      info	[Changelog]   - Added operation group SystemTopicEventSubscriptionsOperations
      info	[Changelog]   - Added operation group SystemTopicsOperations
      info	[Changelog]   - Added operation group EventChannelsOperations
      info	[Changelog]   - Added operation group PartnerTopicEventSubscriptionsOperations
      info	[Changelog]   - Added operation group PartnerRegistrationsOperations
      info	[Changelog]   - Added operation group PartnerTopicsOperations
      info	[Changelog]   - Added operation group ExtensionTopicsOperations
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Removed operation TopicsOperations.regenerate_key
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b554b6d. 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-05-24 03:24:03 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.0.0;1.1.0-beta.1"
      cmderr	[generate.py] 2021-05-24 03:24:03 WARNING [VERSION][Not Implement] set to current version "1.1.0-beta.1" by default
      cmderr	[generate.py] 2021-05-24 03:24:03 INFO autorest --version=3.1.3 --use=@autorest/java@4.0.28 --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/eventgrid/azure-resourcemanager-eventgrid --java.namespace=com.azure.resourcemanager.eventgrid   --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/eventgrid/resource-manager/readme.md
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-eventgrid
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [POM][Skip] pom already has module azure-resourcemanager-eventgrid
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [POM][Skip] pom already has module sdk/eventgrid
      cmderr	[generate.py] 2021-05-24 03:24:41 INFO [POM][Success] Write to root pom
      cmderr	[generate.py] 2021-05-24 03:26:19 ERROR [COMPILE] Maven build fail
    • ️✔️azure-resourcemanager-eventgrid [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG Got artifact_id: azure-resourcemanager-eventgrid
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG Got artifact: azure-resourcemanager-eventgrid-1.1.0-beta.1-javadoc.jar
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG Got artifact: azure-resourcemanager-eventgrid-1.1.0-beta.1-sources.jar
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG Got artifact: azure-resourcemanager-eventgrid-1.1.0-beta.1.jar
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG Match jar package: azure-resourcemanager-eventgrid-1.1.0-beta.1.jar
      cmderr	[Inst] 2021-05-24 03:27:15 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/14523/azure-sdk-for-java/azure-resourcemanager-eventgrid/azure-resourcemanager-eventgrid-1.1.0-beta.1.jar\" -o azure-resourcemanager-eventgrid-1.1.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-eventgrid -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-eventgrid-1.1.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b554b6d. 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
    • ️✔️eventgrid/mgmt/2020-06-01/eventgrid [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 10 items here, please refer to log for details.
      info	[Changelog] - New function `PossibleCreatedByTypeValues() []CreatedByType`
      info	[Changelog] - New struct `SystemData`
      info	[Changelog] - New struct `TopicsRegenerateKeyFuture`
      info	[Changelog] - New field `SystemData` in struct `Topic`
      info	[Changelog] - New field `SystemData` in struct `EventSubscription`
      info	[Changelog] - New field `SystemData` in struct `Domain`
      info	[Changelog] - New field `SystemData` in struct `DomainTopic`
      info	[Changelog]
      info	[Changelog] Total 2 breaking change(s), 14 additive change(s).
      info	[Changelog]
    • ️✔️eventgrid/mgmt/2019-06-01/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️eventgrid/mgmt/2019-01-01/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️eventgrid/mgmt/2018-01-01/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/eventgrid/mgmt/2020-10-15-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] ### New Content
      info	[Changelog]
      info	[Changelog] - New field `SystemData` in struct `Topic`
      info	[Changelog] - New field `SystemData` in struct `DomainTopic`
      info	[Changelog] - New field `SystemData` in struct `Domain`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 3 additive change(s).
      info	[Changelog]
    • ️✔️preview/eventgrid/mgmt/2020-04-01-preview/eventgrid [View full logs]  [Release SDK Changes]
      Only show 10 items here, please refer to log for details.
      info	[Changelog] - New struct `SystemData`
      info	[Changelog] - New field `SystemData` in struct `PartnerTopic`
      info	[Changelog] - New field `SystemData` in struct `SystemTopic`
      info	[Changelog] - New field `SystemData` in struct `EventSubscription`
      info	[Changelog] - New field `SystemData` in struct `PartnerRegistration`
      info	[Changelog] - New field `SystemData` in struct `PartnerNamespace`
      info	[Changelog] - New field `SystemData` in struct `EventChannel`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 13 additive change(s).
      info	[Changelog]
    • ️✔️preview/eventgrid/mgmt/2020-01-01-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/eventgrid/mgmt/2019-02-01-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/eventgrid/mgmt/2018-09-15-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/eventgrid/mgmt/2018-05-01-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/eventgrid/mgmt/2017-09-15-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️preview/eventgrid/mgmt/2017-06-15-preview/eventgrid [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b554b6d. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.4.4 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/eventgrid/resource-manager/readme.md
    • ️✔️@azure/arm-eventgrid [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/eventGridManagementClient.js → ./dist/arm-eventgrid.js...
      cmderr	[npmPack] created ./dist/arm-eventgrid.js in 674ms
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b554b6d. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      cmderr	[generateScript.sh] (node:2623) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, unlink '/home/vsts/work/1/s/azure-resource-manager-schemas/schemas/2017-09-15-preview/Microsoft.EventGrid.json'
      cmderr	[generateScript.sh] (Use `node --trace-warnings ...` to show where the warning was created)
      cmderr	[generateScript.sh] (node:2623) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      cmderr	[generateScript.sh] (node:2623) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      warn	No file changes detected after generation
    • ️✔️eventgrid [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @msyyc msyyc merged commit b554b6d into Azure:master May 24, 2021
    This was referenced May 24, 2021
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    * sql t2 readme config
    
    * readme config
    
    * Update readme.python.md
    
    * conflient resolve
    
    * t2 config
    
    Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants