e13d058 Let dogtag.py be imported if the api is not initialized

Authored and Committed by rcritten 3 years ago
    Let dogtag.py be imported if the api is not initialized
    
    This allows non-plugin components to import the RestClient
    classes.
    
    Removed code that only imported pki if in_server was True. This
    was legacy code from when the plugins were also loaded in the
    client.
    
    Left the ra_plugin stanza for now. This is part of the old
    abstraction that allowed for different CA plugins.
    
    https://pagure.io/freeipa/issue/8524
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Mohammad Rizwan <myusuf@redhat.com>
    
        
file modified
+5 -6