diff --git a/integration_tests/v1/conftest.py b/integration_tests/v1/conftest.py index 2a785181..5c5d1514 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-XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/healthcheck", + "url": "https://uml-3042.dev.lpa.api.opg.service.justice.gov.uk/v1/healthcheck", "method": "GET", }, "online_tool_endpoint": { - "url": "https://uml-XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/lpa" + "url": "https://uml-3042.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-XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/use" + "url": "https://uml-3042.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-XXXX.dev.lpa.api.opg.service.justice.gov.uk/v1/use-an-lpa/lpas/requestCode", + "url": "https://uml-3042.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/Dockerfile b/lambda_functions/v1/Dockerfile index d428f26c..f7bc2442 100644 --- a/lambda_functions/v1/Dockerfile +++ b/lambda_functions/v1/Dockerfile @@ -1,9 +1,10 @@ -FROM python:3.8-slim-buster +FROM python:3.11-slim-buster WORKDIR /var/www/lambda_functions/v1 # Install Python Dependencies COPY requirements requirements RUN cat ./requirements/*.txt | uniq | grep -v "#" > ./requirements/local-requirements.txt +RUN pip install --upgrade pip RUN pip install -r ./requirements/local-requirements.txt EXPOSE 4343 diff --git a/lambda_functions/v1/requirements/dev-requirements.txt b/lambda_functions/v1/requirements/dev-requirements.txt index b730d03e..5a93d8db 100644 --- a/lambda_functions/v1/requirements/dev-requirements.txt +++ b/lambda_functions/v1/requirements/dev-requirements.txt @@ -1,4 +1,4 @@ -connexion==2.7.0 +connexion fakeredis==1.4.5 flake8==3.8.4 flake8-quotes==3.2.0 @@ -11,6 +11,6 @@ pytest-html==3.1.1 tenacity==6.3.1 validators==0.18.2 yarl==1.6.3 -importlib-metadata==4.13.0 -opg-sirius-service==2.1.1 -localstack-client==1.39 \ No newline at end of file +importlib-metadata +opg-sirius-service +localstack-client diff --git a/mock_sirius_backend/requirements.txt b/mock_sirius_backend/requirements.txt index fbebc043..fea533dc 100644 --- a/mock_sirius_backend/requirements.txt +++ b/mock_sirius_backend/requirements.txt @@ -1,4 +1,4 @@ -connexion==2.7.0 +connexion Flask==1.1.4 markupsafe==2.0.1 requests