occi-api 4.0.0.alpha.2 → 4.0.0.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -4
- data/lib/occi/api/client/client_base.rb +2 -2
- data/lib/occi/api/client/client_http.rb +1 -1
- data/lib/occi/api/version.rb +1 -1
- data/occi-api.gemspec +2 -2
- metadata +5 -5
data/README.md
CHANGED
@@ -14,8 +14,7 @@ Ruby
|
|
14
14
|
|
15
15
|
The following setup is recommended
|
16
16
|
|
17
|
-
*
|
18
|
-
* Ruby 1.9.3
|
17
|
+
* Ruby 1.9.3+
|
19
18
|
* RubyGems installed
|
20
19
|
|
21
20
|
The following libraries / packages may be required to use rOCCI
|
@@ -48,8 +47,8 @@ To build and install the bleeding edge version from master
|
|
48
47
|
git clone git://github.com/gwdg/rOCCI-api.git
|
49
48
|
cd rOCCI-api
|
50
49
|
rvm install ruby-1.9.3
|
51
|
-
|
52
|
-
bundle install
|
50
|
+
gem install bundler
|
51
|
+
bundle install
|
53
52
|
rake install
|
54
53
|
|
55
54
|
Usage
|
@@ -260,6 +259,12 @@ You can always, even if there is no logger defined, log output using the class m
|
|
260
259
|
Changelog
|
261
260
|
---------
|
262
261
|
|
262
|
+
### Version 4.0
|
263
|
+
* added extended support for OCCI-OS
|
264
|
+
* added full support for OS Keystone authentication
|
265
|
+
* split the code into rOCCI-core, rOCCI-api and rOCCI-cli
|
266
|
+
* internal changes, refactoring and some bugfixes
|
267
|
+
|
263
268
|
### Version 3.1
|
264
269
|
* added basic OS Keystone support
|
265
270
|
* added support for PKCS12 credentials for X.509 authN
|
@@ -451,7 +451,7 @@ module Occi
|
|
451
451
|
#
|
452
452
|
# @return [Occi::Collection] collection containing all registered OS templates
|
453
453
|
def get_os_templates
|
454
|
-
@model.get.mixins.select { |mixin| mixin.related.select { |rel| rel.end_with? 'os_tpl' }.any? }
|
454
|
+
@model.get.mixins.select { |mixin| mixin.related.select { |rel| rel.type_identifier.end_with? 'os_tpl' }.any? }
|
455
455
|
end
|
456
456
|
alias_method :get_os_tpls, :get_os_templates
|
457
457
|
|
@@ -462,7 +462,7 @@ module Occi
|
|
462
462
|
#
|
463
463
|
# @return [Occi::Collection] collection containing all registered resource templates
|
464
464
|
def get_resource_templates
|
465
|
-
@model.get.mixins.select { |mixin| mixin.related.select { |rel| rel.end_with? 'resource_tpl' }.any? }
|
465
|
+
@model.get.mixins.select { |mixin| mixin.related.select { |rel| rel.type_identifier.end_with? 'resource_tpl' }.any? }
|
466
466
|
end
|
467
467
|
alias_method :get_resource_tpls, :get_resource_templates
|
468
468
|
|
@@ -386,7 +386,7 @@ module Occi
|
|
386
386
|
if response.header['location']
|
387
387
|
response.header['location']
|
388
388
|
else
|
389
|
-
Occi::Parser.locations(response.header["content-type"].split(";").first, response.body, response.
|
389
|
+
Occi::Parser.locations(response.header["content-type"].split(";").first, response.body, response.headers).first
|
390
390
|
end
|
391
391
|
else
|
392
392
|
raise "HTTP POST failed! #{response_msg}"
|
data/lib/occi/api/version.rb
CHANGED
data/occi-api.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.version = Occi::Api::VERSION
|
10
10
|
gem.authors = ["Florian Feldhaus","Piotr Kasprzak", "Boris Parak"]
|
11
11
|
gem.email = ["florian.feldhaus@gwdg.de", "piotr.kasprzak@gwdg.de", "xparak@mail.muni.cz"]
|
12
|
-
gem.description = %q{
|
13
|
-
gem.summary = %q{OCCI
|
12
|
+
gem.description = %q{This gem provides ready-to-use client classes to simplify the integration of OCCI into your application}
|
13
|
+
gem.summary = %q{OCCI development library providing a high-level API}
|
14
14
|
gem.homepage = 'https://github.com/gwdg/rOCCI-api'
|
15
15
|
gem.license = 'Apache License, Version 2.0'
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: occi-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.alpha.
|
4
|
+
version: 4.0.0.alpha.3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-07-
|
14
|
+
date: 2013-07-26 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: occi-core
|
@@ -237,8 +237,8 @@ dependencies:
|
|
237
237
|
- - ~>
|
238
238
|
- !ruby/object:Gem::Version
|
239
239
|
version: 1.9.3
|
240
|
-
description:
|
241
|
-
|
240
|
+
description: This gem provides ready-to-use client classes to simplify the integration
|
241
|
+
of OCCI into your application
|
242
242
|
email:
|
243
243
|
- florian.feldhaus@gwdg.de
|
244
244
|
- piotr.kasprzak@gwdg.de
|
@@ -379,5 +379,5 @@ rubyforge_project:
|
|
379
379
|
rubygems_version: 1.8.25
|
380
380
|
signing_key:
|
381
381
|
specification_version: 3
|
382
|
-
summary: OCCI
|
382
|
+
summary: OCCI development library providing a high-level API
|
383
383
|
test_files: []
|