CP_OracleCloud
Cloud Portal plugin to support the Oracle Cloud Platform.
Usage
This is included by default in the Cloud Portal project. It relies on that project and will not work stand-alone.
Installation
Add this line to your application's Gemfile:
gem 'cp_oraclecloud'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cp_oraclecloud
Configuration options need to be added to an initliazer in your app. Eg: in config/initializers/cp_oraclecloud.rb
CpOraclecloud.setup do |config|
config.username = <username>
config.password = <password>
config.domain = <domain>
config.region = <region, remove if using US data centres>
config.compute_api = <compute url>
config.storage_api = <storage url>
config.active_components = ['Database', 'Java', 'SOA']
end
The active_components option configures which components can be created in the cloud. Supported options are 'Database', 'Java' and 'SOA'. Remove any services you aren't subscribed to.
Contributing
- Fork it ( https://github.com/Joelith/cp_oraclecloud )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
License
The gem is available as open source under the terms of the MIT License.