Feature #789
API for oZones Server
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Hector Sanjuan | % Done: | 100% | |
Category: | - | |||
Target version: | Release 3.2 - S0 | |||
Resolution: | fixed | Pull request: |
Description
Similar to OCA for OpenNebula
Subtasks
Associated revisions
feature #789: Refactor of OCA interaction in OZones. Work in progress
feature #789: Solves minor bugs in Zones
feature #789: Moved OCAInteration to VDC class. Update method still needs to be moved
feature #789: Moved update from OCAInteraction to VDC
feature #789: Removed unneeded OCAInteraction library
feature #789: Migrating OzonesServer class. Work in progress
feature #789: Completed refactor of OzoneServer class
feature #789: More work on the Ozones server refactor
feature #789: Solves minor bugs in host update for VDC. Deals with empty host lists
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.
feature #789: Moved Configuration.rb to OCA. Added support to print configuration files in JSON. Updated OZones client to use Configuration.rb parser
Feature #789: First version of ozones api
Slightly tested. Uncommented. To be extended with some utils (like printing helpers).
Feature #789: Update install file
Include OZones API files among the client files to be installed with ozones or opennebula client files
feature #789: Fixes parser for NAME attributes
Feature #789: Move ozones api files one level up
zona.rb can be found directly in ozones lib/ dir. Install script updated accordingly.
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).
Feature #789: Whitespace cleanup, correct indentation in OZones ruby files
That means, no spaces at the end of lines, no tabs, 4-space indent...
History
#1 Updated by Ruben S. Montero almost 10 years ago
- Target version deleted (
Release 3.0)
#2 Updated by Ruben S. Montero almost 10 years ago
- Target version set to Release 3.4
#3 Updated by Ruben S. Montero almost 10 years ago
- Subject changed from XML output for oZones CLI to API for oZones Server
#4 Updated by Tino Vázquez almost 10 years ago
Also include refactorization of the code. Main one, get rid of OCAInteraction and move functionality to module VDCOpenNebula and ZoneOpenNebula
#5 Updated by Ruben S. Montero almost 10 years ago
- Target version changed from Release 3.4 to Release 3.2 - S0
#6 Updated by Ruben S. Montero almost 10 years ago
- Assignee changed from Tino Vázquez to Hector Sanjuan
#7 Updated by Ruben S. Montero over 9 years ago
- Status changed from New to Closed
- Resolution set to fixed