influxdata / influxdata/influxdb

Reduce duplication between v1 and v2 HTTP routing logic

Open
#20,712 0 comments 0 reactions 0 assignees View on GitHub
area/2.x area/HTTP kind/tech-debt
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

There's significant duplication between the code in `http` and the code in `http/legacy`. Extracting out common utilities will help reduce duplicate work in the future, and ensure fixes to one set of APIs also apply to the other.

Contributor guide

Open the contributing guide

Research direction

Compare the routing code in the `http` and `http/legacy` directories to map the duplicated behavior and identify suitable shared utilities. Read both implementations first; the work is done when common routing logic is consolidated and fixes apply consistently to both API versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.