Opened 10 years ago

Closed 8 years ago

#609 closed enhancement (fixed)

check validity reference links

Reported by: Dieter Van Uytvanck Owned by:
Priority: major Milestone: VirtualCollectionRegistry-1.1
Component: VCRegistry Version:
Keywords: Cc:

Description

It would be nice if the VCR could check the valdity of URIs (HTTP code) on publication of a virtual collection. Maybe it should also regularly check the valdity of references afterwards (say once a week) and send a mail to the publisher when a link breaks.

For PIDs the check should probably only be done on publication of the VC.

Change History (3)

comment:1 Changed 10 years ago by Twan Goosen

A 'soft' check already occurs on publication (through the user interface) in version 1.0. The user gets a warning if one or more URIs are not PIDs.

There is no maintenance check on the validity of URIs in existing collections yet.

comment:2 Changed 8 years ago by Willem Elbers

Milestone: VirtualCollectionRegistry-1.1

comment:3 Changed 8 years ago by Willem Elbers

Resolution: fixed
Status: newclosed

Added a hard check in:

eu.clarin.cmdi.virtualcollectionregistry.service.impl.HttpResponseValidator

This check is based on being able to access the url via HTTP (expects HTTP 200). This check being is called via:

eu.clarin.cmdi.virtualcollectionregistry.service.impl.ReferenceValidator

A daily check is scheduled to check all references. Errors are logged in the log file.

Note: See TracTickets for help on using tickets.