This series fixes some of the issues discovered with RPC implementation in Haskell, as well as provides basic integration between RPC and query.
In addition a couple of new RPC calls and a group query are added. Agata Murawska (18): Add nodedCertFile to Path Correct top comment in Query/Server Change cluster's hypervisors type Cleanup for RPC errors Add alias for Either RpcError a Fix RPC call and result (de)serialization Config support for NodeGroup query NodeGroup query in Haskell Tests for NodeGroup query Create ResulT for monad transformations Json helper for node query Conversion from RPC error to query status Infrastructure for integration RPC to query Node query now uses live data Version RPC call Change RpcResult typeclass instance_info now returns vcpus InstanceInfo RPC call Makefile.am | 1 + htest/Test/Ganeti/Query/Filter.hs | 4 +- htest/Test/Ganeti/Query/Query.hs | 73 ++++++++++- htools/Ganeti/BasicTypes.hs | 26 ++++ htools/Ganeti/Config.hs | 21 +++ htools/Ganeti/JSON.hs | 6 + htools/Ganeti/Objects.hs | 2 +- htools/Ganeti/Path.hs | 5 + htools/Ganeti/Query/Common.hs | 10 ++ htools/Ganeti/Query/Group.hs | 89 +++++++++++++ htools/Ganeti/Query/Node.hs | 44 ++++++- htools/Ganeti/Query/Query.hs | 57 +++++++- htools/Ganeti/Query/Server.hs | 4 +- htools/Ganeti/Rpc.hs | 260 +++++++++++++++++++++++++++++-------- lib/backend.py | 2 + 15 files changed, 532 insertions(+), 72 deletions(-) create mode 100644 htools/Ganeti/Query/Group.hs -- 1.7.7.3
