Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Process Event Names Script #18419

Merged
merged 7 commits into from
May 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sdk/eventgrid/azure-eventgrid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 4.1.2 (Unreleased)

**New Features**
- Added new event names to the `SystemEventNames` enum.

## 4.1.1 (2021-04-07)

Expand Down
440 changes: 276 additions & 164 deletions sdk/eventgrid/azure-eventgrid/azure/eventgrid/_event_mappings.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(
**kwargs # type: Any
):
# type: (...) -> None
base_url = '{topicHostname}'
base_url = 'https://{topicHostname}'
self._config = EventGridPublisherClientConfiguration(**kwargs)
self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(
self,
**kwargs: Any
) -> None:
base_url = '{topicHostname}'
base_url = 'https://{topicHostname}'
self._config = EventGridPublisherClientConfiguration(**kwargs)
self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ async def publish_custom_event_events(
if cls:
return cls(pipeline_response, None, {})

publish_custom_event_events.metadata = {'url': ''} # type: ignore
publish_custom_event_events.metadata = {'url': '/api/events'} # type: ignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
from ._models_py3 import AcsChatThreadPropertiesUpdatedEventData
from ._models_py3 import AcsChatThreadPropertiesUpdatedPerUserEventData
from ._models_py3 import AcsChatThreadWithUserDeletedEventData
from ._models_py3 import AcsRecordingChunkInfoProperties
from ._models_py3 import AcsRecordingFileStatusUpdatedEventData
from ._models_py3 import AcsRecordingStorageInfoProperties
from ._models_py3 import AcsSmsDeliveryAttemptProperties
from ._models_py3 import AcsSmsDeliveryReportReceivedEventData
from ._models_py3 import AcsSmsEventBaseProperties
Expand Down Expand Up @@ -137,9 +140,11 @@
from ._models_py3 import ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
from ._models_py3 import SignalRServiceClientConnectionConnectedEventData
from ._models_py3 import SignalRServiceClientConnectionDisconnectedEventData
from ._models_py3 import StorageAsyncOperationInitiatedEventData
from ._models_py3 import StorageBlobCreatedEventData
from ._models_py3 import StorageBlobDeletedEventData
from ._models_py3 import StorageBlobRenamedEventData
from ._models_py3 import StorageBlobTierChangedEventData
from ._models_py3 import StorageDirectoryCreatedEventData
from ._models_py3 import StorageDirectoryDeletedEventData
from ._models_py3 import StorageDirectoryRenamedEventData
Expand Down Expand Up @@ -186,6 +191,9 @@
from ._models import AcsChatThreadPropertiesUpdatedEventData # type: ignore
from ._models import AcsChatThreadPropertiesUpdatedPerUserEventData # type: ignore
from ._models import AcsChatThreadWithUserDeletedEventData # type: ignore
from ._models import AcsRecordingChunkInfoProperties # type: ignore
from ._models import AcsRecordingFileStatusUpdatedEventData # type: ignore
from ._models import AcsRecordingStorageInfoProperties # type: ignore
from ._models import AcsSmsDeliveryAttemptProperties # type: ignore
from ._models import AcsSmsDeliveryReportReceivedEventData # type: ignore
from ._models import AcsSmsEventBaseProperties # type: ignore
Expand Down Expand Up @@ -293,9 +301,11 @@
from ._models import ServiceBusDeadletterMessagesAvailableWithNoListenersEventData # type: ignore
from ._models import SignalRServiceClientConnectionConnectedEventData # type: ignore
from ._models import SignalRServiceClientConnectionDisconnectedEventData # type: ignore
from ._models import StorageAsyncOperationInitiatedEventData # type: ignore
from ._models import StorageBlobCreatedEventData # type: ignore
from ._models import StorageBlobDeletedEventData # type: ignore
from ._models import StorageBlobRenamedEventData # type: ignore
from ._models import StorageBlobTierChangedEventData # type: ignore
from ._models import StorageDirectoryCreatedEventData # type: ignore
from ._models import StorageDirectoryDeletedEventData # type: ignore
from ._models import StorageDirectoryRenamedEventData # type: ignore
Expand Down Expand Up @@ -355,6 +365,9 @@
'AcsChatThreadPropertiesUpdatedEventData',
'AcsChatThreadPropertiesUpdatedPerUserEventData',
'AcsChatThreadWithUserDeletedEventData',
'AcsRecordingChunkInfoProperties',
'AcsRecordingFileStatusUpdatedEventData',
'AcsRecordingStorageInfoProperties',
'AcsSmsDeliveryAttemptProperties',
'AcsSmsDeliveryReportReceivedEventData',
'AcsSmsEventBaseProperties',
Expand Down Expand Up @@ -462,9 +475,11 @@
'ServiceBusDeadletterMessagesAvailableWithNoListenersEventData',
'SignalRServiceClientConnectionConnectedEventData',
'SignalRServiceClientConnectionDisconnectedEventData',
'StorageAsyncOperationInitiatedEventData',
'StorageBlobCreatedEventData',
'StorageBlobDeletedEventData',
'StorageBlobRenamedEventData',
'StorageBlobTierChangedEventData',
'StorageDirectoryCreatedEventData',
'StorageDirectoryDeletedEventData',
'StorageDirectoryRenamedEventData',
Expand Down
Loading