[Yanel-dev] Get all repositories within realm

Balz Schreier balz.schreier at gmail.com
Wed Jan 5 11:52:18 CET 2011


my two cents on this:
- I assume this is going to be a new resource that provides this feature?
let the repositories be configurable via resource parameters. there might be
the case where you don't want to provide the reindexing features to all
people who have access to that page.

in my project: reindexing of the data repository takes more than 4 hours and
must be done by creating a parallel index. so I would not want to expose a
"reindex button" for that repository, just for security reasons.

so, having them configurable would help to define which repos should be
reindexable via this feature at all.

Cheers
Balz

On Wed, Jan 5, 2011 at 11:46 AM, Cedric Staub <cedric.staub at wyona.com>wrote:

> I just found out that the RepositoryFactory class from Yarep has a
> function String[] getRepositoryIDs() that should help.
>
> But: The default repos (data, ac-identities, etc) are always being
> generated by a separate repository factory (why?). I don't think it's a
> good idea to change this, since it would probably break a lot of code.
>
> Here's my idea:
> In the reindexer, I just list the default repositories (statically) and
> do the listing (dynamically) only for extra repositories.
>
> What do you think?
>
> Cheers
> Cedric
> --
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2011010=
5/0b7d8b02/attachment.htm


More information about the Yanel-development mailing list