[ http://jira.codehaus.org/browse/MRM-116?page=all ]
     
Maria Odea Ching closed MRM-116:
--------------------------------

    Resolution: Fixed

Created a class (DiscovererExecution) that would be executed when the 
repository webapp is accessed and no index exists yet. 
Refactored DiscovererScheduler and DiscovererJob to invoke the 
DiscovererExecution when performing discovery and indexing in the repository.

> Execute discoverer and indexing (if no index exists yet) when the repository 
> webapp is accessed. 
> -------------------------------------------------------------------------------------------------
>
>          Key: MRM-116
>          URL: http://jira.codehaus.org/browse/MRM-116
>      Project: Maven Repository Manager
>         Type: Task

>     Reporter: Maria Odea Ching
>     Assignee: Maria Odea Ching

>
> Original Estimate: 12 hours
>         Remaining: 12 hours
>
> The discoverer and indexer are only executed when the scheduler is triggered 
> on a certain time (default: everyday at 8AM). So when the repository webapp 
> is deployed and a search is performed, the index cannot be found resulting to 
> an exception being thrown since the index does not exist yet.
> To prevent this, when the repository webapp is accessed in the browser, it 
> should be checked if an index already exists. If there is no index yet, then 
> the discoverer and indexer should be executed. Otherwise, it should skip this 
> and wait for the scheduled discovery and indexing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to