BaseProcessor without configuration parameter 'connection'
Overview
BaseProcessor works also without configuration parameter connection.
Methods add_job() and update_job() are now called subject to the condition the configuration parameter connection is provided.
Additional minor changes:
-) in BaseProcessor: improved the error description returned in case of errors during the processing.
-) in API: improved returned message if an error is found during the parsing of the json input string
-) in echoProcessor: amended returned message in case of wrong input parameter
``
Related Issue / Discussion
Solve #1440
Contributions and Licensing
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)
- [X] I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution.
- [X] I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines
The test failed because of the modification of Exception handling in pygeoapi/process/manager/base.py from (line 293):
outputs = {
'code': code,
'description': 'Error updating job'
}
to (line 296):
outputs = {
'code': code,
'description': str(err)
}
somehow implementing the note to the Exception: TODO assess correct exception type and description to help users.
I can change back the above line and resubmit the PR, but I would rather suggest to modify the test. Unfortunately I have no experience with testunits, and I cannot make any suggestion/proposal.
This Pull Request has been inactive for 90 days. As per RFC4, in order to manage maintenance burden, it will be automatically closed in 7 days.