Add configurable subpath for HTTP API
まだ誰も着手していません。
評価
調査の方向性
Issue では route.SetAPIRoutes と route.SetUIRoutes が挙げられています。まず #410 の変更と、API および UI ルートがどのように登録されているかを確認してください。API サブパスを設定可能にし、デフォルトでルート以外に設定し、UI passthrough との競合を回避し、一覧にある CLI、Docker、Temporal Cloud の統合をサポートできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The change made in #410 causes a few potential problems for integrating with the UI.
First, some users host UI Server at a subpath and set both the client-side and API routes.
route.SetAPIRoutes(e, cfgProvider, serverOpts.APIMiddleware)
route.SetUIRoutes(e, cfg.PublicPath, assets)
Secondly, not having a sub-path for the API routes means that they will likely conflict with client-side UI routes. The current implementation of the UI passes through all routes with /api/v1 to UI Server. If both the pages and the API routes have the same path, it will be trickier to correctly implement the passthrough functionality.
Suggested resolutions:
- The path for the API routes should be configurable.
- They should default to something (e.g.
/api) and not be set at the root by default since—selfishly—we'd need this set for CLI, Docker, and Temporal Cloud implementations anyway.
- 主要言語
- Go
- スター
- 133
- フォーク
- 101
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 11
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temporalio/api のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
temporalio/api#750 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
temporalio/api#421 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
temporalio/api#400 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
temporalio/api#328 · リアクション 6 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
temporalio/api#307 ·
似ている issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
microsoft/agent-framework-go#1179 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
infiniflow/ragflow#20223 · リアクション 1 件 ·
-
bug needs triage pkg/translator/faro
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · コメント 1 件 ·