You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
correct mistakes in documentation
Added force flag to POST API for draft/release actions
Force flag allows warnings encountered during a release action to be bypassed.
Resolves#113
Added the format_exceptions() functions to pds_doi_service.api.util
Function reformats a provided list of Exception instances into a JSON-friendly representation.
Refactored the existing API endpoints to utilize the new function for returning Exceptions/Warnings.
Resolves#106
Fixed typo in definition of pds_doi_service.core.input.exceptions.SiteURLNotExistException
Added force flag to release POST endpoint in swagger.yaml
Modified pds_doi_service.core.outputs.osti_web_parser.response_get_parse_osti_xml() to return any errors parsed from the provided XML
Errors are now returned alongside any parsed DOI objects.
All existing usages of this function have been modified to ignore the new return value for now.
Updated swagger.yaml for release endpoint to expect an LID instead of a DOI ID
Added some new expection types for use with the API release endpoint
Added implementation for DOI service API release POST endpoint
Resolves#79
Reworked existing unit tests to utilize unittest.mock.patch() to stub out calls to core actions
Added unit tests for the release endpoint
Updated swagger.yaml definition to utilize lidvid for release POST requests, rather than lid
The lid and vid fields in the DoiRecord and DoiSummary classes have also been combined into a single lidvid field.
References to separate lid and vid in dois_controller.py have been combined to reference lidvid where necessary.
No description provided.
The text was updated successfully, but these errors were encountered: