f0a6154 allow 'value' output param in commands without primary key

5 files Authored by mbabinsk 7 years ago, Committed by jcholast 7 years ago,
    allow 'value' output param in commands without primary key
    
    `PrimaryKey` output param works only for API objects that have primary keys,
    otherwise it expects None (nothing is associated with this param). Since the
    validation of command output was tightened durng thin client effort, some
    commands not honoring this contract began to fail output validation.
    
    A custom output was implemented for them to restore their functionality. It
    should however be considered as a fix for broken commands and not used
    further.
    
    https://fedorahosted.org/freeipa/ticket/6037
    https://fedorahosted.org/freeipa/ticket/6061
    
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    
        
file modified
+5 -5
file modified
+2 -2
file modified
+10 -0
file modified
+2 -0