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

Make @convert adapter handle ManagedBlob

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF03, 10.1
    • Component/s: Convert, Rest API
    • Backlog priority:
      500
    • Sprint:
      nxfit 10.1.6
    • Story Points:
      5

      Description

      Launching an asynchronous conversion on a ManagedBlob does not work as expected.
      Anyway, the point of a ManagedBlob is not to be downloaded and then converted if the provider supports the conversion.

      Launching an async conversion on the ConversionService should do the following:

      • launch the ConversionWork
      • the work check if the blob is a ManagedBlob, and if its linked BlobProvider can handle the conversion (through BlobProvider#getAvailableConversions)
      • if yes, mark the scheduled conversion as completed and store a boolean managedBlob to true, and other parameters needed to recompute the convert URL
      • when polling for the conversion result, if managedBlob is true, returns a resultURL which is the @convert URL accessible through GET.

      This does not break the existing flow, and allow us to avoid converting blobs ourselves if the provider supports it.

        Attachments

          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 - 6 hours
                6h

                  PagerDuty

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