[Fusioninventory-devel] REST/JSON migration

Gonéri Le Bouder goneri at rulezlan.org
Sun Mar 6 14:39:50 UTC 2011


Hi,

During the last weeks I worked on a migration from the current OCS/XML
protocol to a more
modern REST/JSON (http://en.wikipedia.org/wiki/Representational_State_Transfer
/ http://en.wikipedia.org/wiki/JSON  ). Our goal is to simplify the
architecture and reduce the
cost of new module creation.
I believe this changes is very important. It will simplify
interoperability with existing
solution and help us to include new feature. Another problem for us is
the lack of document
of OCS protocol.
In order to keep compatibility with OCS like server we continue to use
the "legacy" protocol
for the inventory. By the way, the code just works, there is no reason
to drop it.

I started to document the changes:
http://forge.fusioninventory.org/projects/fusioninventory-agent/wiki/API-REST

Guillaume Rousse is the maintainer of the 3.0.x branch of the agent.
He already did
a lot of architecture improvement. With him, we decided to do this
migration in his new
branch. For the moment we will just include subset of the protocol in
the incoming
ESX and "Deploy" modules in the 2.1.x branch.

Of course, comment are welcome and changes are possible.

Best regards,
-- 
     Gonéri Le Bouder



More information about the Fusioninventory-devel mailing list