Commit Graph

11 Commits

Author SHA1 Message Date
Konstantina Chremmou
a86edc6cfd Copy some more properties of the XmlRpcProxy to the JsonRpcClient and ensure all
JsonRpcCient properties are replicated when the session is duplicated.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-07-18 14:49:37 +01:00
Konstantina Chremmou
b5567c6716 CA-286574: Corrected null check. 2018-04-12 15:48:47 +01:00
Konstantina Chremmou
a112bd73fb Removed duplicate code; correction setting the request timeout in a session constructor;
renamed method to be more descriptive.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-09 10:45:27 +01:00
Konstantina Chremmou
a8efbbfba2 CA-286574: Fixed issue where the DR metadata were not loaded from the VDI because
the action was failing to create a metadata session; the latter was due to accessing
directly properties of the xmlrpc proxy which is null since we use the jsonrpc backend.
Also fixed some more areas where the same might occur.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-09 10:45:27 +01:00
Konstantina Chremmou
8207a25fc8 Reverted to use of the Marshalling methods, as the Hashtable values can often be null.
Also fixed regression within the Masrshalling methods to account for null
values, however I did not reinstate the checks for keys, because Hashtable
returns null if the key does not exist instead of throwing an exception.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-26 15:48:29 +00:00
Konstantina Chremmou
9d2bb0b1ed CA-275566: Do not switch to the JsonRpc backend when using a simulator URL.
Restored API version 2.10 in test database. Private member Session._uuid
has been removed from the SDK.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
817ea3654e Updated API bindings including fix to regression in the Session constructors.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-03 17:02:42 +00:00
Konstantina Chremmou
058854046d Provisional correction to the version for which JsonRpc is supported.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-27 13:17:22 +00:00
Konstantina Chremmou
4c033a6b44 CP-24196: Initial implementation of switching XenCenter to use the JsonRpc backend.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 17:15:11 +01:00
Mihaela Stoica
6fc2252035 CP-10072: Update XenCenter with latest C# bindings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-21 15:18:33 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00