Skip to content

Configurable process list #102

@huard

Description

@huard

Description

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 register Process subclasses
  • create a register_process decorator in the cookie-cutter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions