DITA-OT Worker that communicates with a Queue over REST.
The Worker has a single loop where
- Worker polls Queue for work
- Queue returns a job
- Worker downloads the source
- Worker processes job
- Worker uploads the results
- Worker submits the results to Queue
If Queue has no work available, the process is
- Worker polls Queue for work
- Queue returns a no work
- Worker takes a nap
The following URI schemes are supported for source content:
- file
- jar
The following URI schemes are supported for result content:
- file
- jar
Compile the code:
sbt compile
Running a development version:
sbt run
The following volumes are used:
/var/log/app
: Logs directory/tmp/app
: Temporary file directory/var/lib/app
: State file directory
Build a distribution package:
sbt dist