Tasks sharing in workflow -- Infrastructure requirements (cosmos collection)
We need to provide signed tokens for blobs present in the storage container (#34 (closed)) depending on the
runid (which will be used to share data between tasks in workflow). In order to keep a track of this, we need to store the metadata which comprises of what all workflowids and runids have been used to generate these signed tokens along with some other information such as "createdBy", "createdAt", "state" etc. This cosmos collection will store the metadata.
Why is this change needed?
To store the metadata such as "workflowid", "runid", "state" etc. in Cosmos collection for the storage container for which the SAS tokens will be generated. The usage of this collection is not limited to storing the information relted to SAS token generation and might get extended later.
No such collection available to store information related to workflow tasks.
A new cosmos collection is created and we will be able to store the metadata related to workflow tasks in this cosmos collection.