This adds a number of functions to help work with the schema of a 389 instance. It adds wrappers to fetch all objectclasses and attributetypes, as well as query interfaces. The object class query just fetches the single object class you have requested. The attributetype query will not only retrieve the attribute type, but also the set of objectclasses that MAY and MUST contain it. This allows programmatic discovery of what objectclasses access what attributes. This is extremely useful in administration tools I have developed externally, and would like this to become a part of lib389 as it will help to enrich the tools and tests of 389ds.
attachment 0001-Add-objectclass-and-attribute-type-query-mechanisms.patch
Looks good, thanks for the contribution!
git merge ticket48238 Updating b988871..d9710f7 Fast-forward lib389/schema.py | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/schema_test.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 tests/schema_test.py
git push origin master To ssh://git.fedorahosted.org/git/389/lib389.git b988871..d9710f7 master -> master
commit d9710f7f4ac84dcda13db7ad18e21986f96e9cbc Date: Tue Aug 4 09:33:07 2015 -0400
Pushed patch to upstream repo, thanks William!
Milestone lib389 1.0 deleted
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/1569
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)
Login to comment on this ticket.