[Fusioninventory-devel] Agent new parameter to disable get username
Gonéri Le Bouder
goneri at lebouder.net
Tue Oct 8 09:52:07 UTC 2013
Hi Guillaume,
> >No, this will be possible after the REST/JSON transition.
> It's just a matter of having the server transmit the following options when
> requesting a given task, the same way it already does for network discovery
> and network inventory.
Yes, and this current method is ugly:
- pass all the information once, at the very begining of the execution.
- the XML structure can be very large
- the XML conversion to Perl structure is complex, informations for various
tasks. Depending on the XML format, type can change (array or hash, etc).
> Given than even after the transition, the UI part will be needed on server
> side, the work could be done right now.
If we want to do so, we can continue with the current XML communication
chain but just add a REST/JSON query at the begning of the task. This to
get the Inventory task parameter.
This is more or less what we already do for ESX, Collect or Deploy.
Best regards,
--
Gonéri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20131008/5bb98209/attachment-0001.sig>
More information about the Fusioninventory-devel
mailing list