Skip to content

extproc: decouple router package from api paths#352

Merged
mathetake merged 3 commits intoenvoyproxy:mainfrom
nacx:router
Feb 18, 2025
Merged

extproc: decouple router package from api paths#352
mathetake merged 3 commits intoenvoyproxy:mainfrom
nacx:router

Conversation

@nacx
Copy link
Copy Markdown
Member

@nacx nacx commented Feb 17, 2025

Commit Message

extproc: decouple router package from api paths

This is a follow-up change to decouple the router package from the API paths. Now that we have specialized processors per API path it does not make sense for the router package to have path-related logic.
Now each processor is responsible for instantiating the right body parser for the path they're processing.

Related Issues/PRs (if applicable)

Follow-up for #325 and #334

Special notes for reviewers (if applicable)

N/A

@nacx nacx requested a review from a team as a code owner February 17, 2025 10:34
@nacx nacx marked this pull request as draft February 17, 2025 10:36
Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>
@nacx nacx marked this pull request as ready for review February 17, 2025 10:45
nacx and others added 2 commits February 17, 2025 17:21
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake mathetake merged commit be7c33b into envoyproxy:main Feb 18, 2025
17 checks passed
daixiang0 pushed a commit to daixiang0/ai-gateway that referenced this pull request Feb 19, 2025
**Commit Message**

extproc: decouple router package from api paths

This is a follow-up change to decouple the router package from the API
paths. Now that we have specialized processors per API path it does not
make sense for the router package to have path-related logic.
Now each processor is responsible for instantiating the right body
parser for the path they're processing.

**Related Issues/PRs (if applicable)**

Follow-up for envoyproxy#325 and
envoyproxy#334

**Special notes for reviewers (if applicable)**

N/A

---------

Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>
Co-authored-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Loong <long0dai@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants