-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Type forward system events #50371
Conversation
There was a problem hiding this 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 ausing 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; }
sdk/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tsp-location.yaml
Outdated
Show resolved
Hide resolved
API Change CheckAPIView identified API level changes in this PR and created the following API reviews Azure.Messaging.EventGrid |
No description provided.