sources-api-client 1.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/Gemfile.lock +11 -10
- data/bundler.d/.gitkeep +0 -0
- data/bundler.d/Gemfile.dev.rb +0 -0
- data/docs/Application.md +4 -2
- data/docs/ApplicationAuthentication.md +25 -0
- data/docs/ApplicationAuthenticationsCollection.md +21 -0
- data/docs/Authentication.md +4 -2
- data/docs/DefaultApi.md +333 -45
- data/docs/Endpoint.md +4 -2
- data/docs/ErrorNotFoundErrors.md +1 -1
- data/docs/Source.md +4 -2
- data/lib/sources-api-client.rb +3 -2
- data/lib/sources-api-client/api/default_api.rb +440 -60
- data/lib/sources-api-client/api_client.rb +1 -1
- data/lib/sources-api-client/api_error.rb +1 -1
- data/lib/sources-api-client/configuration.rb +4 -4
- data/lib/sources-api-client/models/application.rb +20 -11
- data/lib/sources-api-client/models/application_authentication.rb +296 -0
- data/lib/sources-api-client/models/{tenant.rb → application_authentications_collection.rb} +25 -23
- data/lib/sources-api-client/models/application_type.rb +1 -1
- data/lib/sources-api-client/models/application_types_collection.rb +1 -1
- data/lib/sources-api-client/models/applications_collection.rb +1 -1
- data/lib/sources-api-client/models/authentication.rb +20 -11
- data/lib/sources-api-client/models/authentication_extra.rb +1 -1
- data/lib/sources-api-client/models/authentication_extra_azure.rb +1 -1
- data/lib/sources-api-client/models/authentications_collection.rb +1 -1
- data/lib/sources-api-client/models/collection_links.rb +1 -1
- data/lib/sources-api-client/models/collection_metadata.rb +1 -1
- data/lib/sources-api-client/models/endpoint.rb +20 -11
- data/lib/sources-api-client/models/endpoints_collection.rb +1 -1
- data/lib/sources-api-client/models/error_not_found.rb +1 -1
- data/lib/sources-api-client/models/error_not_found_errors.rb +2 -2
- data/lib/sources-api-client/models/graph_ql_request.rb +1 -1
- data/lib/sources-api-client/models/graph_ql_response.rb +1 -1
- data/lib/sources-api-client/models/source.rb +20 -11
- data/lib/sources-api-client/models/source_type.rb +1 -1
- data/lib/sources-api-client/models/source_types_collection.rb +1 -1
- data/lib/sources-api-client/models/sources_collection.rb +1 -1
- data/lib/sources-api-client/version.rb +2 -2
- data/sources-api-client.gemspec +1 -1
- data/spec/api/default_api_spec.rb +91 -23
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/application_authentication_spec.rb +65 -0
- data/spec/models/{tenant_spec.rb → application_authentications_collection_spec.rb} +10 -10
- data/spec/models/application_spec.rb +9 -3
- data/spec/models/application_type_spec.rb +1 -1
- data/spec/models/application_types_collection_spec.rb +1 -1
- data/spec/models/applications_collection_spec.rb +1 -1
- data/spec/models/authentication_extra_azure_spec.rb +1 -1
- data/spec/models/authentication_extra_spec.rb +1 -1
- data/spec/models/authentication_spec.rb +13 -7
- data/spec/models/authentications_collection_spec.rb +1 -1
- data/spec/models/collection_links_spec.rb +1 -1
- data/spec/models/collection_metadata_spec.rb +1 -1
- data/spec/models/endpoint_spec.rb +13 -7
- data/spec/models/endpoints_collection_spec.rb +1 -1
- data/spec/models/error_not_found_errors_spec.rb +1 -1
- data/spec/models/error_not_found_spec.rb +1 -1
- data/spec/models/graph_ql_request_spec.rb +1 -1
- data/spec/models/graph_ql_response_spec.rb +1 -1
- data/spec/models/source_spec.rb +11 -5
- data/spec/models/source_type_spec.rb +1 -1
- data/spec/models/source_types_collection_spec.rb +1 -1
- data/spec/models/sources_collection_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +39 -33
- data/docs/Tenant.md +0 -21
- data/pkg/sources-api-client-1.0.0.gem +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -62,13 +62,19 @@ describe 'Application' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "last_available_at"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "last_checked_at"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "source_id"' do
|
72
78
|
it 'should work' do
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
80
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -62,6 +62,18 @@ describe 'Authentication' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "last_available_at"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "last_checked_at"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
65
77
|
describe 'test attribute "name"' do
|
66
78
|
it 'should work' do
|
67
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,12 +110,6 @@ describe 'Authentication' do
|
|
98
110
|
end
|
99
111
|
end
|
100
112
|
|
101
|
-
describe 'test attribute "tenant"' do
|
102
|
-
it 'should work' do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
113
|
describe 'test attribute "username"' do
|
108
114
|
it 'should work' do
|
109
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -74,6 +74,18 @@ describe 'Endpoint' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "last_available_at"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "last_checked_at"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
describe 'test attribute "path"' do
|
78
90
|
it 'should work' do
|
79
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -110,12 +122,6 @@ describe 'Endpoint' do
|
|
110
122
|
end
|
111
123
|
end
|
112
124
|
|
113
|
-
describe 'test attribute "tenant"' do
|
114
|
-
it 'should work' do
|
115
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
125
|
describe 'test attribute "updated_at"' do
|
120
126
|
it 'should work' do
|
121
127
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/source_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Sources
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -56,25 +56,31 @@ describe 'Source' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "last_available_at"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "last_checked_at"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "name"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "source_ref"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "source_type_id"' do
|
78
84
|
it 'should work' do
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
86
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sources-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
37
|
- - ">="
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.1'
|
50
47
|
- - ">="
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.6'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 3.6.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.6'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '3.6'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 3.6.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.6'
|
73
73
|
description: Sources
|
74
74
|
email:
|
75
75
|
- support@redhat.com
|
@@ -77,12 +77,17 @@ executables: []
|
|
77
77
|
extensions: []
|
78
78
|
extra_rdoc_files: []
|
79
79
|
files:
|
80
|
+
- CHANGELOG.md
|
80
81
|
- Gemfile
|
81
82
|
- Gemfile.lock
|
82
83
|
- LICENSE.txt
|
83
84
|
- README.md
|
84
85
|
- Rakefile
|
86
|
+
- bundler.d/.gitkeep
|
87
|
+
- bundler.d/Gemfile.dev.rb
|
85
88
|
- docs/Application.md
|
89
|
+
- docs/ApplicationAuthentication.md
|
90
|
+
- docs/ApplicationAuthenticationsCollection.md
|
86
91
|
- docs/ApplicationType.md
|
87
92
|
- docs/ApplicationTypesCollection.md
|
88
93
|
- docs/ApplicationsCollection.md
|
@@ -103,7 +108,6 @@ files:
|
|
103
108
|
- docs/SourceType.md
|
104
109
|
- docs/SourceTypesCollection.md
|
105
110
|
- docs/SourcesCollection.md
|
106
|
-
- docs/Tenant.md
|
107
111
|
- git_push.sh
|
108
112
|
- lib/sources-api-client.rb
|
109
113
|
- lib/sources-api-client/api/default_api.rb
|
@@ -111,6 +115,8 @@ files:
|
|
111
115
|
- lib/sources-api-client/api_error.rb
|
112
116
|
- lib/sources-api-client/configuration.rb
|
113
117
|
- lib/sources-api-client/models/application.rb
|
118
|
+
- lib/sources-api-client/models/application_authentication.rb
|
119
|
+
- lib/sources-api-client/models/application_authentications_collection.rb
|
114
120
|
- lib/sources-api-client/models/application_type.rb
|
115
121
|
- lib/sources-api-client/models/application_types_collection.rb
|
116
122
|
- lib/sources-api-client/models/applications_collection.rb
|
@@ -130,13 +136,13 @@ files:
|
|
130
136
|
- lib/sources-api-client/models/source_type.rb
|
131
137
|
- lib/sources-api-client/models/source_types_collection.rb
|
132
138
|
- lib/sources-api-client/models/sources_collection.rb
|
133
|
-
- lib/sources-api-client/models/tenant.rb
|
134
139
|
- lib/sources-api-client/version.rb
|
135
|
-
- pkg/sources-api-client-1.0.0.gem
|
136
140
|
- sources-api-client.gemspec
|
137
141
|
- spec/api/default_api_spec.rb
|
138
142
|
- spec/api_client_spec.rb
|
139
143
|
- spec/configuration_spec.rb
|
144
|
+
- spec/models/application_authentication_spec.rb
|
145
|
+
- spec/models/application_authentications_collection_spec.rb
|
140
146
|
- spec/models/application_spec.rb
|
141
147
|
- spec/models/application_type_spec.rb
|
142
148
|
- spec/models/application_types_collection_spec.rb
|
@@ -157,7 +163,6 @@ files:
|
|
157
163
|
- spec/models/source_type_spec.rb
|
158
164
|
- spec/models/source_types_collection_spec.rb
|
159
165
|
- spec/models/sources_collection_spec.rb
|
160
|
-
- spec/models/tenant_spec.rb
|
161
166
|
- spec/spec_helper.rb
|
162
167
|
homepage: https://openapi-generator.tech
|
163
168
|
licenses:
|
@@ -178,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
183
|
- !ruby/object:Gem::Version
|
179
184
|
version: '0'
|
180
185
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.0.6
|
182
187
|
signing_key:
|
183
188
|
specification_version: 4
|
184
189
|
summary: Sources Ruby Gem
|
@@ -186,25 +191,26 @@ test_files:
|
|
186
191
|
- spec/api/default_api_spec.rb
|
187
192
|
- spec/api_client_spec.rb
|
188
193
|
- spec/configuration_spec.rb
|
189
|
-
- spec/models/application_type_spec.rb
|
190
|
-
- spec/models/application_types_collection_spec.rb
|
191
|
-
- spec/models/endpoints_collection_spec.rb
|
192
194
|
- spec/models/collection_links_spec.rb
|
193
|
-
- spec/models/endpoint_spec.rb
|
194
|
-
- spec/models/authentications_collection_spec.rb
|
195
|
-
- spec/models/source_types_collection_spec.rb
|
196
|
-
- spec/models/sources_collection_spec.rb
|
197
|
-
- spec/models/graph_ql_response_spec.rb
|
198
195
|
- spec/models/graph_ql_request_spec.rb
|
196
|
+
- spec/models/application_authentication_spec.rb
|
197
|
+
- spec/models/endpoint_spec.rb
|
198
|
+
- spec/models/application_types_collection_spec.rb
|
199
|
+
- spec/models/authentication_spec.rb
|
200
|
+
- spec/models/endpoints_collection_spec.rb
|
199
201
|
- spec/models/error_not_found_spec.rb
|
200
|
-
- spec/models/
|
202
|
+
- spec/models/sources_collection_spec.rb
|
203
|
+
- spec/models/collection_metadata_spec.rb
|
204
|
+
- spec/models/source_type_spec.rb
|
205
|
+
- spec/models/application_authentications_collection_spec.rb
|
201
206
|
- spec/models/source_spec.rb
|
207
|
+
- spec/models/application_type_spec.rb
|
208
|
+
- spec/models/source_types_collection_spec.rb
|
202
209
|
- spec/models/applications_collection_spec.rb
|
203
|
-
- spec/models/authentication_extra_spec.rb
|
204
210
|
- spec/models/authentication_extra_azure_spec.rb
|
205
|
-
- spec/models/
|
206
|
-
- spec/models/
|
211
|
+
- spec/models/graph_ql_response_spec.rb
|
212
|
+
- spec/models/authentications_collection_spec.rb
|
213
|
+
- spec/models/authentication_extra_spec.rb
|
207
214
|
- spec/models/application_spec.rb
|
208
|
-
- spec/models/
|
209
|
-
- spec/models/authentication_spec.rb
|
215
|
+
- spec/models/error_not_found_errors_spec.rb
|
210
216
|
- spec/spec_helper.rb
|