cloudstack/server/test/com/cloud/network
Rohit Yadav 1a6df6f978 CLOUDSTACK-7908: Add user_id column to vm_instance table
Design Document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Allow+VM+listing+by+User+ID

- Adds column to VMInstance DAO
- Adds column in vm_instance table
- Adds column in the UserVMJoinVO
- Adds default admin user which has UID = 2
- Adds migration path that sets user_id to first user of the accountId that
  owns the vm in vm_instance table
- Add arg on list VMs API to query by userId, add support in query layer
- Refactor VMInstanceVO and child classes to accept userId
- Add code to let service layer pass userId if loggedIn user belongs to same
  account as the owner executing an API call or use first user from owner account
- In case of CPVM and SSVM use system user ID
- Fix unit tests and spring injections

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-16 15:02:38 +05:30
..
dao Removed trailing spaces 2013-11-21 04:08:01 -08:00
element CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30
firewall Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
lb CLOUDSTACK-7917: Validating Load Balancer Rule when updating LB + unit test 2014-11-25 15:55:30 +05:30
router BUG-ID: CLOUDSTACK-5324 when router requires upgrade throw ResourceUnavailableException with scope VirtualRouter. API willl return generic Network Unavailable error. 2014-11-19 09:46:56 +05:30
security All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
vpc unneeded imports removed 2014-03-10 10:56:37 +01:00
vpn Removed trailing spaces 2013-11-21 04:08:01 -08:00
CreatePrivateNetworkTest.java region level VPC support 2014-03-20 16:32:22 +05:30
DedicateGuestVlanRangesTest.java All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
ExternalLoadBalancerDeviceManagerImplTest.java null pointer dereference fix 2014-04-29 21:46:16 +02:00
MockFirewallManagerImpl.java CLOUDSTACK-6922: Updated events for firewall ingress and egress 2014-06-19 15:06:56 +05:30
MockNetworkModelImpl.java Disable IAM feature from 4.4 release. 2014-05-22 18:27:08 -07:00
NetworkManagerTestComponentLibrary.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NetworkModelTest.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
UpdatePhysicalNetworkTest.java All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00