On 04/25/2013 11:18 AM, Pavel Březina wrote:
I've been assigned ticket
https://fedorahosted.org/sssd/ticket/1713:
[RFE] Add a task to the SSSD to periodically refresh cached entries
I have recently created a ticket (#1891) to unite API for managing
periodic tasks. We already quite a periodic task (enumeration, sudo,
dyndns, #1713) when each of them implements custom API.
None of these are generic enough to be used for #1713 so I will have to
create a new one. I'm not suggesting to refactor the old code now, that
will be done when #1891 is scheduled.
But I think it is a good idea to create the generic one now instead of a
new feature-specific. It will be basically the same amount of work.
I wrote a design document:
https://fedorahosted.org/sssd/wiki/DesignDocs/PeriodicTasks
I have updated the document with following changes:
- change namespace from be_periodic_task to be_ptask
- add enum be_ptask_offline
- add be_ptask_enable
- add be_ptask_disable
- reworked "When offline" section