Re: [389-devel] lib389: cleanup __init__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/31/2013 09:58 AM, Roberto Polli wrote:
Hi @all,

I started investigating in mocking with fakeldap, and it seems an easy and
viable way of adding unittests.

A main issue is the DSAdmin.__init__ complexity.

I thought - a long time ago actually - to remove from DSAdmin all cached
references to backends, suffixes and configuration.

If we want to add a cache layer we can do it afterward. And with some cache
pattern.
Part of the complexity is due to trying to keep data across a restart - that is, if you call stop() then start(), you want start() to automatically re-establish the connection - to do that, you need to store the credentials.


Let me know + Peace,
R.

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux