Skip to content

Commit dff508d

Browse files
tkiliasckunki
andauthored
#115: Fixed SaaS API throws "stream Type should be provided" (#116)
* Add stream type with hard_code default value to createDatabase * Re-generated SaaS client * Prepare release 2.3.0 Co-authored-by: ckunki <[email protected]>
1 parent 821291f commit dff508d

File tree

10 files changed

+30
-157
lines changed

10 files changed

+30
-157
lines changed

doc/changes/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changes
22

33
* [unreleased](unreleased.md)
4+
* [2.3.0](changes_2.3.0.md)
45
* [2.2.0](changes_2.2.0.md)
56
* [2.1.0](changes_2.1.0.md)
67
* [2.0.0](changes_2.0.0.md)
@@ -24,6 +25,7 @@
2425
hidden:
2526
---
2627
unreleased
28+
changes_2.3.0
2729
changes_2.2.0
2830
changes_2.1.0
2931
changes_2.0.0

doc/changes/changes_2.3.0.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 2.3.0 - 2025-09-23
2+
3+
This release updates the Python API generated from file `openapi.json`.
4+
5+
The following changes actually are breaking changes:
6+
* removed `components` / `schemas` / `Database` / `required` / `settings`
7+
* removed `components` / `schemas` / `Database` / `properties` / `settings`
8+
9+
However, as these changes are transparant to users of the SAPIPY the release only
10+
increases the minor version.
11+
12+
Other changes to `open-api.json` are:
13+
* added `paths` / `/api/v1/accounts/{accountId}/databases/{databaseId}/dlhc-activate`
14+
* added `components` / `schemas` / `DlhcActivateStatus`
15+
16+
## Bugfixes
17+
18+
* #115: Fixed SaaS API throws "stream Type should be provided"
19+
20+
## Refactorings
21+
22+
* #110: Updated exasol-toolbox to 1.6.0 & activated sonar
23+
* #112: Updated open API client

doc/changes/unreleased.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
11
# Unreleased
2-
3-
This release updates the Python API generated from file `openapi.json`.
4-
5-
Changes to `open-api.json` in detail:
6-
* added `paths` / `/api/v1/accounts/{accountId}/databases/{databaseId}/dlhc-activate`
7-
* added `components` / `schemas` / `DlhcActivateStatus`
8-
9-
## Refactorings
10-
11-
* #110: Updated exasol-toolbox to 1.6.0 & activated sonar
12-
* #112: Updated open API client

exasol/saas/client/api_access.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def minutes(x: timedelta) -> int:
224224
initial_cluster=cluster_spec,
225225
provider="aws",
226226
region=region,
227+
stream_type="feature-release",
227228
),
228229
)
229230

exasol/saas/client/openapi/models/__init__.py

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

exasol/saas/client/openapi/models/exasol_database.py

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

exasol/saas/client/openapi/models/exasol_database_settings.py

Lines changed: 0 additions & 96 deletions
This file was deleted.

openapi.json

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "1.0",
77
"download": {
88
"source": "https://cloud.exasol.com/openapi.json",
9-
"timestamp": "2025-08-11T06:11:17.721349+00:00"
9+
"timestamp": "2025-09-22T08:35:51.065579+00:00"
1010
}
1111
},
1212
"servers": [
@@ -3267,8 +3267,7 @@
32673267
"provider",
32683268
"region",
32693269
"createdAt",
3270-
"createdBy",
3271-
"settings"
3270+
"createdBy"
32723271
],
32733272
"properties": {
32743273
"status": {
@@ -3336,38 +3335,6 @@
33363335
"deletedAt": {
33373336
"type": "string",
33383337
"format": "date-time"
3339-
},
3340-
"settings": {
3341-
"required": [
3342-
"offloadEnabled",
3343-
"autoUpdatesEnabled",
3344-
"autoUpdatesHardDisabled",
3345-
"numNodes",
3346-
"streamType",
3347-
"streamDescription"
3348-
],
3349-
"properties": {
3350-
"offloadEnabled": {
3351-
"type": "boolean"
3352-
},
3353-
"autoUpdatesEnabled": {
3354-
"type": "boolean"
3355-
},
3356-
"autoUpdatesHardDisabled": {
3357-
"type": "boolean"
3358-
},
3359-
"numNodes": {
3360-
"type": "integer"
3361-
},
3362-
"streamType": {
3363-
"type": "string"
3364-
},
3365-
"streamDescription": {
3366-
"type": "string"
3367-
}
3368-
},
3369-
"additionalProperties": false,
3370-
"type": "object"
33713338
}
33723339
},
33733340
"type": "object"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "exasol-saas-api"
3-
version = "2.2.0"
3+
version = "2.3.0"
44
requires-python = ">=3.10.0,<4.0"
55
description = "API enabling Python applications connecting to Exasol database SaaS instances and using their SaaS services"
66
authors = [

version.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)