Remove usages of deprecated LocalStack code features in AWS replicator

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, python
Domain
api, backend

Research direction

Start by locating the AWS Replicator usages of localstack.utils.server.http2_server.run_server and localstack.aws.api.HttpRequest, then review the linked localstack PRs for the compatibility context. Done means removing those deprecated usages and migrating the Auth Proxy toward a Gateway and LocalStack handlerchain handler.

Written by the indexing model from the issue text.

Description

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:

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

Dominant language
Python
Stars
47
Forks
19
Avg merge
2h 2m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from localstack/localstack-extensions

All issues in localstack/localstack-extensions

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.