jfoundry 0.1.0.pre
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.
- data/LICENSE +746 -0
- data/Rakefile +10 -0
- data/lib/cc_api_stub/applications.rb +53 -0
- data/lib/cc_api_stub/domains.rb +32 -0
- data/lib/cc_api_stub/frameworks.rb +22 -0
- data/lib/cc_api_stub/helper.rb +139 -0
- data/lib/cc_api_stub/login.rb +21 -0
- data/lib/cc_api_stub/organization_users.rb +21 -0
- data/lib/cc_api_stub/organizations.rb +70 -0
- data/lib/cc_api_stub/routes.rb +26 -0
- data/lib/cc_api_stub/runtimes.rb +22 -0
- data/lib/cc_api_stub/service_bindings.rb +22 -0
- data/lib/cc_api_stub/service_instances.rb +22 -0
- data/lib/cc_api_stub/services.rb +21 -0
- data/lib/cc_api_stub/spaces.rb +49 -0
- data/lib/cc_api_stub/users.rb +85 -0
- data/lib/cc_api_stub.rb +16 -0
- data/lib/jfoundry/auth_token.rb +63 -0
- data/lib/jfoundry/baseclient.rb +177 -0
- data/lib/jfoundry/chatty_hash.rb +46 -0
- data/lib/jfoundry/client.rb +39 -0
- data/lib/jfoundry/concerns/proxy_options.rb +17 -0
- data/lib/jfoundry/errors.rb +163 -0
- data/lib/jfoundry/rest_client.rb +331 -0
- data/lib/jfoundry/signature/version.rb +27 -0
- data/lib/jfoundry/signer.rb +13 -0
- data/lib/jfoundry/test_support.rb +3 -0
- data/lib/jfoundry/timer.rb +13 -0
- data/lib/jfoundry/trace_helpers.rb +64 -0
- data/lib/jfoundry/upload_helpers.rb +222 -0
- data/lib/jfoundry/v2/app.rb +357 -0
- data/lib/jfoundry/v2/app_event.rb +13 -0
- data/lib/jfoundry/v2/base.rb +92 -0
- data/lib/jfoundry/v2/client.rb +78 -0
- data/lib/jfoundry/v2/domain.rb +20 -0
- data/lib/jfoundry/v2/managed_service_instance.rb +13 -0
- data/lib/jfoundry/v2/model.rb +209 -0
- data/lib/jfoundry/v2/model_magic/attribute.rb +49 -0
- data/lib/jfoundry/v2/model_magic/client_extensions.rb +170 -0
- data/lib/jfoundry/v2/model_magic/has_summary.rb +49 -0
- data/lib/jfoundry/v2/model_magic/queryable_by.rb +39 -0
- data/lib/jfoundry/v2/model_magic/to_many.rb +138 -0
- data/lib/jfoundry/v2/model_magic/to_one.rb +81 -0
- data/lib/jfoundry/v2/model_magic.rb +93 -0
- data/lib/jfoundry/v2/organization.rb +22 -0
- data/lib/jfoundry/v2/quota_definition.rb +12 -0
- data/lib/jfoundry/v2/route.rb +25 -0
- data/lib/jfoundry/v2/service.rb +20 -0
- data/lib/jfoundry/v2/service_auth_token.rb +10 -0
- data/lib/jfoundry/v2/service_binding.rb +10 -0
- data/lib/jfoundry/v2/service_broker.rb +11 -0
- data/lib/jfoundry/v2/service_instance.rb +13 -0
- data/lib/jfoundry/v2/service_plan.rb +13 -0
- data/lib/jfoundry/v2/space.rb +18 -0
- data/lib/jfoundry/v2/stack.rb +10 -0
- data/lib/jfoundry/v2/user.rb +104 -0
- data/lib/jfoundry/v2/user_provided_service_instance.rb +7 -0
- data/lib/jfoundry/validator.rb +41 -0
- data/lib/jfoundry/version.rb +4 -0
- data/lib/jfoundry/zip.rb +56 -0
- data/lib/jfoundry.rb +5 -0
- data/lib/tasks/gem_release.rake +42 -0
- data/vendor/errors/README.md +3 -0
- data/vendor/errors/v1.yml +189 -0
- data/vendor/errors/v2.yml +470 -0
- metadata +269 -0
@@ -0,0 +1,189 @@
|
|
1
|
+
100:
|
2
|
+
name: BadRequest
|
3
|
+
http_code: 400
|
4
|
+
message: "Bad request"
|
5
|
+
|
6
|
+
101:
|
7
|
+
name: DatabaseError
|
8
|
+
http_code: 500
|
9
|
+
message: "Error talking with the database"
|
10
|
+
|
11
|
+
102:
|
12
|
+
name: LockingError
|
13
|
+
http_code: 400
|
14
|
+
message: "Optimistic locking failure"
|
15
|
+
|
16
|
+
111:
|
17
|
+
name: SystemError
|
18
|
+
http_code: 500
|
19
|
+
message: "System Exception Encountered"
|
20
|
+
|
21
|
+
200:
|
22
|
+
name: Forbidden
|
23
|
+
http_code: 403
|
24
|
+
message: "Operation not permitted"
|
25
|
+
|
26
|
+
201:
|
27
|
+
name: UserNotFound
|
28
|
+
http_code: 403
|
29
|
+
message: "User not found"
|
30
|
+
|
31
|
+
202:
|
32
|
+
name: HttpsRequired
|
33
|
+
http_code: 403
|
34
|
+
message: "HTTPS required"
|
35
|
+
|
36
|
+
300:
|
37
|
+
name: AppInvalid
|
38
|
+
http_code: 400
|
39
|
+
message: "Invalid application description"
|
40
|
+
|
41
|
+
301:
|
42
|
+
name: AppNotFound
|
43
|
+
http_code: 404
|
44
|
+
message: "Application not found"
|
45
|
+
|
46
|
+
302:
|
47
|
+
name: AppNoResources
|
48
|
+
http_code: 404
|
49
|
+
message: "Couldn't find a place to run an app"
|
50
|
+
|
51
|
+
303:
|
52
|
+
name: AppFileNotFound
|
53
|
+
http_code: 404
|
54
|
+
message: "Could not find : '%s'"
|
55
|
+
|
56
|
+
304:
|
57
|
+
name: AppInstanceNotFound
|
58
|
+
http_code: 400
|
59
|
+
message: "Could not find instance: '%s'"
|
60
|
+
|
61
|
+
305:
|
62
|
+
name: AppStopped
|
63
|
+
http_code: 400
|
64
|
+
message: "Operation not permitted on a stopped app"
|
65
|
+
|
66
|
+
306:
|
67
|
+
name: AppFileError
|
68
|
+
http_code: 500
|
69
|
+
message: "Error retrieving file '%s'"
|
70
|
+
|
71
|
+
307:
|
72
|
+
name: AppInvalidRuntime
|
73
|
+
http_code: 400
|
74
|
+
message: "Invalid runtime specification [%s] for framework: '%s'"
|
75
|
+
|
76
|
+
308:
|
77
|
+
name: AppInvalidFramework
|
78
|
+
http_code: 400
|
79
|
+
message: "Invalid framework description: '%s'"
|
80
|
+
|
81
|
+
309:
|
82
|
+
name: AppDebugDisallowed
|
83
|
+
http_code: 400
|
84
|
+
message: "Cloud controller has disallowed debugging."
|
85
|
+
|
86
|
+
310:
|
87
|
+
name: AppStagingError
|
88
|
+
http_code: 500
|
89
|
+
message: "Staging failed: '%s'"
|
90
|
+
|
91
|
+
400:
|
92
|
+
name: ResourcesUnknownPackageType
|
93
|
+
http_code: 400
|
94
|
+
message: 'Unknown package type requested: "%"'
|
95
|
+
|
96
|
+
401:
|
97
|
+
name: ResourcesMissingResource
|
98
|
+
http_code: 400
|
99
|
+
message: "Could not find the requested resource"
|
100
|
+
|
101
|
+
402:
|
102
|
+
name: ResourcesPackagingFailed
|
103
|
+
http_code: 500
|
104
|
+
message: "App packaging failed: '%s'"
|
105
|
+
|
106
|
+
500:
|
107
|
+
name: ServiceNotFound
|
108
|
+
http_code: 404
|
109
|
+
message: "Service not found"
|
110
|
+
|
111
|
+
501:
|
112
|
+
name: BindingNotFound
|
113
|
+
http_code: 404
|
114
|
+
message: "Binding not found"
|
115
|
+
|
116
|
+
502:
|
117
|
+
name: TokenNotFound
|
118
|
+
http_code: 404
|
119
|
+
message: "Token not found"
|
120
|
+
|
121
|
+
503:
|
122
|
+
name: ServiceGatewayError
|
123
|
+
http_code: 502
|
124
|
+
message: "Unexpected response from service gateway"
|
125
|
+
|
126
|
+
504:
|
127
|
+
name: AccountTooManyServices
|
128
|
+
http_code: 403
|
129
|
+
message: "Too many Services provisioned: %s, you're allowed: %s"
|
130
|
+
|
131
|
+
505:
|
132
|
+
name: ExtensionNotImpl
|
133
|
+
http_code: 501
|
134
|
+
message: "Service extension %s is not implemented."
|
135
|
+
|
136
|
+
506:
|
137
|
+
name: UnsupportedVersion
|
138
|
+
http_code: 404
|
139
|
+
message: "Unsupported service version %s."
|
140
|
+
|
141
|
+
507:
|
142
|
+
name: SdsError
|
143
|
+
http_code: 500
|
144
|
+
message: "Get error from serialization_data_server: '%s'"
|
145
|
+
|
146
|
+
508:
|
147
|
+
name: SdsNotFound
|
148
|
+
http_code: 500
|
149
|
+
message: "No available active serialization data server"
|
150
|
+
|
151
|
+
600:
|
152
|
+
name: AccountNotEnoughMemory
|
153
|
+
http_code: 403
|
154
|
+
message: "Not enough memory capacity, you're allowed: %s"
|
155
|
+
|
156
|
+
601:
|
157
|
+
name: AccountAppsTooMany
|
158
|
+
http_code: 403
|
159
|
+
message: "Too many applications: %s, you're allowed: %s"
|
160
|
+
|
161
|
+
602:
|
162
|
+
name: AccountAppTooManyUris
|
163
|
+
http_code: 403
|
164
|
+
message: "Too many URIs: %s, you're allowed: %s"
|
165
|
+
|
166
|
+
700:
|
167
|
+
name: UriInvalid
|
168
|
+
http_code: 400
|
169
|
+
message: 'Invalid URI: "%s"'
|
170
|
+
|
171
|
+
701:
|
172
|
+
name: UriAlreadyTaken
|
173
|
+
http_code: 400
|
174
|
+
message: 'The URI: "%s" has already been taken or reserved'
|
175
|
+
|
176
|
+
702:
|
177
|
+
name: UriNotAllowed
|
178
|
+
http_code: 403
|
179
|
+
message: "External URIs are not enabled for this account"
|
180
|
+
|
181
|
+
800:
|
182
|
+
name: StagingTimedOut
|
183
|
+
http_code: 500
|
184
|
+
message: "Timed out waiting for staging to complete"
|
185
|
+
|
186
|
+
801:
|
187
|
+
name: StagingFailed
|
188
|
+
http_code: 500
|
189
|
+
message: "Staging failed"
|
@@ -0,0 +1,470 @@
|
|
1
|
+
1000:
|
2
|
+
name: InvalidAuthToken
|
3
|
+
http_code: 401
|
4
|
+
message: "Invalid Auth Token"
|
5
|
+
|
6
|
+
1001:
|
7
|
+
name: MessageParseError
|
8
|
+
http_code: 400
|
9
|
+
message: "Request invalid due to parse error: %s"
|
10
|
+
|
11
|
+
1002:
|
12
|
+
name: InvalidRelation
|
13
|
+
http_code: 400
|
14
|
+
message: "Invalid relation: %s"
|
15
|
+
|
16
|
+
10000:
|
17
|
+
name: NotFound
|
18
|
+
http_code: 404
|
19
|
+
message: "Unknown request"
|
20
|
+
|
21
|
+
10001:
|
22
|
+
name: ServerError
|
23
|
+
http_code: 500
|
24
|
+
message: "Server error"
|
25
|
+
|
26
|
+
10002:
|
27
|
+
name: NotAuthenticated
|
28
|
+
http_code: 401
|
29
|
+
message: "Authentication error"
|
30
|
+
|
31
|
+
10003:
|
32
|
+
name: NotAuthorized
|
33
|
+
http_code: 403
|
34
|
+
message: "You are not authorized to perform the requested action"
|
35
|
+
|
36
|
+
10004:
|
37
|
+
name: InvalidRequest
|
38
|
+
http_code: 400
|
39
|
+
message: "The request is invalid"
|
40
|
+
|
41
|
+
10005:
|
42
|
+
name: BadQueryParameter
|
43
|
+
http_code: 400
|
44
|
+
message: "The query parameter is invalid: %s"
|
45
|
+
|
46
|
+
10006:
|
47
|
+
name: AssociationNotEmpty
|
48
|
+
http_code: 400
|
49
|
+
message: "Please delete the %s associations for your %s."
|
50
|
+
|
51
|
+
20001:
|
52
|
+
name: UserInvalid
|
53
|
+
http_code: 400
|
54
|
+
message: "The user info is invalid: %s"
|
55
|
+
|
56
|
+
20002:
|
57
|
+
name: UaaIdTaken
|
58
|
+
http_code: 400
|
59
|
+
message: "The UAA ID is taken: %s"
|
60
|
+
|
61
|
+
20003:
|
62
|
+
name: UserNotFound
|
63
|
+
http_code: 404
|
64
|
+
message: "The user could not be found: %s"
|
65
|
+
|
66
|
+
30001:
|
67
|
+
name: OrganizationInvalid
|
68
|
+
http_code: 400
|
69
|
+
message: "The organization info is invalid: %s"
|
70
|
+
|
71
|
+
30002:
|
72
|
+
name: OrganizationNameTaken
|
73
|
+
http_code: 400
|
74
|
+
message: "The organization name is taken: %s"
|
75
|
+
|
76
|
+
30003:
|
77
|
+
name: OrganizationNotFound
|
78
|
+
http_code: 404
|
79
|
+
message: "The organization could not be found: %s"
|
80
|
+
|
81
|
+
40001:
|
82
|
+
name: SpaceInvalid
|
83
|
+
http_code: 400
|
84
|
+
message: "The app space info is invalid: %s"
|
85
|
+
|
86
|
+
40002:
|
87
|
+
name: SpaceNameTaken
|
88
|
+
http_code: 400
|
89
|
+
message: "The app space name is taken: %s"
|
90
|
+
|
91
|
+
40003:
|
92
|
+
name: SpaceUserNotInOrg
|
93
|
+
http_code: 400
|
94
|
+
message: "The app space and the user are not in the same org: %s"
|
95
|
+
|
96
|
+
40004:
|
97
|
+
name: SpaceNotFound
|
98
|
+
http_code: 404
|
99
|
+
message: "The app space could not be found: %s"
|
100
|
+
|
101
|
+
50001:
|
102
|
+
name: ServiceAuthTokenInvalid
|
103
|
+
http_code: 400
|
104
|
+
message: "The service auth token is invalid: %s"
|
105
|
+
|
106
|
+
50002:
|
107
|
+
name: ServiceAuthTokenLabelTaken
|
108
|
+
http_code: 400
|
109
|
+
message: "The service auth token label is taken: %s"
|
110
|
+
|
111
|
+
50003:
|
112
|
+
name: ServiceAuthTokenNotFound
|
113
|
+
http_code: 404
|
114
|
+
message: "The service auth token could not be found: %s"
|
115
|
+
|
116
|
+
60001:
|
117
|
+
name: ServiceInstanceNameInvalid
|
118
|
+
http_code: 400
|
119
|
+
message: "The service instance name is taken: %s"
|
120
|
+
|
121
|
+
60002:
|
122
|
+
name: ServiceInstanceNameTaken
|
123
|
+
http_code: 400
|
124
|
+
message: "The service instance name is taken: %s"
|
125
|
+
|
126
|
+
60003:
|
127
|
+
name: ServiceInstanceServiceBindingWrongSpace
|
128
|
+
http_code: 400
|
129
|
+
message: "The service instance and the service binding are in different app spaces: %s"
|
130
|
+
|
131
|
+
60003:
|
132
|
+
name: ServiceInstanceInvalid
|
133
|
+
http_code: 400
|
134
|
+
message: "The service instance is invalid: %s"
|
135
|
+
|
136
|
+
60004:
|
137
|
+
name: ServiceInstanceNotFound
|
138
|
+
http_code: 404
|
139
|
+
message: "The service instance could not be found: %s"
|
140
|
+
|
141
|
+
60005:
|
142
|
+
name: ServiceInstanceFreeQuotaExceeded
|
143
|
+
http_code: 400
|
144
|
+
message: "You have exceeded your organization's services limit. Please login to your account and upgrade."
|
145
|
+
|
146
|
+
60006:
|
147
|
+
name: ServiceInstancePaidQuotaExceeded
|
148
|
+
http_code: 400
|
149
|
+
message: "You have exceeded your organization's services limit. Please file a support ticket to request additional resources."
|
150
|
+
|
151
|
+
60007:
|
152
|
+
name: ServiceInstanceServicePlanNotAllowed
|
153
|
+
http_code: 400
|
154
|
+
message: "The service instance cannot be created because paid service plans are not allowed."
|
155
|
+
|
156
|
+
60008:
|
157
|
+
name: ServiceInstanceDuplicateNotAllowed
|
158
|
+
http_code: 400
|
159
|
+
message: "A service of this type is already present in this space. Some services disallow duplicates."
|
160
|
+
|
161
|
+
60009:
|
162
|
+
name: ServiceInstanceNameTooLong
|
163
|
+
http_code: 400
|
164
|
+
message: "You have requested an invalid service instance name. Names are limited to 50 characters."
|
165
|
+
|
166
|
+
60010:
|
167
|
+
name: ServiceInstanceOrganizationNotAuthorized
|
168
|
+
http_code: 403
|
169
|
+
message: A service instance for the selected plan cannot be created in this organization. The plan is visible because another organization you belong to has access to it.
|
170
|
+
|
171
|
+
70001:
|
172
|
+
name: RuntimeInvalid
|
173
|
+
http_code: 400
|
174
|
+
message: "The runtime is invalid: %s"
|
175
|
+
|
176
|
+
70002:
|
177
|
+
name: RuntimeNameTaken
|
178
|
+
http_code: 400
|
179
|
+
message: "The runtime name is taken: %s"
|
180
|
+
|
181
|
+
70003:
|
182
|
+
name: RuntimeNotFound
|
183
|
+
http_code: 404
|
184
|
+
message: "The runtime could not be found: %s"
|
185
|
+
|
186
|
+
80001:
|
187
|
+
name: FrameworkInvalid
|
188
|
+
http_code: 400
|
189
|
+
message: "The framework is invalid: %s"
|
190
|
+
|
191
|
+
80002:
|
192
|
+
name: FrameworkNameTaken
|
193
|
+
http_code: 400
|
194
|
+
message: "The framework name is taken: %s"
|
195
|
+
|
196
|
+
80003:
|
197
|
+
name: FrameworkNotFound
|
198
|
+
http_code: 404
|
199
|
+
message: "The framework could not be found: %s"
|
200
|
+
|
201
|
+
90001:
|
202
|
+
name: ServiceBindingInvalid
|
203
|
+
http_code: 400
|
204
|
+
message: "The service binding is invalid: %s"
|
205
|
+
|
206
|
+
90002:
|
207
|
+
name: ServiceBindingDifferentSpaces
|
208
|
+
http_code: 400
|
209
|
+
message: "The app and the service are not in the same app space: %s"
|
210
|
+
|
211
|
+
90003:
|
212
|
+
name: ServiceBindingAppServiceTaken
|
213
|
+
http_code: 400
|
214
|
+
message: "The app space binding to service is taken: %s"
|
215
|
+
|
216
|
+
90004:
|
217
|
+
name: ServiceBindingNotFound
|
218
|
+
http_code: 404
|
219
|
+
message: "The service binding could not be found: %s"
|
220
|
+
|
221
|
+
90005:
|
222
|
+
name: UnbindableService
|
223
|
+
http_code: 400
|
224
|
+
message: "The service doesn't support binding."
|
225
|
+
|
226
|
+
100001:
|
227
|
+
name: AppInvalid
|
228
|
+
http_code: 400
|
229
|
+
message: "The app is invalid: %s"
|
230
|
+
|
231
|
+
100002:
|
232
|
+
name: AppNameTaken
|
233
|
+
http_code: 400
|
234
|
+
message: "The app name is taken: %s"
|
235
|
+
|
236
|
+
100004:
|
237
|
+
name: AppNotFound
|
238
|
+
http_code: 404
|
239
|
+
message: "The app name could not be found: %s"
|
240
|
+
|
241
|
+
100005:
|
242
|
+
name: AppMemoryQuotaExceeded
|
243
|
+
http_code: 400
|
244
|
+
message: "You have exceeded your organization's memory limit. Please login to your account and upgrade. If you are trying to scale down and you are receiving this error, you can either delete an app or contact support."
|
245
|
+
|
246
|
+
100006:
|
247
|
+
name: AppMemoryInvalid
|
248
|
+
http_code: 400
|
249
|
+
message: "You have specified an invalid amount of memory for your application."
|
250
|
+
|
251
|
+
110001:
|
252
|
+
name: ServicePlanInvalid
|
253
|
+
http_code: 400
|
254
|
+
message: "The service plan is invalid: %s"
|
255
|
+
|
256
|
+
110002:
|
257
|
+
name: ServicePlanNameTaken
|
258
|
+
http_code: 400
|
259
|
+
message: "The service plan name is taken: %s"
|
260
|
+
|
261
|
+
110003:
|
262
|
+
name: ServicePlanNotFound
|
263
|
+
http_code: 404
|
264
|
+
message: "The service plan could not be found: %s"
|
265
|
+
|
266
|
+
120001:
|
267
|
+
name: ServiceInvalid
|
268
|
+
http_code: 400
|
269
|
+
message: "The service is invalid: %s"
|
270
|
+
|
271
|
+
120002:
|
272
|
+
name: ServiceLabelTaken
|
273
|
+
http_code: 400
|
274
|
+
message: "The service lable is taken: %s"
|
275
|
+
|
276
|
+
120003:
|
277
|
+
name: ServiceNotFound
|
278
|
+
http_code: 404
|
279
|
+
message: "The service could not be found: %s"
|
280
|
+
|
281
|
+
130001:
|
282
|
+
name: DomainInvalid
|
283
|
+
http_code: 400
|
284
|
+
message: "The domain is invalid: %s"
|
285
|
+
|
286
|
+
130002:
|
287
|
+
name: DomainNotFound
|
288
|
+
http_code: 404
|
289
|
+
message: "The domain could not be found: %s"
|
290
|
+
|
291
|
+
130003:
|
292
|
+
name: DomainNameTaken
|
293
|
+
http_code: 400
|
294
|
+
message: "The domain name is taken: %s"
|
295
|
+
|
296
|
+
140001:
|
297
|
+
name: LegacyApiWithoutDefaultSpace
|
298
|
+
http_code: 400
|
299
|
+
message: "A legacy api call requring a default app space was called, but no default app space is set for the user."
|
300
|
+
|
301
|
+
150001:
|
302
|
+
name: AppPackageInvalid
|
303
|
+
http_code: 400
|
304
|
+
message: "The app package is invalid: %s"
|
305
|
+
|
306
|
+
150002:
|
307
|
+
name: AppPackageNotFound
|
308
|
+
http_code: 404
|
309
|
+
message: "The app package could not be found: %s"
|
310
|
+
|
311
|
+
160001:
|
312
|
+
name: AppBitsUploadInvalid
|
313
|
+
http_code: 400
|
314
|
+
message: "The app upload is invalid: %s"
|
315
|
+
|
316
|
+
170001:
|
317
|
+
name: StagingError
|
318
|
+
http_code: 400
|
319
|
+
message: "Staging error: %s"
|
320
|
+
|
321
|
+
170002:
|
322
|
+
name: NotStaged
|
323
|
+
http_code: 400
|
324
|
+
message: "App has not finished staging"
|
325
|
+
|
326
|
+
180001:
|
327
|
+
name: SnapshotNotFound
|
328
|
+
http_code: 404
|
329
|
+
message: "Snapshot could not be found: %s"
|
330
|
+
|
331
|
+
180002:
|
332
|
+
name: ServiceGatewayError
|
333
|
+
http_code: 503
|
334
|
+
message: "Service gateway internal error: %s"
|
335
|
+
|
336
|
+
180003:
|
337
|
+
name: ServiceNotImplemented
|
338
|
+
http_code: 501
|
339
|
+
message: "Operation not supported for service"
|
340
|
+
|
341
|
+
180004:
|
342
|
+
name: SDSNotAvailable
|
343
|
+
http_code: 501
|
344
|
+
message: "No serialization service backends available"
|
345
|
+
|
346
|
+
190001:
|
347
|
+
name: FileError
|
348
|
+
http_code: 400
|
349
|
+
message: "File error: %s"
|
350
|
+
|
351
|
+
200001:
|
352
|
+
name: StatsError
|
353
|
+
http_code: 400
|
354
|
+
message: "Stats error: %s"
|
355
|
+
|
356
|
+
210001:
|
357
|
+
name: RouteInvalid
|
358
|
+
http_code: 400
|
359
|
+
message: "The route is invalid: %s"
|
360
|
+
|
361
|
+
210002:
|
362
|
+
name: RouteNotFound
|
363
|
+
http_code: 404
|
364
|
+
message: "The route could not be found: %s"
|
365
|
+
|
366
|
+
210003:
|
367
|
+
name: RouteHostTaken
|
368
|
+
http_code: 400
|
369
|
+
message: "The host is taken: %s"
|
370
|
+
|
371
|
+
220001:
|
372
|
+
name: InstancesError
|
373
|
+
http_code: 400
|
374
|
+
message: "Instances error: %s"
|
375
|
+
|
376
|
+
230001:
|
377
|
+
name: BillingEventQueryInvalid
|
378
|
+
http_code: 400
|
379
|
+
message: "Billing event query start_date and/or end_date are missing or invalid"
|
380
|
+
|
381
|
+
230002:
|
382
|
+
name: EventNotFound
|
383
|
+
http_code: 404
|
384
|
+
message: "Event could not be found: %s"
|
385
|
+
|
386
|
+
240001:
|
387
|
+
name: QuotaDefinitionNotFound
|
388
|
+
http_code: 404
|
389
|
+
message: "Quota Definition could not be found: %s"
|
390
|
+
|
391
|
+
240002:
|
392
|
+
name: QuotaDefinitionNameTaken
|
393
|
+
http_code: 400
|
394
|
+
message: "Quota Definition is taken: %s"
|
395
|
+
|
396
|
+
240003:
|
397
|
+
name: QuotaDefinitionInvalid
|
398
|
+
http_code: 400
|
399
|
+
message: "Quota Definition is invalid: %s"
|
400
|
+
|
401
|
+
250001:
|
402
|
+
name: StackInvalid
|
403
|
+
http_code: 400
|
404
|
+
message: "The stack is invalid: %s"
|
405
|
+
|
406
|
+
250002:
|
407
|
+
name: StackNameTaken
|
408
|
+
http_code: 400
|
409
|
+
message: "The stack name is taken: %s"
|
410
|
+
|
411
|
+
250003:
|
412
|
+
name: StackNotFound
|
413
|
+
http_code: 404
|
414
|
+
message: "The stack could not be found: %s"
|
415
|
+
|
416
|
+
260001:
|
417
|
+
name: ServicePlanVisibilityInvalid
|
418
|
+
http_code: 400
|
419
|
+
message: "Service Plan Visibility is invalid: %s"
|
420
|
+
|
421
|
+
260002:
|
422
|
+
name: ServicePlanVisibilityAlreadyExists
|
423
|
+
http_code: 400
|
424
|
+
message: "This combination of ServicePlan and Organization is already taken: %s"
|
425
|
+
|
426
|
+
270001:
|
427
|
+
name: ServiceBrokerInvalid
|
428
|
+
http_code: 400
|
429
|
+
message: "Service Broker is invalid: %s"
|
430
|
+
|
431
|
+
270002:
|
432
|
+
name: ServiceBrokerNameTaken
|
433
|
+
http_code: 400
|
434
|
+
message: "The service broker name is taken: %s"
|
435
|
+
|
436
|
+
270003:
|
437
|
+
name: ServiceBrokerUrlTaken
|
438
|
+
http_code: 400
|
439
|
+
message: "The service broker url is taken: %s"
|
440
|
+
|
441
|
+
280001:
|
442
|
+
name: RequestParameterError
|
443
|
+
http_code: 400
|
444
|
+
message: "Request parameters error"
|
445
|
+
|
446
|
+
280002:
|
447
|
+
name: Forbidden
|
448
|
+
http_code: 400
|
449
|
+
message: "No authority"
|
450
|
+
|
451
|
+
280003:
|
452
|
+
name: UserNotExist
|
453
|
+
http_code: 400
|
454
|
+
message: "No user exist"
|
455
|
+
|
456
|
+
280004:
|
457
|
+
name: MethodNotAllowed
|
458
|
+
http_code: 400
|
459
|
+
message: "The method is not allowed"
|
460
|
+
|
461
|
+
280005:
|
462
|
+
name: VerifyServerError
|
463
|
+
http_code: 400
|
464
|
+
message: "The verify server error"
|
465
|
+
|
466
|
+
280005:
|
467
|
+
name: UnknowError
|
468
|
+
http_code: 400
|
469
|
+
message: "Unknow error"
|
470
|
+
|