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
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