diff --git a/CHANGELOG.md b/CHANGELOG.md index fb14c27f..111f51aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,17 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Populate `users` field of the public Shift GET API with `rolling_users` from the type override created from web UI([#3303](https://github.com/grafana/oncall/pull/3303)) +- Do not retry to update slack user group on every API error ([#3363](https://github.com/grafana/oncall/pull/3363)) +- Allow specifying a comma-separated list of redis-servers to the `REDIS_URI` engine environment variable by @joeyorlando + ([#3368](https://github.com/grafana/oncall/pull/3368)) + ### Fixed - Fixed recurrency limit issue in the Rotation Modal ([#3358](https://github.com/grafana/oncall/pull/3358)) - Added dragging boundary constraints for Rotation Modal and show scroll for the users list ([#3365](https://github.com/grafana/oncall/pull/3365)) - Delete direct paging integration on team delete by @vadimkerr ([#3367](https://github.com/grafana/oncall/pull/3367)) -### Added - -- Populate `users` field of the public Shift GET API with `rolling_users` from the type override created from web UI([#3303](https://github.com/grafana/oncall/pull/3303)) -- Do not retry to update slack user group on every API error ([#3363](https://github.com/grafana/oncall/pull/3363)) - ## v1.3.58 (2023-11-14) ### Added diff --git a/engine/apps/api/tests/test_openapi_schema.py b/engine/apps/api/tests/test_openapi_schema.py index 57357fa6..2068ba61 100644 --- a/engine/apps/api/tests/test_openapi_schema.py +++ b/engine/apps/api/tests/test_openapi_schema.py @@ -1,13 +1,14 @@ import pytest import yaml +from django.test import override_settings from django.urls import reverse from rest_framework import status from rest_framework.test import APIClient @pytest.mark.django_db +@override_settings(DRF_SPECTACULAR_ENABLED=True) def test_fetching_the_openapi_schema_works(settings, reload_urls): - settings.DRF_SPECTACULAR_ENABLED = True reload_urls() client = APIClient() diff --git a/engine/settings/base.py b/engine/settings/base.py index bbc14bb6..dd749033 100644 --- a/engine/settings/base.py +++ b/engine/settings/base.py @@ -220,9 +220,7 @@ if REDIS_USE_SSL: CACHES = { "default": { "BACKEND": "redis_cache.RedisCache", - "LOCATION": [ - REDIS_URI, - ], + "LOCATION": REDIS_URI, "OPTIONS": { "DB": REDIS_DATABASE, "PARSER_CLASS": "redis.connection.HiredisParser",