Jan Cholasta
5b39bc1003
plugable: Remove unused call method of Plugin
...
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
2b12bca660
plugable: Specify plugin base classes and modules using API properties
...
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
4b277d0477
plugable: Change is_production_mode to method of API
...
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
1a21fd971c
plugable: Remove SetProxy, DictProxy and MagicDict
...
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
e39fe4ed31
plugable: Pass API to plugins on initialization rather than using set_api
...
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
2d1515323a
plugable: Load plugins only from modules imported by API
...
Previously all plugin modules imported from anywhere were added to the API.
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
f87ba5ee08
plugable: Move plugin base class and override logic to API
...
Each API object now maintains its own view of registered plugins. This change
removes the need to register plugin base classes.
This reverts commit 2db741e847 .
https://fedorahosted.org/freeipa/ticket/3090
https://fedorahosted.org/freeipa/ticket/5073
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
2015-07-01 13:05:30 +00:00
Jan Cholasta
2db741e847
ipalib: Allow multiple API instances
...
Merged the Registrar class into the Registry class. Plugins are now
registered globally instead of in ipalib.api and are instantiated per-API
instance. Different set of plugin base classes can be used in each API
instance.
https://fedorahosted.org/freeipa/ticket/3090
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-03-05 11:01:36 +01:00
Petr Viktorin
61c4ecccc1
Run pylint on tests
...
Drop support for pylint < 1.0
Enable ignoring unknown attributes on modules (both nose and pytest
use advanced techniques, support for which only made it to pylint
recently)
Fix some bugs revealed by pylint
Do minor refactoring or add pylint:disable directives where the
linter complains.
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-01-14 11:40:28 +01:00
Tomas Babej
4d2ef43f28
ipaplatform: Move all filesystem paths to ipaplatform.paths module
...
https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-06-16 19:48:20 +02:00
Petr Viktorin
c60142efda
Make an ipa-tests package
...
Rename the 'tests' directory to 'ipa-tests', and create an ipa-tests RPM
containing the test suite
Part of the work for: https://fedorahosted.org/freeipa/ticket/3654
2013-06-17 19:22:50 +02:00