mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Async/incremental link validation.
Mostly working with the webapp, but the webapp needs to check for an null pointer to ensure that some result is ready. Other more minor wrinkles exist, such as capturing the number of files checked and displaying the version validated; this may be different from the latest snapshot if the validation gets behind the checkins for a while. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -195,11 +195,11 @@ public class LinkValidationAction extends ActionExecuterAbstractBase
|
||||
}
|
||||
else
|
||||
{
|
||||
// firstly call updateHrefInfo to scan the whole store for broken links
|
||||
// NOTE: currently this is NOT done incrementally
|
||||
this.linkValidationService.updateHrefInfo(webappPath, false, this.connectionTimeout,
|
||||
this.readTimeout, this.noThreads, monitor);
|
||||
|
||||
// Not calling linkValidationService.updateHrefInfo explicitly anymore
|
||||
// so tell the system we're done. Note that the monitor won't have
|
||||
// valid update counts
|
||||
monitor.setDone( true );
|
||||
|
||||
// retrieve the manifest of all the broken links and files for the webapp
|
||||
List<HrefManifestEntry> manifests = this.linkValidationService.getBrokenHrefManifestEntries(webappPath);
|
||||
|
||||
|
Reference in New Issue
Block a user