Darren Shepherd
edeaf98117
Cleaner and more type safe Transaction API for checked exceptions
2013-10-23 10:02:43 -07:00
Darren Shepherd
323bbccd50
Add unit tests for Transaction
2013-10-17 16:07:11 -07:00
Darren Shepherd
9cbb309d6b
Refactor missed classes
2013-10-17 16:00:11 -07:00
Darren Shepherd
711ad386d1
Random cleanup
2013-10-16 16:18:49 -07:00
Darren Shepherd
7364d55ccd
Removed unneeded method
2013-10-16 09:48:19 -07:00
Darren Shepherd
f62e28c1ec
New Transaction API
...
Introduction of a new Transaction API that is more consistent with the style
of Spring's transaction managment. The existing Transaction class was renamed
to TransactionLegacy. All of the non-DAO code in the management server has been
updated to use the new Transaction API.
2013-10-16 09:21:00 -07:00
Kishan Kavala
81f1a0b831
CLOUDSTACK-4095 : Remove region_id from Transaction. Read from db.properties whenever required
...
Conflicts:
framework/db/src/com/cloud/utils/db/GenericDaoBase.java
2013-10-16 19:28:42 +05:30
Murali Reddy
df3b099449
CLOUDSTACK-4717: associate IP does not work on shared networks with out
...
source nat service
relax the restriction that the source nat service should be avaiable in
the network inorder to associate a public ip to the network
2013-10-16 18:46:37 +05:30
Milamber
08440668eb
Regression from Commit: f766a9e58d Re-commit CLOUDSTACK-2413 - Display the Name of compute offering in dialog box Change Service Offering (was Description field before)
...
Signed-off-by: Milamber <milamber@apache.org>
2013-10-16 11:38:36 +00:00
Marcus Sorensen
3467c99e73
CLOUDSTACK-2823: This affects Ubuntu as well, since qemu version is 1.0.0
...
I don't think host kernel version has any bearing on it. Original code
was tested with CentOS 6.3 and 6.4, but it seems to succeed or fail per-host,
e.g. a fast host might work and a slow host might not. I was getting intermittent
failures with ubuntu 12.04.3 prior to this patch.
2013-10-16 00:27:22 -06:00
Alena Prokharchyk
818e6f98fd
CLOUDSTACK-4874: added resource tags to the Service offering object. Tags can be created by using createTag API command; you can list service offerings by tags when pass "resourceTag" parameter to the listServiceOfferings call
2013-10-15 17:08:55 -07:00
Min Chen
b05f19eb9e
CLOUDSTACK-4872:VM provisioned using a registered Windows Server 2012
...
template will show as other os in VCenter.
2013-10-15 13:56:13 -07:00
Hugo Trippaers
56129c30a9
Fix a situation where the systemvm-vdi would be created even if the systemvm.iso does not exist.
2013-10-15 14:04:34 +02:00
Hugo Trippaers
8cfafbe44e
Remove some stuff that is no longer used
2013-10-15 14:04:34 +02:00
Gaurav Aradhye
8350a6bd4c
CLOUDSTACK-4256 - Fixed shared network test cases
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:40:00 +05:30
Gaurav Aradhye
986ac0f124
CLOUDSTACK-4780: Fixed BVT test case TestSnapshotRootDisk.test_01_snapshot_root_disk
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:11 +05:30
Gaurav Aradhye
0a8bce5cf6
CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:37:08 +05:30
Anshul Gangwar
7b5daaea20
added support for ispersistent parameter for networkoffering
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 13:22:42 +05:30
Girish Shilamkar
56ccb2835b
Automation Tests for HA Proxy Stickiness
...
Reviewed-by: Suresh Sadhu <Suresh.Sadhu@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 12:14:01 +05:30
Prasanna Santhanam
76dbb64cf9
License header was missed in StrategyPriority and Test
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-10-15 10:59:28 +05:30
Min Chen
f451a8113e
CLOUDSTACK-4859:Add global config to disable storage migration during HA
2013-10-14 22:12:56 -07:00
Min Chen
ac02987db2
Add upgrade path from 4.2.1 to 4.3.0.
2013-10-14 21:56:34 -07:00
Kelven Yang
7d89cecfff
CLOUDSTACK-4863: Count CPU hyper-threading as logical CPU core for allocation
2013-10-14 17:33:05 -07:00
Min Chen
68952514ce
CLOUDSTACK-4862:Admin cannot delete shared network scoped to user
...
account.
2013-10-14 16:37:38 -07:00
Chris Suich
aad1cda7e0
Added categorized sorting to SnapshotStrategy and DataMotionStrategy
2013-10-14 15:20:42 -07:00
Chris Suich
e514da2c48
Removed setters from *JoinVO classes
2013-10-14 15:20:17 -07:00
Chris Suich
350c94474b
Updates to revertSnapshot API Added revertSnapshot API action to UI
2013-10-14 15:19:51 -07:00
Girish Shilamkar
4747b2abfe
Cloudstack:4407 - Pending changes - Use extractTemplate API to get hypervisor specific template information.
2013-10-14 17:21:22 -07:00
Chandan Purushothama
2ecf272dac
test_stopped_vm.py tries to clean up ISOs that are already deleted as part of Account Deletion. Do not add account owned iso objects to the cleanup list.
2013-10-14 17:21:22 -07:00
Jessica Wang
8b397f1d42
CLOUDSTACK-4850: UI > Infrastructure > zone detail > UCS manager > Blade tab > add new action "Refresh Blades" on the top of listView.
2013-10-14 13:40:27 -07:00
Jessica Wang
5339769a7f
CLOUDSTACK UI - remove debugger keyword
2013-10-14 11:33:23 -07:00
Jessica Wang
d54c9eb640
CLOUDSTACK-4850: UI > Infrastructure > zone detail > UCS manager > Blade tab > (1) change action "Associate Profile to Blade" to "Associate Template to Blade", change Profile dropdown to Template dropdown, add ProfileName field in dialog. (2) action "Disassociate Profile from Blade": add checkbox "Delete Profile".
2013-10-14 11:16:57 -07:00
Marcus Sorensen
4188916638
Add one more license header to agent.properties.ssvm
2013-10-14 12:08:11 -06:00
Marcus Sorensen
d430473fe0
add missing license headers to PasswordGeneratorTest.java and an agent.properties
2013-10-14 11:56:21 -06:00
Marcus Sorensen
4e0e7410e9
Store agent hostname in attache, print it in logs wherever possible. This
...
was discussed on the mailing list as a useful debugging tool, currently
the log prints the DB id of the agent, which makes admins have to look
it up to know where the Command was run.
2013-10-14 11:46:01 -06:00
Darren Shepherd
29d9228140
Remove obsolete m2-settings file
2013-10-14 08:22:19 -07:00
Hugo Trippaers
795366019b
Don't capture stderr, this will return an error when the runscript command expects null when there is no default route.
2013-10-14 09:58:37 +02:00
Hugo Trippaers
71dc43ebb0
Remove duplicate scripts and move the remaining items to the systemvm project
2013-10-14 08:02:35 +02:00
Laszlo Hornyak
87c1b357f2
BaseCmd not used methods
...
These private methods were only calling each other:
- writeNameValuePair
- writeObjectArray
- writeSubObject
- escapeXml
- escapeJSON
public method requireXmlEscape was only called from these methods, it was never overridden
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-12 23:26:20 +02:00
Laszlo Hornyak
5f497b9a75
Removed unused methods from ApiResponseSerializer
...
getGetMethod and getGetMethodName were not used
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-12 19:42:50 +02:00
Laszlo Hornyak
6df77ec0ce
BaseCmd.buildResponse methods removed
...
Both buildResponse methods were abandoned
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-12 19:42:50 +02:00
Marcus Sorensen
b344bb4cf3
KVM: Change new volume/template downloads to use UUID in database
...
rather than creating a fresh random UUID, so admins can match
volumes frontend to backend
2013-10-11 17:16:48 -06:00
Laszlo Hornyak
47dd1c1e95
PasswordGenerator tests
...
- StringBuffer replaced with a StringBuilder
- tests added
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-11 20:09:37 +02:00
Laszlo Hornyak
b76e501d26
removed PasswordGenerator.main
...
unused method, probably for debugging/testing purposes
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-11 20:09:37 +02:00
Jessica Wang
5cc411a9ee
LOUDSTACK-4060: UI > Instance Wizard > select security group step > when there is only one security group and the only one is 'default', check it automtically.
2013-10-11 10:27:20 -07:00
Laszlo Hornyak
982db550eb
test fix: no assertion on the number of fileds returned
...
Removed the assertion on the number of fields from ReflectUtil because it did not work with bytecode manipulation like what sonar works with.
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-10-11 18:49:10 +02:00
Nitin Mehta
fa0c685bcb
CLOUDSTACK-4854:
...
Add support for adding network details
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-10 19:18:39 -07:00
Alena Prokharchyk
90cc0d8f01
VolumeResponse: added storageId to the response (returned to admin only) as this parameter is being passed in migrateVolume/updateVolume API requests, so have to return it in the response as well
2013-10-10 16:51:47 -07:00
Brian Federle
6af882c6b9
Icon for 'add guest network' toolbar button
2013-10-10 15:46:31 -07:00
Brian Federle
746c8c5046
CLOUDSTACK-4823: Add icon for assignVmToAnotherAccount
2013-10-10 12:55:26 -07:00