- Helge: fully implement
POST /cubes/<user_id>/viewer
- Norman: allow
xcube serve
to use AWS credentials - Helge: use
datastore_id
to decide whether to invokexcube sh gen
orxcube cci gen
- Norman: subtract user processing units after successful cube generation
- use production WSGI server instead of flask dev server
- add logging
- indicate job progress as ratio of total
- rename env var
RUN_LOCAL
intoXCUBE_GEN_RUN_LOCAL
- let all handlers in
service.py
format the results according to{status='ok', result=result}
or catch and then return({status='error', error=error}, status_code)
. Controllers should just returnresult
if any, otherwise raiseapi.ApiError
on error.