Skip to content

Commit 31a8124

Browse files
Merge pull request #1506 from virtualcell/error-handling-architecture
Improve error handling architecture for the Quarkus server, utilize an error factory on the GUI client, and remove git patches.
2 parents 642dbbb + 1af367a commit 31a8124

124 files changed

Lines changed: 3709 additions & 752 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

python-restclient/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ docs/UserLoginInfoForMapping.md
4747
docs/UserRegistrationInfo.md
4848
docs/UsersResourceApi.md
4949
docs/VCSimulationIdentifier.md
50+
docs/VCellHTTPError.md
5051
docs/VariableDomain.md
5152
docs/VariableType.md
5253
test/__init__.py
@@ -103,6 +104,7 @@ vcell_client/models/user.py
103104
vcell_client/models/user_identity_json_safe.py
104105
vcell_client/models/user_login_info_for_mapping.py
105106
vcell_client/models/user_registration_info.py
107+
vcell_client/models/v_cell_http_error.py
106108
vcell_client/models/variable_domain.py
107109
vcell_client/models/variable_type.py
108110
vcell_client/models/vc_simulation_identifier.py

python-restclient/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ Class | Method | HTTP request | Description
166166
- [UserLoginInfoForMapping](docs/UserLoginInfoForMapping.md)
167167
- [UserRegistrationInfo](docs/UserRegistrationInfo.md)
168168
- [VCSimulationIdentifier](docs/VCSimulationIdentifier.md)
169+
- [VCellHTTPError](docs/VCellHTTPError.md)
169170
- [VariableDomain](docs/VariableDomain.md)
170171
- [VariableType](docs/VariableType.md)
171172

python-restclient/docs/AdminResourceApi.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ This endpoint does not need any parameter.
6262
### HTTP request headers
6363

6464
- **Content-Type**: Not defined
65-
- **Accept**: application/pdf
65+
- **Accept**: application/pdf, application/json
6666

6767
### HTTP response details
6868
| Status code | Description | Response headers |
6969
|-------------|-------------|------------------|
7070
**200** | The PDF report | - |
7171
**401** | Not Authorized | - |
7272
**403** | Not Allowed | - |
73+
**500** | Data Access Exception | - |
7374

7475
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7576

python-restclient/docs/BioModelResourceApi.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@ No authorization required
6363
### HTTP request headers
6464

6565
- **Content-Type**: Not defined
66-
- **Accept**: Not defined
66+
- **Accept**: application/json
6767

6868
### HTTP response details
6969
| Status code | Description | Response headers |
7070
|-------------|-------------|------------------|
7171
**204** | No Content | - |
72+
**401** | Not Authorized | - |
73+
**403** | Not Allowed | - |
74+
**500** | Data Access Exception | - |
7275

7376
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7477

@@ -134,6 +137,10 @@ No authorization required
134137
| Status code | Description | Response headers |
135138
|-------------|-------------|------------------|
136139
**200** | OK | - |
140+
**401** | Not Authorized | - |
141+
**403** | Not Allowed | - |
142+
**404** | Not found | - |
143+
**500** | Data Access Exception | - |
137144

138145
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
139146

@@ -192,12 +199,16 @@ No authorization required
192199
### HTTP request headers
193200

194201
- **Content-Type**: Not defined
195-
- **Accept**: text/xml
202+
- **Accept**: text/xml, application/json
196203

197204
### HTTP response details
198205
| Status code | Description | Response headers |
199206
|-------------|-------------|------------------|
200207
**200** | OK | - |
208+
**401** | Not Authorized | - |
209+
**403** | Not Allowed | - |
210+
**404** | Not found | - |
211+
**500** | Data Access Exception | - |
201212

202213
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
203214

@@ -261,14 +272,16 @@ Name | Type | Description | Notes
261272
### HTTP request headers
262273

263274
- **Content-Type**: application/json
264-
- **Accept**: application/xml
275+
- **Accept**: application/xml, application/json
265276

266277
### HTTP response details
267278
| Status code | Description | Response headers |
268279
|-------------|-------------|------------------|
269280
**200** | OK | - |
270281
**401** | Not Authorized | - |
271282
**403** | Not Allowed | - |
283+
**422** | Unprocessable content submitted | - |
284+
**500** | Data Access Exception | - |
272285

273286
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
274287

python-restclient/docs/FieldDataResourceApi.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ Name | Type | Description | Notes
100100
**200** | OK | - |
101101
**401** | Not Authorized | - |
102102
**403** | Not Allowed | - |
103+
**422** | Unprocessable content submitted | - |
104+
**500** | Data Access Exception | - |
103105

104106
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
105107

@@ -173,6 +175,8 @@ Name | Type | Description | Notes
173175
**200** | OK | - |
174176
**401** | Not Authorized | - |
175177
**403** | Not Allowed | - |
178+
**422** | Unprocessable content submitted | - |
179+
**500** | Data Access Exception | - |
176180

177181
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
178182

@@ -245,6 +249,8 @@ Name | Type | Description | Notes
245249
**200** | OK | - |
246250
**401** | Not Authorized | - |
247251
**403** | Not Allowed | - |
252+
**422** | Unprocessable content submitted | - |
253+
**500** | Data Access Exception | - |
248254

249255
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
250256

@@ -318,6 +324,8 @@ Name | Type | Description | Notes
318324
**200** | OK | - |
319325
**401** | Not Authorized | - |
320326
**403** | Not Allowed | - |
327+
**422** | Unprocessable content submitted | - |
328+
**500** | Data Access Exception | - |
321329

322330
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
323331

@@ -382,14 +390,15 @@ void (empty response body)
382390
### HTTP request headers
383391

384392
- **Content-Type**: application/x-www-form-urlencoded
385-
- **Accept**: Not defined
393+
- **Accept**: application/json
386394

387395
### HTTP response details
388396
| Status code | Description | Response headers |
389397
|-------------|-------------|------------------|
390398
**201** | Created | - |
391399
**401** | Not Authorized | - |
392400
**403** | Not Allowed | - |
401+
**500** | Data Access Exception | - |
393402

394403
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
395404

@@ -450,14 +459,15 @@ void (empty response body)
450459
### HTTP request headers
451460

452461
- **Content-Type**: Not defined
453-
- **Accept**: Not defined
462+
- **Accept**: application/json
454463

455464
### HTTP response details
456465
| Status code | Description | Response headers |
457466
|-------------|-------------|------------------|
458467
**204** | No Content | - |
459468
**401** | Not Authorized | - |
460469
**403** | Not Allowed | - |
470+
**500** | Data Access Exception | - |
461471

462472
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
463473

@@ -525,6 +535,7 @@ This endpoint does not need any parameter.
525535
**200** | OK | - |
526536
**401** | Not Authorized | - |
527537
**403** | Not Allowed | - |
538+
**500** | Data Access Exception | - |
528539

529540
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
530541

@@ -596,6 +607,8 @@ Name | Type | Description | Notes
596607
**200** | OK | - |
597608
**401** | Not Authorized | - |
598609
**403** | Not Allowed | - |
610+
**404** | Not found | - |
611+
**500** | Data Access Exception | - |
599612

600613
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
601614

@@ -668,6 +681,8 @@ Name | Type | Description | Notes
668681
**200** | OK | - |
669682
**401** | Not Authorized | - |
670683
**403** | Not Allowed | - |
684+
**422** | Unprocessable content submitted | - |
685+
**500** | Data Access Exception | - |
671686

672687
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
673688

python-restclient/docs/HelloWorldApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ No authorization required
6565
| Status code | Description | Response headers |
6666
|-------------|-------------|------------------|
6767
**200** | OK | - |
68+
**403** | Not Allowed | - |
6869

6970
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7071

python-restclient/docs/PublicationResourceApi.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Name | Type | Description | Notes
7979
**200** | OK | - |
8080
**401** | Not Authorized | - |
8181
**403** | Not Allowed | - |
82+
**500** | Data Access Exception | - |
8283

8384
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
8485

@@ -139,14 +140,16 @@ void (empty response body)
139140
### HTTP request headers
140141

141142
- **Content-Type**: Not defined
142-
- **Accept**: Not defined
143+
- **Accept**: application/json
143144

144145
### HTTP response details
145146
| Status code | Description | Response headers |
146147
|-------------|-------------|------------------|
147148
**204** | No Content | - |
148149
**401** | Not Authorized | - |
149150
**403** | Not Allowed | - |
151+
**404** | Not found | - |
152+
**500** | Data Access Exception | - |
150153

151154
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
152155

@@ -212,6 +215,9 @@ No authorization required
212215
| Status code | Description | Response headers |
213216
|-------------|-------------|------------------|
214217
**200** | OK | - |
218+
**401** | Not Authorized | - |
219+
**403** | Not Allowed | - |
220+
**500** | Data Access Exception | - |
215221

216222
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
217223

@@ -273,6 +279,9 @@ No authorization required
273279
| Status code | Description | Response headers |
274280
|-------------|-------------|------------------|
275281
**200** | OK | - |
282+
**401** | Not Authorized | - |
283+
**403** | Not Allowed | - |
284+
**500** | Data Access Exception | - |
276285

277286
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
278287

@@ -344,6 +353,7 @@ Name | Type | Description | Notes
344353
**200** | OK | - |
345354
**401** | Not Authorized | - |
346355
**403** | Not Allowed | - |
356+
**500** | Data Access Exception | - |
347357

348358
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
349359

python-restclient/docs/SimulationResourceApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Name | Type | Description | Notes
8181
**200** | OK | - |
8282
**401** | Not Authorized | - |
8383
**403** | Not Allowed | - |
84+
**500** | Data Access Exception | - |
8485

8586
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
8687

@@ -152,6 +153,7 @@ Name | Type | Description | Notes
152153
**200** | OK | - |
153154
**401** | Not Authorized | - |
154155
**403** | Not Allowed | - |
156+
**500** | Data Access Exception | - |
155157

156158
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
157159

@@ -223,6 +225,7 @@ Name | Type | Description | Notes
223225
**200** | OK | - |
224226
**401** | Not Authorized | - |
225227
**403** | Not Allowed | - |
228+
**500** | Data Access Exception | - |
226229

227230
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
228231

python-restclient/docs/SolverResourceApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,13 @@ No authorization required
6767
### HTTP request headers
6868

6969
- **Content-Type**: multipart/form-data
70-
- **Accept**: application/octet-stream
70+
- **Accept**: application/octet-stream, application/json
7171

7272
### HTTP response details
7373
| Status code | Description | Response headers |
7474
|-------------|-------------|------------------|
7575
**200** | OK | - |
76+
**422** | Unprocessable content submitted | - |
7677

7778
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7879

@@ -133,12 +134,13 @@ No authorization required
133134
### HTTP request headers
134135

135136
- **Content-Type**: multipart/form-data
136-
- **Accept**: application/octet-stream
137+
- **Accept**: application/octet-stream, application/json
137138

138139
### HTTP response details
139140
| Status code | Description | Response headers |
140141
|-------------|-------------|------------------|
141142
**200** | OK | - |
143+
**422** | Unprocessable content submitted | - |
142144

143145
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
144146

0 commit comments

Comments
 (0)