Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-171

Use ARondor Docker images instead of building ours

    XMLWordPrintable

    Details

      Description

      Context

      We want to use Docker images provided by ARondor.

      The available images are stored in their artifactory and has following names:

      • arender-hmi
      • arender-rendition-broker
      • arender-jni-engine
      • arender-pdfbox
      • arender-converter
      • arender-dfs

      The images share the same versioning than ARender, so: 4.0.5.NX1.1, 4.0.5.NX2.0...

      Tasks

      Previewer

      Previewer images will contain our version of ARender (suffixed by NX something). The image has as based tomcat:9.0-jre8-alpine. The receipt is:

      • put our connector and its dependencies under /usr/local/tomcat/webapps/ROOT/WEB-INF/lib/
      • put our default configuration file under /usr/local/tomcat/webapps/ROOT/WEB-INF/classes

      We need to split the code/arender-previewer module in order to extract our connector and the war packaging stuff.

      Rendition

      Rendition images should be used directly without any customization from ours.
      The customization we currently have for task conversion (see there) could be done on ARender side or with an environment variable set on arender-converter container.

      Deployment

      Goal is to have the helm chart for preview working in our Jenkins X. This will also describe how to deploy the whole stack with another technology.

      Known things to change:

      • provide a deployment for each rendition micro services
      • adapt the readyness and liveness probe path
      • use of ARENDER_ and ARENDERSRV_ for both arender.properties and arender-server.properties

      Additional information

      Docker Specifications

      • arender-hmi
        FROM tomcat:9.0-jre8-alpine
        PORT 80
        VOLUME /tmp
        readiness: /weather
        liveness: /weather
      • arender-rendition-broker
        FROM openjdk:12-jdk-alpine
        PORT 8761
        log /arender-server.log
        readiness: /weather
        liveness: /actuator/health
      • arender-converter
        FROM ubuntu:18.10
        PORT 19999
        log /modules/dfs-service/arender-taskconversion.log
        readiness: /health/record
        liveness: /actuator/health
      • arender-pdfbox
        FROM openjdk:12-jdk-alpine
        PORT 8899
        log /modules/dfs-service/arender-pdfbox.log
        readiness: /health/record
        liveness: /actuator/health
      • arender-jni-engine
        FROM openjdk:11-jdk-slim-stretch
        PORT 9091
        log /modules/dfs-service/arender-jnipdf.log
        readiness: /health/record
        liveness: /actuator/health
      • arender-dfs
        FROM openjdk:12-jdk-alpine
        PORT 8081
        log /modules/dfs-service/arender-dfsclient.log
        readiness: /health/record
        liveness: /actuator/health

      Hardware requirements

      • arender-hmi
        2vCPU
        2Go RAM
      • arender-rendition-broker
        1vCPU
        1Go RAM
      • arender-converter
        1vCPU
        2Go RAM
      • arender-jni-engine
        2vCPU
        2Go RAM
      • arender-pdfbox
        1vCPU
        1Go RAM
      • arender-dfs
        1vCPU
        512Mo RAM

        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 weeks
                  2w