Link liveliness assessment tool (SoilWise-HE)
Authors/Creators
- 1. ISRIC World Soil Information
Description
Metadata is commonly linked to the resource it describes via a web link. But records may also include links to related materials. Not all of these URIs are persistent, so over time they can degrade. The link liveliness assessment component runs over the available links in metadata records and checks their status. The component currently build against the OGCAPI - Records protocol, a standardised protocol on metadata exchange in the spatial domain. In future the component may be extended to interact with other catalogue standards, such as oai-pmh. Test results are stored in a database or can be exported to a file.
The link liveliness privides the following functions:
- OGC API Catalogue Integration
- Designed to work specifically with OGC API - Records System
- Extracts and evaluates URLs from catalogue items
- Link Validation
- Evaluates the validity of links to external sources and within the repository
- Support for OGC service links
- Health Status Tracking
- Provides up-to-date status history for every assessed link
- Maintains a history of link health over time
- Flexible Evaluation
- Supports single resource evaluation on demand
- Performs periodic tests to provide availability history
- Broken link management
- Identifies and categorizes broken links based on their status code (
401 Unauthorized,404 Not Found,500 Server Error) - Flags deprecated links after consecutive failed tests and excludes them from future check
- Identifies and categorizes broken links based on their status code (
- Timeout management
- Identifies resources exceeding specified timeout thresholds
A javascript widget is further used to display the link status directly in a website.
Technology
- Python Used for the linkchecker integration, API development, and database interactions
- OWSlib for interaction with remote services
- PostgreSQL Primary database for storing and managing link information
- FastAPI Employed to create and expose REST API endpoints. Utilizes FastAPI's efficiency and auto-generated Swagger documentation
- Docker Used for containerizing the application, ensuring consistent deployment across environments
- CI/CD Automated pipeline for continuous integration and deployment, with scheduled weekly runs for link liveliness assessment
Files
soilwise-he/link-liveliness-assessment-1.1.4.zip
Files
(59.7 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:56c060accf9b23490512c4d81082ba2d
|
59.7 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/soilwise-he/link-liveliness-assessment/tree/1.1.4 (URL)
Software
- Repository URL
- https://github.com/soilwise-he/link-liveliness-assessment