Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (31 loc) · 899 Bytes

File metadata and controls

51 lines (31 loc) · 899 Bytes

Kuhnuri Queue

REST service for a DITA-OT processor queue. The queue persists the state of the queue into a database or keeps it only in memory depending on configuration.

Buiding

Compile the code:

  1. sbt compile

Running

Running a development version:

  1. sbt run

Deploying

Build a distribution package:

  1. sbt dist

Queue

The queue contains the following fields for an individual job:

  • unique UUID
  • DITA-OT transtype
  • creation timestamp for when the job was added to the queue
  • input file URI
  • output directory URI
  • status: queue, process, done, or error
  • internal unique ID

Process logic

Queue works as FIFO queue.

Running in Docker

The following volumes are used:

  • /var/log/app: Logs directory
  • /tmp/app: Temporary file directory
  • /var/lib/app: State file directory

Related projects