From 9369bcd4c56ba4729ff3b1c6eb685b55ca356cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= Date: Mon, 21 Aug 2023 14:30:29 +0200 Subject: [PATCH] Remove references to defunct authorizer API --- serverless.yml | 1 - status/common.py | 4 ---- tox.ini | 1 - 3 files changed, 6 deletions(-) diff --git a/serverless.yml b/serverless.yml index d7b9f98..b7f0402 100644 --- a/serverless.yml +++ b/serverless.yml @@ -28,7 +28,6 @@ provider: environment: GIT_REV: ${git:branch}:${git:sha1} STAGE: ${self:provider.stage} - AUTHORIZER_API: ${ssm:/dataplatform/shared/api-gateway-url}/simple-dataset-authorizer ENABLE_AUTH: true KEYCLOAK_SERVER: ${ssm:/dataplatform/shared/keycloak-server-url} KEYCLOAK_REALM: api-catalog diff --git a/status/common.py b/status/common.py index c4930ea..de011de 100644 --- a/status/common.py +++ b/status/common.py @@ -1,9 +1,5 @@ -import os - import simplejson -AUTHORIZER_API = os.environ["AUTHORIZER_API"] - def http_response(code, body): return {"statusCode": code, "body": body} diff --git a/tox.ini b/tox.ini index 918c9f6..161bc25 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,6 @@ setenv = AWS_ACCESS_KEY_ID = mock AWS_SECRET_ACCESS_KEY = mock AWS_XRAY_SDK_ENABLED = false - AUTHORIZER_API = "https://example.com" ENABLE_AUTH = true KEYCLOAK_SERVER=https://example.org KEYCLOAK_REALM=mock