default authenticator that accepts all users based on example provided by Mario Camou at http://www.tecnoguru.com/blog/2014/07/07/implementing-http-basic-authentication-with-spray/
default authenticator that accepts all users based on example provided by Mario Camou at http://www.tecnoguru.com/blog/2014/07/07/implementing-http-basic-authentication-with-spray/
Routes for listing, adding, and stopping contexts GET /contexts - lists all current contexts POST /contexts/<contextName> - creates a new context DELETE /contexts/<contextName> - stops a context and all jobs running in it
Routes for listing, deletion of and storing data files GET /data - lists all currently stored files DELETE /data/<filename> - deletes given file, no-op if file does not exist POST /data/<filename-prefix> - upload a new data file, using the given prefix, a time stamp is appended to ensure uniqueness
do not call directly - only for unit testing!
do not call directly - only for unit testing!
Routes for getting health status of job server GET /healthz - return OK or error message
possibly overwritten by test
Routes for listing and uploading jars GET /jars - lists all current jars POST /jars/<appName> - upload a new jar file
Main routes for starting a job, listing existing jobs, getting job results
(Since version 1.0-M8/1.1-M8) Use Segment
instead