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

Introduce a pluggable blob marshaller

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Rest API
    • Tags:
    • Sprint:
      nxNS Sprint 10.3.4

      Description

      Our REST API today allows enriching documents by contributing new enrichers who will write new properties in contextParameters. However when we need to include extra blob information (ie WOPI links NXP-25300, Liveconnect app links NXP-21249, etc) using document enrichers we will need to use the blob's xpath as key which makes the response structure weird and impossible to validate, ex:

      wopi: {
      "file:content": {...}
      "files:files/0/file": {...}
      "files:files/1/file": {...}
      }
      

      This extra data should be written along with the blob and not out of band, ie:

      file:content: {
        data: ".."
        name: "..",
        wopi: { ...}
      }
      

      We will however still need a way to control whether or not these blob enrichers should be active as they may incur a cost. For consistency reasons it would make sense to have enrichers.blob:wopi

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 30 minutes
                  2h 30m