Commit Graph
9738 Commits
Author SHA1 Message Date
Carlos Martín 0ff522488f Bug #847 - #929: Include authentication session expiration time 2011-10-20 11:55:44 +02:00
Ruben S. Montero d690e728d0 bug #867: Postpone qcow2 management to integrate it with quota system 2011-10-20 11:21:38 +02:00
Hector Sanjuan a48ba32dfd Feature #789, Task #905: Fix access to subresources in onezone command.
Capitalization/symbolization of hash keys after previous commits.
2011-10-20 11:19:47 +02:00
Hector Sanjuan 8b7c02b914 Feature #789: Symbolize the keys from resource data hashes.
This means accessing properties of a resource should primarily be done with a symbol name: vdc[:HOSTS] instead of vdc["HOSTS"]. All client code updated accordingly.

In practice, and to easy the task of developers it will still work if Strings are used (.to_sym performed by default).
2011-10-20 10:53:47 +02:00
Ruben S. Montero cee35c0750 Merge branch 'feature-873' 2011-10-19 23:51:39 +02:00
Ruben S. Montero ee76f711fd bug #867: Minor change to du function 2011-10-19 23:04:15 +02:00
Hector Sanjuan de9423c69c Task #905: Capitalize ozones data
All data is now represented with keys in capital letters. Resources attributes must be accessed with capital letters.

Server JSON is directly parsed with symbolize_keys => true.
2011-10-19 18:13:14 +02:00
Jaime Melis dfa237b2ee Bug #867: Image size is not accurate for empty files. 2011-10-19 13:09:34 +02:00
Carlos Martín b8ab225614 Bug #847 - #928: The character ':' is now allowed in passwords 2011-10-18 18:48:31 +02:00
Carlos Martín 92b05d5971 Bug #847: Update the scheduler client, it does not hash the password 2011-10-18 18:01:32 +02:00
Carlos Martín 34359e7a60 Bug #847 - #901: onedb migrator adds USER TEMPLATE & AUTH_DRIVER, IMAGE FSTYPE & PATH. 2011-10-18 12:18:11 +02:00
Daniel Molina 612dc31489 feature #849: Add OCCI PUT compute tests 2011-10-17 18:40:19 +02:00
Daniel Molina f1272b23d8 feature #849: Improve OCCI PUT compute 2011-10-17 18:37:45 +02:00
Carlos Martín e4fbfc96b4 Merge branch 'master' into bug-847 2011-10-17 18:11:25 +02:00
Carlos Martín 75324dab26 onedb: The 3.0 migrator was renamed to 3.0.0 in one-3.0, but not in master. See commit:ac2f9966 2011-10-17 17:31:46 +02:00
Carlos Martín c42364d9d9 Bug #847 - #899: Add user and vnet update methods to Java OCA 2011-10-17 17:20:20 +02:00
Carlos Martín 64bd883283 Bug #847 - #918: Add chauth method in Java OCA 2011-10-17 17:05:02 +02:00
Carlos Martín 6b43690216 Bug #847 - #911: Java OCA client does not hash the password, add new driver parameter for one.user.allocate 2011-10-17 16:54:56 +02:00
Carlos Martín 8d356a5841 Bug #847: Add the auth driver column to oneuser list output 2011-10-17 15:21:13 +02:00
Carlos Martín d2e781cd27 Bug #847 - #918: Add method to change user auth driver in core, ruby oca and CLI 2011-10-17 15:08:00 +02:00
Hector Sanjuan c806c7288d Feature #789: Move ozones api files one level up
zona.rb can be found directly in ozones lib/ dir. Install script updated accordingly.
2011-10-17 01:45:00 +02:00
Hector Sanjuan 5ab4becd3f Task #904: Document new oZones API
Added comments to all "module zona" files. Comments can be processed with YARD to produce nice documentation.
2011-10-17 01:36:42 +02:00
Hector Sanjuan 241ea1265a Add missing license header to onevdc 2011-10-16 18:58:25 +02:00
Ruben S. Montero 30a9162f5e Merge branch 'master' into bug-847
Conflicts:
	src/um/UserPool.cc
2011-10-15 00:22:52 +02:00
Ruben S. Montero 1122f2f2d3 Merge branch 'master' of git.opennebula.org:one 2011-10-15 00:07:32 +02:00
Ruben S. Montero cd4c5d5dcb bug #866: Removed unneeded check after starting the server 2011-10-15 00:06:51 +02:00
Ruben S. Montero e2f2c25ee3 bug #847 - #913: Fixes Network tests and some core bugs 2011-10-14 17:15:20 +02:00
Carlos Martín a61cd0bb0a Bug #871: Avoid locked tables in onedb upgrade. Thanks to jan horacek <jahor@jhr.cz> 2011-10-14 16:51:29 +02:00
Carlos Martín 9ed5b738a4 Bug #848: Take into account bug #871, avoid table lock 2011-10-14 16:49:13 +02:00
Daniel Molina faa3a8b8c6 feature #801: Add onequota unset 2011-10-14 16:47:56 +02:00
Daniel Molina 1040d34766 feature #873: Add OCCI GET /user tests 2011-10-14 15:54:01 +02:00
Daniel Molina 409b565dc8 feature #873: Add UserOCCI and UserPoolOCCI classes 2011-10-14 15:53:32 +02:00
Daniel Molina 5911824045 feature #873: Add quota information to OCCI 2011-10-14 15:52:54 +02:00
Daniel Molina 20a0a78184 feature #873: Add mapping for errno to HTTP codes 2011-10-14 15:51:52 +02:00
Daniel Molina bb6ee69f29 feature #873: Add errno value to the OpenNebula Error class 2011-10-14 15:50:54 +02:00
Carlos Martín 057e20531c Bug #848: Fix tests 2011-10-14 15:37:10 +02:00
Carlos Martín ba8399c9f5 Bug #848: Add 3.1.0 migrator, it will truncate existing names with more than 128 chars. 2011-10-14 15:13:56 +02:00
Ruben S. Montero 5407e58967 bug #847 - #913: Fixes Images Unit Tests. 2011-10-14 13:16:49 +02:00
Ruben S. Montero 7052b887ee bug #847 - #913: Fixes unit tests for User 2011-10-13 23:50:40 +02:00
Hector Sanjuan d28dd0b445 Task #908: Integrate OzonesClient in zona.rb api.
This commit deletes OzonesClient.rb. All functionality has been merged to zona.rb and OzonesJSON.rb.

All dependent files have been accordingly updated. Cli operations have been manually tested. API operations have not been tested yet.
2011-10-13 20:12:03 +02:00
Ruben S. Montero 07c8236945 bug #847 - #913: Fixes AuthManager tests 2011-10-13 18:55:04 +02:00
Ruben S. Montero 5412c6fec2 feature #789: Fixes parser for NAME attributes 2011-10-13 17:09:13 +02:00
Ruben S. Montero 07321ac3d3 bug #847: Updated login tokens for auth drivers 2011-10-12 01:09:45 +02:00
Ruben S. Montero 605d580c63 bug #847: The authentication driver is now not encoded as part of the secret. The base auth driver has been updated to deal with this new protocol 2011-10-12 01:00:50 +02:00
Ruben S. Montero 054531ad4f bug #847: Unneeded configuration option for sunstone removed. 2011-10-12 00:34:01 +02:00
Ruben S. Montero fcb352d09d bug #847: Tokens are never sha1_digested. Core authentication mechanism stores the passwords digested, client sends plain passwords. Includes OCA (Ruby), CloudAuth and CLI updates. Ozones needs redesign its password storafe strategy. 2011-10-12 00:27:03 +02:00
Ruben S. Montero cbf64ecf1b bug #847: Auth drivers are set in OpenNebula core. Login tokens do not include the driver, so the hash logic needs update, see #911 2011-10-11 19:15:13 +02:00
Ruben S. Montero 0d66f1e53f Merge remote-tracking branch 'remotes/github-hector/feature-789' into feature-789 2011-10-11 16:27:15 +02:00
Ruben S. Montero 7683ba8998 bug #847: Cleans image templates so only metadata is left. Adds path and fstype to image attributes for reference 2011-10-11 16:05:32 +02:00
Ruben S. Montero 21b1303c0b bug #847: Removes core attributes from VirtualNetwork template, so it only stores vnet metadata after creation 2011-10-11 15:49:35 +02:00