-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker extension #443
base: dev-jobqueue-old
Are you sure you want to change the base?
Docker extension #443
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just left some comments. There also pep8 issues.
@@ -172,20 +173,32 @@ def _execute_process(self, async, wps_request, wps_response): | |||
if running >= maxparallel and maxparallel != -1: | |||
raise ServerBusy('Maximum number of parallel running processes reached. Please try later.') | |||
wps_response._update_status(WPS_STATUS.ACCEPTED, u"PyWPS Request accepted", 0) | |||
wps_response = self._run_process(wps_request, wps_response) | |||
wps_response = self._run_sync(wps_request, wps_response) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it called run_sync
? docker will only be run in async mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed that with @jachym and we concluded that the docker should be run even in sync mode once the mode
parameter is set to docker
in config file.
Overview
Added new
Container.py
class for Docker extension.The extension works so far only for pywps-flask demo server. See pywps-flask PR.
Related Issue / Discussion
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)