cloudstack/engine/schema/src/com/cloud
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
..
alert removed executable flags from java classes 2014-11-23 19:49:01 +01:00
capacity CLOUDSTACK-8181: Introducing a new allocator called firstfitleastconsumed. The purpose of this allocator is to find hosts/pools with least capacity usage (in terms of percentage) within the cluster and use those resources first before others. This allocator can be used changing vm.allocation.algorithm. For hosts it would decide the least consumed host through the setting host.capacityType.to.order.clusters to base the usage on cpu or ram. 2015-01-26 10:48:06 -08:00
certificate Reformatted all of the code. 2013-11-21 06:15:26 -08:00
cluster/agentlb Reformatted all of the code. 2013-11-21 06:15:26 -08:00
configuration Reformatted all of the code. 2013-11-21 06:15:26 -08:00
dc CLOUDSTACK-8129. Cold migration of VM across VMware DCs leaves the VM behind in the source host. 2014-12-26 11:07:30 +05:30
domain CID-1261671 added null check 2015-01-05 15:55:33 +01:00
event Close transaction while fetching recent events 2015-01-07 14:14:44 +05:30
gpu CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 15:05:28 +05:30
host removed executable flags from java classes 2014-11-23 19:49:01 +01:00
hypervisor Reformatted all of the code. 2013-11-21 06:15:26 -08:00
network CLOUDSTACK-6485 prevent ipaddress asignment of gateway to gateway-interface on vpc router by setting vpcid to null in network 2015-01-26 16:54:53 +01:00
offerings removed executable flags from java classes 2014-11-23 19:49:01 +01:00
projects Remove IAMEntityType to use existing VO interface class to annotate 2014-03-17 17:19:55 -07:00
secstorage Reformatted all of the code. 2013-11-21 06:15:26 -08:00
service removed executable flags from java classes 2014-11-23 19:49:01 +01:00
storage CLOUDSTACK-8146: close search builder using done() 2015-02-05 18:06:15 +05:30
tags Remove IAMEntityType to use existing VO interface class to annotate 2014-03-17 17:19:55 -07:00
upgrade CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30
usage CLOUDSTACK-8151: Add removeRawUsageRecords API to cleanup old cloud_usage data 2015-01-23 19:38:32 +05:30
user removed executable flags from java classes 2014-11-23 19:49:01 +01:00
vm CLOUDSTACK-7908: Add user_id column to vm_instance table 2015-02-16 15:02:38 +05:30