Container Operations¶
cardiacmodelling/ap-nimbus-app-manager¶
Docker runs
kick_off.shwhen the image is run.
kick_off.shfirstly sets offconvert.shwatching file creation/modification in arundirectory.
If a file creation/modification event of interest takes place (as a result of an
ApPredictinvocation) the changed file is read from therundirectory (probably a simulation-specificApPredict_output/directory), processed, and written (usually in JSON format) to a simulation-specificresdirectory.
kick_off.shsecondly sets offserver.jslistening on whichever host/port (e.g.0.0.0.0:8080).
app-manager(or ratherserver.js,) receives aPOSTrequest fromclient-directto runApPredict
server.jsinvokesrun_me.sh
run_me.shstartsApPredictwhich writes output to therundirectory.
convert.shsees results appearing in therundirectory and, on events of interest, processes the content and writes it to theresdirectory.
server.jswill be awaiting polling calls fromclient-directrequesting the results data and responding with content from files in theresdirectory if/when available.