- Ruby 1.9.3 is required
- RubyGems have to be installed
apt-get install ruby rubygems ruby-dev
ruby -v
Unless you have Ruby >= 1.9.3, please, go to rOCCI-api#RVM and install RVM with a newer Ruby version.
yum install ruby-devel openssl-devel gcc gcc-c++ ruby rubygems
ruby -v
Unless you have Ruby >= 1.9.3, please, go to rOCCI-api#RVM and install RVM with a newer Ruby version.
To use rOCCI-cli with Java, you need JRE 6 or 7. To build rOCCI-cli for Java, you need JDK 6 or 7.
To install the most recent stable version
gem install occi-api
To install the most recent beta version
gem install occi-api --pre
Installation from source should never be your first choice! Especially, if you are not familiar with RVM, Bundler, Rake and other dev tools for Ruby!
However, if you wish to contribute to our project, this is the right way to start.
To build and install the bleeding edge version from master
git clone git://github.com/EGI-FCTF/rOCCI-api.git
cd rOCCI-api
gem install bundler
bundle install
bundle exec rake test
rake install
Notice: Follow the RVM installation guide linked below, we recommend using the default 'Single-User installation'.
Warning: NEVER install RVM as root! If you choose the 'Multi-User installation', use a different user account with sudo access instead!
- Installing RVM
- Install Ruby
rvm requirements
rvm install 1.9.3
rvm use 1.9.3 --default
ruby -v
Detailed documentation is available in our Wiki.
- Updated dependencies
- Powered by rOCCI-core 4.3.x
- Updated dependencies
- Dropped Ruby 1.8.x support
- Dropped jRuby 1.6.x support
- Updated dependencies
- added extended support for OCCI-OS
- added full support for OS Keystone authentication
- split the code into rOCCI-core, rOCCI-api and rOCCI-cli
- internal changes, refactoring and some bugfixes
- added basic OS Keystone support
- added support for PKCS12 credentials for X.509 authN
- updated templates for plain output formatting
- minor client API changes
- several bugfixes
- many bugfixes
- rewrote Core classes to use metaprogramming techniques
- added VCR cassettes for reliable testing against prerecorded server responses
- several updates to the OCCI Client
- started work on an OCCI Client using AMQP as transport protocol
- added support for keystone authentication to be used with the OpenStack OCCI server
- updated dependencies
- updated rspec tests
- started work on cucumber features
- improved OCCI Client
- improved documentation
- several bugfixes
- Changed OCCI attribute properties from lowercase to first letter uppercase (e.g. type -> Type, default -> Default, ...)
- OCCI objects are now initialized with a list of attributes instead of a hash. Thus it is easier to check which attributes are expected by a class and helps prevent errors.
- Parsing of a subset of the OVF specification is supported. Further parts of the specification will be covered in future versions of rOCCI.
- OCCI Client added. The client simplifies the execution of OCCI commands and provides shortcuts for often used steps.
- Several improvements to the gem structure and code documentation. First rSpec test were added. Readme has been extended to include instructions how the gem can be used.
- Starting with version 2.0 Florian Feldhaus and Piotr Kasprzak took over the development of the OCCI gem. The codebase was taken from the rOCCI framework and improved to be bundled as a standalone gem.
- Version 1.X of the OCCI gem has been developed by retr0h and served as a simple way to access the first OpenNebula OCCI implementation.
Checkout latest version from GIT:
git clone git://github.com/EGI-FCTF/rOCCI-api.git
Change to rOCCI-api folder
cd rOCCI-api
Install dependencies for deployment
bundle install
Code Documentation for rOCCI-api by YARD
Continuous integration for rOCCI-api by Travis-CI
- Fork it.
- Create a branch (git checkout -b my_markup)
- Commit your changes (git commit -am "My changes")
- Push to the branch (git push origin my_markup)
- Create an Issue with a link to your branch