From 5e3e66261a19eae8444e81c62f6aa68201fc039c Mon Sep 17 00:00:00 2001 From: ckunki Date: Thu, 5 Jun 2025 16:03:23 +0200 Subject: [PATCH 1/4] #100: Increased timeout for starting Saas instances --- doc/changes/unreleased.md | 4 ++++ exasol/saas/client/api_access.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 79e701b..ffe2c22 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1 +1,5 @@ # Unreleased + +## Features + +* #100: Increased timeout for starting Saas instances diff --git a/exasol/saas/client/api_access.py b/exasol/saas/client/api_access.py index 3257d33..80317ae 100644 --- a/exasol/saas/client/api_access.py +++ b/exasol/saas/client/api_access.py @@ -303,7 +303,7 @@ def get_database( def wait_until_running( self, database_id: str, - timeout: timedelta = timedelta(minutes=30), + timeout: timedelta = timedelta(minutes=60), interval: timedelta = timedelta(minutes=2), ): success = [ From e0b6ab901983f2a54db34afe92305fc5b57aed81 Mon Sep 17 00:00:00 2001 From: ckunki Date: Thu, 5 Jun 2025 16:05:46 +0200 Subject: [PATCH 2/4] Updated changelog --- doc/changes/unreleased.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index ffe2c22..d4904b1 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1,5 +1,7 @@ # Unreleased +This release increases the timeout for waiting until a started Saas instance reports status RUNNING from 30 to 60 minutes. + ## Features * #100: Increased timeout for starting Saas instances From 06fe86f41b9d88aa526c26379b015c1eed0d8842 Mon Sep 17 00:00:00 2001 From: ckunki Date: Thu, 5 Jun 2025 16:07:32 +0200 Subject: [PATCH 3/4] Prepare release 2.0.1 --- doc/changes/changelog.md | 2 ++ doc/changes/changes_2.0.1.md | 7 +++++++ doc/changes/unreleased.md | 6 ------ pyproject.toml | 2 +- version.py | 2 +- 5 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 doc/changes/changes_2.0.1.md diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 2512f71..2ec79b2 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,6 +1,7 @@ # Changes * [unreleased](unreleased.md) +* [2.0.1](changes_2.0.1.md) * [2.0.0](changes_2.0.0.md) * [1.1.1](changes_1.1.1.md) * [1.1.0](changes_1.1.0.md) @@ -22,6 +23,7 @@ hidden: --- unreleased +changes_2.0.1 changes_2.0.0 changes_1.1.1 changes_1.1.0 diff --git a/doc/changes/changes_2.0.1.md b/doc/changes/changes_2.0.1.md new file mode 100644 index 0000000..7b5c719 --- /dev/null +++ b/doc/changes/changes_2.0.1.md @@ -0,0 +1,7 @@ +# 2.0.1 - 2025-06-05 + +This release increases the timeout for waiting until a started Saas instance reports status RUNNING from 30 to 60 minutes. + +## Features + +* #100: Increased timeout for starting Saas instances diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index d4904b1..79e701b 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1,7 +1 @@ # Unreleased - -This release increases the timeout for waiting until a started Saas instance reports status RUNNING from 30 to 60 minutes. - -## Features - -* #100: Increased timeout for starting Saas instances diff --git a/pyproject.toml b/pyproject.toml index 2a53429..6354e4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "exasol-saas-api" -version = "2.0.0" +version = "2.0.1" description = "API enabling Python applications connecting to Exasol database SaaS instances and using their SaaS services" authors = [ {name="Christoph Kuhnke", email="christoph.kuhnke@exasol.com"}, diff --git a/version.py b/version.py index 5f82238..1cfa15c 100644 --- a/version.py +++ b/version.py @@ -6,6 +6,6 @@ # If you need to change the version, do so in the project.toml, e.g. by using `poetry version X.Y.Z`. MAJOR = 2 MINOR = 0 -PATCH = 0 +PATCH = 1 VERSION = f"{MAJOR}.{MINOR}.{PATCH}" __version__ = VERSION From 68ae94bcbb1e9f4b781ab8690ee9d9fbb0f97e8e Mon Sep 17 00:00:00 2001 From: ckunki Date: Thu, 5 Jun 2025 17:12:19 +0200 Subject: [PATCH 4/4] changed default aws region to us-east-1 --- exasol/saas/client/api_access.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exasol/saas/client/api_access.py b/exasol/saas/client/api_access.py index 80317ae..744e9c2 100644 --- a/exasol/saas/client/api_access.py +++ b/exasol/saas/client/api_access.py @@ -202,7 +202,8 @@ def create_database( self, name: str, cluster_size: str = "XS", - region: str = "eu-central-1", + # region: str = "eu-central-1", + region: str = "us-east-1", idle_time: timedelta | None = None, ) -> openapi.models.exasol_database.ExasolDatabase | None: def minutes(x: timedelta) -> int: