0.0
No release in over 3 years
Low commit activity in last 3 years
Fog API wrapper for the Cloudian Hyperstore REST APIs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
~> 3.0

Runtime

~> 3.5.2
~> 2.1
~> 1.1
~> 0.8
 Project Readme

Fog::Cloudian

This is a Fog API wrapper for the Cloudian Hyperstore REST APIs (Admin & S3). For S3 this is just a shim for fog-aws.

Currently about 13% (10 out of 77 API calls) of the Admin API are covered. Hence there is plenty of opportunity for some FOSS contribution here.

Also this library does not provide proper mock requests, yet. Which means more opportunities to get you feet wet. ;)

Installation

Add this line to your application's Gemfile:

gem 'fog-cloudian'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fog-cloudian

Usage

Before you can use fog-cloudian, you must require it in your application:

require  'fog/cloudian'

Connecting to Cloudian's Admin API

config = {
    user: '[REDACTED]',
    password: '[REDACTED]',
    host: '[REDACTED]',
    port: 19443,
    ssl_verify_peer: true
}

cloudian = Fog::Cloudian::Admin.new(config)

You can review all the requests available with this service using #requests method:

cloudian.requests # => [[nil, :create_group], [nil, :get_group], [nil, :delete_group], ...

Contributing

  1. Fork it ( https://github.com/200ok-ch/fog-cloudian/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

see LICENSE.md