Ruben S. Montero
e61cd923c5
feature #662 : Deleted unneeded file and moved object to string method
2011-05-31 00:16:57 +02:00
Ruben S. Montero
700d92738e
feature #622 : VirtualNetwork methods uses a common base class
2011-05-29 00:37:59 +02:00
Ruben S. Montero
5bde303fc8
feature #662 : Moved string representation of Auth objects for error printing
2011-05-28 11:36:24 +02:00
Ruben S. Montero
25068e4d59
feature #662 : Allocate methods
2011-05-28 04:03:09 +02:00
Ruben S. Montero
fb3d3a88bb
feature #662 : Common method for publish requests
2011-05-27 00:21:14 +02:00
Ruben S. Montero
b050a5da9f
feature #622 : Public is now an attribute of PoolObjectSQL. Redesign of authorization function
2011-05-26 12:20:56 +02:00
Ruben S. Montero
fc15b443b6
feature #662 : Delete uses a common Request. Moved more functionality to base classes
2011-05-26 00:59:50 +02:00
Ruben S. Montero
c15a9e9a12
feature #622 : Info methods use a comon execute function
2011-05-25 19:26:52 +02:00
Carlos Martín
7285fbd5c0
Merge branch 'feature-407' of git.opennebula.org:one into feature-407
...
Conflicts:
include/Group.h
include/User.h
src/cluster/Cluster.cc
src/cluster/ClusterPool.cc
src/group/Group.cc
src/rm/RequestManagerUserAllocate.cc
src/um/User.cc
2011-05-25 14:56:35 +02:00
Ruben S. Montero
d16ee7254c
feature #662 : Info methods for objects. Now the info requests are authorized
2011-05-25 13:57:00 +02:00
Carlos Martín
6230001c56
Feature #407 :
...
* Chown method: destination user and group are checked, auth. manager request used.
* New one.group.chown method.
* New ObjectCollection class to store sets of IDs.
* New RM user.addgroup user.delgroup methods, users and groups store a cross-reference ID set.
* Clusters store a set of Host IDs. The RM part of the add/remove host functionality works, but should be re-done to avoid deadlocks.
* Fix onedb schmea for template_pool table bug.
2011-05-25 12:13:17 +02:00
Ruben S. Montero
01d932adea
feature #622 : Added auth for the pool infos. New Auth action is INFO_POOL
2011-05-24 17:52:17 +02:00
Ruben S. Montero
ac46cf5dee
feature #662 : Pool Info methods now uses the same implementation
2011-05-24 17:31:27 +02:00
Ruben S. Montero
061ea1b397
feature #622 : Harden RequestManager Class. New authenticate method for the UserPool returns group. Tests have been updated
2011-05-24 15:36:40 +02:00
Ruben S. Montero
04977725a0
feature #662 : moved error codes to Request.h class
2011-05-24 15:23:07 +02:00
Ruben S. Montero
c3e29e7f83
feature #662 : New authenticate method returns the GID
2011-05-24 15:15:23 +02:00
Ruben S. Montero
043cba4cee
feature #662 : New Request class to abstract XML-RPC requests
2011-05-24 14:32:39 +02:00
Ruben S. Montero
122a45ac28
feature #407 : order of uid, gid the same for constructors. Solved som issues with fix_times
2011-05-22 22:30:36 +02:00
Ruben S. Montero
3efc2abdc1
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
2011-05-21 02:28:23 +02:00
Ruben S. Montero
e77a5f5b13
feature #407 : LastOID is private for the pools. Minor changes in Group classes
2011-05-21 02:06:29 +02:00
Carlos Martín
b0ddfd382c
Feature #407 : New XML-RPC, Ruby OCA & CLI method 'chown' for VM,TEMPLATE,NET,USER & IMAGE. Work in progress, only basic functionality without authorization or consistency checks.
2011-05-17 19:13:59 +02:00
Carlos Martín
6329d8b3fa
Feature #407 : Use Cluster-ids instead of cluster names for Hosts. Update onedb 1.rb, tests and CLI for this change
2011-05-17 12:45:16 +02:00
Carlos Martín
3fa10a2ddf
Feature #407 : Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
...
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
* The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
-2 all, -1 mine & public, >=0 UID
to
-3 mine, -2 all, -1 mine & group
* USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
* onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Carlos Martín
211eed3289
Feature #407 : Create default groups 'oneadmin' and 'users'. Make regular groups start from ID 100. Fix tests.
...
Feature #591 : Add group_pool table to the DB migration script.
2011-05-13 12:51:23 +02:00
Ruben S. Montero
5483a1ba92
feature #523 : New to_xml64 method for objects that generates a base64 encoded version of the object
2011-05-13 00:47:21 +02:00
Carlos Martín
e9b0bf3eea
Merge branch 'master' into feature-407
...
Conflicts:
install.sh
src/nebula/Nebula.cc
2011-05-12 17:28:03 +02:00
Ruben S. Montero
5bfec3ab96
feature #513 : Moved SSL utils to a common Helper Class
2011-05-12 17:20:52 +02:00
Carlos Martín
09c93c7528
Feature #407 : Remove usernames from owned resources, only user-id is stored now.
2011-05-12 17:10:35 +02:00
Ruben S. Montero
bde842ed88
Merge branch 'feature-591'
...
Conflicts:
install.sh
2011-05-12 14:50:22 +02:00
Carlos Martín
ae53d43789
Feature #407 : Base implementation for groups.
...
So far groups can be managed, but resources can't be associated to a group.
Tasks done:
* New basic onegroup command
* RequestManager XML-RPC methods
* New group pool
* New GROUP authorization symbol
* Basic GroupPool tests
* Ruby OCA methods
2011-05-10 18:45:15 +02:00
Carlos Martín
691c965312
Bug #566 : New control table to store the last used oid
...
Feature #591 : Add new control table, and fix SQL syntax for MySQL
2011-05-09 16:09:56 +02:00
Ruben S. Montero
dd32809e37
Bug #576 : Parser of the monitor information is now more robust. Error parsing the monitor info is log as an error in the VM template. The Template attributes are also XML secure, names are fixed to conform XML namimg conventions
2011-05-08 02:13:37 +02:00
Ruben S. Montero
96f26468a1
feature #523 : Image repository is now decopled from storage backend. Source is generated by drivers using a driver-specific URL.
2011-05-07 02:49:07 +02:00
Carlos Martín
7aacd86c3c
Bug #408 : Fix compilation when mysql flag is set to 'no'
2011-05-06 18:14:23 +02:00
Carlos Martín
27977b913d
Bug #408 : reconnect to MySQL server when connection fails
2011-05-06 17:06:57 +02:00
Carlos Martín
8510fa56ad
Feature #591 : New onedb command. Core detects wrong DB versions.
2011-04-29 18:59:39 +02:00
Ruben S. Montero
fd20b21081
Merge branch 'feature-575'
2011-04-28 13:39:00 +02:00
Ruben S. Montero
ba6c8e8e89
Merge branch 'feature-487'
2011-04-26 15:35:44 +02:00
Ruben S. Montero
5dc7b686ad
Fix compilation warnings with gcc4.6
2011-04-22 01:06:01 +02:00
Ruben S. Montero
db8aa7f5bf
feature #575 : Improved log messages for drivers. Error string also propagated to images
2011-04-15 01:51:38 +02:00
Ruben S. Montero
aebb1cd6a7
feature #575 : Support for TM drivers, also tyoe of log messages from the drivers have the right type.
2011-04-15 00:49:42 +02:00
Ruben S. Montero
cd163f2a54
feature #575 : Add error messages to VM templates (VMM part)
2011-04-15 00:34:22 +02:00
Ruben S. Montero
faff6589b2
Merge branch 'feature-523'
2011-04-14 17:01:24 +02:00
Carlos Martín
dce87a9fa8
Feature #487 : Change template pool XML root elem. to VMTEMPLATE_POOL, for consistency with the rest of the pools; & Fix bug in onetemplate create -v
2011-04-13 11:49:03 +02:00
Ruben S. Montero
abe4ff6894
Merge branch 'feature-523' into feature-575
2011-04-13 00:03:19 +02:00
Carlos Martín
3e4b20732d
Revert "Feature #552 : XML-RPC Method one.user.authenticate added"
...
This reverts commit 537253964636d2b63ca2ba1e87320c7f61349e35.
2011-04-11 18:46:20 +02:00
Carlos Martín
2ce4009975
Feature #523 : Extra error checks for one.vm.savedisk XML-RPC method
2011-04-11 18:05:43 +02:00
Carlos Martín
f49a206adf
Merge branch 'feature-523' into feature-487
...
Conflicts:
src/oca/java/test/ImageTest.java
src/oca/java/test/test.sh
2011-04-11 16:30:40 +02:00
Carlos Martín
92a74bd83b
Feature #523 : Small oned.conf fix, Add ImageID to one.vm.savedisk XML-RPC method, and Update Java API Image management and tests
2011-04-11 16:20:44 +02:00
Ruben S. Montero
961820cf33
feature #487 : Get rid of merge method for VirtualMachineTemplates
2011-04-11 00:59:59 +02:00