Skip to content

Add PATCH constant to HttpExtension#1644

Merged
salaboy merged 2 commits intodapr:masterfrom
lindner:add-patch-http-method
Feb 12, 2026
Merged

Add PATCH constant to HttpExtension#1644
salaboy merged 2 commits intodapr:masterfrom
lindner:add-patch-http-method

Conversation

@lindner
Copy link
Contributor

@lindner lindner commented Feb 8, 2026

Summary

  • Adds a PATCH convenience constant to HttpExtension, matching the existing pattern for GET, PUT, POST, DELETE, etc.
  • Adds a test verifying the PATCH constant uses the correct HTTP method with empty query params and headers.

Test plan

  • Verify HttpExtensionTest.patchConstantShouldUsePatchHttpMethod passes

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Paul Lindner <[email protected]>
@lindner lindner requested review from a team as code owners February 8, 2026 19:41
@lindner
Copy link
Contributor Author

lindner commented Feb 11, 2026

Anything I can do to get this reviewed?

Copy link
Member

@yaron2 yaron2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lindner
Copy link
Contributor Author

lindner commented Feb 12, 2026

I don't have the ability to re-run the tests in CI; but I am 99% certain that this code is not the root cause.

@yaron2
Copy link
Member

yaron2 commented Feb 12, 2026

cc @salaboy

@salaboy salaboy merged commit 91cf080 into dapr:master Feb 12, 2026
10 of 11 checks passed
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.21%. Comparing base (ff5f43f) to head (870b2cf).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1644   +/-   ##
=========================================
  Coverage     79.20%   79.21%           
  Complexity     2141     2141           
=========================================
  Files           234      234           
  Lines          6455     6456    +1     
  Branches        700      700           
=========================================
+ Hits           5113     5114    +1     
  Misses          990      990           
  Partials        352      352           

☔ View full report in Codecov by Sentry.
📢 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.

salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 12, 2026
@nelson-parente nelson-parente added this to the v1.17 milestone Feb 12, 2026
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 13, 2026
salaboy added a commit that referenced this pull request Feb 13, 2026
* adding spring boot 4.0.2 tests to the matrix

Signed-off-by: salaboy <[email protected]>

* removing ignoring autoconfig for hibernate and datasource

Signed-off-by: salaboy <[email protected]>

* adding spring-data-6 and spring-boot-4-starters

Signed-off-by: salaboy <[email protected]>

* adding spring-boot-4-sdk-tests to split dependencies

Signed-off-by: salaboy <[email protected]>

* new profile for sb4

Signed-off-by: salaboy <[email protected]>

* Update master version to 1.18.0-SNAPSHOT

Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add workflow versioning (#1624)

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add new fields to conversation api (#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add failure policy to actor reminders (#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: salaboy <[email protected]>

* updating version

Signed-off-by: salaboy <[email protected]>

* modifying integration tests steps for github workflow

Signed-off-by: salaboy <[email protected]>

* fixing workflow

Signed-off-by: salaboy <[email protected]>

* modified version on matrix

Signed-off-by: salaboy <[email protected]>

* modified values for matrix

Signed-off-by: salaboy <[email protected]>

* fix pom reference

Signed-off-by: salaboy <[email protected]>

* moving spring boot examples to integration tests

Signed-off-by: salaboy <[email protected]>

* removing code dependency between examples

Signed-off-by: salaboy <[email protected]>

* updating sb4 examples and deps

Signed-off-by: salaboy <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (#1644)

Signed-off-by: salaboy <[email protected]>

* exclude spring6-data from java docs as it is not compatible with Spring Boot 3.x

Signed-off-by: salaboy <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* fixing classpath for javadocs aggregation

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Co-authored-by: Javier Aliaga <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
javier-aliaga pushed a commit to javier-aliaga/java-sdk that referenced this pull request Feb 14, 2026
javier-aliaga added a commit to javier-aliaga/java-sdk that referenced this pull request Feb 14, 2026
* adding spring boot 4.0.2 tests to the matrix

Signed-off-by: salaboy <[email protected]>

* removing ignoring autoconfig for hibernate and datasource

Signed-off-by: salaboy <[email protected]>

* adding spring-data-6 and spring-boot-4-starters

Signed-off-by: salaboy <[email protected]>

* adding spring-boot-4-sdk-tests to split dependencies

Signed-off-by: salaboy <[email protected]>

* new profile for sb4

Signed-off-by: salaboy <[email protected]>

* Update master version to 1.18.0-SNAPSHOT

Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add workflow versioning (dapr#1624)

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add new fields to conversation api (dapr#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add failure policy to actor reminders (dapr#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: salaboy <[email protected]>

* updating version

Signed-off-by: salaboy <[email protected]>

* modifying integration tests steps for github workflow

Signed-off-by: salaboy <[email protected]>

* fixing workflow

Signed-off-by: salaboy <[email protected]>

* modified version on matrix

Signed-off-by: salaboy <[email protected]>

* modified values for matrix

Signed-off-by: salaboy <[email protected]>

* fix pom reference

Signed-off-by: salaboy <[email protected]>

* moving spring boot examples to integration tests

Signed-off-by: salaboy <[email protected]>

* removing code dependency between examples

Signed-off-by: salaboy <[email protected]>

* updating sb4 examples and deps

Signed-off-by: salaboy <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (dapr#1644)

Signed-off-by: salaboy <[email protected]>

* exclude spring6-data from java docs as it is not compatible with Spring Boot 3.x

Signed-off-by: salaboy <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (dapr#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* fixing classpath for javadocs aggregation

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Co-authored-by: Javier Aliaga <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
javier-aliaga pushed a commit to javier-aliaga/java-sdk that referenced this pull request Feb 14, 2026
javier-aliaga added a commit to javier-aliaga/java-sdk that referenced this pull request Feb 14, 2026
* adding spring boot 4.0.2 tests to the matrix

Signed-off-by: salaboy <[email protected]>

* removing ignoring autoconfig for hibernate and datasource

Signed-off-by: salaboy <[email protected]>

* adding spring-data-6 and spring-boot-4-starters

Signed-off-by: salaboy <[email protected]>

* adding spring-boot-4-sdk-tests to split dependencies

Signed-off-by: salaboy <[email protected]>

* new profile for sb4

Signed-off-by: salaboy <[email protected]>

* Update master version to 1.18.0-SNAPSHOT

Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add workflow versioning (dapr#1624)

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add new fields to conversation api (dapr#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add failure policy to actor reminders (dapr#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: salaboy <[email protected]>

* updating version

Signed-off-by: salaboy <[email protected]>

* modifying integration tests steps for github workflow

Signed-off-by: salaboy <[email protected]>

* fixing workflow

Signed-off-by: salaboy <[email protected]>

* modified version on matrix

Signed-off-by: salaboy <[email protected]>

* modified values for matrix

Signed-off-by: salaboy <[email protected]>

* fix pom reference

Signed-off-by: salaboy <[email protected]>

* moving spring boot examples to integration tests

Signed-off-by: salaboy <[email protected]>

* removing code dependency between examples

Signed-off-by: salaboy <[email protected]>

* updating sb4 examples and deps

Signed-off-by: salaboy <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (dapr#1644)

Signed-off-by: salaboy <[email protected]>

* exclude spring6-data from java docs as it is not compatible with Spring Boot 3.x

Signed-off-by: salaboy <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (dapr#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* fixing classpath for javadocs aggregation

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Co-authored-by: Javier Aliaga <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
salaboy added a commit that referenced this pull request Feb 16, 2026
* feat: Add workflow versioning (#1624)

Signed-off-by: Javier Aliaga <[email protected]>

* feat: Add new fields to conversation api (#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* feat: Add failure policy to actor reminders (#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (#1644)

Signed-off-by: Javier Aliaga <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix Durable tasks flaky tests (#1653)

* chore: Fix waitForLoopEvent test

Signed-off-by: Javier Aliaga <[email protected]>

* fix: Code style

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix singleTimer Test

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix LoopWithTimer

Signed-off-by: Javier Aliaga <[email protected]>

* fix: longTimer test

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update testcontainers (#1654)

Signed-off-by: Javier Aliaga <[email protected]>

* Spring workflow versioning (#1646)

* feat: Spring workflow version support

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Add workflow and activity annoations

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Rename annotation

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Fix spring boot examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>

* Adding spring boot 4.0.2 tests to the matrix (#1638)

* adding spring boot 4.0.2 tests to the matrix

Signed-off-by: salaboy <[email protected]>

* removing ignoring autoconfig for hibernate and datasource

Signed-off-by: salaboy <[email protected]>

* adding spring-data-6 and spring-boot-4-starters

Signed-off-by: salaboy <[email protected]>

* adding spring-boot-4-sdk-tests to split dependencies

Signed-off-by: salaboy <[email protected]>

* new profile for sb4

Signed-off-by: salaboy <[email protected]>

* Update master version to 1.18.0-SNAPSHOT

Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add workflow versioning (#1624)

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add new fields to conversation api (#1640)

* feat: Add new fields to conversation api

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Modify conversation examples

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>

* feat: Add failure policy to actor reminders (#1643)

* feat: Add failure policy to actor reminders

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Use jackson to serialize/deserialize FailurePolicies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Signed-off-by: salaboy <[email protected]>

* updating version

Signed-off-by: salaboy <[email protected]>

* modifying integration tests steps for github workflow

Signed-off-by: salaboy <[email protected]>

* fixing workflow

Signed-off-by: salaboy <[email protected]>

* modified version on matrix

Signed-off-by: salaboy <[email protected]>

* modified values for matrix

Signed-off-by: salaboy <[email protected]>

* fix pom reference

Signed-off-by: salaboy <[email protected]>

* moving spring boot examples to integration tests

Signed-off-by: salaboy <[email protected]>

* removing code dependency between examples

Signed-off-by: salaboy <[email protected]>

* updating sb4 examples and deps

Signed-off-by: salaboy <[email protected]>

* Add PATCH constant to HttpExtension for service invocation (#1644)

Signed-off-by: salaboy <[email protected]>

* exclude spring6-data from java docs as it is not compatible with Spring Boot 3.x

Signed-off-by: salaboy <[email protected]>

* feat: Use dapr 1.17.0-rc.6 (#1651)

* feat: Use dapr 1.17.0-rc.6

Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update pubsubIt to use resiliency policies

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>

* fixing classpath for javadocs aggregation

Signed-off-by: salaboy <[email protected]>

---------

Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
Co-authored-by: Javier Aliaga <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]>

* chore: Update new pom.xml versions

Signed-off-by: Javier Aliaga <[email protected]>

* fix: pom version

Signed-off-by: Javier Aliaga <[email protected]>

---------

Signed-off-by: Javier Aliaga <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]>
Co-authored-by: salaboy <[email protected]>
Co-authored-by: Siri Varma Vegiraju <[email protected]>
Co-authored-by: Paul Lindner <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
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.

5 participants

Comments