localstack / localstack/localstack-extensions
Remove usages of deprecated LocalStack code features in AWS replicator
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 47
- Forks
- 19
- Avg merge
- 2h 2m
- Merged PRs (30d)
- 1
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`:
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- aws, python
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100