fix(orchestrator): makes the bodyParser limit configurable.#2802
fix(orchestrator): makes the bodyParser limit configurable.#2802lholmquist wants to merge 3 commits intoredhat-developer:mainfrom
Conversation
A customer was having an issue where the workflows content length was over the 100kb limit. This adds a configurable value to make the content lenght larger fixes: https://redhat.atlassian.net/browse/RHDHSUPP-351
Code Review by Qodo
|
Changed Packages
|
|
Review Summary by QodoMake bodyParser content length limit configurable
WalkthroughsDescription• Makes bodyParser content length limit configurable via config • Allows workflows to exceed default 100kb limit • Applies limit to both JSON and text request parsers • Includes configuration example with 10mb default suggestion Diagramflowchart LR
config["Config: orchestrator.contentLengthLimit"]
jsonParser["express.json with limit"]
textParser["express.text with limit"]
config -- "applies to" --> jsonParser
config -- "applies to" --> textParser
File Changes1. workspaces/orchestrator/plugins/orchestrator-backend/src/service/router.ts
|



Hey, I just made a Pull Request!
A customer was having an issue where the workflows content length was over the 100kb limit. This adds a configurable value to make the content lenght larger
fixes: https://redhat.atlassian.net/browse/RHDHSUPP-351
✔️ Checklist