Discovering partion keys in the storage table
One more thing if you note here is that when we use the AzureStorageTableConnector, it asks us for the partion key that can have only two values in our scenario, either author or chapter. It would be nice if our custom connector can go to storage table and find all the partion keys available and then may be provide it as a drop-down so that we can select the partion key instead of entering the value. This can be done using dynamic Swagger to enhance user experience. Swagger dynamically generates metadata depending on API App configuration.
To do this, you need to add a filter, as follows:
In the filter ...
Get Robust Cloud Integration with Azure now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.