You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by bhaisaab <gi...@git.apache.org> on 2014/11/28 19:07:38 UTC

[GitHub] cloudstack pull request: CLOUDSTACK-7908: Add user_id column to vm...

GitHub user bhaisaab opened a pull request:

    https://github.com/apache/cloudstack/pull/48

    CLOUDSTACK-7908: Add user_id column to vm_instance table

    - 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 <ro...@shapeblue.com>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/cloudstack useraccount-refactoring

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/48.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #48
    
----
commit 1e25886bd229a3b7b7aecafe2dc7eaeede47982e
Author: Rohit Yadav <ro...@shapeblue.com>
Date:   2014-11-28T11:37:02Z

    CLOUDSTACK-7908: Add user_id column to vm_instance table
    
    - 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 <ro...@shapeblue.com>

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cloudstack pull request: CLOUDSTACK-7908: Add user_id column to vm...

Posted by bhaisaab <gi...@git.apache.org>.
Github user bhaisaab closed the pull request at:

    https://github.com/apache/cloudstack/pull/48


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---