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