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

Setup the Media Manipulation connector in local

    XMLWordPrintable

    Details

    • Sprint:
      Connectors Sprint 7 - Dec
    • Story Points:
      1

      Description

      The media manipulation connector has been setup in local successfully.

      Below steps were followed to achieve it:

       

      I. Get clones of the below repositories:

      https://github.com/nuxeo-sandbox/nuxeo-dynamic-asset-transformation

      https://github.com/nuxeo-sandbox/nuxeo-public-download-link

       

      II. Build the projects:

      Build the below project first as the dynamic-asset-transformation project uses a jar of this as dependency because these dependencies are not yet present in any repository manager. Once we build it locally, the jar will be referenced from local maven 

      https://github.com/nuxeo-sandbox/nuxeo-public-download-link

       

      Now, build the project:

      https://github.com/nuxeo-sandbox/nuxeo-dynamic-asset-transformation

       For building both the projects, we can use the mvn Install with skip docker option.

      mvn -DskipDocker=true clean install -DskipTests

       

       After the successful build, we can see the packages generated in the corresponding target folders

      <PATH TO LOCAL GITHUB REPOSITORY>/nuxeo-dynamic-asset-transformation/nuxeo-dynamic-asset-transformation-package/target/nuxeo-dynamic-asset-transformation-package-2021.12.0-SNAPSHOT.zip

       
      <PATH TO LOCAL GITHUB REPOSITORY>/nuxeo-public-download-link/nuxeo-public-download-link-package/target/nuxeo-public-download-link-package-2021.4.0-SNAPSHOT.zip

       

       III. Install packages in nuxeo instance:

      After this, we need to install both of these packages into the nuxeo platform using the nuxeoctl mp-install command:

      ./nuxeoctl mp-install  <PATH TO LOCAL GITHUB REPOSITORY>/nuxeo-dynamic-asset-transformation/nuxeo-dynamic-asset-transformation-package/target/nuxeo-dynamic-asset-transformation-package-2021.12.0-SNAPSHOT.zip

      ./nuxeoctl mp-install  <PATH TO LOCAL GITHUB REPOSITORY>/nuxeo-public-download-link/nuxeo-public-download-link-package/target/nuxeo-public-download-link-package-2021.4.0-SNAPSHOT.zip

       

      IV. Software prerequisites:

      **Before installing these plugins, make sure to install imagemagick and ffmpeg
      brew install imagemagick ffmpeg

       

      V. Verification:

      • Once all these steps are done, launch the nuxeo server and upload any picture type asset. Observe that the Crop and Public link actions appear in Document actions Slot. Along with these, we can see the Download As action item in the Blob actions slot
      • Similarly, for any Video asset, observe that the Download As action item in the Blob actions slot and public link action appears in document actions slot.
      • A new Drawer page item: My Jobs appears. This is supposed to show the list of async transformation jobs. 

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: