geopython / pywps-flask

Demo service for PyWPS 4 with Flask
MIT License
21 stars 31 forks source link

Upstream fixes #60

Open idanmiara opened 3 years ago

idanmiara commented 3 years ago

…/init.py; processes, process_descriptor moved to processes/init.py; the flask app was moved to app.py

app.wsgi added for using via mod_wsgi app_main_page.py - /sys_path, /test added; flask_response function added processes/buffer.py - make out_filename unique using tempfile to support concurrency processes/jsonprocess.py, sayhello.py, sleep.py - the output is named 'output' in all requests now sleep.py - added delay parameter, some more outputs and set defaults pywps.cfg moved to config/; added allowedinputpaths=./static/; outputs should be relative to server_url (I can't find any reference for using this value anyway) static/requests/execute_buffer_post.xml renamed to static/requests/buffer.xml point.gml, railroads.gml moved to /static/data/shp buffer.py - added filename as output sayhello.py - added default name server url and port are now read correctly from pywps.cfg and not hardcoded in various locations set_root handles setting the root path before loading any files with relative paths

Overview

Refactoring, bugfixes and improvements

Related Issue / Discussion

Additional Information

Contribution Agreement

(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)