Hector Sanjuan
d481b332bb
Feature #789 : Whitespace cleanup, correct indentation in OZones ruby files
...
That means, no spaces at the end of lines, no tabs, 4-space indent...
2011-10-20 12:21:26 +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
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
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
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
5412c6fec2
feature #789 : Fixes parser for NAME attributes
2011-10-13 17:09: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
Hector Sanjuan
6dc5797bd9
Feature #789 : Update install file
...
Include OZones API files among the client files to be installed with ozones or opennebula client files
2011-10-11 15:24:19 +02:00
Hector Sanjuan
067879d770
Feature #789 : First version of ozones api
...
Slightly tested. Uncommented. To be extended with some utils (like printing helpers).
2011-10-11 15:21:49 +02:00
Ruben S. Montero
e37bae5253
feature #780 : OpenNebula version is shown in log file
2011-10-07 20:38:30 +02:00
Ruben S. Montero
3f14c7fe17
Merge branch 'feature-789'
...
Conflicts:
src/oca/ruby/OpenNebula/Group.rb
2011-10-07 15:06:02 +02:00
Ruben S. Montero
d6f1f5b1fc
feature #789 : Moved Configuration.rb to OCA. Added support to print configuration files in JSON. Updated OZones client to use Configuration.rb parser
2011-10-07 15:02:31 +02:00
Ruben S. Montero
e8a19ee45c
Merge branch 'feature-789'
2011-10-07 13:52:16 +02:00
Hector Sanjuan
e20851f044
Feature #789 : Small improvements to OZonesClient and cli helpers
...
The client's default template attribute to put_resource() and post_resource() is now a JSON string.
post/put_resource_str() converts a ONE template into json (method to_body) and then calls put/post_resource()
post_resource_file() reads the ONE template from file, then calls post_resource_str()
cli helpers have been accordingly updated. FORCE attribute handling has been remove from delhost action.
2011-10-06 14:43:48 +02:00
Javi Fontan
6090b3f6b4
change ruby oca documentation to play better with yardoc
2011-10-05 16:31:12 +02:00
Daniel Molina
8d7a76edd7
Merge branch 'master' of git.opennebula.org:one
2011-10-05 13:14:56 +02:00
Daniel Molina
32ef34c659
Fix typo in oneacctd when oned is not running(cherry picked from commit c2d83f5bb9d5653b9089f9cf0ac87eccda28cf75)
2011-10-05 13:14:42 +02:00
Daniel Molina
c05b944c01
bug #865 : Fix Host samples window_size(cherry picked from commit 6176e07bac684135cbfe1cd46f9213cc8b41a371)
2011-10-05 13:14:35 +02:00
Ruben S. Montero
d6defb6bb8
feature #789 : Solves minor bugs in host update for VDC. Deals with empty host lists
2011-09-30 00:40:51 +02:00
Hector Sanjuan
0ecdaf5258
oZones GUI: Replace * with grayed-out names for non unique hosts in VDC dialogs
...
(cherry picked from commit 10eea8036aed7ab25d9b230e376046b060bfec1b)
2011-09-29 18:30:32 +02:00
Javi Fontan
664f240060
Changed README file to 3.0
...
(cherry picked from commit b11b7b5290ffe89bf3d7f477d34fea78aaa3114f)
2011-09-29 16:51:25 +02:00
Javi Fontan
c548c84780
Added man pages for econe/occi CLI 3.0.0
...
(cherry picked from commit 3df0c6dadc61f67c72c3ccc1539608cefcde5d79)
2011-09-28 19:36:57 +02:00
Javi Fontan
5f8f679669
CLI one* man pages for 3.0.0
...
(cherry picked from commit 3a5763605b69fe90a8466e60c430be941760c7ab)
2011-09-28 19:36:45 +02:00
Carlos Martín
ddc95acf54
Bug #839 : Fix typo in java OCA Client.java
...
(cherry picked from commit 7b2414e07705a1b8417bd9aa4828a0f49424a5fd)
2011-09-28 19:18:17 +02:00
Tino Vazquez
820a028c9b
Change host multiplacement legend to VDC host sharing
...
(cherry picked from commit b195a553fc84a4f7dd26319180af13e25739ddeb)
2011-09-28 13:09:25 +02:00
Carlos Martín
16f173fd44
Bug #839 : Add support in java oca for auth tokens with protocol
...
(cherry picked from commit 9ee34a8b87938d440d110cfb58f3c094302093e9)
2011-09-28 12:48:56 +02:00
Carlos Martín
69933ac673
Bug #839 : Add support in scheduler for auth tokens with protocol
...
(cherry picked from commit 2bb8ce1e88d0dc3a9a9eb9de2f9c3f81aec2b07b)
2011-09-28 12:48:56 +02:00
Carlos Martín
37618ecf45
Revert "Allow user passwords with ':' characters"
...
This reverts commit fcb98539ce99109c4af3527415abb680cdb3556b.
2011-09-28 12:40:40 +02:00
Tino Vazquez
cce3ca6935
Merge branch 'master' of git.opennebula.org:one
2011-09-28 12:19:47 +02:00
Tino Vazquez
d07e4d42e9
Fix for wrong oZones reverse proxying for Sunstone
2011-09-28 12:19:05 +02:00
Javi Fontan
a10dd2f5db
bug #670 : Disable context security by default
...
(cherry picked from commit 94b1707c423a38a8252505d70fdd71ea8c0222e9)
2011-09-28 12:14:40 +02:00
Javi Fontan
17509ee003
bug #670 : let the user disable fs copy to context ISO
...
(cherry picked from commit 291da9962c726e94dad9505606028fa09ca762d5)
2011-09-28 11:44:33 +02:00
Ruben S. Montero
da42de1d6f
feature #789 : More work on the Ozones server refactor
2011-09-28 11:23:15 +02:00
Javi Fontan
533539c93b
install_gems: Do not install xmlparser gem for ruby 1.9
2011-09-28 09:45:20 +02:00
Ruben S. Montero
cc34893f6d
Merge branch 'master' into feature-789
...
Conflicts:
src/ozones/Server/models/OzonesServer.rb
2011-09-27 16:46:54 +02:00
Carlos Martín
fcb98539ce
Allow user passwords with ':' characters
...
(cherry picked from commit 6c5e90eb844e70df23e5cb0f37782e8f4b272299)
2011-09-27 14:38:33 +02:00
Carlos Martín
3a36b22644
Bug #832 : Move Configuration.rb to onedb's lib location
...
(cherry picked from commit fc6de1c4a02a3cf3dd7a1dbdbb1707dbbc141e73)
2011-09-27 14:38:32 +02:00
Carlos Martín
0966f75254
onedb: Add 3.0 migrator. It changes the tm_nfs drivers to tm_shared(cherry picked from commit 980222f28eb335ef0c4d66613664f4a99d9148dc)
2011-09-27 14:38:32 +02:00
Carlos Martín
a2ad103ad9
Bug #832 : Restore src/cloud/common/Configuration.rb
...
This reverts 7a530fb77c0334d36b4b2404fc09792e1444197b
(cherry picked from commit 9fc7f582e238110e2153bc9083c4345e0cb0417b)
2011-09-27 14:38:32 +02:00
Carlos Martín
51fce30e2f
onedb: add migrator from 2.9.85 to 2.9.90(cherry picked from commit d6621dc598585eeef67db167b3a0a52f5e5d1b9a)
2011-09-27 14:38:32 +02:00
Hector Sanjuan
5b3a0a6662
Use the same string that was logged to launch the proxy
...
(cherry picked from commit ab3da924718161be7b65007aeee32feadd8ecfec)
2011-09-27 12:33:51 +02:00
Hector Sanjuan
4a475ae7e5
Small oZones fixes: Adjust zone name column with and hyperlink sunstone endpoint text.
...
(cherry picked from commit 92fc3f539a55f927c369df2eb90777fc7b77b027)
2011-09-27 12:33:41 +02:00
Hector Sanjuan
5b3350bfd6
Ozones: Add Sunstone endpoint to zone creation dialog and info panel
...
(cherry picked from commit a4154ebdff8c3c8f44c14b398355e6a952498899)
2011-09-27 12:33:36 +02:00
Hector Sanjuan
71160ee51c
Fix typo in oZones dashboard
...
(cherry picked from commit a9535fa0f75da1c6d8b4d49abf6c02c662eb1b26)
2011-09-27 12:33:26 +02:00
Hector Sanjuan
92443f7627
Log to stderr VNC proxy command when starting it
...
(cherry picked from commit 8ff6baf1090c6a3696cf6d0cd2277e9e8538a15d)
2011-09-27 12:33:02 +02:00
Hector Sanjuan
5c788e6d46
Change "ONE Auth" into "Oneadmin user" when creating zone
...
(cherry picked from commit 4bf0da787fe0dcbca32c9a69a6c2ba401d9c1a48)
2011-09-27 12:32:47 +02:00
Tino Vazquez
57685e1be8
Remove debug data
2011-09-27 12:31:35 +02:00