-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.2
-
Component/s: Core, Core MongoDB, Core VCS
-
Upgrade notes:
-
Sprint:Sprint RepoTeam 7.1-2
Currently Blobs are exploded into a Binary and other regular properties at the Session (VCS, DBS) level of abstraction, and lower levels (VCS JDBC storage, DBS MongoDB implementation) receive a Binary.
The Binary doesn't need to be sent that deep in the abstraction layers, because at the storage level we only need a string for its data. And indeed, knowing how to turn a Blob into a set of regular properties for storage can be abstracted in a BlobManager service, and the Binary doesn't need to be exposed at all.
- Create a BlobManager service that knows how to read/write a Blob.
- Implement it based on pluggable BlobProviders.
- Implement a default BinaryBlobProvider that indirects to the current BinaryManager.
- Use this BlobManager abstraction in the Session layer for blob read/write.