spichugi / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

13dd2b6 Ticket 47635: MT/Backend/Suffix to be conform with the design

11 files Authored by tbordaz 6 years ago, Committed by William Brown 6 years ago,
    Ticket 47635: MT/Backend/Suffix to be conform with the design
    
    Bug Description:
    	This bug is to create MappingTree/Suffix classes and to move Backend from brooker.py
    	to a dedicated file.
    	Then to implement the interface of each classes as described in http://port389.org/wiki/Upstream_test_framework
    
    Fix Description:
    
    	Implements:
    
    		Mapping Tree:
    			mappingTree.py: MappingTree/list-create-delete-getProperties-setProperties-toSuffix
    			mappingTree_test.py: unit tests
    		Backend:
    			brooker.py: remove Backend from that file
    			backend.py: Backend/list-delete-create-getProperties-setProperties-toSuffix
    			make readonly local function that will be reimplemented with setProperties
    			backend_test.py
    			suppress/replace methods implemented in others classes
    			  setupBackend/getSuffixForBackend
    		Suffix:
    			suffix.py:Suffix/list-toBackend-getParent
    			suffix_test.py: unit tests
    			suppress/replace methods implemented in others classes
    			  getSuffixes/setupSuffix/getBackendsForSuffix/findParentSuffix/addSuffix
    
    			  getSuffixes/setupBackend/setupSuffix/getBackendsForSuffix/getSuffixForBackend/findParentSuffix/addSuffix
    
    https://fedorahosted.org/389/ticket/47635
    
    Reviewed by: Rich Megginson
    
    Platforms tested: F17
    
    Flag Day: no
    
    Doc impact: no
    
        
file modified
+75 -165
file modified
+2 -257
file modified
+96 -12
file modified
+222 -113