This pull request implements the following features for service deployments in contaxy:
The 'wait' query parameter is added to the deploy service endpoint. When it is set to true, the requests waits until the service is deployed (or fails after a 60 second timeout).
Add separate command and args field to the deployment class (with the same functionality they have in K8s). This makes it easier to restart services stored in the DB and gives more control over the docker container's ENTRYPOINT and CMD.
Add update endpoint for services that allows to change settings like the docker image, compute resources, parameters, etc. This will cause the underlying container to be recreated.
Use the service action list/execute endpoints to implement service start, stop and restart. These actions manipulate the underlying service container while keeping the service db entry unchanged.
This pull request implements the following features for service deployments in contaxy: