mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
ipaclient: implement thin client
Dynamically create plugin package for the remote server with modules and commands based on the API schema when client API is finalizes. For in-tree API instances, use ipalib.plugins directly. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
1 parent
f5fd2b8750
commit
ec841e5d7a
9 files changed
+352
-9
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
|
||||
#
|
||||
|
||||
from . import schema
|
||||
|
||||
|
||||
def get_package(api):
|
||||
if api.env.in_tree:
|
||||
from ipalib import plugins
|
||||
else:
|
||||
plugins = schema.get_package(api)
|
||||
|
||||
return plugins
|
||||
Reference in new issue
Block a user