Skip to content

feat: Add HttpPipeline configuration - #1841

Merged
siri-varma merged 1 commit into
dapr:masterfrom
matheusandre1:issue1584
Oct 15, 2026
Merged

siri-varma merged 1 commit into
dapr:masterfrom
matheusandre1:issue1584

Conversation

@matheusandre1

@matheusandre1 matheusandre1 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds support for configuring the Dapr httpPipeline (middleware for requests coming into the sidecar) in the Testcontainers Configuration, the same way appHttpPipeline is already supported.

Example:

HttpPipeline httpPipeline = new HttpPipeline(List.of(
    new ListEntry("uppercase", "middleware.http.uppercase")));

new Configuration("my-config", null, null, null, null, null, null, null, null, httpPipeline);

Generated YAML:

spec:
  httpPipeline:
    handlers:
    - name: uppercase
      type: middleware.http.uppercase

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Closes: #1584

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Matheus André <matheusandr2@gmail.com>
@matheusandre1
matheusandre1 marked this pull request as ready for review October 14, 2026 11:07
@matheusandre1
matheusandre1 requested review from a team as code owners October 14, 2026 11:07
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.73%. Comparing base (ca2a930) to head (1ae8ee8).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1841      +/-   ##
============================================
+ Coverage     79.69%   79.73%   +0.03%     
- Complexity     2687     2693       +6     
============================================
  Files           267      268       +1     
  Lines          7933     7948      +15     
  Branches        842      844       +2     
============================================
+ Hits           6322     6337      +15     
  Misses         1255     1255              
  Partials        356      356              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@siri-varma
siri-varma merged commit 0f34336 into dapr:master Oct 15, 2026
16 checks passed
@matheusandre1
matheusandre1 deleted the issue1584 branch October 15, 2026 21:07
dapr-bot added a commit that referenced this pull request Oct 16, 2026
(cherry picked from commit 0f34336)

Signed-off-by: Matheus André <matheusandr2@gmail.com>
Co-authored-by: Matheus André <92062874+matheusandre1@users.noreply.github.com>
@nelson-parente nelson-parente added this to the v1.19 milestone Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add HttpMiddleware support for Dapr container

4 participants