-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support indexing the ISO files from the IOOS Catalog (#574)
* Catch errors when loading ISO files and improve error logging Carry through the actual exception when trying to insert records * Don't run VACUUM ANALYZE in a transaction * Ignore some shell magic files (direnv, autoenv) and pytest cache * Allow folders of ISO files in the functionaltests data folder * Sort the allowed resource types response so it can be tested reliably * Raise an appropriate exception for response on HTTP exceptions This turns ``` <ows:ExceptionText>Harvest failed: record parsing failed: local variable 'md' referenced before assignment</ows:ExceptionText> ``` into ``` <ows:ExceptionText>Harvest failed: record parsing failed: 404 Client Error: Not Found for url: http://maps.cera.govt.nz/arcgis/services/CERA/CERA_TechClasses_WGS84/MapServer/WFSServer?service=WFS&request=GetCapabilities&version=2.0.0</ows:ExceptionText> ``` * Add functional test with duplicate fileID records * Parse both bytes and str meta records. fixes #561 * Better sanitizing and testing of the identifier on export. fixes #566 Return the loades and exported records from the admin functions Export records in functional tests if an "export" directory exists I spent a good amount of time trying to integrate this into the testing suite more cleanrly (not in the _initialize_database function) but came up with no solution that didn't require a large refator of the testing code.
- Loading branch information
1 parent
d008973
commit f82fa0f
Showing
25 changed files
with
6,843 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.