serenc
8144061196
CP-28926: Fixed test issues caused by changes in CP-28926 branch
...
Signed-off-by: serenc <seren.corbett@citrix.com>
2018-08-07 11:40:29 +01:00
Konstantina Chremmou
12fe9e9620
Store the domain and username rather than the whole AdPasswordPrompt.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Konstantina Chremmou
02eaac832a
CA-294365: Replaced all references to pool or master except the necessary
...
with references to the connection; pool or master can be resolved from the
latter. This among others prevents the AD page from crashing when the master
and the pool change after master's entering maintenance mode.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-08-01 08:27:04 +01:00
Mihaela Stoica
f0952dbc88
Fix patching wizard tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-07-03 11:09:14 +01:00
Mihaela Stoica
f11d7933bb
CP-28279: Fix the RPU wizard tests
...
- If the prechecks fail, try to resolve the problems
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-27 00:09:16 +01:00
Konstantina Chremmou
8a6c661f30
Fixed broken test. Small logging and window title improvements.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-26 22:15:11 +01:00
Mihaela Stoica
2023f93199
CP-28279:When installing the updates in the RPU wizard, we need to get the minimal patches for the first upgraded host (usualy the master), not for the whole pool, because the pool is of mixed versions at this stage.
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Konstantina Chremmou
73fd7df880
Use existing extension method to retrieve the host's running VMs. Removed field
...
Dialogs needed only by test code; use existing wrappers of Windows APIs instead.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
a99ae50f57
CP-28279: Change the upgrade page of the RPU wizard to inherit from the class AutomatedUpdatesBasePage
...
- Methods have been added to the base class to deal with the manual upgrade mode
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-25 11:31:18 +01:00
Mihaela Stoica
93a154e04f
CP-28282: Unit tests fix + improved message
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-06-15 16:05:37 +01:00
Mihaela Stoica
15edb13997
Merge pull request #2089 from kc284/REQ-672
...
First batch of changes for CP-28281
2018-06-08 11:32:26 +01:00
Konstantina Chremmou
1b4a862fd0
Further corrections to the load/leave page workflow and object selection ensuring correct enablement of the Next button.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-07 12:27:57 +01:00
Konstantina Chremmou
723510b853
Removed class Updates.UpgradeSequence.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-06-05 11:50:34 +01:00
Mihaela Stoica
296739cfa4
CP-27751: Include new RPU003 and RPU004 plugins for CA-287020 ( #2049 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-23 15:39:34 +01:00
Mihaela Stoica
e85954fb75
CP-27568: Update the RPU hotfix to version 5
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-05 11:01:04 +01:00
Mihaela Stoica
cab6a051b8
Merge branch 'REQ-477' into master
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenModel/XenAPI/PCI.cs
# XenModel/XenModel.csproj
2018-04-04 09:59:29 +01:00
Mihaela Stoica
d4c5a86698
Fix the SR wizard tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-04 08:03:28 +01:00
Konstantina Chremmou
7655011158
Compliance with C# conventions: normally interface names start with an I.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 13:00:27 +01:00
Konstantina Chremmou
4452318d1d
Moved the classes FibreChannelDevice and FibreChannelProbeParsing to XenModel.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-04-03 11:24:40 +01:00
Mihaela Stoica
6d5e8116c4
CP-17099: Fix the usage of IscsiChoiceDialog in the tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2018-04-03 11:24:40 +01:00
Joey
48782eac44
CA-286458: Fix latestcr XC requirement when apply CR update ( #2010 )
...
* CA-286458: Fix latestcr XC requirement when apply CR update
Using minimum_xc_version attribute in xenserver version to
determine which xencenter version is required.
* CA-286458: change MinimumXcVersion type to Version
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2018-03-29 11:13:13 +01:00
Mihaela Stoica
ff05fb698c
Merge remote-tracking branch 'upstream/master' into REQ-477
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
# Conflicts:
# XenModel/XenAPI/Auth.cs
# XenModel/XenAPI/Blob.cs
# XenModel/XenAPI/Bond.cs
# XenModel/XenAPI/Console.cs
# XenModel/XenAPI/Converters.cs
# XenModel/XenAPI/Crashdump.cs
# XenModel/XenAPI/DR_task.cs
# XenModel/XenAPI/Event.cs
# XenModel/XenAPI/Feature.cs
# XenModel/XenAPI/GPU_group.cs
# XenModel/XenAPI/Host.cs
# XenModel/XenAPI/Host_cpu.cs
# XenModel/XenAPI/Host_crashdump.cs
# XenModel/XenAPI/Host_metrics.cs
# XenModel/XenAPI/Host_patch.cs
# XenModel/XenAPI/JsonRpcClient.cs
# XenModel/XenAPI/LVHD.cs
# XenModel/XenAPI/Maps.cs
# XenModel/XenAPI/Message.cs
# XenModel/XenAPI/Network.cs
# XenModel/XenAPI/PBD.cs
# XenModel/XenAPI/PCI.cs
# XenModel/XenAPI/PGPU.cs
# XenModel/XenAPI/PIF.cs
# XenModel/XenAPI/PIF_metrics.cs
# XenModel/XenAPI/PUSB.cs
# XenModel/XenAPI/PVS_cache_storage.cs
# XenModel/XenAPI/PVS_proxy.cs
# XenModel/XenAPI/PVS_server.cs
# XenModel/XenAPI/PVS_site.cs
# XenModel/XenAPI/Pool.cs
# XenModel/XenAPI/Pool_patch.cs
# XenModel/XenAPI/Pool_update.cs
# XenModel/XenAPI/Role.cs
# XenModel/XenAPI/SDN_controller.cs
# XenModel/XenAPI/SM.cs
# XenModel/XenAPI/SR.cs
# XenModel/XenAPI/Secret.cs
# XenModel/XenAPI/Session.cs
# XenModel/XenAPI/Subject.cs
# XenModel/XenAPI/Task.cs
# XenModel/XenAPI/Tunnel.cs
# XenModel/XenAPI/USB_group.cs
# XenModel/XenAPI/User.cs
# XenModel/XenAPI/VBD.cs
# XenModel/XenAPI/VBD_metrics.cs
# XenModel/XenAPI/VDI.cs
# XenModel/XenAPI/VGPU.cs
# XenModel/XenAPI/VGPU_type.cs
# XenModel/XenAPI/VIF.cs
# XenModel/XenAPI/VIF_metrics.cs
# XenModel/XenAPI/VLAN.cs
# XenModel/XenAPI/VM.cs
# XenModel/XenAPI/VMPP.cs
# XenModel/XenAPI/VMSS.cs
# XenModel/XenAPI/VM_appliance.cs
# XenModel/XenAPI/VM_guest_metrics.cs
# XenModel/XenAPI/VM_metrics.cs
# XenModel/XenAPI/VTPM.cs
# XenModel/XenAPI/VUSB.cs
# XenModel/XenModel.csproj
2018-02-27 17:42:18 +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
123db499f5
Merge branch 'master' into REQ-420
2018-01-25 13:38:58 +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
serenc
7790bed4ca
Merge remote-tracking branch 'upstream/REQ-477' into REQ-477
...
Signed-off-by: serenc <seren.corbett@citrix.com>
# Conflicts:
# XenAdmin/Dialogs/NetworkingPropertiesPage.cs
# XenAdmin/Help/HelpManager.resx
2017-12-05 11:16:16 +00:00
serenc
69edc172eb
CP-25563: Build now passes unit tests
...
Signed-off-by: serenc <seren.corbett@citrix.com>
2017-12-04 10:53:58 +00:00
Konstantina Chremmou
3d2e4c70cd
Lowered temporarily the API version in test database to unblock the build. Use the
...
restored Session constructor. Fixed threading issue.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-03 17:02:42 +00:00
Konstantina Chremmou
641ed8f77a
Updated unit test: AppliesTo is filled from the host's name, which in this case
...
is the name_label's default value. The default value is now taken from the API
and it is an empty string rather than null.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-12-01 12:19:41 +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
23a9c50389
Merge remote-tracking branch 'upstream/master' into REQ-420
2017-11-23 14:07:21 +00:00
Mihaela Stoica
b3a1de34ad
CA-274150: Update RPU hotfixes in XenCenter
...
- RPU004 is applicable to Falcon as well as Ely hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-11-17 16:48:40 +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
Mihaela Stoica
8fbfe4c060
Merge branch 'REQ-528' into master
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Conflicts:
XenAdmin/MainWindow.Designer.cs
2017-10-12 11:39:19 +01:00
Mihaela Stoica
20d79ad6f4
Merge remote-tracking branch 'upstream/REQ-67'
...
Conflicts:
XenModel/Messages.Designer.cs
2017-10-04 14:40:01 +01:00
Mihaela Stoica
9431752d54
CP-24708: Fix the tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-29 12:48:36 +01:00
Gabor Apati-Nagy
a8db7bfae9
Merge remote-tracking branch 'github_xenadmin/REQ-411' into master_REQ-411_merge
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Conflicts:
XenAdmin/Core/Updates.cs
XenAdmin/TabPages/ManageUpdatesPage.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
XenModel/Messages.Designer.cs
2017-09-29 11:56:46 +01:00
Mihaela Stoica
99cd1423e4
CP-24498: RPU wizard to block the selection of unlicensed hosts
...
Fixed the tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-27 11:43:55 +01:00
Mihaela Stoica
50623be97c
CP-24806: Update the RPU hotfix to version 4
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-09-22 13:55:28 +01:00
Ji Jiang
fce3a725cd
Merge 'upstream/master' into REQ-67-us
...
Conflicts:
XenAdmin/Commands/MigrateVirtualDiskCommand.cs
XenAdmin/Commands/MoveVirtualDiskCommand.cs
XenAdmin/TabPages/SrStoragePage.cs
XenModel/Messages.resx
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-22 11:02:51 +01:00
Ji Jiang
d2d0c2cd09
CP-24344: Fix REQ-67 test failure
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-18 14:07:20 +01:00
Mihaela Stoica
2e21b8ab91
Merge pull request #1760 from xenserver/REQ-420
...
Updated tests to reflect conversion of xenobject properties to methods.
2017-09-13 17:23:12 +01: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
Konstantina Chremmou
32fd3914da
Updated tests to reflect conversion of xenobject properties to methods.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-13 14:46:58 +01:00
Mihaela Stoica
92b3dc8395
Merge pull request #1757 from xenserver/REQ-420
...
Merging REQ-420 into master
2017-09-13 12:35:50 +01:00
Ji Jiang
48afa741b1
CP-24344: Fix and refactor CBT implementation
...
Signed-off-by: Ji Jiang <ji.jiang@citrix.com>
2017-09-11 14:41:36 +01:00
Konstantina Chremmou
32347739d9
CA-265044: Updated test.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-11 13:40:29 +01:00
Konstantina Chremmou
514c33140b
Converted remaining extension get and set properties of the API classes to methods
...
in order to prevent them from being serialised alongside the API properties.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-05 02:15:38 +01:00
Konstantina Chremmou
ae22560ce8
Converted all extension get properties of the API classes to methods in order to
...
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-09-03 03:35:30 +01:00
Mihaela Stoica
c59a3d14c4
CP-24213: Show CUs as updates
...
CUs are available as both updates and upgrades, but they should be presented as updates where possible.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-08-25 10:56:04 +01:00
Mihaela Stoica
86d2acee7f
Merge branch 'master' into REQ-411
...
Conflicts:
CFUValidator/CFUValidator.cs
CFUValidator/OutputDecorators/XenCenterUpdateDecorator.cs
CFUValidator/OutputDecorators/XenServerUpdateDecorator.cs
XenAdmin/TabPages/ManageUpdatesPage.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
XenModel/Actions/Updates/XenCenterVersion.cs
XenModel/Actions/Updates/XenServerVersion.cs
XenModel/Messages.Designer.cs
XenModel/Messages.resx
2017-08-23 16:32:39 +01:00
Stephen Turner
89f51e90a1
CA-258782 Remove thin provisioning code ( #1728 )
...
* CA-258782 Remove thin provisioning code
* Revert file that shouldn't have been touched
* Remove line that was only present for debugging
2017-08-22 16:40:08 +01:00
Gabor Apati-Nagy
48134dfd14
Merge pull request #1723 from xenserver/REQ-473
...
Merge from REQ-473
2017-08-09 10:47:01 +01:00
Mihaela Stoica
5e2fe55771
CA-260214: Update the uuid of the RPU hotfix ( #1704 )
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-20 12:32:03 +01:00
Mihaela Stoica
f9c574c885
CP-23101: Add tests for the metadata transfer functions: changes following code review
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-07 15:55:25 +01:00
Mihaela Stoica
253bd465e9
CP-23101: Add tests for the metadata transfer functions
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-04 11:58:53 +01:00
Mihaela Stoica
713f84cf54
CP-22472: Add new XenCenter metadata file to the server status report: changes following code review
...
- Added more items to the metadata; the content is now slightly different between the SSR produced in XenCenter and the one from the HealthCheck;
- Encode the metadata string before sending it to the Health Check;
- Always suppress history for the action that sends the proxy settings;
- Renamed some of the new classes;
- Also refactored the actions that send data to the HealthCheck service.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Mihaela Stoica
2c37367155
CP-22472: Add new XenCenter metadata file to the server status report
...
- this adds the telemetry file to the server status report produced in XenCenter
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-07-03 17:25:04 +01:00
Gabor Apati-Nagy
597762b884
CA-255547: WLB code in XenCenter: Remove all code targetting <= 6.1 XenServers
...
Removed code that is no longer needed. Also removed an obsolete unit test.
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-06-12 16:49:37 +01:00
Konstantina Chremmou
af647fbf52
Merge pull request #1608 from MihaelaStoica/removeVMPP
...
Remove vmpp
2017-05-31 08:43:12 +01:00
Mihaela Stoica
209014dd2c
Fix the HealthCheck tests - RequestUploadTaskTests
...
- Now that the credential receiver ignores empty credentials, this test needed to be updated to not send an empty password
- Moved initializing code in TestFixtureSetUp (and similarly tear-down code in TestFixtureTearDown) for both RequestUploadTaskTests and CredentialTests classes
- Also removed unnecessary calls to CreateNewConnection and LoadCache
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-30 13:28:09 +01:00
Mihaela Stoica
f9b7f71b18
Fix the HealthCheck tests - cont.
...
- restore the "empty credential" test and update HealthCheck to ignore null or empty username and password
- also update XenCenter so it doesn't send null or empty username and password
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-26 16:54:38 +01:00
Mihaela Stoica
71600b20de
CA-242134: Rename some of the classes and files, following the removal of the VMPP support
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-25 16:29:27 +01:00
Mihaela Stoica
f752f05a1d
CA-242134: Remove the VMPP code
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-25 15:37:05 +01:00
Mihaela Stoica
aecf992938
Fix the HealthCheck tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-25 14:47:42 +01:00
Konstantina Chremmou
1a94ab1c5f
CA-254412: Moved the XenObjectDownloader out of the XenAPI folder as it is
...
XenCenter specific and it is not retrieved from the SDK any more. Renamed
EventNextBlockedException to EventFromBlockedException since event.next() is now removed.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-05-24 09:23:47 +01:00
Mihaela Stoica
52ba688920
CA-242134: Change the API version to 2.0 in our test databases
...
This is required following the change to refuse connection to pre-Clearwater hosts
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:55:36 +01:00
Mihaela Stoica
549cdf6522
CA-242134: Fix some tests after the removal of ClearwaterOrGreater usages
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 17:53:17 +01:00
Mihaela Stoica
a31c31eb07
CA-242134: Remove licensing code targeting pre-Clearwater hosts
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-08 13:40:48 +01:00
Mihaela Stoica
68aa91bcaa
CA-242134: Remove code targeting pre-Clearwater hosts and unnecessary ClearwaterOrGreater checks
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 15:35:25 +01:00
Mihaela Stoica
78ad827cc4
CA-242134: Remove TampaOrGreater, its usages and unreachable code
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 14:31:43 +01:00
Mihaela Stoica
d9f6016933
CP-242134: Remove pre-Clearwater hotfixes
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-05-05 10:45:10 +01:00
Mihaela Stoica
8a4a2ab716
CP-21904: Update RPU hotfixes in XenCenter
...
- Added RPU004 for Ely and updated the code to upload and apply the iso format hotfix
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-04-20 10:36:27 +01:00
Mihaela Stoica
aaa3ff3f03
CP-21176: Fix the XenCenterUpdateAlertTests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-21 19:51:19 +00:00
Mihaela Stoica
5fa90e6fb7
CP-21178: : Fix the unit tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-21 19:45:43 +00:00
Gabor Apati-Nagy
04455b561b
CP-21172: Support alerts for LTSR and CR XS versions at the same time
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2017-03-14 16:38:10 +00:00
Mihaela Stoica
802a90847a
CP-21173: Show two latest XenCenter versions
...
- Add "latestcr" field to the XenCenterVersion class
- Change the Updates class to cope with multiple latest XenCenter versions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-03-14 15:50:49 +00:00
Mihaela Stoica
7a04e5186e
Merge remote-tracking branch 'upstream/CAR-2214' into master
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Conflicts:
Jenkinsfile
XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs
XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2017-02-28 10:30:02 +00:00
Gabor Apati-Nagy
dbebd7de74
Merge pull request #1435 from kc284/master
...
Collect all 3rd party components in one place.
2017-02-14 12:34:44 +00:00
Konstantina Chremmou
a04b039870
Collected all third party libraries in one place so it's easier for developers to setup their system.
...
Added a help script to that purpose.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-02-09 20:27:03 +00:00
Sharath Babu
ee4b2818f6
Merge remote-tracking branch 'xenserver/CAR-2205' into xenserver/VMSS
...
Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-01-25 13:01:54 +05:30
Konstantina Chremmou
489d8684e4
Merge remote-tracking branch 'upstream/master' into CAR-2214
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
# Conflicts:
# Branding/branding.sh
# mk/archive-unsigned.sh
# mk/build.sh
# mk/bumpBuildNumber.sh
# mk/copy-build-output.sh
# mk/declarations.sh
# mk/tests-checks-cover.sh
# mk/tests-checks.sh
2017-01-24 14:46:57 +00:00
Konstantina Chremmou
a59e4f4ad3
Merge pull request #1382 from GaborApatiNagy/master_CA-176169
...
CA-176169: Copyright statement checking
2017-01-19 15:14:25 +00:00
Frederico Mazzone
76fd266913
Merge branch 'master' into CAR-2214
...
Conflicts:
XenAdmin/Properties/Settings.Designer.cs
XenAdmin/Properties/Settings.settings
XenAdmin/app.config
XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs
Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-01-19 14:16:51 +00:00
Mihaela Stoica
2ae2bdfdd8
CA-182453: XenCenter does not show an active XenMotion in another session
...
Added "VM.pool_migrate" to the list of tasks suitable for meddling actions.
Removed the usage of MeddlingActionTitle other_config key, because it wasn't working as intended for two reasons:
- If XenCenter starts an action that does multiple async api calls, so multiple tasks, the action's title is assigned to all tasks as MeddlingActionTitles, so the second XenCenter instance would create multiple meddling actions with the same title.
- When a second XenCenter instance tries to see if a task is suitable for a meddling action, the MeddlingActionTitle is not yet present in the task's other_config, so the task is ignored in most of the cases.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-18 14:25:55 +00:00
Gabor Apati-Nagy
7c0bc50b4a
CA-176169: Changed copyright statements to include the comma in Citrix Systems,
...
Inc.
Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Mihaela Stoica
b3f6069993
CP-20245: Wording changes for change of feature name to PVS-Accelerator
...
- fix the tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-04 17:24:52 +00:00
Frederico Mazzone
f964fa88c6
Merge branch 'master' into CAR-2214
...
Conflicts:
XenAdmin/Core/Registry.cs
XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2016-12-23 14:10:43 +00:00
Konstantina Chremmou
cbdf7d3742
Merge pull request #1334 from MihaelaStoica/CA-216752
...
CA-216752: Not all wizards progress through to the next page by press…
2016-12-22 09:14:29 +00:00
Gabor Apati-Nagy
b0ca08ae6d
CP-20065: Change "Automatic Update" to "Automated Updates"
...
made naming more consistent
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-10 14:44:15 +00:00
Mihaela Stoica
508f638b3a
CA-216752: Not all wizards progress through to the next page by pressing the Enter key
...
- Added a new method in XenTabPage which the derived classes can implement to select a default control after the page is loaded.
- Added a new wizard test that runs through the wizard by pressing the Enter key and checks if it has landed on the right page.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-08 14:52:21 +00:00
Mihaela Stoica
c395a8ce14
CA-233454: Fix the action test
...
Added an extra parameter to the CreateVmFastAction constructor, which is used to specify whether to set the VM's property IsBeingCreated. In order to set this property, we need to wait for the newly created VM to appear in the cache. But we cannot do this in the action test, because the cache is not being updated. Therefore the action needs skip this step when running from the tests. The IsBeingCreated property is only used in the UI, to refresh the PVS tab after the VM is created, so the accuracy of the action test (CreateVMFastActionTest) is not affected by this change.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 12:09:03 +00:00
Mihaela Stoica
1aaa310c50
Merge pull request #1287 from kc284/master
...
CA-145890: added new Page to the options dialog where the user can co…
2016-12-01 09:39:22 +00:00
Konstantina Chremmou
68b11022a0
CA-145890: updated test.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-30 16:42:44 +00:00
Stephen Turner
ebd408a227
CA-218719: Context menu: confusing "(empty)" pool item when there are no connected pools
2016-11-11 17:04:08 +00:00
Mihaela Stoica
d76c450c41
CP-19664: Update RPU hotfixes in XenCenter
...
Added the RPU hotfix for Dundee
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-10 14:59:39 +00:00
Gabor Apati-Nagy
668979c29f
Merge remote-tracking branch 'github_xenadmin/master' into CAR-2245_temp
...
Conflicts:
XenAdmin/TabPages/GeneralTabPage.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizardModeGuidanceBuilder.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.cs
XenAdminTests/WizardTests/PatchingWizard/PatchingWizardModeGuidanceBuilderTests.cs
XenModel/Network/Cache.cs
XenModel/XenModel.csproj
2016-10-20 19:12:57 +01:00
Gabor Apati-Nagy
f4a0f3ae40
CP-19303: XenCenter: Use new livepatching codes
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:19:42 +01:00
Mihaela Stoica
045db14381
Merge pull request #1191 from mcintyre94/master_dotnetupgrade
...
[Dotnet upgrade] Upgrade XenCenter to .net 4.6
2016-10-18 16:57:18 +01:00
Mihaela Stoica
329f084a7e
Merge branch 'CAR-2184' to master
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Conflicts:
XenModel/XenAPI-Extensions/SR.cs
2016-10-18 10:18:47 +01:00
Konstantina Chremmou
5bb7e3bac5
CA-157786: Updated tests.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-18 08:53:23 +01:00
Konstantina Chremmou
cff98908b3
Merge remote-tracking branch 'upstream/CAR-2226'
2016-10-17 11:07:15 +01:00
Konstantina Chremmou
146c467c38
Fixed test issue where the MockConnectionManager was assigning the same opaque_ref
...
to all objects. Modified the migration related filter tests to reflect recent code
changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-11 10:12:12 +01:00
Gabor Apati-Nagy
6296277317
Merge pull request #1188 from kc284/vm_migration
...
CA-220218, CA-205799, CA-205791 plus one or two other issues and refactoring
2016-10-07 16:18:49 +01:00
Konstantina Chremmou
7793e19462
Updated tests to reflect changes in the VDI migration logic.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-06 15:49:36 +01:00
Konstantina Chremmou
b78f823b17
CA-220218: For halted VMs moving intra-pool, XenCenter does not need to assert migration
...
is possible, because what it actually does is move. When asserting migration use
an SR other than the VDI's current SR for the check to ensure that both source and
target SRs are checked to see whether they support migration. Also, use the VM's
Home() instead of resident_on to ensure the current server cannot be selected as
target server. Some refactoring.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-03 10:30:40 +01:00
Konstantina Chremmou
61a2c12c45
CA-205799: Fixed issue where the user was allowed to select the VM's home server
...
as move (halted) or migrate (suspended) destination; this was caused by using the
VM's resident_on instead of Home() host. Also, changed the disabled reason to be
a bit more generic and cover cases other than migration.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-09-30 13:45:59 +01:00
Callum McIntyre
1b1c7ae581
[Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS.
...
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-09-29 10:50:24 +01:00
Konstantina Chremmou
eb3fbe2ac8
Corrections and refactoring on VDI move/migrate:
...
- Allow move of multiple VDIs
- CA-187659: show better messages when batching move/migration of multiple VDIs.
- Show different tooltips for single vs. multiple VDI move/migration/deletion.
- Refactored the MoveDiskDdialog. Removed the inherited class VDIMigrateDialog and
the batching manager as it was not very different from its parent, it was registering
the events twice, and was batching migration of even single VDIs.
- Tidied up the Move- and MigrateVirtualDisk commands so they're easier to compare.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-09-28 09:50:43 +01:00
Mihaela Stoica
695934d907
CP-16922: Update the menu items and fix the tests
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-26 17:45:28 +01:00
Mihaela Stoica
f2b1443064
Merge branch 'master' into CAR-2184
...
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
Conflicts:
XenModel/Messages.Designer.cs
XenModel/Messages.resx
2016-09-26 13:26:31 +01:00
Callum McIntyre
e28bcc76c9
CP-18417 review changes: Fix the broken test that uses the guidance builder method, and update the messages to be more consistent.
2016-09-16 13:36:03 +01:00
Gabor Apati-Nagy
7d4524196b
CA-220040: Fix for unit tests
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-09-05 13:32:33 +01:00
Gabor Apati-Nagy
7680d3160f
CP-18014: Fixed PatchingWizardModeGuidanceBuilderTests
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-26 18:15:14 +01:00
Gabor Apati-Nagy
0174974c93
Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-18014
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Conflicts:
XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
XenModel/Messages.Designer.cs
XenModel/Messages.ja.resx
XenModel/Messages.resx
XenModel/Messages.zh-CN.resx
2016-08-26 15:22:03 +01:00
Gabor Apati-Nagy
7ee2e605ee
CP-18012: Use extended precheck information in Update Wizard
...
This commit implements the check for LiveUpdate capability of a patch. If
the patch is completely live-updatable, XenCenter will not restart the
host (but will do further checks once it has finished installing the
update - separate ticket)
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-23 18:31:23 +01:00
Konstantina Chremmou
e561f04fb9
Revert "Ignore temporarily this test on branch REQ-156 (broke on trunk and is not relevant for this feature)."
...
This reverts commit 26009a79f0
.
2016-08-19 17:52:16 +01:00
Konstantina Chremmou
26009a79f0
Ignore temporarily this test on branch REQ-156 (broke on trunk and is not relevant for this feature).
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-19 12:56:15 +01:00
Gabor Apati-Nagy
53619c775d
Merge remote-tracking branch 'github_xenadmin/master' into REQ-156_github_master
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
Conflicts:
XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.cs
XenModel/Actions/ParallelAction.cs
XenModel/FriendlyNames.resx
XenModel/Messages.Designer.cs
XenModel/Messages.resx
2016-08-18 12:22:40 +01:00
Gabor Apati-Nagy
2d02f806fd
Update BatchUpdatesTests.cs
...
CA-217862: Fixed unit test, removed unneeded Assert
2016-08-11 14:40:48 +01:00
Gabor Apati-Nagy
0ae3f6e2c4
CA-217862: Unit test fix
...
to reflect that NULL is expected in this case
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-10 14:01:36 +01:00
Mihaela Stoica
72be4e1141
CP-16935: Configure Control domain memory for a host
...
- Added Control Domain memory entry in the host memory control on Memory tab.
- Control domain memory is editable for Ely and greater hosts.
- Can be changed from a dialog that requires host to be in maintenance mode and triggers a host reboot after the memory is changed.
- This dialog is available from Server main menu and from the host memory tab.
- Also removed unused unit controls on host and VM memory bars.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-08-09 14:50:04 +01:00
Mihaela Stoica
529e921e24
Merge pull request #1078 from kc284/CA-147657
...
CA-147657 plus some refactoring
2016-08-08 13:47:59 +01:00
Konstantina Chremmou
d32b7a967b
Added overload for the SelectedItemCollection constructor taking one item - it seems to be needed as often as the other constructors.
...
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-07-25 01:00:44 +01:00
Konstantina Chremmou
b9b00ca4cd
CA-149814: Added short description to fill in the redundant space on the top of the
...
FolderBrowser dialogs. Fixed text which caused label to look unaligned. Prevent
crash when attempting to launch the DownloadAppliance dialog with "http://" as URI.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-07-22 08:31:58 +01:00
Gabor Apati-Nagy
994f5b4811
Merge remote-tracking branch 'github_xenadmin/master' into master_batch_new2
2016-06-29 16:52:13 +01:00
Gabor Apati-Nagy
54257ebaea
CP-17282: Unit tests to validate the Update Sequence logic
...
Added tests to csproj
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 14:01:19 +01:00
Gabor Apati-Nagy
eb5b01bc83
CP-17282: Unit tests to validate the Update Sequence logic
...
More tests following the code review
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 13:45:36 +01:00
Gabor Apati-Nagy
9337663adb
CP-17282: Unit tests to validate the Update Sequence logic
...
Unit tests to test GetUpdateSequence
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 12:49:53 +01:00
Konstantina Chremmou
877081d3e8
Merge pull request #1031 from Frezzle/proxy-auth
...
CP-17231: Implement proxy authentication setting in XenCenter
2016-06-27 11:38:09 +01:00
Gabor Apati-Nagy
5494c19da4
CP-17282: Unit tests to validate the Update Sequence logic
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-24 10:11:59 +01:00
Gabor Apati-Nagy
1ef1a6615a
CP-17282: Unit tests to validate the Update Sequence logic
...
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-23 15:33:18 +01:00
Frederico Mazzone
46c15efe57
[CP-17231] Implement proxy authentication setting in XenCenter
...
Added 2 textboxes for proxy username and password; encrypted when saved and decrypted when loaded.
Added 2 checkboxes; one for bypassing proxy for xenserver connections, one for providing proxy credentials.
Removed checkbox for bypassing proxy for local addresses.
Controls are no longer enabled/disabled when the related proxy option is selected/deselected.
Making changes to a control (e.g. username, bypass checkbox, etc) selects the 'Use this proxy server' option automatically.
Removed "Bypass proxy server for local addresses" option.
Basic and Digest authentication implemented. Tested with FreeProxy (Basic+Digest), CCProxy (Basic) and AnalogX Proxy (no authentication); each were tested with correct credentials, incorrect credentials and missing credentials; all gave expected results.
Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-20 17:15:00 +01:00
Sharath Babu
2eec0a130c
Updating constructor name for NewPolicyWizardTest class
2016-06-14 16:31:11 +00:00
Sharath Babu
93e3c05216
Incoporating review comments by Mihaela.
...
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-06-14 15:22:15 +00:00
Sharath Babu
2ad62fd48e
CP-17752: make unit tests use a generic class of policy wizard and
...
added support for New Policy Wizard help document.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-06-14 13:20:04 +00:00
Mihaela Stoica
fcee4d8876
CA-77990: Report required actions for all VMs at once in the hotfix wizard / RPUW ( #951 )
...
* CA-77990: Report required actions for all VMs at once in the hotfix wizard / RPUW
* CA-77990: Resolve precheck problems in parallel in the Patching wizard
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
* CA-77990: Resolve precheck problems in parallel in the Patching wizard
Changes following code review: Made the ParallelAction work across connections and removed CrossConnectionParallelAction
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
* CA-77990: Modified ParallelAction to create queue on RunSubActions only, with the correct queue size
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-07 17:40:59 +01:00
Gabor Apati-Nagy
235ebe9b33
Merge branch 'master' of https://github.com/xenserver/xenadmin into master_batchupdate_new
2016-05-05 13:59:28 +01:00
Mihaela Stoica
8f63854b96
CA-206761: Health Check shows "No issues found" when the report analysis is not yet available
...
Changes following code review
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-11 15:57:32 +01:00
Mihaela Stoica
7e832494c1
CA-206761: Health Check shows "No issues found" when the report analysis is not yet available
...
- Try to get the analysis progress from cis (as an integer value representing percentage 0 - 100). If this function returns a valid progress less than 100, then we don't try to get the report analysis and continue to display "Analysis not yet available"
- If the progress is 100 then we get the analysis result and display it
- If the progress cannot be obtained, then we try to get the analysis result; If an empty result is obtained within 10 minutes from the upload completion, then we assume that the analysis is still in progress and continue to display "Analysis not yet available"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-08 14:26:52 +01:00
Gabor Apati-Nagy
25e83b72bf
CP-15712: Add Automatic mode (internal parameter)
...
Removed Contained
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-03-16 13:41:10 +00:00
Gabor Apati-Nagy
578f0c4ca3
CA-202068: License Manager wizard showing "Activate Free XenServer" button even no host selected for editing license
...
Unit tests
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-03-08 17:30:26 +00:00
Mihaela Stoica
70187718da
CP-15699: Re-enable the ExpectedResults test
...
Also, changed the build script to skip the tests execution if a variable is defined (SKIP_TESTS)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-25 11:26:34 +00:00
Koushik Chakravarty
6889e15872
CAR-2146: Isolated type specific checks in VMGroup helper class
...
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
cf5040e9a9
CAR-2146: SDK Integration for VMSS and Testing
...
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Gabor Apati-Nagy
8a0a149f14
CP-16097: Fix unit test
2016-02-18 10:44:17 +00:00
Gabor Apati-Nagy
6f2fdb2ac2
CP-16097: Hide Thin Provosioning in XenCenter
...
Unit tests
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-17 14:02:25 +00:00