cosmosStore class today is the facade to perform CRUD on data partition related cosmos dbs. All the methods in this class are tightly coupled with data-partition-id. Since the system data resources won't be coupled with a data-partition-id, the existing facade can't support CRUD on system resources. Same problem exists with
Changes in MR:
- Enhanced the current CosmosClientFactory to return system level cosmos clients too.
- Enhanced the current BlobServiceClientFactory to return system level cosmos clients too.
- Overloaded existing methods. The new methods don't accept data-partition-id parameter
- Minor code refactoring
- Added UTs