New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve plugin support for lib389 based on new mapped objects #1970
Comments
Comment from firstyear (@Firstyear) at 2016-07-04 08:43:44 attachment |
Comment from firstyear (@Firstyear) at 2016-07-04 08:45:14 Relies on 48910 |
Comment from spichugi (@droideck) at 2016-07-05 03:14:19 Thanks, William! |
Comment from firstyear (@Firstyear) at 2016-07-05 06:00:54 commit 2ef056e217dc076496d081e97a0a879dff98c918 |
Comment from firstyear (@Firstyear) at 2016-07-05 12:55:58 Patch 2 with more fixes |
Comment from mreynolds (@mreynolds389) at 2016-07-05 19:25:47 ack, but we should add common/global plugin tasks to the Plugin class:
These should be pretty simple to add. |
Comment from firstyear (@Firstyear) at 2016-07-06 06:15:34 Replying to [comment:5 mreynolds389]:
This would be only on the "advanced" plugin types IE Attribute Uniqueness, rather than the generic. But won't be hard to add.
Already there as a function of deriving DSLdapObject
If we are phasing it out, let's leave it out. We are the major consumer of lib389 now, so let's use it the "right way". If we were to add support, I would want it to be to migrate pluginarg -> named config only.
|
Comment from firstyear (@Firstyear) at 2016-07-06 06:16:40 commit c6aedf9bde75e945143d098b49f0d44ee0691860 |
Comment from tbordaz (@tbordaz) at 2016-07-07 20:04:50 Hi William, Instead of 'status' method, why not calling is 'enabled' as it returns the boolean value of nsslapd-pluginenabled==on ? |
Comment from firstyear (@Firstyear) at 2016-07-08 06:55:08 I prefer to keep the function names separate in a linguistic sense. It's easy to mistype
As well, at a glace, it is hard to see a difference. So were I to change thing, it would be to something like "enabled_status", or something which is far more unique to the word. Does that make sense? |
Comment from tbordaz (@tbordaz) at 2016-07-08 13:40:08 Hi William, I understand the point. The fix looks good to me. Ack |
Comment from firstyear (@Firstyear) at 2017-02-11 23:10:03 Metadata Update from @Firstyear:
|
Comment from firstyear (@Firstyear) at 2017-04-05 05:57:07 I've implemented a lot of stub classes now, and at this point, each plugin needs individual attention to improve it. I think I can close this and we work on issues as they arise. |
Comment from firstyear (@Firstyear) at 2017-04-05 05:57:10 Metadata Update from @Firstyear:
|
Comment from mreynolds (@mreynolds389) at 2020-02-12 18:59:56 Metadata Update from @mreynolds389:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48911
Add support for managing plugins into the mapped objects. Examples are provided on how we can manage complex plugins, and have the ORM types able to effectively return them during get/list operations to the correct objects.
The text was updated successfully, but these errors were encountered: