Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-eventgrid</artifactId>
<version>4.8.0-beta.1</version> <!-- {x-version-update;com.azure:azure-messaging-eventgrid;current} -->
<version>4.8.0</version> <!-- {x-version-update;com.azure:azure-messaging-eventgrid;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ com.azure:azure-identity;1.4.2;1.5.0-beta.1
com.azure:azure-identity-perf;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-iot-deviceupdate;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-iot-modelsrepository;1.0.0-beta.1;1.0.0-beta.2
com.azure:azure-messaging-eventgrid;4.7.1;4.8.0-beta.1
com.azure:azure-messaging-eventgrid;4.7.1;4.8.0
com.azure:azure-messaging-eventgrid-cloudnative-cloudevents;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-messaging-eventhubs;5.10.3;5.11.0-beta.1
com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.10.2;1.11.0-beta.1
Expand Down
17 changes: 13 additions & 4 deletions sdk/eventgrid/azure-messaging-eventgrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# Release History

## 4.8.0-beta.1 (Unreleased)
## 4.8.0 (2022-01-13)

### Features Added
- Added new properties
- `deleteLocation` to `AcsRecordingChunkInfoProperties`,
- `recordingChannelType`, `recordingContentType`, `recordingFormatType` to `AcsRecordingFileStatusUpdatedEventData`
- `connectedRegistry`, `location` to `ContainerRegistryImagePushedEventData`, `ContainerRegistryImageDeletedEventData`,
`ContainerRegistryEventConnectedRegistry`, `ContainerRegistryChartPushedEventData`,
`ContainerRegistryChartDeletedEventData`, `ContainerResistryArtifactEventData`

### Breaking Changes

### Bugs Fixed
- Added new model type,
- `ContainerRegistryEventConnectedRegistry`, `RecordingChannelType`, `RecordingContentType`, `RecordingFormatType`

### Other Changes

#### Dependency Updates
- Update `azure-core` dependency to `1.24.1`.
- Update `azure-core-http-netty` dependency to `1.11.6`.

## 4.7.1 (2021-11-11)

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/azure-messaging-eventgrid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-eventgrid</artifactId>
<version>4.8.0-beta.1</version>
<version>4.8.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/azure-messaging-eventgrid/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-messaging-eventgrid</artifactId>
<version>4.8.0-beta.1</version> <!-- {x-version-update;com.azure:azure-messaging-eventgrid;current} -->
<version>4.8.0</version> <!-- {x-version-update;com.azure:azure-messaging-eventgrid;current} -->

<packaging>jar</packaging>
<name>Microsoft Azure SDK for eventgrid</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ public final class AcsRecordingChunkInfoProperties {
@JsonProperty(value = "contentLocation")
private String contentLocation;

/*
* The location to delete all chunk storage
*/
@JsonProperty(value = "deleteLocation")
private String deleteLocation;

/**
* Get the documentId property: The documentId of the recording chunk.
*
Expand Down Expand Up @@ -139,4 +145,24 @@ public AcsRecordingChunkInfoProperties setContentLocation(String contentLocation
this.contentLocation = contentLocation;
return this;
}

/**
* Get the deleteLocation property: The location to delete all chunk storage.
*
* @return the deleteLocation value.
*/
public String getDeleteLocation() {
return this.deleteLocation;
}

/**
* Set the deleteLocation property: The location to delete all chunk storage.
*
* @param deleteLocation the deleteLocation value to set.
* @return the AcsRecordingChunkInfoProperties object itself.
*/
public AcsRecordingChunkInfoProperties setDeleteLocation(String deleteLocation) {
this.deleteLocation = deleteLocation;
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@ public final class AcsRecordingFileStatusUpdatedEventData {
@JsonProperty(value = "recordingDurationMs")
private Long recordingDurationMs;

/*
* The recording content type- AudioVideo, or Audio
*/
@JsonProperty(value = "recordingContentType")
private RecordingContentType recordingContentType;

/*
* The recording channel type - Mixed, Unmixed
*/
@JsonProperty(value = "recordingChannelType")
private RecordingChannelType recordingChannelType;

/*
* The recording format type - Mp4, Mp3, Wav
*/
@JsonProperty(value = "recordingFormatType")
private RecordingFormatType recordingFormatType;

/*
* The reason for ending recording session
*/
Expand Down Expand Up @@ -105,6 +123,66 @@ public AcsRecordingFileStatusUpdatedEventData setRecordingDuration(Duration reco
return this;
}

/**
* Get the recordingContentType property: The recording content type- AudioVideo, or Audio.
*
* @return the recordingContentType value.
*/
public RecordingContentType getRecordingContentType() {
return this.recordingContentType;
}

/**
* Set the recordingContentType property: The recording content type- AudioVideo, or Audio.
*
* @param recordingContentType the recordingContentType value to set.
* @return the AcsRecordingFileStatusUpdatedEventData object itself.
*/
public AcsRecordingFileStatusUpdatedEventData setRecordingContentType(RecordingContentType recordingContentType) {
this.recordingContentType = recordingContentType;
return this;
}

/**
* Get the recordingChannelType property: The recording channel type - Mixed, Unmixed.
*
* @return the recordingChannelType value.
*/
public RecordingChannelType getRecordingChannelType() {
return this.recordingChannelType;
}

/**
* Set the recordingChannelType property: The recording channel type - Mixed, Unmixed.
*
* @param recordingChannelType the recordingChannelType value to set.
* @return the AcsRecordingFileStatusUpdatedEventData object itself.
*/
public AcsRecordingFileStatusUpdatedEventData setRecordingChannelType(RecordingChannelType recordingChannelType) {
this.recordingChannelType = recordingChannelType;
return this;
}

/**
* Get the recordingFormatType property: The recording format type - Mp4, Mp3, Wav.
*
* @return the recordingFormatType value.
*/
public RecordingFormatType getRecordingFormatType() {
return this.recordingFormatType;
}

/**
* Set the recordingFormatType property: The recording format type - Mp4, Mp3, Wav.
*
* @param recordingFormatType the recordingFormatType value to set.
* @return the AcsRecordingFileStatusUpdatedEventData object itself.
*/
public AcsRecordingFileStatusUpdatedEventData setRecordingFormatType(RecordingFormatType recordingFormatType) {
this.recordingFormatType = recordingFormatType;
return this;
}

/**
* Get the sessionEndReason property: The reason for ending recording session.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,25 @@ public class ContainerRegistryArtifactEventData {
@JsonProperty(value = "action")
private String action;

/*
* The location of the event.
*/
@JsonProperty(value = "location")
private String location;

/*
* The target of the event.
*/
@JsonProperty(value = "target")
private ContainerRegistryArtifactEventTarget target;

/*
* The connected registry information if the event is generated by a
* connected registry.
*/
@JsonProperty(value = "connectedRegistry")
private ContainerRegistryEventConnectedRegistry connectedRegistry;

/**
* Get the id property: The event ID.
*
Expand Down Expand Up @@ -95,6 +108,26 @@ public ContainerRegistryArtifactEventData setAction(String action) {
return this;
}

/**
* Get the location property: The location of the event.
*
* @return the location value.
*/
public String getLocation() {
return this.location;
}

/**
* Set the location property: The location of the event.
*
* @param location the location value to set.
* @return the ContainerRegistryArtifactEventData object itself.
*/
public ContainerRegistryArtifactEventData setLocation(String location) {
this.location = location;
return this;
}

/**
* Get the target property: The target of the event.
*
Expand All @@ -114,4 +147,27 @@ public ContainerRegistryArtifactEventData setTarget(ContainerRegistryArtifactEve
this.target = target;
return this;
}

/**
* Get the connectedRegistry property: The connected registry information if the event is generated by a connected
* registry.
*
* @return the connectedRegistry value.
*/
public ContainerRegistryEventConnectedRegistry getConnectedRegistry() {
return this.connectedRegistry;
}

/**
* Set the connectedRegistry property: The connected registry information if the event is generated by a connected
* registry.
*
* @param connectedRegistry the connectedRegistry value to set.
* @return the ContainerRegistryArtifactEventData object itself.
*/
public ContainerRegistryArtifactEventData setConnectedRegistry(
ContainerRegistryEventConnectedRegistry connectedRegistry) {
this.connectedRegistry = connectedRegistry;
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,25 @@ public ContainerRegistryChartDeletedEventData setAction(String action) {
return this;
}

/** {@inheritDoc} */
@Override
public ContainerRegistryChartDeletedEventData setLocation(String location) {
super.setLocation(location);
return this;
}

/** {@inheritDoc} */
@Override
public ContainerRegistryChartDeletedEventData setTarget(ContainerRegistryArtifactEventTarget target) {
super.setTarget(target);
return this;
}

/** {@inheritDoc} */
@Override
public ContainerRegistryChartDeletedEventData setConnectedRegistry(
ContainerRegistryEventConnectedRegistry connectedRegistry) {
super.setConnectedRegistry(connectedRegistry);
return this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,25 @@ public ContainerRegistryChartPushedEventData setAction(String action) {
return this;
}

/** {@inheritDoc} */
@Override
public ContainerRegistryChartPushedEventData setLocation(String location) {
super.setLocation(location);
return this;
}

/** {@inheritDoc} */
@Override
public ContainerRegistryChartPushedEventData setTarget(ContainerRegistryArtifactEventTarget target) {
super.setTarget(target);
return this;
}

/** {@inheritDoc} */
@Override
public ContainerRegistryChartPushedEventData setConnectedRegistry(
ContainerRegistryEventConnectedRegistry connectedRegistry) {
super.setConnectedRegistry(connectedRegistry);
return this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.messaging.eventgrid.systemevents;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The connected registry information if the event is generated by a connected registry. */
@Fluent
public final class ContainerRegistryEventConnectedRegistry {
/*
* The name of the connected registry that generated this event.
*/
@JsonProperty(value = "name")
private String name;

/**
* Get the name property: The name of the connected registry that generated this event.
*
* @return the name value.
*/
public String getName() {
return this.name;
}

/**
* Set the name property: The name of the connected registry that generated this event.
*
* @param name the name value to set.
* @return the ContainerRegistryEventConnectedRegistry object itself.
*/
public ContainerRegistryEventConnectedRegistry setName(String name) {
this.name = name;
return this;
}
}
Loading