Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22217

Extract pure Blob APIs from the Blob APIs related to documents/repositories

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.2
    • Component/s: BlobManager, Core
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      org.nuxeo.ecm.core.blob.BlobInfo is now used instead of the old org.nuxeo.ecm.core.blob.BlobManager.BlobInfo

      DocumentBlobProvider contains extracted APIs from BlobProvider dealing with documents:

      • freezeVersion(blob, doc)
      • getConvertedStream(blob, mimeType, doc)

      DocumentBlobManager contains extracted APIs from BlobManager dealing with documents:

      • readBlob(blobInfo, repositoryName)
      • writeBlob(blob, doc, xpath)
      • freezeVersion(doc)
      • getConvertedStream(blob, mimeType, doc)
      • notifyChanges( doc, xpaths)
      • garbageCollectBinaries
      • isBinariesGarbageCollectionInProgress
      • markReferencedBinary(key, repositoryName)

      The <blobdispatcher> configuration is now on the extension point <extension target="org.nuxeo.ecm.core.blob.DocumentBlobManager" point="configuration"> instead of the old <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">

      Show
      org.nuxeo.ecm.core.blob.BlobInfo is now used instead of the old org.nuxeo.ecm.core.blob.BlobManager.BlobInfo DocumentBlobProvider contains extracted APIs from BlobProvider dealing with documents: freezeVersion(blob, doc) getConvertedStream(blob, mimeType, doc) DocumentBlobManager contains extracted APIs from BlobManager dealing with documents: readBlob(blobInfo, repositoryName) writeBlob(blob, doc, xpath) freezeVersion(doc) getConvertedStream(blob, mimeType, doc) notifyChanges( doc, xpaths) garbageCollectBinaries isBinariesGarbageCollectionInProgress markReferencedBinary(key, repositoryName) The <blobdispatcher> configuration is now on the extension point <extension target="org.nuxeo.ecm.core.blob.DocumentBlobManager" point="configuration"> instead of the old <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
    • Sprint:
      nxFG 9.2.1
    • Story Points:
      3

      Description

      We should extract the pure Blob APIs that only deal with blob storage/retrieval from the extended APIs that deal with Blobs in relations to documents and repositories. This will allow us to use Blobs outside of the context of a document/repository.
      To be extracted:

      • DocumentBlobProvider
        • freezeVersion(blob, doc)
        • getConvertedStream(blob, mimeType, doc)
      • DocumentBlobManager
        • readBlob(blobInfo, repositoryName)
        • writeBlob(blob, doc, xpath)
        • getConvertedStream(blob, mimeType, doc)
        • freezeVersion(doc)
        • notifyChanges( doc, xpaths)
        • garbageCollectBinaries
        • isBinariesGarbageCollectionInProgress
        • markReferencedBinary(key, repositoryName)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.