[389-devel] Please review ticket 47590 (take #4): add/split functions around replication

thierry bordaz tbordaz at redhat.com
Tue Nov 19 14:48:32 UTC 2013


This review takes into account the recommendations of last review:

  * It creates a checkProperties function
    This function take properties from a dict. It checks and set the
    properties into the LDAP entry of the replication agreement.
    It can checks  the coherency of the properties as well as sets
    default values.
    This function translates what will be CLI properties into
    replication agreement parameters.


In addition to recommendations of previous reviews

  * Create a Agreement class in brooker
  * mv init/status/schedule/create in that new class
  * mv createDefaultReplMgr into the brooker replica class with the
    function create_repl_manager()
  * Handling of error condition with exceptions

What is not implemented in that review, that will be implemented with 
https://fedorahosted.org/389/ticket/47600:

  * Cleanup of createAgreement (use of exception). This function will
    likely be replace by agreement.create().
  * Cleanup of enableReplication (use of exception, move under
    replica.create())

https://fedorahosted.org/389/attachment/ticket/47590/0004-Ticket-47590-CI-tests-add-split-functions-around-rep.patch 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-devel/attachments/20131119/53dcee35/attachment.html>


More information about the 389-devel mailing list