-
Notifications
You must be signed in to change notification settings - Fork 42
Data stores
jotrick edited this page May 1, 2019
·
2 revisions
The app uses the following data stores:
- Blob storage (Azure storage account)
- Table storage (Azure storage account)
- Application Insights
All these resources are created in your Azure subscription. None are hosted directly by Microsoft.
The blob storage contains:
- Images for the custom stickers. Both active stickers (that is, those returned by the messaging extension) and inactive/soft deleted stickers are in the blob storage. The images are named using generated GUIDs.
- JSON configuration file (
stickers.json
) that defines which images are returned by the messaging extension.
The images and configuration file are located in a single container. The name of the container is controlled by the StickersBlobContainerName
app setting, which is set to "stickers
" by default.
The images must be accessible to the Teams URL previewer, so the permissions on this container are set to enable anonymous access to the individual blobs (PublicAccess = BlobContainerPublicAccessType.Blob
).
The table storage tracks the stickers stored in the blob, and their status.
Column | Description |
---|---|
PartitionKey | Fixed to "default " |
RowKey | GUID |
ImageUrl | URL to the image in blob storage |
Name | Sticker name |
Keywords | Comma-separated list of search keywords |
Index | Position within the list of stickers |
State |
Active = returned by messaging extension SoftDeleted = not returned by messaging extension (but still in blob storage) |
See Telemetry