Details

    • Sub-task
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Please test Longhorn:

      • install it on your local machine
      • test the calls to do the following:
      1. Create a temporary project
      2. Upload a Batch Configuration file into that project
        1. use the attached aleks.bconf for testing (it is created via Okapi Rainbow) and should be used for excel files
      3. Upload the input files into that project
        1. use the attached test excel file
      4. Execute the project
      5. Download the output files
      6. Delete the project

      You should be able to test using
      https://addons.mozilla.org/en-US/firefox/addon/restclient/

      Longhorn as well as the API spec you find here:
      http://okapiframework.org/wiki/index.php?title=Longhorn

      Rainbow you can download for installation here:
      https://bintray.com/okapi/Distribution/Okapi_Applications

      Result

      Okapi Longhorn could be successfully installed and tested for xliff conversion using a batch configuration created with Rainbow.

      Steps are:

      1. install tomcat8 and tomcat8-admin
      2. add to /etc/tomcat8/tomcat-users.xml (this is the path on ubuntu) the user <role rolename="manager-gui"/><user username="tomcat" password="tomcat" roles="manager-gui"/>
      3. restart tomcat (on ubuntu: systemctl restart tomcat8.service)
      4. call http://localhost:8080/manager/html in your browser (enter the credentials added above to your tomcat users
      5. install okapi longhorn with the download referenced from here:
        http://okapiframework.org/wiki/index.php?title=Longhorn#REST-Interface
        but use the newer war-file for version 0.34 (0.33 has a bug). The newer war-file can be found here:
        http://repository-opentag.forge.cloudbees.com/snapshot/net/sf/okapi/applications/okapi-application-longhorn/0.34-SNAPSHOT/okapi-application-longhorn-0.34-20170708.052233-61.war
        (look if there is even a newer one, when developing.)
      6. create a bconf-file with rainbow
        1. Install rainbow from here: https://bintray.com/okapi/Distribution/Okapi_Applications
        2. Create a configuration for the xliff conversion by
          1. Add an input file to rainbow
          2. Select the correct filter for it (right click on the file and select "edit properties". Create a new alternated filter configuration, if necessary)
          3. Create a pipeline for the xliff conversion by selecting Utilities -> Edit/Execute Pipeline. Add the following steps to the xliff pipeline:
            1. Raw Document to Filter Event
            2. Segmentation
            3. Levaraging
            4. Rainbow Translation Kit Creation
          4. Select tools->Export Batch Configuration to save the bconf-file
      7. Open the application URL listed for Longhorn in your interface at http://localhost:8080/manager/html
      8. Follow the steps of the interface to create a project with the bconf-file, you created.

      For creating srx files see here:
      https://bitbucket.org/okapiframework/srx-repository/src/dd2d974a1c1b81963be9df2e3054cb3db1079afe/srx-common/src/main/resources/?at=master

      Attachments

        1. test.xlsx
          5 kB
        2. de.srx
          100 kB
        3. Schnittstellen _ Across.html
          37 kB
        4. 2xlif.bconf
          106 kB

        Activity

          People

            marcmittag Marc Mittag [Administrator]
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: