localstack-extensions
localstack-extensions copied to clipboard
Remove usages of deprecated LocalStack code features in AWS replicator
Currently, the AWS Replicator extension is using some parts of the LocalStack codebase which is deprecated and about to be removed:
-
localstack.utils.server.http2_server.run_server
which is based onQuart
(which has been superseded by the underlyinghypercorn
quite some time ago). -
localstack.aws.api.HttpRequest
which should be replaced withlocalstack.http.Request
.
These usages are currently blocking the following PRs in localstack/localstack
:
- https://github.com/localstack/localstack/pull/9754
- https://github.com/localstack/localstack/pull/9757
It would be best to refactor the AWS Replicator Extension such that it spawns the Auth Proxy a new Gateway
(and migrate the logic to a implement a LocalStack handlerchain handler).
/cc @lukqw @whummer @thrau