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

Event Grid data plane SDK: Update mappings in consumption SDK to include recently added EventGrid event types #6086

Merged
merged 5 commits into from
May 23, 2019

Conversation

kalyanaj
Copy link
Contributor

@kalyanaj kalyanaj commented May 2, 2019

Event Grid data plane SDK: Update mappings in consumption SDK to include recently added EventGrid event types from AppConfiguration, ContainerRegistry, Maps, and IoTHub services.

@kalyanaj
Copy link
Contributor Author

@dsgouda , @AlexGhiondea : Can one of you please help review this PR? We need to release this updated SDK this week, hence need your help to review and approve this.

@@ -2,10 +2,10 @@
<PropertyGroup>
<AssemblyTitle>Microsoft Azure EventGrid Library</AssemblyTitle>
<Description>This library can be used to publish events to Azure Event Grid and to consume events delivered by EventGrid. It also defines the event schemas for the events published to EventGrid by various Azure services. </Description>
<VersionPrefix>3.0.0</VersionPrefix>
<VersionPrefix>3.2.0</VersionPrefix>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did we skip 3.1.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When I checked NuGet, It looks like there's already a 3.1.0 version released (https://www.nuget.org/packages/Microsoft.Azure.EventGrid/3.1.0) 1 month back. However, 13 days back the SDK team moved the data plane files from src/sdks to sdk directory, and it looks like as part of that the version checked in into this CSPROJ reverted back to 3.0.0. Hence, I moved the version to 3.2.0.

Copy link
Contributor

Choose a reason for hiding this comment

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

/cc @weshaggard @chidozieononiwu @kurtzeborn for the issues with the move of the library.

Copy link
Member

Choose a reason for hiding this comment

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

As part of the move @chidozieononiwu did in #6001 it looks like there were conflicting versions the AssemblyVersion was 3.0.0.0 and the PackageVersion was 3.1.0 and we incorrectly picked 3.0.0 instead of 3.1.0 as we should have. So it is correct to go to 3.2.0 now.

@kalyanaj
Copy link
Contributor Author

@AlexGhiondea , can you please take a look at my responses above? Please let me know if you need any more information and/or if you have any additional comments on this RP.

<PackageReleaseNotes>Added support for the new Azure Media Services event types for tracking state changes of Media Jobs and Media JobOutputs. The existing MediaJobStateChangeEvent can be used to get all state change events for a Job but there are now separate events for each state like MediaJobScheduledEvent, MediaJobFinishedEvent, etc. These allow subscribing for just the desired events. Likewise a MediaJobOutputStateChangeEvent was added to get events for all MediaJobOutput state changes along with individual events for each JobOutput state. MediaJobOutputProgressEvent was added to get events for Job output progress value, label and correlation data. This change also adds support for events related to Media LiveEvents to get notifications related to the ingestion of live streams (encoder connected, encoder disconnected, discontinuity, chunk dropped, etc). Note JobState was renamed to MediaJobState to follow the Media prefix that all of the other Media Services Event classes use. This is a breaking change, albeit a small one.</PackageReleaseNotes>
<AzureApiTag>EventGrid_2019-02-01-preview;</AzureApiTag>
<PackageReleaseNotes>Support for additional Azure event types from ContainerRegistry, AppConfiguration, Maps and IoTHub services. Also, updated the consumption SDK to make it easier to consume these new event schemas.</PackageReleaseNotes>
<AzureApiTag>EventGrid_2018-01-01;</AzureApiTag>
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this mean that we are going back to supporting an older version of the service? Is that going to cause issues when people upgrade from 3.0.0 to 3.2.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the dataplane/runtime of the EventGrid service, the latest API version is 2018-01-01. For the management plane, the latest API version is 2019-02-01-preview. This is the DataPlane SDK, however somehow the AzureApiTag was mentioned as EventGrid_2019-02-01-preview which is the control plane's API version, hence as part of this PR, I fixed/updated it to reflect the data plane's latest API version.

@dsgouda
Copy link
Contributor

dsgouda commented May 21, 2019

/azp run azure-sdk-for-net - mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny
Copy link
Contributor

/azp run net - hdinsight - ci

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@AlexGhiondea AlexGhiondea merged commit 3195212 into Azure:master May 23, 2019
@kalyanaj kalyanaj deleted the master branch June 19, 2019 19:41
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.

6 participants