fn_ruby 0.1.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/LICENSE +201 -0
  4. data/README.md +110 -0
  5. data/Rakefile +8 -0
  6. data/VERSION +1 -0
  7. data/docs/App.md +9 -0
  8. data/docs/AppWrapper.md +9 -0
  9. data/docs/AppsApi.md +244 -0
  10. data/docs/AppsWrapper.md +9 -0
  11. data/docs/Error.md +8 -0
  12. data/docs/ErrorBody.md +9 -0
  13. data/docs/NewTask.md +9 -0
  14. data/docs/Route.md +17 -0
  15. data/docs/RouteWrapper.md +10 -0
  16. data/docs/RoutesApi.md +262 -0
  17. data/docs/RoutesWrapper.md +9 -0
  18. data/docs/Task.md +18 -0
  19. data/docs/TaskWrapper.md +8 -0
  20. data/docs/TasksApi.md +50 -0
  21. data/docs/Version.md +8 -0
  22. data/docs/VersionApi.md +48 -0
  23. data/fn_ruby.gemspec +46 -0
  24. data/git_push.sh +55 -0
  25. data/lib/fn_ruby/api/apps_api.rb +297 -0
  26. data/lib/fn_ruby/api/routes_api.rb +327 -0
  27. data/lib/fn_ruby/api/tasks_api.rb +72 -0
  28. data/lib/fn_ruby/api/version_api.rb +72 -0
  29. data/lib/fn_ruby/api_client.rb +388 -0
  30. data/lib/fn_ruby/api_error.rb +38 -0
  31. data/lib/fn_ruby/configuration.rb +202 -0
  32. data/lib/fn_ruby/models/app.rb +201 -0
  33. data/lib/fn_ruby/models/app_wrapper.rb +202 -0
  34. data/lib/fn_ruby/models/apps_wrapper.rb +204 -0
  35. data/lib/fn_ruby/models/error.rb +188 -0
  36. data/lib/fn_ruby/models/error_body.rb +197 -0
  37. data/lib/fn_ruby/models/new_task.rb +204 -0
  38. data/lib/fn_ruby/models/route.rb +328 -0
  39. data/lib/fn_ruby/models/route_wrapper.rb +211 -0
  40. data/lib/fn_ruby/models/routes_wrapper.rb +204 -0
  41. data/lib/fn_ruby/models/task.rb +329 -0
  42. data/lib/fn_ruby/models/task_wrapper.rb +193 -0
  43. data/lib/fn_ruby/models/version.rb +188 -0
  44. data/lib/fn_ruby/version.rb +15 -0
  45. data/lib/fn_ruby.rb +55 -0
  46. data/spec/api/apps_api_spec.rb +95 -0
  47. data/spec/api/routes_api_spec.rb +100 -0
  48. data/spec/api/tasks_api_spec.rb +46 -0
  49. data/spec/api/version_api_spec.rb +46 -0
  50. data/spec/api_client_spec.rb +226 -0
  51. data/spec/configuration_spec.rb +42 -0
  52. data/spec/models/app_spec.rb +48 -0
  53. data/spec/models/app_wrapper_spec.rb +48 -0
  54. data/spec/models/apps_wrapper_spec.rb +48 -0
  55. data/spec/models/error_body_spec.rb +48 -0
  56. data/spec/models/error_spec.rb +42 -0
  57. data/spec/models/new_task_spec.rb +48 -0
  58. data/spec/models/route_spec.rb +104 -0
  59. data/spec/models/route_wrapper_spec.rb +54 -0
  60. data/spec/models/routes_wrapper_spec.rb +48 -0
  61. data/spec/models/task_spec.rb +106 -0
  62. data/spec/models/task_wrapper_spec.rb +42 -0
  63. data/spec/models/version_spec.rb +42 -0
  64. data/spec/spec_helper.rb +111 -0
  65. metadata +305 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b6ac7a1579ace58057e0cc50f6cb3b10420140f1
4
+ data.tar.gz: c4783f5178d0dc161a431e724381ad0b8ed435a6
5
+ SHA512:
6
+ metadata.gz: 57c43a753be0be908dad2a78930f5ebb33c82d3b0903c0a93d4bd57941ee69dd62fbc9ce67d268ccddcaebd92a33d5f7cc405fc95a98677f6bf8b4f8a3a8fffe
7
+ data.tar.gz: afda126a48c23feaaebcd4d92b937f59564703f4a3e8f63b8745659d9aae8c60bc7e481932fa23b0fac70f5b44b4db91e73e684fd202318e1959bf9f124fd5c5
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ end
data/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright {yyyy} {name of copyright owner}
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,110 @@
1
+ # fn_ruby
2
+
3
+ OracleFunctions - the Ruby gem for the IronFunctions
4
+
5
+ The open source serverless platform.
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: 0.1.29
10
+ - Package version: 0.1.29
11
+ - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build fn_ruby.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./fn_ruby-0.1.29.gem
27
+ ```
28
+ (for development, run `gem install --dev ./fn_ruby-0.1.29.gem` to install the development dependencies)
29
+
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
+
32
+ Finally add this to the Gemfile:
33
+
34
+ gem 'fn_ruby', '~> 0.1.29'
35
+
36
+ ### Install from Git
37
+
38
+ If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
39
+
40
+ gem 'fn_ruby', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
41
+
42
+ ### Include the Ruby code directly
43
+
44
+ Include the Ruby code directly using `-I` as follows:
45
+
46
+ ```shell
47
+ ruby -Ilib script.rb
48
+ ```
49
+
50
+ ## Getting Started
51
+
52
+ Please follow the [installation](#installation) procedure and then run the following code:
53
+ ```ruby
54
+ # Load the gem
55
+ require 'fn_ruby'
56
+
57
+ api_instance = OracleFunctions::AppsApi.new
58
+
59
+ app = "app_example" # String | Name of the app.
60
+
61
+
62
+ begin
63
+ #Delete an app.
64
+ api_instance.apps_app_delete(app)
65
+ rescue OracleFunctions::ApiError => e
66
+ puts "Exception when calling AppsApi->apps_app_delete: #{e}"
67
+ end
68
+
69
+ ```
70
+
71
+ ## Documentation for API Endpoints
72
+
73
+ All URIs are relative to *https://127.0.0.1:8080/v1*
74
+
75
+ Class | Method | HTTP request | Description
76
+ ------------ | ------------- | ------------- | -------------
77
+ *OracleFunctions::AppsApi* | [**apps_app_delete**](docs/AppsApi.md#apps_app_delete) | **DELETE** /apps/{app} | Delete an app.
78
+ *OracleFunctions::AppsApi* | [**apps_app_get**](docs/AppsApi.md#apps_app_get) | **GET** /apps/{app} | Get information for a app.
79
+ *OracleFunctions::AppsApi* | [**apps_app_patch**](docs/AppsApi.md#apps_app_patch) | **PATCH** /apps/{app} | Updates an app.
80
+ *OracleFunctions::AppsApi* | [**apps_get**](docs/AppsApi.md#apps_get) | **GET** /apps | Get all app names.
81
+ *OracleFunctions::AppsApi* | [**apps_post**](docs/AppsApi.md#apps_post) | **POST** /apps | Post new app
82
+ *OracleFunctions::RoutesApi* | [**apps_app_routes_get**](docs/RoutesApi.md#apps_app_routes_get) | **GET** /apps/{app}/routes | Get route list by app name.
83
+ *OracleFunctions::RoutesApi* | [**apps_app_routes_post**](docs/RoutesApi.md#apps_app_routes_post) | **POST** /apps/{app}/routes | Create new Route
84
+ *OracleFunctions::RoutesApi* | [**apps_app_routes_route_delete**](docs/RoutesApi.md#apps_app_routes_route_delete) | **DELETE** /apps/{app}/routes/{route} | Deletes the route
85
+ *OracleFunctions::RoutesApi* | [**apps_app_routes_route_get**](docs/RoutesApi.md#apps_app_routes_route_get) | **GET** /apps/{app}/routes/{route} | Gets route by name
86
+ *OracleFunctions::RoutesApi* | [**apps_app_routes_route_patch**](docs/RoutesApi.md#apps_app_routes_route_patch) | **PATCH** /apps/{app}/routes/{route} | Update a Route
87
+ *OracleFunctions::TasksApi* | [**tasks_get**](docs/TasksApi.md#tasks_get) | **GET** /tasks | Get next task.
88
+ *OracleFunctions::VersionApi* | [**version_get**](docs/VersionApi.md#version_get) | **GET** /version | Get daemon version.
89
+
90
+
91
+ ## Documentation for Models
92
+
93
+ - [OracleFunctions::App](docs/App.md)
94
+ - [OracleFunctions::AppWrapper](docs/AppWrapper.md)
95
+ - [OracleFunctions::AppsWrapper](docs/AppsWrapper.md)
96
+ - [OracleFunctions::Error](docs/Error.md)
97
+ - [OracleFunctions::ErrorBody](docs/ErrorBody.md)
98
+ - [OracleFunctions::NewTask](docs/NewTask.md)
99
+ - [OracleFunctions::Route](docs/Route.md)
100
+ - [OracleFunctions::RouteWrapper](docs/RouteWrapper.md)
101
+ - [OracleFunctions::RoutesWrapper](docs/RoutesWrapper.md)
102
+ - [OracleFunctions::TaskWrapper](docs/TaskWrapper.md)
103
+ - [OracleFunctions::Version](docs/Version.md)
104
+ - [OracleFunctions::Task](docs/Task.md)
105
+
106
+
107
+ ## Documentation for Authorization
108
+
109
+ All endpoints do not require authorization.
110
+
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.29
data/docs/App.md ADDED
@@ -0,0 +1,9 @@
1
+ # OracleFunctions::App
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | Name of this app. Must be different than the image name. Can ony contain alphanumeric, -, and _. | [optional]
7
+ **config** | **Hash<String, String>** | Application configuration | [optional]
8
+
9
+
@@ -0,0 +1,9 @@
1
+ # OracleFunctions::AppWrapper
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **app** | [**App**](App.md) | |
7
+ **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
8
+
9
+
data/docs/AppsApi.md ADDED
@@ -0,0 +1,244 @@
1
+ # OracleFunctions::AppsApi
2
+
3
+ All URIs are relative to *https://127.0.0.1:8080/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**apps_app_delete**](AppsApi.md#apps_app_delete) | **DELETE** /apps/{app} | Delete an app.
8
+ [**apps_app_get**](AppsApi.md#apps_app_get) | **GET** /apps/{app} | Get information for a app.
9
+ [**apps_app_patch**](AppsApi.md#apps_app_patch) | **PATCH** /apps/{app} | Updates an app.
10
+ [**apps_get**](AppsApi.md#apps_get) | **GET** /apps | Get all app names.
11
+ [**apps_post**](AppsApi.md#apps_post) | **POST** /apps | Post new app
12
+
13
+
14
+ # **apps_app_delete**
15
+ > apps_app_delete(app)
16
+
17
+ Delete an app.
18
+
19
+ Delete an app.
20
+
21
+ ### Example
22
+ ```ruby
23
+ # load the gem
24
+ require 'fn_ruby'
25
+
26
+ api_instance = OracleFunctions::AppsApi.new
27
+
28
+ app = "app_example" # String | Name of the app.
29
+
30
+
31
+ begin
32
+ #Delete an app.
33
+ api_instance.apps_app_delete(app)
34
+ rescue OracleFunctions::ApiError => e
35
+ puts "Exception when calling AppsApi->apps_app_delete: #{e}"
36
+ end
37
+ ```
38
+
39
+ ### Parameters
40
+
41
+ Name | Type | Description | Notes
42
+ ------------- | ------------- | ------------- | -------------
43
+ **app** | **String**| Name of the app. |
44
+
45
+ ### Return type
46
+
47
+ nil (empty response body)
48
+
49
+ ### Authorization
50
+
51
+ No authorization required
52
+
53
+ ### HTTP request headers
54
+
55
+ - **Content-Type**: application/json
56
+ - **Accept**: application/json
57
+
58
+
59
+
60
+ # **apps_app_get**
61
+ > AppWrapper apps_app_get(app)
62
+
63
+ Get information for a app.
64
+
65
+ This gives more details about a app, such as statistics.
66
+
67
+ ### Example
68
+ ```ruby
69
+ # load the gem
70
+ require 'fn_ruby'
71
+
72
+ api_instance = OracleFunctions::AppsApi.new
73
+
74
+ app = "app_example" # String | name of the app.
75
+
76
+
77
+ begin
78
+ #Get information for a app.
79
+ result = api_instance.apps_app_get(app)
80
+ p result
81
+ rescue OracleFunctions::ApiError => e
82
+ puts "Exception when calling AppsApi->apps_app_get: #{e}"
83
+ end
84
+ ```
85
+
86
+ ### Parameters
87
+
88
+ Name | Type | Description | Notes
89
+ ------------- | ------------- | ------------- | -------------
90
+ **app** | **String**| name of the app. |
91
+
92
+ ### Return type
93
+
94
+ [**AppWrapper**](AppWrapper.md)
95
+
96
+ ### Authorization
97
+
98
+ No authorization required
99
+
100
+ ### HTTP request headers
101
+
102
+ - **Content-Type**: application/json
103
+ - **Accept**: application/json
104
+
105
+
106
+
107
+ # **apps_app_patch**
108
+ > AppWrapper apps_app_patch(app, body)
109
+
110
+ Updates an app.
111
+
112
+ You can set app level settings here.
113
+
114
+ ### Example
115
+ ```ruby
116
+ # load the gem
117
+ require 'fn_ruby'
118
+
119
+ api_instance = OracleFunctions::AppsApi.new
120
+
121
+ app = "app_example" # String | name of the app.
122
+
123
+ body = OracleFunctions::AppWrapper.new # AppWrapper | App to post.
124
+
125
+
126
+ begin
127
+ #Updates an app.
128
+ result = api_instance.apps_app_patch(app, body)
129
+ p result
130
+ rescue OracleFunctions::ApiError => e
131
+ puts "Exception when calling AppsApi->apps_app_patch: #{e}"
132
+ end
133
+ ```
134
+
135
+ ### Parameters
136
+
137
+ Name | Type | Description | Notes
138
+ ------------- | ------------- | ------------- | -------------
139
+ **app** | **String**| name of the app. |
140
+ **body** | [**AppWrapper**](AppWrapper.md)| App to post. |
141
+
142
+ ### Return type
143
+
144
+ [**AppWrapper**](AppWrapper.md)
145
+
146
+ ### Authorization
147
+
148
+ No authorization required
149
+
150
+ ### HTTP request headers
151
+
152
+ - **Content-Type**: application/json
153
+ - **Accept**: application/json
154
+
155
+
156
+
157
+ # **apps_get**
158
+ > AppsWrapper apps_get
159
+
160
+ Get all app names.
161
+
162
+ Get a list of all the apps in the system.
163
+
164
+ ### Example
165
+ ```ruby
166
+ # load the gem
167
+ require 'fn_ruby'
168
+
169
+ api_instance = OracleFunctions::AppsApi.new
170
+
171
+ begin
172
+ #Get all app names.
173
+ result = api_instance.apps_get
174
+ p result
175
+ rescue OracleFunctions::ApiError => e
176
+ puts "Exception when calling AppsApi->apps_get: #{e}"
177
+ end
178
+ ```
179
+
180
+ ### Parameters
181
+ This endpoint does not need any parameter.
182
+
183
+ ### Return type
184
+
185
+ [**AppsWrapper**](AppsWrapper.md)
186
+
187
+ ### Authorization
188
+
189
+ No authorization required
190
+
191
+ ### HTTP request headers
192
+
193
+ - **Content-Type**: application/json
194
+ - **Accept**: application/json
195
+
196
+
197
+
198
+ # **apps_post**
199
+ > AppWrapper apps_post(body)
200
+
201
+ Post new app
202
+
203
+ Insert a new app
204
+
205
+ ### Example
206
+ ```ruby
207
+ # load the gem
208
+ require 'fn_ruby'
209
+
210
+ api_instance = OracleFunctions::AppsApi.new
211
+
212
+ body = OracleFunctions::AppWrapper.new # AppWrapper | App to post.
213
+
214
+
215
+ begin
216
+ #Post new app
217
+ result = api_instance.apps_post(body)
218
+ p result
219
+ rescue OracleFunctions::ApiError => e
220
+ puts "Exception when calling AppsApi->apps_post: #{e}"
221
+ end
222
+ ```
223
+
224
+ ### Parameters
225
+
226
+ Name | Type | Description | Notes
227
+ ------------- | ------------- | ------------- | -------------
228
+ **body** | [**AppWrapper**](AppWrapper.md)| App to post. |
229
+
230
+ ### Return type
231
+
232
+ [**AppWrapper**](AppWrapper.md)
233
+
234
+ ### Authorization
235
+
236
+ No authorization required
237
+
238
+ ### HTTP request headers
239
+
240
+ - **Content-Type**: application/json
241
+ - **Accept**: application/json
242
+
243
+
244
+
@@ -0,0 +1,9 @@
1
+ # OracleFunctions::AppsWrapper
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **apps** | [**Array<App>**](App.md) | |
7
+ **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
8
+
9
+
data/docs/Error.md ADDED
@@ -0,0 +1,8 @@
1
+ # OracleFunctions::Error
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
7
+
8
+
data/docs/ErrorBody.md ADDED
@@ -0,0 +1,9 @@
1
+ # OracleFunctions::ErrorBody
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **message** | **String** | | [optional]
7
+ **fields** | **String** | | [optional]
8
+
9
+
data/docs/NewTask.md ADDED
@@ -0,0 +1,9 @@
1
+ # OracleFunctions::NewTask
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **image** | **String** | Name of Docker image to use. This is optional and can be used to override the image defined at the group level. |
7
+ **payload** | **String** | Payload for the task. This is what you pass into each task to make it do something. | [optional]
8
+
9
+
data/docs/Route.md ADDED
@@ -0,0 +1,17 @@
1
+ # OracleFunctions::Route
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **path** | **String** | URL path that will be matched to this route | [optional]
7
+ **image** | **String** | Name of Docker image to use in this route. You should include the image tag, which should be a version number, to be more accurate. Can be overridden on a per route basis with route.image. | [optional]
8
+ **headers** | **Hash<String, Array<String>>** | Map of http headers that will be sent with the response | [optional]
9
+ **memory** | **Integer** | Max usable memory for this route (MiB). | [optional]
10
+ **type** | **String** | Route type | [optional]
11
+ **format** | **String** | Payload format sent into function. | [optional]
12
+ **max_concurrency** | **Integer** | Maximum number of hot functions concurrency | [optional]
13
+ **config** | **Hash<String, String>** | Route configuration - overrides application configuration | [optional]
14
+ **timeout** | **Integer** | Timeout for executions of this route. Value in Seconds | [optional]
15
+ **idle_timeout** | **Integer** | Hot functions idle timeout before termination. Value in Seconds | [optional]
16
+
17
+
@@ -0,0 +1,10 @@
1
+ # OracleFunctions::RouteWrapper
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **message** | **String** | | [optional]
7
+ **error** | [**ErrorBody**](ErrorBody.md) | | [optional]
8
+ **route** | [**Route**](Route.md) | |
9
+
10
+