From fe6618a6b158e0fba4a0e54bba4cb1659f289d2f Mon Sep 17 00:00:00 2001 From: Mishkat Najam Date: Fri, 10 Nov 2023 12:22:45 +0000 Subject: [PATCH] Make setup-all completes with as minimal changes needed --- integration_tests/v1/conftest.py | 8 ++++---- .../v1/requirements/dev-requirements.txt | 14 +++++++------- lambda_functions/v1/requirements/requirements.txt | 2 +- mock_sirius_backend/Dockerfile | 2 +- mock_sirius_backend/requirements.txt | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/integration_tests/v1/conftest.py b/integration_tests/v1/conftest.py index 5c5d1514..d3870e48 100644 --- a/integration_tests/v1/conftest.py +++ b/integration_tests/v1/conftest.py @@ -36,25 +36,25 @@ opg_data_lpa_dev_aws = { "name": "new collections api on aws dev", "healthcheck_endpoint": { - "url": "https://uml-3042.dev.lpa.api.opg.service.justice.gov.uk/v1/healthcheck", + "url": "https://XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/healthcheck", "method": "GET", }, "online_tool_endpoint": { - "url": "https://uml-3042.dev.lpa.api.opg.service.justice.gov.uk/v1/lpa" + "url": "https://XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/lpa" "-online-tool/lpas", "method": "GET", "valid_lpa_online_tool_ids": ["A33718377316"], "invalid_lpa_online_tool_ids": ["banana"], }, "use_an_lpa_endpoint": { - "url": "https://uml-3042.dev.lpa.api.opg.service.justice.gov.uk/v1/use" + "url": "https://XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/use" "-an-lpa/lpas", "method": "GET", "valid_sirius_uids": ["700000000047"], "invalid_sirius_uids": ["9"], }, "request_code_endpoint": { - "url": "https://uml-3042.dev.lpa.api.opg.service.justice.gov.uk/v1/use-an-lpa/lpas/requestCode", + "url": "https://XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/use-an-lpa/lpas/requestCode", "method": "POST", "valid_sirius_lpas": [ {"caseUid": 700000000013, "actorUid": 700000000997}, diff --git a/lambda_functions/v1/requirements/dev-requirements.txt b/lambda_functions/v1/requirements/dev-requirements.txt index 15b4b890..bd56a1f9 100644 --- a/lambda_functions/v1/requirements/dev-requirements.txt +++ b/lambda_functions/v1/requirements/dev-requirements.txt @@ -1,16 +1,16 @@ -connexion +connexion==2.7.0 fakeredis==1.4.5 flake8==3.8.4 flake8-quotes==3.2.0 hypothesis==6.0.0 moto~=4.1 -pytest -pytest-cov -pytest-env -pytest-html +pytest==6.2.1 +pytest-cov==2.10.1 +pytest-env==0.6.2 +pytest-html==3.1.1 tenacity==6.3.1 validators==0.18.2 -yarl +yarl==1.6.3 importlib-metadata opg-sirius-service==2.1.1 -localstack-client +localstack-client==1.39 diff --git a/lambda_functions/v1/requirements/requirements.txt b/lambda_functions/v1/requirements/requirements.txt index 116e8ba3..96fae198 100644 --- a/lambda_functions/v1/requirements/requirements.txt +++ b/lambda_functions/v1/requirements/requirements.txt @@ -1,7 +1,7 @@ #Update this date to trigger update of layers: 20230619 Flask==2.2.5 markupsafe==2.1.1 -localstack-client==1.10 +localstack-client==1.39 redis==3.5.3 requests==2.31.0 Werkzeug==3.0.1 diff --git a/mock_sirius_backend/Dockerfile b/mock_sirius_backend/Dockerfile index 9d3ac642..c6030e53 100644 --- a/mock_sirius_backend/Dockerfile +++ b/mock_sirius_backend/Dockerfile @@ -1,5 +1,5 @@ # our base image -FROM python:3.6-slim +FROM python:3.8-slim WORKDIR /var/www/ COPY requirements.txt . diff --git a/mock_sirius_backend/requirements.txt b/mock_sirius_backend/requirements.txt index f1df2170..cdaf02a8 100644 --- a/mock_sirius_backend/requirements.txt +++ b/mock_sirius_backend/requirements.txt @@ -1,4 +1,4 @@ connexion==2.7.0 Flask==2.2.5 -markupsafe==2.0.1 +markupsafe==2.1.1 requests