localstack-extensions icon indicating copy to clipboard operation
localstack-extensions copied to clipboard

Remove usages of deprecated LocalStack code features in AWS replicator

Open alexrashed opened this issue 8 months ago • 0 comments

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 on Quart (which has been superseded by the underlying hypercorn quite some time ago).
  • localstack.aws.api.HttpRequest which should be replaced with localstack.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

alexrashed avatar Nov 28 '23 14:11 alexrashed