Small container to execute external student octave programs
npm install vz-dockerinoInstall it with
```
npm install vz-dockerinoUsage
`
Usage:
vz-dockerino [ -p PORT ] [ -n NUM ] [ -t SEC ]
vz-dockerino ( -h | --help )
Options:
-h, --help help for vz-dockerino
-p, --port PORT port on which to listen (default: 3000)
-n, --number NUM number of concurrent requests that can be managed
-t, --timeout SEC timeout in seconds (default: 1)
Commands:
Arguments:
`
The server exposes two endpoints at port 3000
Executes an EDX payload with the following schema:
`json``
{
code {
base, solution, validation, context, lang
}
response
}
Answers:
* 200 - OK, result payload
* 503 - Server unavailable
No schema needed; returns:
* 204 - server ready
* 503 - Server unavailable (candidate for destruction)
Add the following API endpoints:
* Tries to kill executing program
* Vittorio Zaccaria
*
- increase timeout for older machines -- May 15th 16
- log execution time -- May 15th 16
- update dockerfile -- May 10th 16
- some changes to the documentation -- May 4th 16
- add script for integration test -- May 3rd 16
- add timeout -- May 3rd 16
- add docker tls verify -- Apr 29th 16
- add makefile and tls verify to kube-up -- Apr 28th 16
- add concurrent requests setting -- Apr 26th 16
- working towards kubernetes containerization -- Apr 20th 16
- add busy indicator -- Apr 12th 16
- add run payload -- Apr 12th 16
- add request parse -- Apr 11th 16
- add sandbox creation and command execution -- Apr 8th 16
- add interactive nodemon development -- Apr 6th 16
- handle exception on the processRequest path -- Aug 29th 16
- changes to enable position independent read of docs/usage -- Jul 15th 16
- issue with html entities -- May 19th 16
- increase timout -- May 17th 16
- remove mocha timeouts -- May 15th 16
- answer format -- May 11th 16
- remove wrong nesting -- May 10th 16
- test output -- May 3rd 16
- test port -- Apr 24th 16
- add missing dep -- Apr 24th 16
- update deps -- Apr 24th 16
- missing lodash package -- Apr 24th 16
- add missing makefile -- Apr 24th 16
- end2end tests -- Apr 21st 16
- getting the wrong response -- Apr 20th 16
- change api endpoint name for the better -- Apr 12th 16
- inject deps into the app -- Apr 12th 16