Renaming streaming subscription to "subscribeToTopic"#1626
Conversation
|
@dapr/approvers-java-sdk and @dapr/maintainers-java-sdk could you please take a look. I think this should be the final name for streaming subscription and it aligns with other SDKs nicely. @alicejgibbons @javier-aliaga @cicoyle could you also please take a look. Thank you 🙇 |
cicoyle
left a comment
There was a problem hiding this comment.
Can we create an alias for this so we dont break users. This functionality was backported, so I think its best to add an alias and mark the old as deprecated to be removed later.
c802e76 to
49a4b03
Compare
|
@cicoyle @salaboy and @javier-aliaga I have added aliases so we keep backward compatibility. |
|
@artur-ciocanu ok.. so there is a codecov gap there.. I promise you, I will fix the reports soon, but basically, you need to keep a couple of tests for the previous signature of the method. |
salaboy
left a comment
There was a problem hiding this comment.
LGTM, it just need the codecov report green
Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: Artur Ciocanu <[email protected]>
Signed-off-by: Artur Ciocanu <[email protected]>
d0f605a to
4aea0fd
Compare
|
@artur-ciocanu done |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1626 +/- ##
=========================================
Coverage 79.26% 79.26%
- Complexity 2144 2146 +2
=========================================
Files 234 234
Lines 6462 6464 +2
Branches 700 700
=========================================
+ Hits 5122 5124 +2
Misses 987 987
Partials 353 353 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: Javier Aliaga <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". * Bring back subscribeToEvents for backward compatibility. * Fix rebase conflicts * Add tests for deprecated events methods. --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: Javier Aliaga <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
* Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
* initial restructure for spring-boot-4-autoconfigure Signed-off-by: salaboy <[email protected]> * updating sb4 with Jackson3 support and tests Signed-off-by: salaboy <[email protected]> * Renaming streaming subscription to "subscribeToTopic" (#1626) * Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]> * fixing new packages Signed-off-by: salaboy <[email protected]> * fixing sdk-tests Signed-off-by: salaboy <[email protected]> * updating test coverage Signed-off-by: salaboy <[email protected]> * missing package from example test Signed-off-by: salaboy <[email protected]> * aliging test junit version Signed-off-by: salaboy <[email protected]> * fixing spring boot 3 new packages Signed-off-by: salaboy <[email protected]> * increase test coverage for jackson3 Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]>
* initial restructure for spring-boot-4-autoconfigure Signed-off-by: salaboy <[email protected]> * updating sb4 with Jackson3 support and tests Signed-off-by: salaboy <[email protected]> * Renaming streaming subscription to "subscribeToTopic" (#1626) * Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]> * fixing new packages Signed-off-by: salaboy <[email protected]> * fixing sdk-tests Signed-off-by: salaboy <[email protected]> * updating test coverage Signed-off-by: salaboy <[email protected]> * missing package from example test Signed-off-by: salaboy <[email protected]> * aliging test junit version Signed-off-by: salaboy <[email protected]> * fixing spring boot 3 new packages Signed-off-by: salaboy <[email protected]> * increase test coverage for jackson3 Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> (cherry picked from commit 834b6b3)
…pr#1660) * Renaming streaming subscription to "subscribeToTopic". * Bring back subscribeToEvents for backward compatibility. * Fix rebase conflicts * Add tests for deprecated events methods. --------- Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: Javier Aliaga <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: Javier Aliaga <[email protected]>
* initial restructure for spring-boot-4-autoconfigure Signed-off-by: salaboy <[email protected]> * updating sb4 with Jackson3 support and tests Signed-off-by: salaboy <[email protected]> * Renaming streaming subscription to "subscribeToTopic" (dapr#1626) * Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]> * fixing new packages Signed-off-by: salaboy <[email protected]> * fixing sdk-tests Signed-off-by: salaboy <[email protected]> * updating test coverage Signed-off-by: salaboy <[email protected]> * missing package from example test Signed-off-by: salaboy <[email protected]> * aliging test junit version Signed-off-by: salaboy <[email protected]> * fixing spring boot 3 new packages Signed-off-by: salaboy <[email protected]> * increase test coverage for jackson3 Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> (cherry picked from commit 834b6b3) Signed-off-by: Javier Aliaga <[email protected]>
* initial restructure for spring-boot-4-autoconfigure Signed-off-by: salaboy <[email protected]> * updating sb4 with Jackson3 support and tests Signed-off-by: salaboy <[email protected]> * Renaming streaming subscription to "subscribeToTopic" (dapr#1626) * Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]> * fixing new packages Signed-off-by: salaboy <[email protected]> * fixing sdk-tests Signed-off-by: salaboy <[email protected]> * updating test coverage Signed-off-by: salaboy <[email protected]> * missing package from example test Signed-off-by: salaboy <[email protected]> * aliging test junit version Signed-off-by: salaboy <[email protected]> * fixing spring boot 3 new packages Signed-off-by: salaboy <[email protected]> * increase test coverage for jackson3 Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]>
* Supporting Jackson3 DaprObjectSerializer (#1657) * initial restructure for spring-boot-4-autoconfigure Signed-off-by: salaboy <[email protected]> * updating sb4 with Jackson3 support and tests Signed-off-by: salaboy <[email protected]> * Renaming streaming subscription to "subscribeToTopic" (#1626) * Renaming streaming subscription to "subscribeToTopic". Signed-off-by: Artur Ciocanu <[email protected]> * Bring back subscribeToEvents for backward compatibility. Signed-off-by: Artur Ciocanu <[email protected]> * Fix rebase conflicts Signed-off-by: Artur Ciocanu <[email protected]> * Add tests for deprecated events methods. Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]> * fixing new packages Signed-off-by: salaboy <[email protected]> * fixing sdk-tests Signed-off-by: salaboy <[email protected]> * updating test coverage Signed-off-by: salaboy <[email protected]> * missing package from example test Signed-off-by: salaboy <[email protected]> * aliging test junit version Signed-off-by: salaboy <[email protected]> * fixing spring boot 3 new packages Signed-off-by: salaboy <[email protected]> * increase test coverage for jackson3 Signed-off-by: salaboy <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]> * chore: Fix pom Signed-off-by: Javier Aliaga <[email protected]> --------- Signed-off-by: salaboy <[email protected]> Signed-off-by: Artur Ciocanu <[email protected]> Signed-off-by: Javier Aliaga <[email protected]> Co-authored-by: salaboy <[email protected]> Co-authored-by: artur-ciocanu <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Siri Varma Vegiraju <[email protected]>
Description
Renaming streaming subscription to "subscribeToTopic". This should align better with other Dapr SDKs and ensure that is more ergonomic.
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.
Please reference the issue this PR will close: N/A
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: