At the moment the PyWPS application is created using the wsgi.create_app function, which imports the list of PyWPS.Process instances defined in processes/__init__.py. I think it would be useful to have a way to configure active processes, for example using a yml config file, which could list the process identifiers to deploy within the Service.
Now to map the identifiers to the process classes, we could
inspect objects inside the processes/ directory, find Process subclasses and extract their identifier
modify PyWPS to registerProcess subclasses
create a register_process decorator in the cookie-cutter
Description
At the moment the PyWPS application is created using the
wsgi.create_app
function, which imports the list ofPyWPS.Process
instances defined inprocesses/__init__.py
. I think it would be useful to have a way to configure active processes, for example using a yml config file, which could list the process identifiers to deploy within theService
.Now to map the identifiers to the process classes, we could
processes/
directory, find Process subclasses and extract their identifierProcess
subclassesregister_process
decorator in the cookie-cutter