* Drop support for Spring Boot 2.x
* Bump dependencies in sdk-springboot module from Spring Boot 2.x to 3.2.6
* Update examples module to use new Spring Boot support with Java 17 baseline
* Fix wrong sdkman and mavne wrapper setup that failed the local setup
* Update GHA workflow to stop testing for Spring Boot versions < 3.2.x
Fixes gh-1039
Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
* Update pom.xml
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
---------
Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
* feat: Add dead letter topic to a subscription topic.
Signed-off-by: Charlie Mk <carlosrb00@gmail.com>
* feat: Add endpoint examples
Signed-off-by: Charlie Mk <carlosrb00@gmail.com>
* feat: Add dead letter topic example to the docs.
Signed-off-by: Charlie Mk <carlosrb00@gmail.com>
* Create new methods with deadLetterTopic instead of overload existing ones.
Signed-off-by: Charlie Mk <carlosrb00@gmail.com>
* Update _index.md
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Create overloads for deadlettertopic.
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* fix integration tests from names overlapping
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
---------
Signed-off-by: Charlie Mk <carlosrb00@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
Co-authored-by: Charlie Mk <carlosrb00@gmail.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
* Bump from spring boot 2.3.5.RELEASE to 2.7.8
Signed-off-by: Sergio <champel@gmail.com>
(cherry picked from commit 9152c91bc1f08ecf2dd3bccf8159fd5d0500e351)
* Ensure old versions of spring boot are still compatible
Signed-off-by: Sergio <champel@gmail.com>
---------
Signed-off-by: champel <champel@gmail.com>
Signed-off-by: Sergio <champel@gmail.com>
If the route being provided for a topic is the same as it was previously,
do not raise an exception.
Fixes parallel test execution without `forkMode=always` (#766)
Signed-off-by: John Ewart <johnewart@microsoft.com>
Signed-off-by: John Ewart <johnewart@microsoft.com>
* Catering to all possible routes for Post Request
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Correcting checkstyle related violations
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Refactoring and Adding UTs for post method routes
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Using resolved topic name
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
* Shifting routesPostMethod to reduce its access
Signed-off-by: deepanshuagarwal <deepanshu.agarwal1984@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
* Update LICENSE to Apache 2.0
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* Update headers to Apache 2.
Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Remove duplicate dependency
* Transform into managed dependencies
* Remove old JUnit version from dependencies
* Add tests for DaprBeanPostProcessor
* Also register PostMappings that use value
* Modify existing pub/sub test to no use @PostMapping(path="...")
* Remove added dependencies on AssertJ, Spring Test and Servlet API
* Remove test in favour of the sdk-tests one
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* [WIP] Added SPEL evaluation against spring boot @Topic name and pubsubname attributes
* [WIP] Updated SubscriberController to use SPEL in @Topic
* 554 - SPEL for @Topic attributes: Updated documentation and examples
* Updated documentation as discussed
* Update README.md
* Update SubscriberController.java
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
* Adding Dapr Spring Boot Starter.
* Move Dapr Spring Boot Starter into existing sdk-springboot project.
Co-authored-by: Darren Wang <darren_wang@outlook.com>
* Update proto files for 0.8.0 release (#283)
* Bump dapr core to master
* Update integration tests for 0.8.0 proto changes
* Added unit tests to ensure StateOptions enums always map to their equivalent gRPC enums
* Remove some uneed comments/imports
* Update pub/sub subscription to match new route/metdata format (#278)
* Automatically initialize actor on first invocation (#284)
* Update integration tests to publish to more than one pubsub topic/route
* Bump dapr CLI version
* Remove uneeded interface and exception
Co-authored-by: Artur Souza <artursouza.ms@outlook.com>