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

Improve transformer service

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2 M4
    • Component/s: None

      Description

      Dev Story :
      =======

      New transformers :
      -------------------------
      There are pleinty of command line tools that can be used to handle transformations.
      I would to have a easy and possibily cross platform way to integrate these third party tools as Nuxeo transformers.

      Tranform blobs and Documents :
      ------------------------------------------
      API should expose an API to handle transformation from a DocumentModel.
      Event is reading blob from a DocumentModel is not the only use case, this is a main use case.

      Cache management :
      ----------------------------
      I don't want to handle cache "by hand" at application level. Transformation service should deal with that.

      Implementation Notes :
      ==============

      New transformers plugins :
      ----------------------------------
      Some addons inlcude dedicated transformers :

      • Any2Html for HTML preview
      • Picture transformers for PictureBook and Tiling
      • Base class for CommandLine based transformers
      • Zip2Text

      => generic transformers should be part of global plugins

      • this will improve the default transformers set
      • this will make configuration more centralized

      Cache management :
      ----------------------------
      New Addons working with transformers have to handle caching.
      This caching is handled at application level.

      => This would be far mor efficient to have a cache management at transformer level
      ==> This requires some improvement of Transformer API

      • input API should contain needed information to generate a cache key
      • input API should contain a way to ask for cache invalidation (ie : fresh transform)
      • output API should include API about cache status

      API :
      ------
      Titling include a ImageResource API for wrapping a Blob or a Blob in a DocumentModel.
      This includes cache key management.
      We should leverage this to make a TransformerResource.

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              tdelprat Thierry Delprat
              Reporter:
              tdelprat Thierry Delprat
              Participants:
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: