-
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
Allow storing outputs in database #371
base: dev-jobqueue-old
Are you sure you want to change the base?
Conversation
Implement functionality for storing output data from run processes in a PostgreSQL or SQLite database
@janpisl Please check the travis build. There is an import error:
... and pep8 is failing. |
Hi, @cehbrecht , thank you for pointing this out. I have edited my code so it
passes the test.
…On Mon, Aug 13, 2018 at 3:31 PM, MacPingu ***@***.***> wrote:
@janpisl <https://github.com/janpisl> Please check the travis build.
There is an import error:
File "/home/travis/build/geopython/pywps/pywps/inout/storage/db/sqlite.py", line 11, in <module>
from . import DbStorage
ImportError: cannot import name 'DbStorage'
... and pep8 is failing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#371 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AexTMxKt0LP24khknXZezia_5kmk6ziJks5uQX_AgaJpZM4V6DwB>
.
|
@janpisl I have tested this PR with my Emu processes and I run into an exception (test with Python 3.6):
I tried this with the Emu chomsky process. But this exception happens with every process having a complex output. I have used as config: Currently you have set |
@cehbrecht thank you. i will look into it. |
@janpisl Please have also a look on the codacy check (see link above next to travis). The complains on the tests can be skipped. |
Copy vector data to a schema specified in cfg instead of public schema.
Implement functionality for storing output data from run processes in a PostgreSQL or SQLite database
Overview
This extension allows output data from run processes to be stored in a PostgreSQL or SQLite database. This extension can be enabled in the configuration (section "server", option "store_type"; when set to "db", the extension is active). Credentials for connecting to the database are found in the (new) section "db".
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)
I'd like to contribute extension Database Output Storage to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.