cloudstack/engine/schema/src/com/cloud/vm
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 CLOUDSTACK-8112. CS allows creation of VM's with the same Display name when vm.instancename.flag is set to true. 2014-12-23 14:00:32 +05:30
snapshot Remove IAMEntityType to use existing VO interface class to annotate 2014-03-17 17:19:55 -07:00
ConsoleProxyVO.java CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30
DomainRouterVO.java CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30
InstanceGroupVMMapVO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
InstanceGroupVO.java Remove IAMEntityType to use existing VO interface class to annotate 2014-03-17 17:19:55 -07:00
ItWorkDao.java Removed trailing spaces 2013-11-21 04:08:01 -08:00
ItWorkDaoImpl.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
ItWorkVO.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
NicDetailVO.java CLOUDSTACK-6184: set display=true by default for all resource details 2014-02-27 10:55:47 -08:00
NicVO.java Reformatted all of the code. 2013-11-21 06:15:26 -08:00
SecondaryStorageVmVO.java CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30
UserVmCloneSettingVO.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
UserVmDetailVO.java CLOUDSTACK-7873 Fixed the user vm details length issue for higher key lengths 2014-11-10 20:51:46 +05:30
UserVmVO.java CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30
VMInstanceVO.java CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30