[Freeipa-devel] [PATCH] Add a new INTERNAL plugin that exports plugin meta-data into JSON.

Pavel Zůna pzuna at redhat.com
Wed Aug 11 18:07:35 UTC 2010


On 2010-08-10 21:47, Rob Crittenden wrote:
> Pavel Zuna wrote:
>> This is required for the webUI, since we're dropping Genshi. *ehm* :)
>>
>> You can't use this command on the CLI. It takes one optional argument:
>> the name of an IPA object. If not specified, meta-data for all objects
>> are returned.
>>
>> Note: If you want to try it out on the CLI, just comment out the
>> INTERNAL = True line.
>>
>> Pavel
>
> The code looks ok but export.py doesn't seem like it matches the
> functions the plugin provides (and is rather generic in nature). Can we
> rename this json.py or something?
>
> rob

I thought that we might use the file for other plugins that export data, 
but there probably won't be any for a while.

Renamed it to internal.py as I'm sure we'll see more internal commands 
as we progress with the webUI. Patch attached.

Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pzuna-freeipa-0011-internal.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100811/ecf9fbb0/attachment.ksh>


More information about the Freeipa-devel mailing list