Content-Length: 366781 | pFad | http://github.com/Azure/azure-sdk-for-net/pull/50371

10 Type forward system events by JoshLove-msft · Pull Request #50371 · Azure/azure-sdk-for-net · GitHub
Skip to content

Type forward system events #50371

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

Merged
merged 15 commits into from
Jun 3, 2025
Merged

Conversation

JoshLove-msft
Copy link
Member

@JoshLove-msft JoshLove-msft commented Jun 2, 2025

No description provided.

@JoshLove-msft JoshLove-msft marked this pull request as ready for review June 3, 2025 00:39
@Copilot Copilot AI review requested due to automatic review settings June 3, 2025 00:39
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

A set of customization model additions and updates for Event Grid system events, primarily introducing new partial classes, properties, and adjusting codegen attributes.

  • Convert a factory class into a partial model class for API Management token expiry.
  • Add custom properties (e.g., Rules, Properties, LabelValue, TimeToLive) to various event data types.
  • Update namespace qualifiers for consistency and add a constants file for media events.

Reviewed Changes

Copilot reviewed 1077 out of 1077 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/ApiManagementGatewayTokenNearExpiryProperties.cs Replace factory class with a partial model and update CodeGenModel attribute.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/ApiManagementCircuitBreakerProperties.cs Add ApiManagementCircuitBreakerProperties class with a Rules dictionary.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsRouterWorkerSelector.cs Reintroduce TtlSeconds, TimeToLive, and add LabelValue property.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsRouterJobReceivedEventData.cs Remove fully qualified Azure.Messaging.EventGrid.Models prefix in favor of Models.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadPropertiesUpdatedPerUserEventData.cs Add Properties dictionary to event data.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadPropertiesUpdatedEventData.cs Add Properties dictionary to event data.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadCreatedWithUserEventData.cs Add Properties dictionary to event data.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadCreatedEventData.cs Add Properties dictionary to event data.
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Constants.cs Introduce Constants.MediaEvents.NotApplicable.
Comments suppressed due to low confidence (6)

sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/ApiManagementCircuitBreakerProperties.cs:11

  • The Rules property is declared as get-only with no backing field or constructor initialization, so it will always be null. Consider adding a constructor parameter or initializer to set this property.
public IReadOnlyDictionary<string, object> Rules { get; }

sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsRouterJobReceivedEventData.cs:17

  • The Models namespace alias is not imported, so this qualifier may not resolve. Add a using Azure.Messaging.EventGrid.Models; directive or use the fully qualified namespace.
public Models.AcsRouterJobStatus? JobStatus

sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadPropertiesUpdatedPerUserEventData.cs:14

  • The Properties property is get-only with no initialization or constructor assignment and will always be null. Consider providing a constructor or initializer to populate this dictionary.
public IReadOnlyDictionary<string, object> Properties { get; }

sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadPropertiesUpdatedEventData.cs:14

  • The Properties property is get-only with no initialization or constructor assignment and will always be null. Consider providing a constructor or initializer to populate this dictionary.
public IReadOnlyDictionary<string, object> Properties { get; }

sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadCreatedWithUserEventData.cs:14

  • The Properties property is get-only with no initialization or constructor assignment and will always be null. Consider providing a constructor or initializer to populate this dictionary.
public IReadOnlyDictionary<string, object> Properties { get; }

sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/src/Customization/AcsChatThreadCreatedEventData.cs:14

  • The Properties property is get-only with no initialization or constructor assignment and will always be null. Consider providing a constructor or initializer to populate this dictionary.
public IReadOnlyDictionary<string, object> Properties { get; }

@JoshLove-msft JoshLove-msft changed the title Eg type forward Type forward system events Jun 3, 2025
@JoshLove-msft JoshLove-msft enabled auto-merge (squash) June 3, 2025 19:55
Copy link

github-actions bot commented Jun 3, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.Messaging.EventGrid
Azure.Messaging.EventGrid.SystemEvents

@JoshLove-msft JoshLove-msft merged commit 36e91b5 into Azure:main Jun 3, 2025
17 checks passed
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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Azure/azure-sdk-for-net/pull/50371

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy