Container Operations¶
cardiacmodelling/ap-nimbus-app-manager
¶
- Docker runs
kick_off.sh
when the image is run.kick_off.sh
firstly sets offconvert.sh
watching file creation/modification in arun
directory.
- If a file creation/modification event of interest takes place (as a result of an
ApPredict
invocation) the changed file is read from therun
directory (probably a simulation-specificApPredict_output/
directory), processed, and written (usually in JSON format) to a simulation-specificres
directory.kick_off.sh
secondly sets offserver.js
listening on whichever host/port (e.g.0.0.0.0:8080
).app-manager
(or ratherserver.js
,) receives aPOST
request fromclient-direct
to runApPredict
server.js
invokesrun_me.sh
run_me.sh
startsApPredict
which writes output to therun
directory.convert.sh
sees results appearing in therun
directory and, on events of interest, processes the content and writes it to theres
directory.server.js
will be awaiting polling calls fromclient-direct
requesting the results data and responding with content from files in theres
directory if/when available.