localstack / localstack/localstack-extensions

Remove usages of deprecated LocalStack code features in AWS replicator

未關閉
#45 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
47
分支
19
平均合併
2 小時 2 分鐘
30 天內合併 PR
1

描述

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先定位 AWS Replicator 對 localstack.utils.server.http2_server.run_server 和 localstack.aws.api.HttpRequest 的使用位置,然後查看連結的 localstack PR,以了解相容性背景。完成的標準是移除這些已棄用的用法,並將 Auth Proxy 遷移至 Gateway 和 LocalStack handlerchain handler。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
aws, python
領域
api, backend
Issue 類型
重構
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。