diff --git a/SPRINTLOG.md b/SPRINTLOG.md index 4b43df84..a7a11a1b 100644 --- a/SPRINTLOG.md +++ b/SPRINTLOG.md @@ -374,3 +374,7 @@ _Empty sprint_ - Remove pinned version in requirements-dev.txt to resolve CVE ([#706](https://github.com/ScilifelabDataCentre/dds_cli/pull/706)) - Add CODEOWNERS file in order to define Team Hermes as owners of all files in repository ([#707](https://github.com/ScilifelabDataCentre/dds_cli/pull/707)) - Update documentation and related libraries for pyton 3.12, dropped support for python 3.7 ([#709](https://github.com/ScilifelabDataCentre/dds_cli/pull/709)) + +# 2024-09-09 - 2024-09-20 + +- Added new dev instance url to cli config ([#712](https://github.com/ScilifelabDataCentre/dds_cli/pull/712)) diff --git a/dds_cli/__init__.py b/dds_cli/__init__.py index 507fc690..d7cdafa5 100644 --- a/dds_cli/__init__.py +++ b/dds_cli/__init__.py @@ -61,12 +61,15 @@ class DDSEndpoint: BASE_ENDPOINT_DOCKER = "http://dds_backend:5000/api/v1" BASE_ENDPOINT_REMOTE = "https://delivery.scilifelab.se/api/v1" BASE_ENDPOINT_REMOTE_TEST = "https://testing.delivery.scilifelab.se/api/v1" + BASE_ENDPOINT_REMOTE_DEV = "https://dev.delivery.scilifelab.se/api/v1" if os.getenv("DDS_CLI_ENV") == "development": BASE_ENDPOINT = BASE_ENDPOINT_LOCAL elif os.getenv("DDS_CLI_ENV") == "docker-dev": BASE_ENDPOINT = BASE_ENDPOINT_DOCKER elif os.getenv("DDS_CLI_ENV") == "test-instance": BASE_ENDPOINT = BASE_ENDPOINT_REMOTE_TEST + elif os.getenv("DDS_CLI_ENV") == "dev-instance": + BASE_ENDPOINT = BASE_ENDPOINT_REMOTE_DEV else: BASE_ENDPOINT = BASE_ENDPOINT_REMOTE