From 83152db5da7037bf5bb7b9cb807aeb78cf17d04d Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Fri, 12 Jul 2019 10:35:38 -0700 Subject: [PATCH] Move /eventgrid/data-plane to /sdk/eventgrid/microsoft-azure-eventgrid (#4087) * Moved to sdk folder. --- eng/.docsettings.yml | 2 +- .../eventgrid/microsoft-azure-eventgrid}/README.md | 0 .../eventgrid/microsoft-azure-eventgrid}/pom.xml | 7 ++++++- .../azure/eventgrid/DomainCredentials.java | 0 .../microsoft/azure/eventgrid/EventGridClient.java | 0 .../azure/eventgrid/TopicCredentials.java | 0 .../customization/EventGridSubscriber.java | 0 .../customization/SystemEventTypeMappings.java | 0 .../eventgrid/customization/SystemEventTypes.java | 0 .../implementation/EventGridClientImpl.java | 0 .../eventgrid/implementation/package-info.java | 0 .../AppConfigurationKeyValueDeletedEventData.java | 0 .../AppConfigurationKeyValueModifiedEventData.java | 0 .../models/ContainerRegistryArtifactEventData.java | 0 .../ContainerRegistryArtifactEventTarget.java | 0 .../ContainerRegistryChartDeletedEventData.java | 0 .../ContainerRegistryChartPushedEventData.java | 0 .../models/ContainerRegistryEventActor.java | 0 .../models/ContainerRegistryEventData.java | 0 .../models/ContainerRegistryEventRequest.java | 0 .../models/ContainerRegistryEventSource.java | 0 .../models/ContainerRegistryEventTarget.java | 0 .../ContainerRegistryImageDeletedEventData.java | 0 .../ContainerRegistryImagePushedEventData.java | 0 .../models/DeviceConnectionStateEventInfo.java | 0 .../DeviceConnectionStateEventProperties.java | 0 .../models/DeviceLifeCycleEventProperties.java | 0 .../models/DeviceTelemetryEventProperties.java | 0 .../azure/eventgrid/models/DeviceTwinInfo.java | 0 .../eventgrid/models/DeviceTwinInfoProperties.java | 0 .../models/DeviceTwinInfoX509Thumbprint.java | 0 .../azure/eventgrid/models/DeviceTwinMetadata.java | 0 .../eventgrid/models/DeviceTwinProperties.java | 0 .../azure/eventgrid/models/EventGridEvent.java | 0 .../EventHubCaptureFileCreatedEventData.java | 0 .../models/IotHubDeviceConnectedEventData.java | 0 .../models/IotHubDeviceCreatedEventData.java | 0 .../models/IotHubDeviceDeletedEventData.java | 0 .../models/IotHubDeviceDisconnectedEventData.java | 0 .../models/IotHubDeviceTelemetryEventData.java | 0 .../microsoft/azure/eventgrid/models/JobState.java | 0 .../models/MapsGeofenceEnteredEventData.java | 0 .../models/MapsGeofenceEventProperties.java | 0 .../models/MapsGeofenceExitedEventData.java | 0 .../eventgrid/models/MapsGeofenceGeometry.java | 0 .../models/MapsGeofenceResultEventData.java | 0 .../models/MediaJobCanceledEventData.java | 0 .../models/MediaJobCancelingEventData.java | 0 .../azure/eventgrid/models/MediaJobError.java | 0 .../eventgrid/models/MediaJobErrorCategory.java | 0 .../azure/eventgrid/models/MediaJobErrorCode.java | 0 .../eventgrid/models/MediaJobErrorDetail.java | 0 .../eventgrid/models/MediaJobErroredEventData.java | 0 .../models/MediaJobFinishedEventData.java | 0 .../azure/eventgrid/models/MediaJobOutput.java | 0 .../eventgrid/models/MediaJobOutputAsset.java | 0 .../models/MediaJobOutputCanceledEventData.java | 0 .../models/MediaJobOutputCancelingEventData.java | 0 .../models/MediaJobOutputErroredEventData.java | 0 .../models/MediaJobOutputFinishedEventData.java | 0 .../models/MediaJobOutputProcessingEventData.java | 0 .../models/MediaJobOutputProgressEventData.java | 0 .../models/MediaJobOutputScheduledEventData.java | 0 .../models/MediaJobOutputStateChangeEventData.java | 0 .../models/MediaJobProcessingEventData.java | 0 .../azure/eventgrid/models/MediaJobRetry.java | 0 .../models/MediaJobScheduledEventData.java | 0 .../azure/eventgrid/models/MediaJobState.java | 0 .../models/MediaJobStateChangeEventData.java | 0 .../MediaLiveEventConnectionRejectedEventData.java | 0 .../MediaLiveEventEncoderConnectedEventData.java | 0 ...MediaLiveEventEncoderDisconnectedEventData.java | 0 ...LiveEventIncomingDataChunkDroppedEventData.java | 0 ...iaLiveEventIncomingStreamReceivedEventData.java | 0 ...LiveEventIncomingStreamsOutOfSyncEventData.java | 0 ...ventIncomingVideoStreamsOutOfSyncEventData.java | 0 .../MediaLiveEventIngestHeartbeatEventData.java | 0 ...veEventTrackDiscontinuityDetectedEventData.java | 0 .../eventgrid/models/ResourceActionCancelData.java | 0 .../models/ResourceActionFailureData.java | 0 .../models/ResourceActionSuccessData.java | 0 .../eventgrid/models/ResourceDeleteCancelData.java | 0 .../models/ResourceDeleteFailureData.java | 0 .../models/ResourceDeleteSuccessData.java | 0 .../eventgrid/models/ResourceWriteCancelData.java | 0 .../eventgrid/models/ResourceWriteFailureData.java | 0 .../eventgrid/models/ResourceWriteSuccessData.java | 0 ...eMessagesAvailableWithNoListenersEventData.java | 0 ...rMessagesAvailableWithNoListenersEventData.java | 0 .../models/StorageBlobCreatedEventData.java | 0 .../models/StorageBlobDeletedEventData.java | 0 .../models/SubscriptionDeletedEventData.java | 0 .../models/SubscriptionValidationEventData.java | 0 .../models/SubscriptionValidationResponse.java | 0 .../azure/eventgrid/models/package-info.java | 0 .../microsoft/azure/eventgrid/package-info.java | 0 .../microsoft/azure/eventgrid/EventGridTests.java | 2 ++ .../customization/CustomizationTests.java | 4 ++-- .../models/ContosoItemReceivedEventData.java | 0 .../models/ContosoItemSentEventData.java | 0 .../customization/models/DroneShippingInfo.java | 0 .../customization/models/RocketShippingInfo.java | 0 .../customization/models/ShippingInfo.java | 0 .../AppConfigurationKeyValueDeleted.json | 0 .../AppConfigurationKeyValueModified.json | 0 .../ContainerRegistryChartDeletedEvent.json | 0 .../ContainerRegistryChartPushedEvent.json | 0 .../ContainerRegistryImageDeletedEvent.json | 0 .../ContainerRegistryImagePushedEvent.json | 0 .../customization/CustomEventWithArrayData.json | 0 .../customization/CustomEventWithBooleanData.json | 0 .../CustomEventWithPolymorphicData.json | 0 .../customization/CustomEventWithStringData.json | 0 .../test/resources/customization/CustomEvents.json | 0 .../EventGridSubscriptionDeletedEvent.json | 0 .../EventGridSubscriptionValidationEvent.json | 0 .../EventHubCaptureFileCreatedEvent.json | 0 .../customization/IoTHubDeviceConnectedEvent.json | 0 .../customization/IoTHubDeviceCreatedEvent.json | 0 .../customization/IoTHubDeviceDeletedEvent.json | 0 .../IoTHubDeviceDisconnectedEvent.json | 0 .../customization/IoTHubDeviceTelemetryEvent.json | 0 .../customization/MapsGeofenceEnteredEvent.json | 0 .../customization/MapsGeofenceExitedEvent.json | 0 .../customization/MapsGeofenceResultEvent.json | 0 .../customization/MediaJobCanceledEvent.json | 0 .../customization/MediaJobCancelingEvent.json | 0 .../customization/MediaJobErroredEvent.json | 0 .../customization/MediaJobFinishedEvent.json | 0 .../customization/MediaJobOutputCanceledEvent.json | 0 .../MediaJobOutputCancelingEvent.json | 0 .../customization/MediaJobOutputErroredEvent.json | 0 .../customization/MediaJobOutputFinishedEvent.json | 0 .../MediaJobOutputProcessingEvent.json | 0 .../customization/MediaJobOutputProgressEvent.json | 0 .../MediaJobOutputScheduledEvent.json | 0 .../MediaJobOutputStateChangeEvent.json | 0 .../customization/MediaJobProcessingEvent.json | 0 .../customization/MediaJobScheduledEvent.json | 0 .../customization/MediaJobStateChangeEvent.json | 0 .../MediaLiveEventConnectionRejectedEvent.json | 0 .../MediaLiveEventEncoderConnectedEvent.json | 0 .../MediaLiveEventEncoderDisconnectedEvent.json | 0 ...ediaLiveEventIncomingDataChunkDroppedEvent.json | 0 .../MediaLiveEventIncomingStreamReceivedEvent.json | 0 ...ediaLiveEventIncomingStreamsOutOfSyncEvent.json | 0 ...iveEventIncomingVideoStreamsOutOfSyncEvent.json | 0 .../MediaLiveEventIngestHeartbeatEvent.json | 0 ...iaLiveEventTrackDiscontinuityDetectedEvent.json | 0 .../MediaServicesJobStateChangedEvent.json | 0 .../customization/MultipleEventsInSameBatch.json | 0 .../customization/ResourceActionCancelEvent.json | 0 .../customization/ResourceActionFailureEvent.json | 0 .../customization/ResourceActionSuccessEvent.json | 0 .../customization/ResourceDeleteCancelEvent.json | 0 .../customization/ResourceDeleteFailureEvent.json | 0 .../customization/ResourceDeleteSuccessEvent.json | 0 .../customization/ResourceWriteCancelEvent.json | 0 .../customization/ResourceWriteFailureEvent.json | 0 .../customization/ResourceWriteSuccessEvent.json | 0 ...ctiveMessagesAvailableWithNoListenersEvent.json | 0 ...etterMessagesAvailableWithNoListenersEvent.json | 0 .../customization/StorageBlobCreatedEvent.json | 0 .../customization/StorageBlobDeletedEvent.json | 0 .../StorageBlobDeletedEventWithExtraProperty.json | 0 sdk/eventgrid/pom.service.xml | 14 ++++++++++++++ 166 files changed, 25 insertions(+), 4 deletions(-) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/README.md (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/pom.xml (96%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/DomainCredentials.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/EventGridClient.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/TopicCredentials.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/customization/EventGridSubscriber.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypeMappings.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypes.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/implementation/EventGridClientImpl.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/implementation/package-info.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueDeletedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueModifiedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventTarget.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartDeletedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartPushedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventActor.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventRequest.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventSource.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventTarget.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImageDeletedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImagePushedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventInfo.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventProperties.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceLifeCycleEventProperties.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTelemetryEventProperties.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfo.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoProperties.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoX509Thumbprint.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinMetadata.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinProperties.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/EventGridEvent.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/EventHubCaptureFileCreatedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceConnectedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceCreatedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDeletedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDisconnectedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceTelemetryEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/JobState.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEnteredEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEventProperties.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceExitedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceGeometry.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceResultEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCanceledEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCancelingEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobError.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCategory.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCode.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorDetail.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErroredEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobFinishedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutput.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputAsset.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCanceledEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCancelingEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputErroredEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputFinishedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProcessingEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProgressEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputScheduledEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputStateChangeEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobProcessingEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobRetry.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobScheduledEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobState.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobStateChangeEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventConnectionRejectedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderConnectedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderDisconnectedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingDataChunkDroppedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamReceivedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamsOutOfSyncEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIngestHeartbeatEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventTrackDiscontinuityDetectedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionCancelData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionFailureData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteCancelData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteFailureData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteSuccessData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteCancelData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteFailureData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteSuccessData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobCreatedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobDeletedEventData.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionDeletedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationResponse.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/models/package-info.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/main/java/com/microsoft/azure/eventgrid/package-info.java (100%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java (98%) mode change 100755 => 100644 rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java (99%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemReceivedEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemSentEventData.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/customization/models/DroneShippingInfo.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/customization/models/RocketShippingInfo.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/java/com/microsoft/azure/eventgrid/customization/models/ShippingInfo.java (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/AppConfigurationKeyValueDeleted.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/AppConfigurationKeyValueModified.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ContainerRegistryChartDeletedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ContainerRegistryChartPushedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ContainerRegistryImageDeletedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ContainerRegistryImagePushedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/CustomEventWithArrayData.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/CustomEventWithBooleanData.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/CustomEventWithPolymorphicData.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/CustomEventWithStringData.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/CustomEvents.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/EventGridSubscriptionDeletedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/EventGridSubscriptionValidationEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/EventHubCaptureFileCreatedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/IoTHubDeviceConnectedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/IoTHubDeviceCreatedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/IoTHubDeviceDeletedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/IoTHubDeviceDisconnectedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/IoTHubDeviceTelemetryEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MapsGeofenceEnteredEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MapsGeofenceExitedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MapsGeofenceResultEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobCanceledEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobCancelingEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobErroredEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobFinishedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputCanceledEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputCancelingEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputErroredEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputFinishedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputProcessingEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputProgressEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputScheduledEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobOutputStateChangeEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobProcessingEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobScheduledEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaJobStateChangeEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventConnectionRejectedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventEncoderConnectedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventEncoderDisconnectedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventIncomingDataChunkDroppedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventIncomingStreamReceivedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventIncomingStreamsOutOfSyncEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventIncomingVideoStreamsOutOfSyncEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventIngestHeartbeatEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaLiveEventTrackDiscontinuityDetectedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MediaServicesJobStateChangedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/MultipleEventsInSameBatch.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceActionCancelEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceActionFailureEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceActionSuccessEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceDeleteCancelEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceDeleteFailureEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceDeleteSuccessEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceWriteCancelEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceWriteFailureEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ResourceWriteSuccessEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ServiceBusActiveMessagesAvailableWithNoListenersEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/ServiceBusDeadletterMessagesAvailableWithNoListenersEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/StorageBlobCreatedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/StorageBlobDeletedEvent.json (100%) rename {eventgrid/data-plane => sdk/eventgrid/microsoft-azure-eventgrid}/src/test/resources/customization/StorageBlobDeletedEventWithExtraProperty.json (100%) create mode 100644 sdk/eventgrid/pom.service.xml diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index fde81ca0d4b8f..d82894fb16af9 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -57,7 +57,7 @@ known_content_issues: - ['README.md', '#3113'] - ['sdk/applicationinsights/microsoft-azure-applicationinsights-query/README.md', '#3113'] - ['sdk/batch/microsoft-azure-batch/README.md', '#3113'] - - ['eventgrid/data-plane/README.md', '#3113'] + - ['sdk/eventgrid/microsoft-azure-eventgrid/README.md', '#3113'] - ['eventhubs/data-plane/readme.md', '#3113'] - ['eventhubs/data-plane/azure-eventhubs-eph/Readme.md', '#3113'] - ['sdk/authorization/microsoft-azure-authentication-msi-token-provider/readme.md', '#3113'] diff --git a/eventgrid/data-plane/README.md b/sdk/eventgrid/microsoft-azure-eventgrid/README.md old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/README.md rename to sdk/eventgrid/microsoft-azure-eventgrid/README.md diff --git a/eventgrid/data-plane/pom.xml b/sdk/eventgrid/microsoft-azure-eventgrid/pom.xml old mode 100755 new mode 100644 similarity index 96% rename from eventgrid/data-plane/pom.xml rename to sdk/eventgrid/microsoft-azure-eventgrid/pom.xml index fbef3bf157f7a..674f7f407d618 --- a/eventgrid/data-plane/pom.xml +++ b/sdk/eventgrid/microsoft-azure-eventgrid/pom.xml @@ -14,7 +14,7 @@ Microsoft Azure SDK for eventgrid This package contains Microsoft Azure EventGrid SDK. https://github.com/Azure/azure-sdk-for-java - + The MIT License (MIT) http://opensource.org/licenses/MIT @@ -54,6 +54,11 @@ 1.5.0 test + + commons-io + commons-io + 2.6 + diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/DomainCredentials.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/DomainCredentials.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/DomainCredentials.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/DomainCredentials.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/EventGridClient.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/EventGridClient.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/EventGridClient.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/EventGridClient.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/TopicCredentials.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/TopicCredentials.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/TopicCredentials.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/TopicCredentials.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/customization/EventGridSubscriber.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/customization/EventGridSubscriber.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/customization/EventGridSubscriber.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/customization/EventGridSubscriber.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypeMappings.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypeMappings.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypeMappings.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypeMappings.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypes.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypes.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypes.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/customization/SystemEventTypes.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/implementation/EventGridClientImpl.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/implementation/EventGridClientImpl.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/implementation/EventGridClientImpl.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/implementation/EventGridClientImpl.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/implementation/package-info.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/implementation/package-info.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/implementation/package-info.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/implementation/package-info.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueDeletedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueDeletedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueDeletedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueDeletedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueModifiedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueModifiedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueModifiedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/AppConfigurationKeyValueModifiedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventTarget.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventTarget.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventTarget.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryArtifactEventTarget.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartDeletedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartDeletedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartDeletedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartDeletedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartPushedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartPushedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartPushedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryChartPushedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventActor.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventActor.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventActor.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventActor.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventRequest.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventRequest.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventRequest.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventRequest.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventSource.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventSource.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventSource.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventSource.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventTarget.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventTarget.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventTarget.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryEventTarget.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImageDeletedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImageDeletedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImageDeletedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImageDeletedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImagePushedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImagePushedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImagePushedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ContainerRegistryImagePushedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventInfo.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventInfo.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventInfo.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventInfo.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventProperties.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventProperties.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventProperties.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceConnectionStateEventProperties.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceLifeCycleEventProperties.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceLifeCycleEventProperties.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceLifeCycleEventProperties.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceLifeCycleEventProperties.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTelemetryEventProperties.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTelemetryEventProperties.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTelemetryEventProperties.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTelemetryEventProperties.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfo.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfo.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfo.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfo.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoProperties.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoProperties.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoProperties.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoProperties.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoX509Thumbprint.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoX509Thumbprint.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoX509Thumbprint.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinInfoX509Thumbprint.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinMetadata.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinMetadata.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinMetadata.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinMetadata.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinProperties.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinProperties.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinProperties.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/DeviceTwinProperties.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/EventGridEvent.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/EventGridEvent.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/EventGridEvent.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/EventGridEvent.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/EventHubCaptureFileCreatedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/EventHubCaptureFileCreatedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/EventHubCaptureFileCreatedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/EventHubCaptureFileCreatedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceConnectedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceConnectedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceConnectedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceConnectedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceCreatedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceCreatedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceCreatedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceCreatedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDeletedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDeletedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDeletedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDeletedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDisconnectedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDisconnectedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDisconnectedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceDisconnectedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceTelemetryEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceTelemetryEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceTelemetryEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/IotHubDeviceTelemetryEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/JobState.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/JobState.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/JobState.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/JobState.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEnteredEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEnteredEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEnteredEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEnteredEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEventProperties.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEventProperties.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEventProperties.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceEventProperties.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceExitedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceExitedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceExitedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceExitedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceGeometry.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceGeometry.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceGeometry.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceGeometry.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceResultEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceResultEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceResultEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MapsGeofenceResultEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCanceledEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCanceledEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCanceledEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCanceledEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCancelingEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCancelingEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCancelingEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobCancelingEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobError.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobError.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobError.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobError.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCategory.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCategory.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCategory.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCategory.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCode.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCode.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCode.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorCode.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorDetail.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorDetail.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorDetail.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErrorDetail.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErroredEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErroredEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErroredEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobErroredEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobFinishedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobFinishedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobFinishedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobFinishedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutput.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutput.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutput.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutput.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputAsset.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputAsset.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputAsset.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputAsset.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCanceledEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCanceledEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCanceledEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCanceledEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCancelingEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCancelingEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCancelingEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputCancelingEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputErroredEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputErroredEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputErroredEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputErroredEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputFinishedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputFinishedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputFinishedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputFinishedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProcessingEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProcessingEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProcessingEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProcessingEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProgressEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProgressEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProgressEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputProgressEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputScheduledEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputScheduledEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputScheduledEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputScheduledEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputStateChangeEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputStateChangeEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputStateChangeEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobOutputStateChangeEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobProcessingEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobProcessingEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobProcessingEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobProcessingEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobRetry.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobRetry.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobRetry.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobRetry.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobScheduledEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobScheduledEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobScheduledEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobScheduledEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobState.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobState.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobState.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobState.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobStateChangeEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobStateChangeEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobStateChangeEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaJobStateChangeEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventConnectionRejectedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventConnectionRejectedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventConnectionRejectedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventConnectionRejectedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderConnectedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderConnectedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderConnectedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderConnectedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderDisconnectedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderDisconnectedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderDisconnectedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventEncoderDisconnectedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingDataChunkDroppedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingDataChunkDroppedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingDataChunkDroppedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingDataChunkDroppedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamReceivedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamReceivedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamReceivedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamReceivedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamsOutOfSyncEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamsOutOfSyncEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamsOutOfSyncEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingStreamsOutOfSyncEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIncomingVideoStreamsOutOfSyncEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIngestHeartbeatEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIngestHeartbeatEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIngestHeartbeatEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventIngestHeartbeatEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventTrackDiscontinuityDetectedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventTrackDiscontinuityDetectedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventTrackDiscontinuityDetectedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/MediaLiveEventTrackDiscontinuityDetectedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionCancelData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionCancelData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionCancelData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionCancelData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionFailureData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionFailureData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionFailureData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionFailureData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteCancelData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteCancelData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteCancelData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteCancelData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteFailureData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteFailureData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteFailureData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteFailureData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteSuccessData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteSuccessData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteSuccessData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceDeleteSuccessData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteCancelData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteCancelData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteCancelData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteCancelData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteFailureData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteFailureData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteFailureData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteFailureData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteSuccessData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteSuccessData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteSuccessData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceWriteSuccessData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusActiveMessagesAvailableWithNoListenersEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ServiceBusDeadletterMessagesAvailableWithNoListenersEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobCreatedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobCreatedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobCreatedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobCreatedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobDeletedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobDeletedEventData.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobDeletedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/StorageBlobDeletedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionDeletedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionDeletedEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionDeletedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionDeletedEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationEventData.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationEventData.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationResponse.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationResponse.java similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationResponse.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/SubscriptionValidationResponse.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/package-info.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/package-info.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/models/package-info.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/package-info.java diff --git a/eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/package-info.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/package-info.java old mode 100755 new mode 100644 similarity index 100% rename from eventgrid/data-plane/src/main/java/com/microsoft/azure/eventgrid/package-info.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/package-info.java diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java old mode 100755 new mode 100644 similarity index 98% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java index 05473791aa670..962ad6805904d --- a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java +++ b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/EventGridTests.java @@ -10,6 +10,7 @@ import org.joda.time.DateTime; import org.junit.Test; +import org.junit.Ignore; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertEquals; @@ -21,6 +22,7 @@ public class EventGridTests { @Test + @Ignore public void canPublishEvent() throws Exception { String endpoint = System.getenv("EG_ENDPOINT"); String key = System.getenv("EG_KEY"); diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java similarity index 99% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java index d2dc11318afb7..c9c64040e7781 100644 --- a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java +++ b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/CustomizationTests.java @@ -70,7 +70,7 @@ import com.microsoft.azure.eventgrid.models.SubscriptionValidationEventData; import org.junit.Assert; import org.junit.Test; -import sun.misc.IOUtils; +import org.apache.commons.io.IOUtils; import java.io.IOException; import java.lang.reflect.Type; @@ -1038,7 +1038,7 @@ public void consumeResourceWriteSuccessEvent() throws IOException { private String getTestPayloadFromFile(String fileName) { ClassLoader classLoader = getClass().getClassLoader(); try { - byte[] bytes = IOUtils.readFully(classLoader.getResourceAsStream("customization\\" + fileName), -1, true); + byte[] bytes = IOUtils.toByteArray(classLoader.getResourceAsStream("customization/" + fileName)); return new String(bytes); } catch (IOException e) { throw new RuntimeException(e); diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemReceivedEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemReceivedEventData.java similarity index 100% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemReceivedEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemReceivedEventData.java diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemSentEventData.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemSentEventData.java similarity index 100% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemSentEventData.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/ContosoItemSentEventData.java diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/DroneShippingInfo.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/DroneShippingInfo.java similarity index 100% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/DroneShippingInfo.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/DroneShippingInfo.java diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/RocketShippingInfo.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/RocketShippingInfo.java similarity index 100% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/RocketShippingInfo.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/RocketShippingInfo.java diff --git a/eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/ShippingInfo.java b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/ShippingInfo.java similarity index 100% rename from eventgrid/data-plane/src/test/java/com/microsoft/azure/eventgrid/customization/models/ShippingInfo.java rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/java/com/microsoft/azure/eventgrid/customization/models/ShippingInfo.java diff --git a/eventgrid/data-plane/src/test/resources/customization/AppConfigurationKeyValueDeleted.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/AppConfigurationKeyValueDeleted.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/AppConfigurationKeyValueDeleted.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/AppConfigurationKeyValueDeleted.json diff --git a/eventgrid/data-plane/src/test/resources/customization/AppConfigurationKeyValueModified.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/AppConfigurationKeyValueModified.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/AppConfigurationKeyValueModified.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/AppConfigurationKeyValueModified.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ContainerRegistryChartDeletedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryChartDeletedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ContainerRegistryChartDeletedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryChartDeletedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ContainerRegistryChartPushedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryChartPushedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ContainerRegistryChartPushedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryChartPushedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ContainerRegistryImageDeletedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryImageDeletedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ContainerRegistryImageDeletedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryImageDeletedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ContainerRegistryImagePushedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryImagePushedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ContainerRegistryImagePushedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ContainerRegistryImagePushedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/CustomEventWithArrayData.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithArrayData.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/CustomEventWithArrayData.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithArrayData.json diff --git a/eventgrid/data-plane/src/test/resources/customization/CustomEventWithBooleanData.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithBooleanData.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/CustomEventWithBooleanData.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithBooleanData.json diff --git a/eventgrid/data-plane/src/test/resources/customization/CustomEventWithPolymorphicData.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithPolymorphicData.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/CustomEventWithPolymorphicData.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithPolymorphicData.json diff --git a/eventgrid/data-plane/src/test/resources/customization/CustomEventWithStringData.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithStringData.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/CustomEventWithStringData.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEventWithStringData.json diff --git a/eventgrid/data-plane/src/test/resources/customization/CustomEvents.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEvents.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/CustomEvents.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/CustomEvents.json diff --git a/eventgrid/data-plane/src/test/resources/customization/EventGridSubscriptionDeletedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/EventGridSubscriptionDeletedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/EventGridSubscriptionDeletedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/EventGridSubscriptionDeletedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/EventGridSubscriptionValidationEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/EventGridSubscriptionValidationEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/EventGridSubscriptionValidationEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/EventGridSubscriptionValidationEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/EventHubCaptureFileCreatedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/EventHubCaptureFileCreatedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/EventHubCaptureFileCreatedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/EventHubCaptureFileCreatedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceConnectedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceConnectedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceConnectedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceConnectedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceCreatedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceCreatedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceCreatedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceCreatedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceDeletedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceDeletedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceDeletedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceDeletedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceDisconnectedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceDisconnectedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceDisconnectedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceDisconnectedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceTelemetryEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceTelemetryEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/IoTHubDeviceTelemetryEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/IoTHubDeviceTelemetryEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MapsGeofenceEnteredEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MapsGeofenceEnteredEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MapsGeofenceEnteredEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MapsGeofenceEnteredEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MapsGeofenceExitedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MapsGeofenceExitedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MapsGeofenceExitedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MapsGeofenceExitedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MapsGeofenceResultEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MapsGeofenceResultEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MapsGeofenceResultEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MapsGeofenceResultEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobCanceledEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobCanceledEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobCanceledEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobCanceledEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobCancelingEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobCancelingEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobCancelingEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobCancelingEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobErroredEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobErroredEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobErroredEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobErroredEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobFinishedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobFinishedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobFinishedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobFinishedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputCanceledEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputCanceledEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputCanceledEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputCanceledEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputCancelingEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputCancelingEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputCancelingEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputCancelingEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputErroredEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputErroredEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputErroredEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputErroredEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputFinishedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputFinishedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputFinishedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputFinishedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputProcessingEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputProcessingEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputProcessingEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputProcessingEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputProgressEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputProgressEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputProgressEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputProgressEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputScheduledEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputScheduledEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputScheduledEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputScheduledEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobOutputStateChangeEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputStateChangeEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobOutputStateChangeEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobOutputStateChangeEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobProcessingEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobProcessingEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobProcessingEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobProcessingEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobScheduledEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobScheduledEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobScheduledEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobScheduledEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaJobStateChangeEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobStateChangeEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaJobStateChangeEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaJobStateChangeEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventConnectionRejectedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventConnectionRejectedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventConnectionRejectedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventConnectionRejectedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventEncoderConnectedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventEncoderConnectedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventEncoderConnectedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventEncoderConnectedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventEncoderDisconnectedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventEncoderDisconnectedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventEncoderDisconnectedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventEncoderDisconnectedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingDataChunkDroppedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingDataChunkDroppedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingDataChunkDroppedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingDataChunkDroppedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingStreamReceivedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingStreamReceivedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingStreamReceivedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingStreamReceivedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingStreamsOutOfSyncEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingStreamsOutOfSyncEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingStreamsOutOfSyncEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingStreamsOutOfSyncEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingVideoStreamsOutOfSyncEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingVideoStreamsOutOfSyncEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIncomingVideoStreamsOutOfSyncEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIncomingVideoStreamsOutOfSyncEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIngestHeartbeatEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIngestHeartbeatEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventIngestHeartbeatEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventIngestHeartbeatEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaLiveEventTrackDiscontinuityDetectedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventTrackDiscontinuityDetectedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaLiveEventTrackDiscontinuityDetectedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaLiveEventTrackDiscontinuityDetectedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MediaServicesJobStateChangedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaServicesJobStateChangedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MediaServicesJobStateChangedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MediaServicesJobStateChangedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/MultipleEventsInSameBatch.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MultipleEventsInSameBatch.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/MultipleEventsInSameBatch.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/MultipleEventsInSameBatch.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceActionCancelEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceActionCancelEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceActionCancelEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceActionCancelEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceActionFailureEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceActionFailureEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceActionFailureEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceActionFailureEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceActionSuccessEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceActionSuccessEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceActionSuccessEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceActionSuccessEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceDeleteCancelEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceDeleteCancelEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceDeleteCancelEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceDeleteCancelEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceDeleteFailureEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceDeleteFailureEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceDeleteFailureEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceDeleteFailureEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceDeleteSuccessEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceDeleteSuccessEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceDeleteSuccessEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceDeleteSuccessEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceWriteCancelEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceWriteCancelEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceWriteCancelEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceWriteCancelEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceWriteFailureEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceWriteFailureEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceWriteFailureEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceWriteFailureEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ResourceWriteSuccessEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceWriteSuccessEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ResourceWriteSuccessEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ResourceWriteSuccessEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ServiceBusActiveMessagesAvailableWithNoListenersEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ServiceBusActiveMessagesAvailableWithNoListenersEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ServiceBusActiveMessagesAvailableWithNoListenersEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ServiceBusActiveMessagesAvailableWithNoListenersEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/ServiceBusDeadletterMessagesAvailableWithNoListenersEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ServiceBusDeadletterMessagesAvailableWithNoListenersEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/ServiceBusDeadletterMessagesAvailableWithNoListenersEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/ServiceBusDeadletterMessagesAvailableWithNoListenersEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/StorageBlobCreatedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/StorageBlobCreatedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/StorageBlobCreatedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/StorageBlobCreatedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/StorageBlobDeletedEvent.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/StorageBlobDeletedEvent.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/StorageBlobDeletedEvent.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/StorageBlobDeletedEvent.json diff --git a/eventgrid/data-plane/src/test/resources/customization/StorageBlobDeletedEventWithExtraProperty.json b/sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/StorageBlobDeletedEventWithExtraProperty.json similarity index 100% rename from eventgrid/data-plane/src/test/resources/customization/StorageBlobDeletedEventWithExtraProperty.json rename to sdk/eventgrid/microsoft-azure-eventgrid/src/test/resources/customization/StorageBlobDeletedEventWithExtraProperty.json diff --git a/sdk/eventgrid/pom.service.xml b/sdk/eventgrid/pom.service.xml new file mode 100644 index 0000000000000..74589c55c2717 --- /dev/null +++ b/sdk/eventgrid/pom.service.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + com.azure + azure-eventgrid-service + pom + 1.0.0 + + microsoft-azure-eventgrid + +