On 07/31/2015 10:39 AM, Milan Kubík wrote:
On 07/30/2015 05:42 PM, Alexander Bokovoy wrote:
On Thu, 30 Jul 2015, Milan Kubík wrote:
Hi all,

I'm curious, is there some documentation of the IPA internals?

During my playing with plugins, I was quite amazed and frustrated
at the code, not entirely (or remotely) understanding what happens
after the call to a command starts and before I get the result.

The main problem I have is that the command takes an argument.
This argument gets automagically into LDAP, where it quite often is
an attribute with a different name, and as the output of the command
I get an object that has yet another name for the value I just sent
to the command.

Is there some (easy to understand) guide how this works, complete with
the callback mechanism, etc?

In general, where to search for $SUBJ and who to bug when it is missing
or out of date? I know there is quite extensive tutorial to writing
in ipalib/__init__.py, but nowhere there are pre/post operation
explained nor the format of the command output described (that I know
Is there some guide that could even a newcomer use to get started?

Can you point me to some documentation or designs for the framework
if it exists?
Did you read my (outdated) guide already?

It is first link in the
http://www.freeipa.org/page/Documentation#Additional_Resources_2 section

thanks for the link. Though outdated, it covers most of what I needed.

Is there some document describing the rules used in JSON serialization?
Sometimes the api call result has interesting representation of the values.

Don't know of any. But you can always call `ipa` command with -vvv and observe the communication.

Petr Vobornik

Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to