openshift_client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0abc4ad7dc847c4ea20bcd18b92a4486d7724240
4
+ data.tar.gz: 04a96c494ad71bfad905b2b1802a62585ff4797c
5
+ SHA512:
6
+ metadata.gz: 9bb26c2ff48f5a85ffb39175c02b1b819378d3ca158f1762b8979b8701054a98ac64f1776b80181af909a8fd480e8320ea417d445e2ec53f0e78a9f619a477d4
7
+ data.tar.gz: 85e28efd374bc8099b617161f3fa0690af1de47f7c4c8c83aa924d19ade40c4f4d052a0a104a32cfdacf108d0a9a7d007cdef0cce88847a617f824f90e8f29f2
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.idea*
@@ -0,0 +1,6 @@
1
+ MethodLength:
2
+ Enabled: false
3
+ ClassLength:
4
+ Enabled: false
5
+ Metrics/AbcSize:
6
+ Enabled: false
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - "2.0"
4
+ - "2.1"
5
+ sudo: false
6
+ cache: bundler
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in openshift_client.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Alissa Bonas
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,41 @@
1
+ # OpenshiftClient
2
+
3
+
4
+ [![Gem Version](https://badge.fury.io/rb/openshift_client.svg)](http://badge.fury.io/rb/openshift_client)
5
+ [![Build Status](https://travis-ci.org/abonas/openshift_client.svg?branch=master)](https://travis-ci.org/abonas/openshift_client)
6
+ [![Code Climate](http://img.shields.io/codeclimate/github/abonas/openshift_client.svg)](https://codeclimate.com/github/abonas/openshift_client)
7
+ [![Dependency Status](https://gemnasium.com/abonas/openshift_client.svg)](https://gemnasium.com/abonas/openshift_client)
8
+
9
+ A Ruby client for Openshift REST api.
10
+ The client currently supports Openshift REST api version v1beta1.
11
+
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'openshift_client'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install openshift_client
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it ( https://github.com/[my-github-username]/openshift_client/fork )
36
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
37
+ 3. Test your changes with `rake test rubocop`, add new tests if needed.
38
+ 4. If you added a new functionality, add it to README
39
+ 5. Commit your changes (`git commit -am 'Add some feature'`)
40
+ 6. Push to the branch (`git push origin my-new-feature`)
41
+ 7. Create a new Pull Request
@@ -0,0 +1,11 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+ require 'rubocop/rake_task'
4
+
5
+ task default: [:test, :rubocop]
6
+
7
+ Rake::TestTask.new do |t|
8
+ t.libs << 'test'
9
+ end
10
+
11
+ RuboCop::RakeTask.new
@@ -0,0 +1,37 @@
1
+ require 'openshift_client/version'
2
+ require 'json'
3
+ require 'rest-client'
4
+ require 'active_support/inflector'
5
+ require 'kubeclient/entity_list'
6
+ require 'kubeclient/kube_exception'
7
+ require 'kubeclient/watch_notice'
8
+ require 'kubeclient/watch_stream'
9
+ require 'kubeclient/common'
10
+
11
+ module OpenshiftClient
12
+ # Openshift Client
13
+ class Client < Kubeclient::Common::Client
14
+ attr_reader :api_endpoint
15
+
16
+ # Dynamically creating classes definitions (class Pod, class Service, etc.),
17
+ # The classes are extending RecursiveOpenStruct.
18
+ # This cancels the need to define the classes
19
+ # manually on every new entity addition,
20
+ # and especially since currently the class body is empty
21
+ ENTITY_TYPES = %w(Project Route).map do |et|
22
+ [OpenshiftClient.const_set(et, Class.new(RecursiveOpenStruct)), et]
23
+ end
24
+
25
+ def initialize(uri, version = 'v1beta1')
26
+ handle_uri(uri, '/osapi')
27
+ @api_version = version
28
+ ssl_options
29
+ end
30
+
31
+ def all_entities
32
+ retrieve_all_entities(ENTITY_TYPES)
33
+ end
34
+
35
+ define_entity_methods(ENTITY_TYPES)
36
+ end
37
+ end
@@ -0,0 +1,4 @@
1
+ # Openshift REST-API Client
2
+ module OpenshiftClient
3
+ VERSION = '0.0.1'
4
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'openshift_client/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'openshift_client'
8
+ spec.version = OpenshiftClient::VERSION
9
+ spec.authors = ['Alissa Bonas']
10
+ spec.email = ['abonas@redhat.com']
11
+ spec.summary = 'A client for Openshift REST api'
12
+ spec.description = 'A client for Openshift REST api'
13
+ spec.homepage = 'https://github.com/abonas/openshift_client'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(/^(test|spec|features)\//)
19
+ spec.require_paths = ['lib']
20
+ spec.required_ruby_version = '>= 2.0.0'
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.7'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'minitest'
25
+ spec.add_development_dependency 'webmock'
26
+ spec.add_development_dependency 'rubocop'
27
+ spec.add_dependency 'kubeclient'
28
+ spec.add_dependency 'rest-client'
29
+ spec.add_dependency 'activesupport'
30
+ spec.add_dependency 'json'
31
+ spec.add_dependency 'recursive-open-struct'
32
+ end
@@ -0,0 +1,15 @@
1
+ {
2
+ "kind": "Project",
3
+ "apiVersion": "v1beta1",
4
+ "metadata": {
5
+ "name": "master",
6
+ "selfLink": "/osapi/v1beta1/projects/master",
7
+ "uid": "80359e00-d874-11e4-b110-f8b156af4ae1",
8
+ "resourceVersion": "36",
9
+ "creationTimestamp": "2015-04-01T13:39:20Z"
10
+ },
11
+ "spec": {},
12
+ "status": {
13
+ "phase": "Active"
14
+ }
15
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "kind": "ProjectList",
3
+ "apiVersion": "v1beta1",
4
+ "metadata": {
5
+ "selfLink": "/osapi/v1beta1/projects"
6
+ },
7
+ "items": [
8
+ {
9
+ "metadata": {
10
+ "name": "default",
11
+ "selfLink": "/osapi/v1beta1/projects/default",
12
+ "uid": "80115ecd-d874-11e4-b110-f8b156af4ae1",
13
+ "resourceVersion": "3",
14
+ "creationTimestamp": "2015-04-01T13:39:20Z"
15
+ },
16
+ "spec": {},
17
+ "status": {
18
+ "phase": "Active"
19
+ }
20
+ },
21
+ {
22
+ "metadata": {
23
+ "name": "master",
24
+ "selfLink": "/osapi/v1beta1/projects/master",
25
+ "uid": "80359e00-d874-11e4-b110-f8b156af4ae1",
26
+ "resourceVersion": "36",
27
+ "creationTimestamp": "2015-04-01T13:39:20Z"
28
+ },
29
+ "spec": {},
30
+ "status": {
31
+ "phase": "Active"
32
+ }
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "kind": "Route",
3
+ "apiVersion": "v1beta1",
4
+ "metadata": {
5
+ "name": "route-edge",
6
+ "namespace": "default",
7
+ "selfLink": "/osapi/v1beta1/routes/route-edge?namespace=default",
8
+ "uid": "99135218-d927-11e4-9471-f8b156af4ae1",
9
+ "resourceVersion": "45156",
10
+ "creationTimestamp": "2015-04-02T11:01:22Z"
11
+ },
12
+ "host": "www.example.com",
13
+ "serviceName": "frontend",
14
+ "tls": {
15
+ "termination": "edge",
16
+ "certificate": "-----BEGIN CERTIFICATE-----\nMIIDIjCCAgqgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBoTELMAkGA1UEBhMCVVMx\nCzAJBgNVBAgMAlNDMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkxHDAaBgNVBAoME0Rl\nZmF1bHQgQ29tcGFueSBMdGQxEDAOBgNVBAsMB1Rlc3QgQ0ExGjAYBgNVBAMMEXd3\ndy5leGFtcGxlY2EuY29tMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlQGV4YW1wbGUu\nY29tMB4XDTE1MDExMjE0MTk0MVoXDTE2MDExMjE0MTk0MVowfDEYMBYGA1UEAwwP\nd3d3LmV4YW1wbGUuY29tMQswCQYDVQQIDAJTQzELMAkGA1UEBhMCVVMxIjAgBgkq\nhkiG9w0BCQEWE2V4YW1wbGVAZXhhbXBsZS5jb20xEDAOBgNVBAoMB0V4YW1wbGUx\nEDAOBgNVBAsMB0V4YW1wbGUwgZ8wDQYJKoZI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gkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nw2rK1J2NMtQj0KDug7g7HRKl5jbf0QMkMKyTU1fBtZ0cCzvsF4CqV11LK4BSVWaK\nrzkaXe99IVJnH8KdOlDl5Dh/+cJ3xdkClSyeUT4zgb6CCBqg78ePp+nN11JKuJlV\nIG1qdJpB1J5O/kCLsGcTf7RS74MtqMFo96446Zvt7YaBhWPz6gDaO/TUzfrNcGLA\nEfHVXkvVWqb3gqXUztZyVex/gtP9FXQ7gxTvJml7UkmT0VAFjtZnCqmFxpLZFZ15\n+qP9O7Q2MpsGUO/4vDAuYrKBeg1ZdPSi8gwqUP2qWsGd9MIWRv3thI2903BczDc7\nr8WaIbm37vYZAS9G56E4+wIDAQABo1AwTjAdBgNVHQ4EFgQUugLrSJshOBk5TSsU\nANs4+SmJUGwwHwYDVR0jBBgwFoAUugLrSJshOBk5TSsUANs4+SmJUGwwDAYDVR0T\nBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaMJ33zAMV4korHo5aPfayV3uHoYZ\n1ChzP3eSsF+FjoscpoNSKs91ZXZF6LquzoNezbfiihK4PYqgwVD2+O0/Ty7UjN4S\nqzFKVR4OS/6lCJ8YncxoFpTntbvjgojf1DEataKFUN196PAANc3yz8cWHF4uvjPv\nWkgFqbIjb+7D1YgglNyovXkRDlRZl0LD1OQ0ZWhd4Ge1qx8mmmanoBeYZ9+DgpFC\nj9tQAbS867yeOryNe7sEOIpXAAqK/DTu0hB6+ySsDfMo4piXCc2aA/eI2DCuw08e\nw17Dz9WnupZjVdwTKzDhFgJZMLDqn37HQnT6EemLFqbcR0VPEnfyhDtZIQ==\n-----END CERTIFICATE-----"
19
+ }
20
+ }
@@ -0,0 +1,4 @@
1
+ require 'minitest/autorun'
2
+ require 'webmock/minitest'
3
+ require 'json'
4
+ require 'openshift_client'
@@ -0,0 +1,37 @@
1
+ require 'test_helper'
2
+
3
+ def open_test_json_file(name)
4
+ File.new(File.join(File.dirname(__FILE__), 'json', name))
5
+ end
6
+
7
+ # Project entity tests
8
+ class TestProject < MiniTest::Test
9
+ def test_get_project
10
+ stub_request(:get, /\/projects/)
11
+ .to_return(body: open_test_json_file('project_b1.json'),
12
+ status: 200)
13
+
14
+ client = OpenshiftClient::Client.new 'https://localhost:8080/osapi'
15
+ project = client.get_project 'master'
16
+
17
+ assert_instance_of(OpenshiftClient::Project, project)
18
+ assert_equal('80359e00-d874-11e4-b110-f8b156af4ae1', project.metadata.uid)
19
+ assert_equal('master', project.metadata.name)
20
+ assert_equal('36', project.metadata.resourceVersion)
21
+ assert_equal('v1beta1', project.apiVersion)
22
+ end
23
+
24
+ def test_get_projects
25
+ stub_request(:get, /\/projects/)
26
+ .to_return(body: open_test_json_file('project_list_b1.json'),
27
+ status: 200)
28
+
29
+ client = OpenshiftClient::Client.new 'https://localhost:8080/osapi'
30
+ projects = client.get_projects
31
+
32
+ assert_instance_of(Kubeclient::Common::EntityList, projects)
33
+
34
+ assert_equal(2, projects.size)
35
+ assert_instance_of(OpenshiftClient::Project, projects[1])
36
+ end
37
+ end
@@ -0,0 +1,22 @@
1
+ require 'test_helper'
2
+
3
+ def open_test_json_file(name)
4
+ File.new(File.join(File.dirname(__FILE__), 'json', name))
5
+ end
6
+
7
+ # Project entity tests
8
+ class TestRoute < MiniTest::Test
9
+ def test_get_routes
10
+ stub_request(:get, /\/routes/)
11
+ .to_return(body: open_test_json_file('route_b1.json'),
12
+ status: 200)
13
+
14
+ client = OpenshiftClient::Client.new 'https://localhost:8080/osapi'
15
+ route = client.get_route 'master'
16
+
17
+ assert_instance_of(OpenshiftClient::Route, route)
18
+ assert_equal('99135218-d927-11e4-9471-f8b156af4ae1', route.metadata.uid)
19
+ assert_equal('route-edge', route.metadata.name)
20
+ assert_equal('v1beta1', route.apiVersion)
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,206 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: openshift_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Alissa Bonas
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-04-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: webmock
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: kubeclient
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rest-client
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: activesupport
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: json
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: recursive-open-struct
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: A client for Openshift REST api
154
+ email:
155
+ - abonas@redhat.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - .gitignore
161
+ - .rubocop.yml
162
+ - .travis.yml
163
+ - Gemfile
164
+ - LICENSE.txt
165
+ - README.md
166
+ - Rakefile
167
+ - lib/openshift_client.rb
168
+ - lib/openshift_client/version.rb
169
+ - openshift_client.gemspec
170
+ - test/json/project_b1.json
171
+ - test/json/project_list_b1.json
172
+ - test/json/route_b1.json
173
+ - test/test_helper.rb
174
+ - test/test_project.rb
175
+ - test/test_route.rb
176
+ homepage: https://github.com/abonas/openshift_client
177
+ licenses:
178
+ - MIT
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - '>='
187
+ - !ruby/object:Gem::Version
188
+ version: 2.0.0
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - '>='
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ requirements: []
195
+ rubyforge_project:
196
+ rubygems_version: 2.4.5
197
+ signing_key:
198
+ specification_version: 4
199
+ summary: A client for Openshift REST api
200
+ test_files:
201
+ - test/json/project_b1.json
202
+ - test/json/project_list_b1.json
203
+ - test/json/route_b1.json
204
+ - test/test_helper.rb
205
+ - test/test_project.rb
206
+ - test/test_route.rb