From d56fb2a80a45355ebc71781d1ac3595e26f5d6bb Mon Sep 17 00:00:00 2001 From: Aidan Feldman Date: Tue, 28 Feb 2023 15:52:18 -0500 Subject: [PATCH 01/10] fix(alerts): expand nightly downtime window Seeing it happen slightly later: https://cal-itp.slack.com/files/USLACKBOT/F04RLRXC1QS/azure_monitor_alert_activated_for_your_availability_test__mst-courtesy-cards-eligibility-server-test-healthcheck__with_severity_1 --- terraform/suppress.arm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/suppress.arm.json b/terraform/suppress.arm.json index d208061d..07071cb1 100644 --- a/terraform/suppress.arm.json +++ b/terraform/suppress.arm.json @@ -26,7 +26,7 @@ { "recurrenceType": "Daily", "startTime": "06:00:00", - "endTime": "06:10:00" + "endTime": "06:20:00" } ] }, From 041bc40c09658ff436b054423511917670a90aa8 Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Mon, 10 Apr 2023 23:30:49 +0000 Subject: [PATCH 02/10] fix: make sure suppression window covers 5-minute windows near start --- terraform/suppress.arm.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/suppress.arm.json b/terraform/suppress.arm.json index 07071cb1..95fd5b7d 100644 --- a/terraform/suppress.arm.json +++ b/terraform/suppress.arm.json @@ -25,7 +25,7 @@ "recurrences": [ { "recurrenceType": "Daily", - "startTime": "06:00:00", + "startTime": "05:55:00", "endTime": "06:20:00" } ] From 98e240d9aab81cd36f2b895402a5fb84dd394e94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 May 2023 17:59:30 +0000 Subject: [PATCH 03/10] chore(deps): bump requests from 2.28.2 to 2.31.0 Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 29db686f..97e63585 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ eligibility-api==2023.01.1 Flask==2.2.3 Flask-RESTful==0.3.9 Flask-SQLAlchemy==3.0.3 -requests==2.28.2 +requests==2.31.0 From e32b1d1e1b7d13344d171259579c1f3fcfee56b6 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Wed, 21 Jun 2023 00:59:20 +0400 Subject: [PATCH 04/10] chore: update to latest eligibility-api --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 97e63585..1774f2b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -eligibility-api==2023.01.1 +eligibility-api==2023.6.1 Flask==2.2.3 Flask-RESTful==0.3.9 Flask-SQLAlchemy==3.0.3 From 4159438e1472cf418dfaf41708403ed1a6405977 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Wed, 21 Jun 2023 01:04:58 +0400 Subject: [PATCH 05/10] chore(deps): bump flask from 2.2.3 to 2.3.2 Bumps [flask](https://github.com/pallets/flask) from 2.2.3 to 2.3.2. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/2.2.3...2.3.2) --- updated-dependencies: - dependency-name: flask dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1774f2b1..251b6ab3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ eligibility-api==2023.6.1 -Flask==2.2.3 +Flask==2.3.2 Flask-RESTful==0.3.9 Flask-SQLAlchemy==3.0.3 requests==2.31.0 From 0471058e218f67debb8b6fb429698ca5ba74adf9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 18:44:39 +0000 Subject: [PATCH 06/10] chore(deps): bump flask-restful from 0.3.9 to 0.3.10 Bumps [flask-restful](https://github.com/flask-restful/flask-restful) from 0.3.9 to 0.3.10. - [Release notes](https://github.com/flask-restful/flask-restful/releases) - [Changelog](https://github.com/flask-restful/flask-restful/blob/master/CHANGES.md) - [Commits](https://github.com/flask-restful/flask-restful/compare/v0.3.9...0.3.10) --- updated-dependencies: - dependency-name: flask-restful dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 251b6ab3..8e0cb451 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ eligibility-api==2023.6.1 Flask==2.3.2 -Flask-RESTful==0.3.9 +Flask-RESTful==0.3.10 Flask-SQLAlchemy==3.0.3 requests==2.31.0 From 09799466849b563a63fab8e4521b6d7af73f874b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 18:44:38 +0000 Subject: [PATCH 07/10] chore(deps): bump flask-sqlalchemy from 3.0.3 to 3.0.4 Bumps [flask-sqlalchemy](https://github.com/pallets-eco/flask-sqlalchemy) from 3.0.3 to 3.0.4. - [Release notes](https://github.com/pallets-eco/flask-sqlalchemy/releases) - [Changelog](https://github.com/pallets-eco/flask-sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets-eco/flask-sqlalchemy/compare/3.0.3...3.0.4) --- updated-dependencies: - dependency-name: flask-sqlalchemy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8e0cb451..9ad334a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ eligibility-api==2023.6.1 Flask==2.3.2 Flask-RESTful==0.3.10 -Flask-SQLAlchemy==3.0.3 +Flask-SQLAlchemy==3.0.4 requests==2.31.0 From 25f9c1269f14f982e323f78ddf820728c3e10ee2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Jun 2023 18:01:31 +0000 Subject: [PATCH 08/10] chore(deps): bump flask-sqlalchemy from 3.0.4 to 3.0.5 Bumps [flask-sqlalchemy](https://github.com/pallets-eco/flask-sqlalchemy) from 3.0.4 to 3.0.5. - [Release notes](https://github.com/pallets-eco/flask-sqlalchemy/releases) - [Changelog](https://github.com/pallets-eco/flask-sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets-eco/flask-sqlalchemy/compare/3.0.4...3.0.5) --- updated-dependencies: - dependency-name: flask-sqlalchemy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9ad334a3..73edb3dd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ eligibility-api==2023.6.1 Flask==2.3.2 Flask-RESTful==0.3.10 -Flask-SQLAlchemy==3.0.4 +Flask-SQLAlchemy==3.0.5 requests==2.31.0 From 93e027b385b8779bec546ef030f7883bdd1d9408 Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Thu, 22 Jun 2023 21:30:55 +0000 Subject: [PATCH 09/10] fix: increase time that Azure will wait for container to start loading the data file sometimes causes startup to take a long time https://learn.microsoft.com/en-us/azure/app-service/reference-app-settings?tabs=kudu%2Cdotnet#custom-containers --- terraform/app_service.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/terraform/app_service.tf b/terraform/app_service.tf index 5fce0c67..189c3a95 100644 --- a/terraform/app_service.tf +++ b/terraform/app_service.tf @@ -53,6 +53,7 @@ resource "azurerm_linux_web_app" "main" { # this prevents the filesystem from being obscured by a mount "WEBSITES_ENABLE_APP_SERVICE_STORAGE" = "false" "WEBSITES_PORT" = "8000" + "WEBSITES_CONTAINER_START_TIME_LIMIT" = "1800" } identity { From 33260db79234291905dd3c4b3cd1d01bdbe60ebe Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Fri, 23 Jun 2023 16:25:48 +0000 Subject: [PATCH 10/10] chore(release): bump version to 2023.06.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 28152512..8b5a1f22 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( name="eligibility-server", - version="2023.02.1", + version="2023.06.1", description="Server implementation of the Eligibility Verification API", long_description=long_description, long_description_content_type="text/markdown",