Commit Graph

1691 Commits

Author SHA1 Message Date
Konstantina Chremmou
63c6b817d5 CA-40854: The Session's uuid is in reality its opaque_ref. Use the opaque_ref so
it's obvious what it is. The Session's uuid will be deprecated from the API bindings.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-21 14:08:01 +00:00
Konstantina Chremmou
20099263a8 Added basic unit tests for the JsonConverters.
In theory, these should be added on the SDK side, but at the moment it is
easier to add them in XenCenter because the SDK does not have infrastructure
for NUnit tests yet.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-14 11:10:03 +00:00
Konstantina Chremmou
07e4249766 Updated bindings, including fix for CA-283613: missing JsonConverters for Map(Ref,Int) and Map(Ref,Map(String,String)).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-02-14 11:03:48 +00:00
Konstantina Chremmou
123db499f5 Merge branch 'master' into REQ-420 2018-01-25 13:38:58 +00:00
Konstantina Chremmou
4731d6fb6f Corrections as per code review.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +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
d83b91a987 Removed unnecessary XenConnection constructor which was there only to be used by the tests; used an object initialiser instead.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
c294e6514a Moved method DbProxyIsSimulatorUrl from the dump-all file Helpers.cs to DbProxy.cs where it's more relevant.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
3fd3a42f71 Removed method NewSession; it's used once and only to set the credentials to their existing values thus adding unnecessary complexity.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Konstantina Chremmou
f8e39994a8 Stop throwing JsonParse exceptions in release mode.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-24 15:58:16 +00:00
Mihaela Stoica
7e648810b8 CP-26618: Log more at INFO level when downloading an update (#1919)
* CP-26618: Log more at INFO level when downloading an update

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-19 13:34:20 +00:00
Mihaela Stoica
6cefd4d202 CA-276976: Add a new precheck in the Update Wizard
- The new "server selection" precheck is added for Inverness or greater pools and checks if all the servers in the pool are selected (if update not already applied) when applying an update that has the "enforce-homogeneity" flag set to true

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 14:34:50 +00:00
Mihaela Stoica
27979638df CA-276732: Replaced "Buy XenServer online" link
Also replaced another broken link, on GuiOldAlert

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 12:11:46 +00:00
Mihaela Stoica
01327288f7 CA-250148: Replaced XenCenter plugins link
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 12:11:46 +00:00
Mihaela Stoica
f62cc5c521 CA-279502: Added check for the server version before calling VM.get_is_default_template
This fixes the error thrown when importing templates with XenCenter 7.3 on servers earlier than 7.2

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-12 11:01:09 +00:00
Mihaela Stoica
018dfb8e79 Rename resource string which causes Messages.resx to become unsorted
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-01-11 12:45:37 +00:00
Konstantina Chremmou
43079c6e17 CP-26469: Added version 2.9 to the API bindings.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-01-10 12:57:12 +00:00
Mihaela Stoica
13a8b26fc4 Merge release/jura/master into REQ-637
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

# Conflicts:
#	XenModel/Utils/Helpers.cs
2017-12-19 13:12:39 +00:00
Mihaela Stoica
4d55a1c08b
Merge pull request #1899 from krizex/private/yangqi/CA-178651
CA-178651 FCoE NIC is not prevented from unplugging
2017-12-19 11:00:02 +00:00
Yang Qian
61b73aa9a8 CA-178651 FCoE NIC is not prevented from unplugging
Add api errors

Signed-off-by: Yang Qian <yang.qian@citrix.com>
2017-12-19 17:46:35 +08:00
Mihaela Stoica
ffa42c086b CP-26290: Add new edition
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-18 13:22:17 +00:00
Mihaela Stoica
8ab61cf12e Added JuraOrGreater function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-18 11:39:58 +00:00
Michael
035f4c234e CA-272797: Limit user to select 8 SRs at most in DR Configure dialog. (#1896)
* CA-272797: Limit user to select 8 SRs at most in DR Configure dialog.

Signed-off-by: Michael Zhao <michael.zhao@citrix.com>
2017-12-18 09:55:45 +00:00
Konstantina Chremmou
4ce1388077 Updated bindings with new API version 2.10.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-11 13:10:03 +00:00
Jisheng Xing
449dfe7f56 CA-272130: modify truncated linklabel and text on the memory settings wizard 2017-12-07 17:28:03 +08:00
Michael
1d0a2b76a0 CA-272769: Enable user to cancel URL testing in rolling upgrade wizard. (#1882)
* CA-272769: Enable user to cancel URL testing in rolling upgrade wizard.

* CA-272769: Sort messages resource file.
2017-12-06 12:06:36 +00:00
Mihaela Stoica
a2d9993d08 Added KolkataOrGreater function
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-12-04 13:06:13 +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
1c579565ac Create the settings object only in DEBUG mode. 2017-11-30 15:34:36 +00:00
Konstantina Chremmou
1ec3ba6ff9 Removed association of japanese resource files with the (Public)ResxFileCodeGenerator custom tool.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
fb8434819d Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
7f1ee0b30e Namespace tidy 2/several: replaced XenAdmin with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
566c6f0219 Namespace tidy 1/several: replaced Citrix.XenCenter with XenCenterLib.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:56:32 +00:00
Konstantina Chremmou
a623e28a06 CP-24558: Created a method in XenObject converting it to JObject, so that this method can be unit tested in isolation.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-30 13:49:15 +00:00
Mihaela Stoica
ba55a778b5 CA-250229: Fix typo in dialog box when assigning a VM already part of schedule to another schedule. 2017-11-29 17:20:24 +00:00
serencorbett1
584b214ac1 CA-272131 Added messages to show status of autostart (#1857)
* CA-272131 Added messages to show status of autostart

* CA-272131 Tidied Disable and Enable Autostart Messages

* CA-272131: Changed parameter

Signed-off-by: serenc <seren.corbett@citrix.com>
2017-11-29 09:51:19 +00:00
Mihaela Stoica
343311635d
Merge pull request #1872 from michael2012z/private/fengyangz/CA-272606
CA-272606: AD user can not log out when closing XenCenter.
2017-11-28 14:31:38 +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
Michael Zhao
44851325fe CA-272606: AD user can not log out when closing XenCenter. 2017-11-27 14:50:05 +08:00
Konstantina Chremmou
1b302bb095 Added converter for reference/string-set maps.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-24 16:03:12 +00:00
Konstantina Chremmou
2ff121fb55 CA-266891: fixed issue where enum properties were not serialised correctly.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-23 15:13:54 +00:00
Konstantina Chremmou
bcab8a5c6c Added initial values to the JsonRpc classes to correct errors when building in Release mode.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-23 15:13:54 +00:00
Konstantina Chremmou
25f1971b2d Renamed converter as the previous name had the wrong meaning.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-23 15:13:54 +00:00
Konstantina Chremmou
23a9c50389 Merge remote-tracking branch 'upstream/master' into REQ-420 2017-11-23 14:07:21 +00:00
Konstantina Chremmou
906619e4eb Updated API bindings with API version bumped to 2.8.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-11-22 14:33:26 +00:00
Mihaela Stoica
0c2af2074a
Merge pull request #1866 from vetrivelc/release/inverness/staging
L10N: Translation Checkins
2017-11-22 21:25:28 +08:00
Mihaela Stoica
407c59b8b9 CA-273163: Fix the error where XenCenter did not set XenServer log destination and the iSCSI IQN settings
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-22 13:18:45 +00:00
Vetrivel Chinnasamy
5f594dae8a L10N: Translation Checkins 2017-11-22 16:03:36 +05:30
Mihaela Stoica
681f77bfd9 CA-273307: Replaced the links in the Upsell dialogs
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-17 12:24:43 +00:00
Konstantina Chremmou
a170ec33e2 Merge remote-tracking branch 'upstream/master' into REQ-420
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

# Conflicts:
#	autogenerated XenModel/XenAPI/* files
2017-11-17 11:53:41 +00:00